diff --git a/.version b/.version index 3eefcb9dd5..78bc1abd14 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.0.0 +0.10.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 28819f1ff5..cb41e08563 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,29 @@ ## Changelog -#### Version 1.0.0 (TBD) +#### Version 0.10.0 (TBD) + +##### New Features * Added an iterative connection builder that is accessible using the `Concourse.at()` static factory method. -* Refactored the `concourse-import` framework to take advantage of version `1.1.0+` of the `data-transform-api` which has a more flexible notion of data transformations. As a result of this change, the `Importables` utility class has been removed. Custom importers that extend `DelimitedLineImporter` can leverage the protected `parseObject` and `importLines` methods to hook into the extraction and import logic in a manner similar to what was possible using the `Importables` functions. * Added the `com.cinchapi.concourse.valididate.Keys` utility class which contains the `#isWritable` method that determines if a proposed key can be written to Concourse. -* Fixed a bug that caused data imported from STDIN to not have a `__datasource` tag, even if the `--annotate-data-source` flag was included with the CLI invocation. * Added `Parsers#create` static factory methods that accept a `Criteria` object as a parameter. These new methods compliment existing ones which take a CCL `String` and `TCriteria` object respectively. -* Upgrade the `ccl` dependency to the latest version, which adds support for local criteria evaluation using the `Parser#evaluate` method. The parsers returned from the `Parsers#create` factories all support local evaluation using the function defined in the newly created `Operators#evaluate` utility. +* Upgraded the `ccl` dependency to the latest version, which adds support for local criteria evaluation using the `Parser#evaluate` method. The parsers returned from the `Parsers#create` factories all support local evaluation using the function defined in the newly created `Operators#evaluate` utility. * Added the `com.cinchapi.concourse.etl` package that contains data processing utilities: * A `Strainer` can be used to process a `Map` using Concourse's data model rules. In particular, the `Strainer` encapsulates logic to break down top-level sequence values and process their elements individually. * The `Transform` class contains functions for common data transformations. + +##### Improvements +* Refactored the `concourse-import` framework to take advantage of version `1.1.0+` of the `data-transform-api` which has a more flexible notion of data transformations. As a result of this change, the `Importables` utility class has been removed. Custom importers that extend `DelimitedLineImporter` can leverage the protected `parseObject` and `importLines` methods to hook into the extraction and import logic in a manner similar to what was possible using the `Importables` functions. +* Refactored the `Criteria` class into an interface that is implemented by any language symbols that can be immediately transformed to a well-built criteria (e.g. `ValueState` and `TimestampState`). The primary benefit of this change is that methods that took a generic Object parameter and checked whether that object could be built into a `Criteria` have now been removed from the `Concourse` driver since that logic is automatically captured within the new class hiearchy. Another positive side effect of this change is that it is no longer necessary to explicitly build a nested `Criteria` when using the `group` functionality of the `Criteria` builder. + +##### Bug Fixes +* Fixed a bug that caused data imported from STDIN to not have a `__datasource` tag, even if the `--annotate-data-source` flag was included with the CLI invocation. +* Fixed a bug that allowed Concourse Server to start an environment's storage engine in a partially or wholly unreadable state if the Engine partially completed a block sync while Concourse Server was going through its shutdown routine. In this scenario, the partially written block is malformed and should not be processed by the Engine since the data contained in the malformed block is still contained in the Buffer. While the malformed block files can be safely deleted, the implemented fix causes the Engine to simply ignore them if they are encountered upon initialization. +* Added checks to ensure that a storage Engine cannot transport writes from the Buffer to the Database while Concourse Server is shutting down. + +##### Deprecations and Removed Features * Removed the `Strings` utility class in favor of `AnyStrings` from `accent4j`. * Removed the `StringSplitter` framework in favor of the same from `accent4j`. +* Deprecated `Criteria#getCclString` in favor of `Criteria#ccl`. #### Version 0.9.6 (February 16, 2019) * Fixed a bug that caused a `ParseException` to be thrown when trying to use a `Criteria` object containing a string value wrapped in single or double quotes out of necessity (i.e. because the value contained a keyword). This bug happened because the wrapping quotes were dropped by Concourse Server when parsing the `Criteria`. diff --git a/README.md b/README.md index d2cb1d02fa..d05477e08a 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # Concourse - ![](https://img.shields.io/badge/version-1.0.0-green.svg) + ![](https://img.shields.io/badge/version-0.10.0-green.svg) ![](https://img.shields.io/badge/status-alpha-orange.svg) ![](https://img.shields.io/badge/license-Apache%202-blue.svg) [![Join the chat at https://gitter.im/cinchapi/concourse](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cinchapi/concourse?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![](https://circleci.com/gh/cinchapi/concourse.svg?style=shield&circle-token=954a20e6114d649b1b6a046d95b953e7d05d2e2f)](https://circleci.com/gh/cinchapi/concourse) > [Concourse](http://concoursedb.com) is a distributed database warehouse for transactions search and analytics across time. Developers prefer Concourse because it simplifies building misssion-critical systems with on-demand data intelligence. Furthermore, Concourse makes end-to-end data management trivial by requiring no extra infrastructure, no prior configuration and no continuous tuning–all of which greatly reduce costs, and allow developers to focus on core business problems. -This is version 1.0.0 of Concourse. +This is version 0.10.0 of Concourse. ## Quickstart ### Docker diff --git a/build.gradle b/build.gradle index 0c0dcfb180..3ed1741627 100644 --- a/build.gradle +++ b/build.gradle @@ -109,7 +109,7 @@ subprojects { compile 'joda-time:joda-time:2.2' compile 'org.apache.thrift:libthrift:0.9.3' compile 'commons-configuration:commons-configuration:1.9' - compile group: 'com.cinchapi', name: 'accent4j', version: '1.5.3', changing:true + compile group: 'com.cinchapi', name: 'accent4j', version: '1.6.0', changing:true compile 'com.cinchapi:lib-config:1.5.1' testCompile 'junit:junit:4.11' diff --git a/concourse-cli/gradlew b/concourse-cli/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-cli/gradlew +++ b/concourse-cli/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/concourse-driver-java/README.md b/concourse-driver-java/README.md index 6b01a25ec0..2c572fcfad 100644 --- a/concourse-driver-java/README.md +++ b/concourse-driver-java/README.md @@ -12,14 +12,14 @@ The concourse jar is available at [Maven Central](http://search.maven.org/#searc } dependencies { - compile 'com.cinchapi:concourse-driver-java:1.0.0+' + compile 'com.cinchapi:concourse-driver-java:0.10.0+' } If you prefer to use another dependency manager like Maven or Ivy, then use the following project information when declaring the dependency: GroupId: com.cinchapi ArtifactId: concourse-driver-java - Version: 1.0.0+ + Version: 0.10.0+ Alternatively, you can [download](http://cinchapi.org/concourse/download-api) the latest jar and manually add it to your project's classpath. diff --git a/concourse-driver-java/gradlew b/concourse-driver-java/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-driver-java/gradlew +++ b/concourse-driver-java/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/Concourse.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/Concourse.java index f7ee0309dc..d8132f8f06 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/Concourse.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/Concourse.java @@ -29,6 +29,7 @@ import com.cinchapi.concourse.config.ConcourseClientPreferences; import com.cinchapi.concourse.lang.BuildableState; import com.cinchapi.concourse.lang.Criteria; +import com.cinchapi.concourse.lang.sort.Order; import com.cinchapi.concourse.thrift.Diff; import com.cinchapi.concourse.thrift.Operator; import com.cinchapi.concourse.util.Convert; @@ -828,32 +829,30 @@ public abstract Map>> diff(String key, public abstract Set find(Criteria criteria); /** - * Return the set of records that satisfy the {@code criteria}. - *

- * This method is syntactic sugar for {@link #find(Criteria)}. The only - * difference is that this method takes a in-process {@link Criteria} - * building sequence for convenience. - *

+ * Return the set of records that satisfy the {@link Criteria criteria}. * - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired records + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records + * @param order an {@link Order} specification that describes how the result + * set should be sorted * @return the records that match the {@code criteria} */ - public abstract Set find(Object criteria); // this method exists in - // case the caller - // forgets - // to called #build() on - // the CriteriaBuilder + public abstract Set find(Criteria criteria, Order order); /** - * Return the set of records that satisfy the {@code ccl} filter. + * Return the set of records where {@code key} {@link Operator#EQUALS + * equals} {@code value}. + *

+ * This method is a shortcut for calling + * {@link #find(String, Operator, Object)} with {@link Operator#EQUALS}. + *

* - * @param ccl a well-formed criteria expressed using the Concourse Criteria - * Language - * @return the records that match the criteria + * @param key the field name + * @param value the value that must exist in the {@code key} field for the + * record to match + * @return the records where {@code key} = {@code value} */ - public abstract Set find(String ccl); + public abstract Set find(String key, Object value); /** * Return the set of records where {@code key} {@link Operator#EQUALS @@ -866,9 +865,11 @@ public abstract Map>> diff(String key, * @param key the field name * @param value the value that must exist in the {@code key} field for the * record to match + * @param order an {@link Order} specification that describes how the result + * set should be sorted * @return the records where {@code key} = {@code value} */ - public abstract Set find(String key, Object value); + public abstract Set find(String key, Object value, Order order); /** * Return the set of records where {@code key} was {@link Operator#EQUALS @@ -896,6 +897,34 @@ public abstract Map>> diff(String key, public abstract Set find(String key, Object value, Timestamp timestamp); + /** + * Return the set of records where {@code key} was {@link Operator#EQUALS + * equal} to {@code value} at {@code timestamp}. + *

+ * This method is a shortcut for calling + * {@link #find(String, Operator, Object, Timestamp)} with + * {@link Operator#EQUALS}. + *

+ * + * @param key the field name + * @param value the value that must exist in the {@code key} field for the + * record to match + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use when checking for matches – created from either + * a {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return the records where {@code key} was equal to {@code value} at + * {@code timestamp} + */ + public abstract Set find(String key, Object value, + Timestamp timestamp, Order order); + /** * Return the set of {@code records} where the {@code key} field contains at * least one value that satisfies the {@code operator} in relation to the @@ -926,6 +955,24 @@ public abstract Set find(String key, Object value, public abstract Set find(String key, Operator operator, Object value, Object value2); + /** + * Return the set of {@code records} where the {@code key} field contains at + * least one value that satisfies the {@code operator} in relation to + * {@code value} and {@code value2}. + * + * @param key the field name + * @param operator the {@link Operator} to use when comparing the specified + * values to those stored across the {@code key} field while + * determining which records are matches + * @param value the first comparison value for the {@code operator} + * @param value2 the second comparison value for the {@code operator} + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return the records that match the criteria + */ + public abstract Set find(String key, Operator operator, Object value, + Object value2, Order order); + /** * Return the set of {@code records} where the {@code key} field contained * at least one value at {@code timestamp} that satisfies the @@ -950,6 +997,49 @@ public abstract Set find(String key, Operator operator, Object value, public abstract Set find(String key, Operator operator, Object value, Object value2, Timestamp timestamp); + /** + * Return the set of {@code records} where the {@code key} field contained + * at least one value at {@code timestamp} that satisfies the + * {@code operator} in relation to {@code value} and {@code value2}. + * + * @param key the field name + * @param operator the {@link Operator} to use when comparing the specified + * values to those stored across the {@code key} field while + * determining which records are matches + * @param value the first comparison value for the {@code operator} + * @param value2 the second comparison value for the {@code operator} + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use when checking for matches – created from either + * a {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return the records that match the criteria + */ + public abstract Set find(String key, Operator operator, Object value, + Object value2, Timestamp timestamp, Order order); + + /** + * Return the set of {@code records} where the {@code key} field contains at + * least one value that satisfies the {@code operator} in relation to the + * {@code value}. + * + * @param key the field name + * @param operator the {@link Operator} to use when comparing the specified + * {@code value} to those stored across the {@code key} field + * while determining which records are matches + * @param value the comparison value for the {@code operator} + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return the records that match the criteria + */ + public abstract Set find(String key, Operator operator, Object value, + Order order); + /** * Return the set of {@code records} where the {@code key} field contained * at least one value at {@timestamp} that satisfies the {@code operator} in @@ -973,6 +1063,51 @@ public abstract Set find(String key, Operator operator, Object value, public abstract Set find(String key, Operator operator, Object value, Timestamp timestamp); + /** + * Return the set of {@code records} where the {@code key} field contained + * at least one value at {@timestamp} that satisfies the {@code operator} in + * relation to the {@code value}. + * + * @param key the field name + * @param operator the {@link Operator} to use when comparing the specified + * {@code value} to those stored across the {@code key} field + * while determining which records are matches + * @param value the comparison value for the {@code operator} + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use when checking for matches – created from either + * a {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return the records that match the criteria + */ + public abstract Set find(String key, Operator operator, Object value, + Timestamp timestamp, Order order); + + /** + * Return the set of records that satisfy the {@code ccl} filter. + * + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language + * @return the records that match the criteria + */ + public abstract Set find(String ccl); + + /** + * Return the set of records that satisfy the {@code ccl} filter. + * + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return the records that match the criteria + */ + public abstract Set find(String ccl, Order order); + /** * Return the set of {@code records} where the {@code key} field contains at * least one value that satisfies the {@code operator} in relation to the @@ -1005,6 +1140,25 @@ public abstract Set find(String key, Operator operator, Object value, public abstract Set find(String key, String operator, Object value, Object value2); + /** + * Return the set of {@code records} where the {@code key} field contains at + * least one value that satisfies the {@code operator} in relation to + * {@code value} and {@code value2}. + * + * @param key the field name + * @param operator a valid {@link Convert#stringToOperator(String) + * description} of an {@link Operator} to use when comparing the + * specified {@code value} to those stored across the {@code key} + * field while determining which records are matches + * @param value the first comparison value for the {@code operator} + * @param value2 the second comparison value for the {@code operator} + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return the records that match the criteria + */ + public abstract Set find(String key, String operator, Object value, + Object value2, Order order); + /** * Return the set of {@code records} where the {@code key} field contained * at least one value at {@code timestamp} that satisfies the @@ -1030,6 +1184,51 @@ public abstract Set find(String key, String operator, Object value, public abstract Set find(String key, String operator, Object value, Object value2, Timestamp timestamp); + /** + * Return the set of {@code records} where the {@code key} field contained + * at least one value at {@code timestamp} that satisfies the + * {@code operator} in relation to {@code value} and {@code value2}. + * + * @param key the field name + * @param operator a valid {@link Convert#stringToOperator(String) + * description} of an {@link Operator} to use when comparing the + * specified {@code value} to those stored across the {@code key} + * field while determining which records are matches + * @param value the first comparison value for the {@code operator} + * @param value2 the second comparison value for the {@code operator} + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use when checking for matches – created from either + * a {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return the records that match the criteria + */ + public abstract Set find(String key, String operator, Object value, + Object value2, Timestamp timestamp, Order order); + + /** + * Return the set of {@code records} where the {@code key} field contains at + * least one value that satisfies the {@code operator} in relation to the + * {@code value}. + * + * @param key the field name + * @param operator a valid {@link Convert#stringToOperator(String) + * description} of an {@link Operator} to use when comparing the + * specified {@code value} to those stored across the {@code key} + * field while determining which records are matches + * @param value the comparison value for the {@code operator} + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return the records that match the criteria + */ + public abstract Set find(String key, String operator, Object value, + Order order); + /** * Return the set of {@code records} where the {@code key} field contained * at least one value at {@code timestamp} that satisfies the @@ -1054,6 +1253,32 @@ public abstract Set find(String key, String operator, Object value, public abstract Set find(String key, String operator, Object value, Timestamp timestamp); + /** + * Return the set of {@code records} where the {@code key} field contained + * at least one value at {@code timestamp} that satisfies the + * {@code operator} in relation to the {@code value}. + * + * @param key the field name + * @param operator a valid {@link Convert#stringToOperator(String) + * description} of an {@link Operator} to use when comparing the + * specified {@code value} to those stored across the {@code key} + * field while determining which records are matches + * @param value the comparison value for the {@code operator} + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use when checking for matches – created from either + * a {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return the records that match the criteria + */ + public abstract Set find(String key, String operator, Object value, + Timestamp timestamp, Order order); + /** * Return the unique record where {@code key} {@link Operator#EQUALS equals} * {@code value}, or throw a {@link DuplicateEntryException} if multiple @@ -1352,6 +1577,21 @@ public abstract long findOrInsert(String ccl, String json) public abstract Map> get(Collection keys, Collection records); + /** + * For each of the {@code keys} in each of the {@code records}, return the + * stored value that was most recently added. + * + * @param keys a collection of field names + * @param records a collection of record ids + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the {@code records} to another + * {@link Map} associating each of the {@code keys} to the freshest + * value in the field + */ + public abstract Map> get(Collection keys, + Collection records, Order order); + /** * For each of the {@code keys} in each of the {@code records}, return the * stored value that was most recently added at {@code timestamp}. @@ -1373,6 +1613,29 @@ public abstract Map> get(Collection keys, public abstract Map> get(Collection keys, Collection records, Timestamp timestamp); + /** + * For each of the {@code keys} in each of the {@code records}, return the + * stored value that was most recently added at {@code timestamp}. + * + * @param keys a collection of field names + * @param records a collection of record ids + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the {@code records} to another + * {@link Map} associating each of the {@code keys} to the freshest + * value in the field at {@code timestamp} + */ + public abstract Map> get(Collection keys, + Collection records, Timestamp timestamp, Order order); + /** * For each of the {@code keys} in every record that matches the * {@code criteria}, return the stored value that was most recently @@ -1391,14 +1654,31 @@ public abstract Map> get(Collection keys, /** * For each of the {@code keys} in every record that matches the * {@code criteria}, return the stored value that was most recently - * added at {@code timestamp}. + * added. * * @param keys a collection of field names * @param criteria a {@link Criteria} that contains a well-formed filter for * the desired records - * @param timestamp a {@link Timestamp} that represents the historical - * instant to use in the lookup – created from either a - * {@link Timestamp#fromString(String) natural language + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the {@code keys} to the freshest + * value in the field + */ + public abstract Map> get(Collection keys, + Criteria criteria, Order order); + + /** + * For each of the {@code keys} in every record that matches the + * {@code criteria}, return the stored value that was most recently + * added at {@code timestamp}. + * + * @param keys a collection of field names + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language * description} of a point in time (i.e. two weeks ago), OR * the {@link Timestamp#fromMicros(long) number * of microseconds} since the Unix epoch, OR @@ -1411,6 +1691,31 @@ public abstract Map> get(Collection keys, public abstract Map> get(Collection keys, Criteria criteria, Timestamp timestamp); + /** + * For each of the {@code keys} in every record that matches the + * {@code criteria}, return the stored value that was most recently + * added at {@code timestamp}. + * + * @param keys a collection of field names + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the {@code keys} to the freshest + * value in the field at {@code timestamp} + */ + public abstract Map> get(Collection keys, + Criteria criteria, Timestamp timestamp, Order order); + /** * For each of the {@code keys} in {@code record}, return the stored value * that was most recently added. @@ -1445,71 +1750,57 @@ public abstract Map get(Collection keys, long record, Timestamp timestamp); /** - * For each of the {@code keys} in every record that matches the - * {@code criteria}, return the stored value that was most recently - * added. - *

- * This method is syntactic sugar for {@link #get(Collection, Criteria)}. - * The only difference is that this method takes a in-process - * {@link Criteria} building sequence for convenience. - *

+ * For each of the {@code keys} in every record that matches the {@code ccl} + * filter, return the stored value that was most recently added. * * @param keys a collection of field names - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the {@code keys} to the freshest * value in the field */ public abstract Map> get(Collection keys, - Object criteria); + String ccl); /** - * For each of the {@code keys} in every record that matches the - * {@code criteria}, return the stored value that was most recently - * added at {@code timestamp}. - *

- * This method is syntactic sugar for - * {@link #get(Collection, Criteria, Timestamp)}. The only difference is - * that this method takes a in-process {@link Criteria} building sequence - * for convenience. - *

+ * For each of the {@code keys} in every record that matches the {@code ccl} + * filter, return the stored value that was most recently added. * * @param keys a collection of field names - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records - * @param timestamp a {@link Timestamp} that represents the historical - * instant to use in the lookup – created from either a - * {@link Timestamp#fromString(String) natural language - * description} of a point in time (i.e. two weeks ago), OR - * the {@link Timestamp#fromMicros(long) number - * of microseconds} since the Unix epoch, OR - * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda - * DateTime} object + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language + * @param order an {@link Order} specification that describes how the result + * set should be sorted * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the {@code keys} to the freshest - * value in the field at {@code timestamp} + * value in the field */ public abstract Map> get(Collection keys, - Object criteria, Timestamp timestamp); + String ccl, Order order); /** * For each of the {@code keys} in every record that matches the {@code ccl} - * filter, return the stored value that was most recently added. + * filter, return the stored value that was most recently added at + * {@code timestamp}. * * @param keys a collection of field names * @param ccl a well-formed criteria expressed using the Concourse Criteria * Language + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the {@code keys} to the freshest - * value in the field + * value in the field at {@code timestamp} */ public abstract Map> get(Collection keys, - String ccl); + String ccl, Timestamp timestamp); /** * For each of the {@code keys} in every record that matches the {@code ccl} @@ -1527,12 +1818,14 @@ public abstract Map> get(Collection keys, * of microseconds} since the Unix epoch, OR * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the {@code keys} to the freshest * value in the field at {@code timestamp} */ public abstract Map> get(Collection keys, - String ccl, Timestamp timestamp); + String ccl, Timestamp timestamp, Order order); /** * For every key in every record that matches the {@code criteria}, return @@ -1546,6 +1839,21 @@ public abstract Map> get(Collection keys, */ public abstract Map> get(Criteria criteria); + /** + * For every key in every record that matches the {@code criteria}, return + * the stored value that was most recently added. + * + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the record's keys to the freshest + * value in the field + */ + public abstract Map> get(Criteria criteria, + Order order); + /** * For every key in every record that matches the {@code criteria}, return * the stored value that was most recently added at {@code timestamp} . @@ -1569,26 +1877,10 @@ public abstract Map> get(Criteria criteria, /** * For every key in every record that matches the {@code criteria}, return - * the stored value that was most recently added. - * - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records - * @return a {@link Map} associating each of the matching records to another - * {@link Map} associating each of the record's keys to the freshest - * value in the field - */ - public abstract Map> get(Object criteria); - - /** - * For every key in every record that matches the {@code criteria}, return - * the stored value that was most recently added at {@code timestamp}. + * the stored value that was most recently added at {@code timestamp} . * - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records * @param timestamp a {@link Timestamp} that represents the historical * instant to use in the lookup – created from either a * {@link Timestamp#fromString(String) natural language @@ -1597,12 +1889,14 @@ public abstract Map> get(Criteria criteria, * of microseconds} since the Unix epoch, OR * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the record's keys to the freshest * value in the field at {@code timestamp} */ - public abstract Map> get(Object criteria, - Timestamp timestamp); + public abstract Map> get(Criteria criteria, + Timestamp timestamp, Order order); /** * For every key in every record that matches the {@code ccl} filter, return @@ -1627,6 +1921,20 @@ public abstract Map> get(Object criteria, */ public abstract Map get(String key, Collection records); + /** + * For each of the {@code records}, return the stored value in the + * {@code key} field that was most recently added. + * + * @param key the field name + * @param records a collection of record ids + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the {@code records} to the + * freshest value in the {@code key} field + */ + public abstract Map get(String key, Collection records, + Order order); + /** * For each of the {@code records}, return the stored value in the * {@code key} field that was most recently added at {@code timestamp} @@ -1647,6 +1955,28 @@ public abstract Map> get(Object criteria, public abstract Map get(String key, Collection records, Timestamp timestamp); + /** + * For each of the {@code records}, return the stored value in the + * {@code key} field that was most recently added at {@code timestamp} + * + * @param key the field name + * @param records a collection of record ids + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the {@code records} to the + * freshest value in the {@code key} field at {@code timestamp} + */ + public abstract Map get(String key, Collection records, + Timestamp timestamp, Order order); + /** * For every record that matches the {@code criteria}, return the stored * value in the {@code key} field that was most recently added. @@ -1659,6 +1989,21 @@ public abstract Map get(String key, Collection records, */ public abstract Map get(String key, Criteria criteria); + /** + * For every record that matches the {@code criteria}, return the stored + * value in the {@code key} field that was most recently added. + * + * @param key the field name + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to the + * freshest value in the {@code key} field + */ + public abstract Map get(String key, Criteria criteria, + Order order); + /** * For every record that matches the {@code criteria}, return the * stored value in the {@code key} field that was most recently added at @@ -1681,6 +2026,30 @@ public abstract Map get(String key, Collection records, public abstract Map get(String key, Criteria criteria, Timestamp timestamp); + /** + * For every record that matches the {@code criteria}, return the + * stored value in the {@code key} field that was most recently added at + * {@code timestamp}. + * + * @param key the field name + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to the + * freshest value in the {@code key} field + */ + public abstract Map get(String key, Criteria criteria, + Timestamp timestamp, Order order); + /** * Return the stored value that was most recently added for {@code key} in * {@code record}. If the field is empty, return {@code null}. @@ -1748,53 +2117,35 @@ public final T get(String key, Long record, Timestamp timestamp) { } /** - * For every record that matches the {@code criteria}, return the stored - * value in the {@code key} field that was most recently added. - *

- * This method is syntactic sugar for {@link #get(String, Criteria)}. The - * only difference is that this method takes a in-process {@link Criteria} - * building sequence for convenience. - *

+ * For every key in every record that matches the {@code ccl} filter, return + * the stored value that was most recently added. * - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language + * @param order an {@link Order} specification that describes how the result + * set should be sorted * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the record's keys to the freshest * value in the field */ - public abstract Map get(String key, Object criteria); + public abstract Map> get(String ccl, Order order); /** - * For every record that matches the {@code criteria}, return the - * stored value in the {@code key} field that was most recently added at - * {@code timestamp}. + * For every record that matches the {@code ccl} filter, return the + * stored value in the {@code key} field that was most recently added. *

- * This method is syntactic sugar for - * {@link #get(String, Criteria, Timestamp)}. The only difference is that - * this method takes a in-process {@link Criteria} building sequence for - * convenience. + * This method is syntactic sugar for {@link #get(String, Criteria)}. The + * only difference is that this method takes a in-process {@link Criteria} + * building sequence for convenience. *

* * @param key the field name - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records - * @param timestamp a {@link Timestamp} that represents the historical - * instant to use in the lookup – created from either a - * {@link Timestamp#fromString(String) natural language - * description} of a point in time (i.e. two weeks ago), OR - * the {@link Timestamp#fromMicros(long) number - * of microseconds} since the Unix epoch, OR - * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda - * DateTime} object + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language * @return a {@link Map} associating each of the matching records to the * freshest value in the {@code key} field */ - public abstract Map get(String key, Object criteria, - Timestamp timestamp); + public abstract Map get(String key, String ccl); /** * For every record that matches the {@code ccl} filter, return the @@ -1808,10 +2159,12 @@ public abstract Map get(String key, Object criteria, * @param key the field name * @param ccl a well-formed criteria expressed using the Concourse Criteria * Language + * @param order an {@link Order} specification that describes how the result + * set should be sorted * @return a {@link Map} associating each of the matching records to the * freshest value in the {@code key} field */ - public abstract Map get(String key, String ccl); + public abstract Map get(String key, String ccl, Order order); /** * For every record that matches the {@code ccl} filter, return the @@ -1842,9 +2195,17 @@ public abstract Map get(String key, String ccl, Timestamp timestamp); /** - * For every key in every record that matches the {@code ccl} filter, - * return the stored value that was most recently added. + * For every record that matches the {@code ccl} filter, return the + * stored value in the {@code key} field that was most recently added at + * {@code timestamp}. + *

+ * This method is syntactic sugar for + * {@link #get(String, Criteria, Timestamp)}. The only difference is that + * this method takes a in-process {@link Criteria} building sequence for + * convenience. + *

* + * @param key the field name * @param ccl a well-formed criteria expressed using the Concourse Criteria * Language * @param timestamp a {@link Timestamp} that represents the historical @@ -1855,19 +2216,64 @@ public abstract Map get(String key, String ccl, * of microseconds} since the Unix epoch, OR * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda * DateTime} object - * @return a {@link Map} associating each of the matching records to another - * {@link Map} associating each of the record's keys to the freshest - * value in the field + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to the + * freshest value in the {@code key} field at {@code timestamp} */ - public abstract Map> get(String ccl, - Timestamp timestamp); + public abstract Map get(String key, String ccl, + Timestamp timestamp, Order order); /** - * Return the name of the connected environment. + * For every key in every record that matches the {@code ccl} filter, + * return the stored value that was most recently added. * - * @return the server environment to which this client is connected - */ - public abstract String getServerEnvironment(); + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the record's keys to the freshest + * value in the field + */ + public abstract Map> get(String ccl, + Timestamp timestamp); + + /** + * For every key in every record that matches the {@code ccl} filter, + * return the stored value that was most recently added. + * + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the record's keys to the freshest + * value in the field + */ + public abstract Map> get(String ccl, + Timestamp timestamp, Order order); + + /** + * Return the name of the connected environment. + * + * @return the server environment to which this client is connected + */ + public abstract String getServerEnvironment(); /** * Return the version of the connected server. @@ -2437,68 +2843,6 @@ public abstract Map>> navigate( public abstract Map>> navigate( Collection keys, long record, Timestamp timestamp); - /** - * Traverse the document-graph along each of the navigation {@code keys}, - * starting at each of the records that match the {@code criteria} and - * return the data contained at each of the destinations. - * - * @param keys a collection of navigation keys - * @param criteria a {@link Criteria} that contains a well-formed filter for - * the desired records - * @return a {@link Map} associating each of the destination {@code records} - * to another {@link Map} associating each of the destination - * {@code keys} to a {@link Set} containing all the values stored in - * the respective fields - * @see https://docs.cinchapi.com/concourse/guide/glossary/#navigation-key - */ - public final Map>> navigate( - Collection keys, Object criteria) { - if(criteria instanceof BuildableState) { - return navigate(keys, ((BuildableState) criteria).build()); - } - else { - throw new IllegalArgumentException(criteria - + " is not a valid argument for the navigate method"); - } - } - - /** - * Traverse the document-graph at {@code timestamp} along each of the - * navigation {@code keys}, starting at each of the records that matched the - * {@code criteria} and return the data contained at each of the - * destinations at {@code timestamp}. - * - * @param keys a collection of navigation keys - * @param criteria a {@link Criteria} that contains a well-formed filter for - * the desired records - * @param timestamp a {@link Timestamp} that represents the historical - * instant to use in the lookup – created from either a - * {@link Timestamp#fromString(String) natural language - * description} of a point in time (i.e. two weeks ago), OR - * the {@link Timestamp#fromMicros(long) number - * of microseconds} since the Unix epoch, OR - * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda - * DateTime} object - * @return a {@link Map} associating each of the destination {@code records} - * to another {@link Map} associating each of the destination - * {@code keys} to a {@link Set} containing all the values stored in - * the respective fields at {@code timestamp} - * @see https://docs.cinchapi.com/concourse/guide/glossary/#navigation-key - */ - public final Map>> navigate( - Collection keys, Object criteria, Timestamp timestamp) { - if(criteria instanceof BuildableState) { - return navigate(keys, ((BuildableState) criteria).build(), - timestamp); - } - else { - throw new IllegalArgumentException(criteria - + " is not a valid argument for the navigate method"); - } - } - /** * Traverse the document-graph along each of the navigation {@code keys}, * starting at each of the records that match the {@code criteria} and @@ -2705,68 +3049,6 @@ public final Map> navigate(String key, Long record, return navigate(key, record.longValue(), timestamp); } - /** - * Return all the values stored for {@code key} in every record that - * matches the {@link Criteria} filter. Navigates through the key splited - * with dot(.) operator. - *

- * Iterates only if the key has a link as value which - * points to another record. - *

- * - * @param key the field name - * @param ccl a well-formed criteria expressed using the Concourse Criteria - * Language - * @return a {@link Map} associating each of the the matching records to a - * {@link Set} containing all the values stored in the respective - * field - */ - public final Map> navigate(String key, Object criteria) { - if(criteria instanceof BuildableState) { - return navigate(key, ((BuildableState) criteria).build()); - } - else { - throw new IllegalArgumentException(criteria - + " is not a valid argument for the navigate method"); - } - } - - /** - * Return all the values stored for {@code key} in every record that - * matches the {@link Criteria} filter. Navigates through the key splited - * with dot(.) operator. - *

- * Iterates only if the key has a link as value which - * points to another record. - *

- * - * @param key the field name - * @param ccl a well-formed criteria expressed using the Concourse Criteria - * Language - * @param timestamp a {@link Timestamp} that represents the historical - * instant to use in the lookup – created from either a - * {@link Timestamp#fromString(String) natural language - * description} of a point in time (i.e. two weeks ago), OR - * the {@link Timestamp#fromMicros(long) number - * of microseconds} since the Unix epoch, OR - * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda - * DateTime} object - * @return a {@link Map} associating each of the the matching records to a - * {@link Set} containing all the values stored in the respective - * field - */ - public final Map> navigate(String key, Object criteria, - Timestamp timestamp) { - if(criteria instanceof BuildableState) { - return navigate(key, ((BuildableState) criteria).build(), - timestamp); - } - else { - throw new IllegalArgumentException(criteria - + " is not a valid argument for the navigate method"); - } - } - /** * Return all the values stored for {@code key} in every record that * matches the {@code ccl} filter. Navigates through the key splited @@ -2984,6 +3266,20 @@ public abstract void revert(String key, Collection records, public abstract Map>> select( Collection records); + /** + * Return all the data that is currently stored in each of the + * {@code records}. + * + * @param records a collection of record ids + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the {@code records} to another + * {@link Map} associating every key in that record to a {@link Set} + * containing all the values stored in the respective field + */ + public abstract Map>> select( + Collection records, Order order); + /** * Return all the data that was stored in each of the {@code records} at * {@code timestamp}. @@ -3005,6 +3301,29 @@ public abstract Map>> select( public abstract Map>> select( Collection records, Timestamp timestamp); + /** + * Return all the data that was stored in each of the {@code records} at + * {@code timestamp}. + * + * @param records a collection of record ids + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the {@code records} to another + * {@link Map} associating every key in that record at + * {@code timestamp} to a {@link Set} containing all the values + * stored in the respective field at {@code timestamp} + */ + public abstract Map>> select( + Collection records, Timestamp timestamp, Order order); + /** * Return all the values stored for each of the {@code keys} in each of the * {@code records}. @@ -3018,6 +3337,21 @@ public abstract Map>> select( public abstract Map>> select( Collection keys, Collection records); + /** + * Return all the values stored for each of the {@code keys} in each of the + * {@code records}. + * + * @param keys a collection of field names + * @param records a collection of record ids + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the {@code records} to another + * {@link Map} associating each of the {@code keys} to a {@link Set} + * containing all the values stored in the respective field + */ + public abstract Map>> select( + Collection keys, Collection records, Order order); + /** * Return all the values stored for each of the {@code keys} in each of the * {@code records} at {@code timestamp}. @@ -3041,6 +3375,31 @@ public abstract Map>> select( Collection keys, Collection records, Timestamp timestamp); + /** + * Return all the values stored for each of the {@code keys} in each of the + * {@code records} at {@code timestamp}. + * + * @param keys a collection of field names + * @param records a collection of record ids + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the {@code records} to another + * {@link Map} associating each of the {@code keys} to a {@link Set} + * containing all the values stored in the respective field at + * {@code timestamp} + */ + public abstract Map>> select( + Collection keys, Collection records, + Timestamp timestamp, Order order); + /** * Return all the values stored for each of the {@code keys} in every record * that matches the {@code criteria}. @@ -3056,6 +3415,23 @@ public abstract Map>> select( public abstract Map>> select( Collection keys, Criteria criteria); + /** + * Return all the values stored for each of the {@code keys} in every record + * that matches the {@code criteria}. + * + * @param keys a collection of field names + * @param criteria a {@link Criteria} that contains a + * well-formed filter for the desired records + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the {@code keys} in that record + * to a {@link Set} containing all the values stored in the + * respective field + */ + public abstract Map>> select( + Collection keys, Criteria criteria, Order order); + /** * Return all the values stored for each of the {@code keys} at * {@code timestamp} in every record that matches the {@code criteria} @@ -3079,6 +3455,32 @@ public abstract Map>> select( public abstract Map>> select( Collection keys, Criteria criteria, Timestamp timestamp); + /** + * Return all the values stored for each of the {@code keys} at + * {@code timestamp} in every record that matches the {@code criteria} + * + * @param keys a collection of field names + * @param criteria a {@link Criteria} that contains a + * well-formed filter for the desired records + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the {@code keys} in that record + * to a {@link Set} containing all the values stored in the + * respective field at {@code timestamp} + */ + public abstract Map>> select( + Collection keys, Criteria criteria, Timestamp timestamp, + Order order); + /** * Return all the values stored for each of the {@code keys} in * {@code record}. @@ -3115,71 +3517,58 @@ public abstract Map> select(Collection keys, /** * Return all the values stored for each of the {@code keys} in every record - * that matches the {@code criteria}. - *

- * This method is syntactic sugar for {@link #select(Collection, Criteria)}. - * The only difference is that this method takes a in-process - * {@link Criteria} building sequence for convenience. - *

+ * that matches the {@code ccl} filter. * * @param keys a collection of field names - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the {@code keys} in that record * to a {@link Set} containing all the values stored in the * respective field */ public abstract Map>> select( - Collection keys, Object criteria); + Collection keys, String ccl); /** - * Return all the values stored for each of the {@code keys} at - * {@code timestamp} in every record that matches the {@code criteria}. - *

- * This method is syntactic sugar for - * {@link #select(Collection, Criteria, Timestamp)}. The only difference is - * that this method takes a in-process {@link Criteria} building sequence - * for convenience. - *

+ * Return all the values stored for each of the {@code keys} in every record + * that matches the {@code ccl} filter. * * @param keys a collection of field names - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records - * @param timestamp a {@link Timestamp} that represents the historical - * instant to use in the lookup – created from either a - * {@link Timestamp#fromString(String) natural language - * description} of a point in time (i.e. two weeks ago), OR - * the {@link Timestamp#fromMicros(long) number - * of microseconds} since the Unix epoch, OR - * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda - * DateTime} object + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language + * @param order an {@link Order} specification that describes how the result + * set should be sorted * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the {@code keys} in that record * to a {@link Set} containing all the values stored in the - * respective field at {@code timestamp} + * respective field */ public abstract Map>> select( - Collection keys, Object criteria, Timestamp timestamp); + Collection keys, String ccl, Order order); /** - * Return all the values stored for each of the {@code keys} in every record - * that matches the {@code ccl} filter. + * Return all the values stored for each of the {@code keys} at + * {@code timestamp} in every record that matches the {@code ccl} filter. * * @param keys a collection of field names * @param ccl a well-formed criteria expressed using the Concourse Criteria * Language + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the {@code keys} in that record * to a {@link Set} containing all the values stored in the - * respective field + * respective field at {@code timestamp} */ public abstract Map>> select( - Collection keys, String ccl); + Collection keys, String ccl, Timestamp timestamp); /** * Return all the values stored for each of the {@code keys} at @@ -3196,13 +3585,16 @@ public abstract Map>> select( * of microseconds} since the Unix epoch, OR * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the {@code keys} in that record * to a {@link Set} containing all the values stored in the * respective field at {@code timestamp} */ public abstract Map>> select( - Collection keys, String ccl, Timestamp timestamp); + Collection keys, String ccl, Timestamp timestamp, + Order order); /** * Return all the data from every record that matches {@code criteria}. @@ -3218,6 +3610,22 @@ public abstract Map>> select( public abstract Map>> select( Criteria criteria); + /** + * Return all the data from every record that matches {@code criteria}. + * + * @param keys a collection of field names + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the {@code keys} in that record + * to a {@link Set} containing all the values stored in the + * respective field + */ + public abstract Map>> select(Criteria criteria, + Order order); + /** * Return all the data at {@code timestamp} from every record that * matches the {@code criteria}. @@ -3241,6 +3649,31 @@ public abstract Map>> select( public abstract Map>> select(Criteria criteria, Timestamp timestamp); + /** + * Return all the data at {@code timestamp} from every record that + * matches the {@code criteria}. + * + * @param keys a collection of field names + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the {@code keys} in that record + * to a {@link Set} containing all the values stored in the + * respective field at {@code timestamp} + */ + public abstract Map>> select(Criteria criteria, + Timestamp timestamp, Order order); + /** * Return all the data from {@code record}. * @@ -3303,56 +3736,6 @@ public final Map> select(Long record, return select(record.longValue(), timestamp); } - /** - * Return all the data from every record that matches {@code criteria}. - *

- * This method is syntactic sugar for {@link #select(Criteria)}. The only - * difference is that this method takes a in-process {@link Criteria} - * building sequence for convenience. - *

- * - * @param keys a collection of field names - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records - * @return a {@link Map} associating each of the matching records to another - * {@link Map} associating each of the {@code keys} in that record - * to a {@link Set} containing all the values stored in the - * respective field - */ - public abstract Map>> select(Object criteria); - - /** - * Return all the data at {@code timestamp} from every record that - * matches the {@code criteria}. - *

- * This method is syntactic sugar for {@link #select(Criteria, Timestamp)}. - * The only difference is that this method takes a in-process - * {@link Criteria} building sequence for convenience. - *

- * - * @param keys a collection of field names - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records - * @param timestamp a {@link Timestamp} that represents the historical - * instant to use in the lookup – created from either a - * {@link Timestamp#fromString(String) natural language - * description} of a point in time (i.e. two weeks ago), OR - * the {@link Timestamp#fromMicros(long) number - * of microseconds} since the Unix epoch, OR - * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda - * DateTime} object - * @return a {@link Map} associating each of the matching records to another - * {@link Map} associating each of the {@code keys} in that record - * to a {@link Set} containing all the values stored in the - * respective field at {@code timestamp} - */ - public abstract Map>> select(Object criteria, - Timestamp timestamp); - /** * Return all the data from every record that matches {@code ccl} filter. * @@ -3378,6 +3761,20 @@ public abstract Map>> select(Object criteria, public abstract Map> select(String key, Collection records); + /** + * Return all values stored for {@code key} in each of the {@code records}. + * + * @param key the field name + * @param records a collection of record ids + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the {@code records} to a + * {@link Set} containing all the values stored in the respective + * field + */ + public abstract Map> select(String key, + Collection records, Order order); + /** * Return all values stored for {@code key} in each of the {@code records} * at {@code timestamp}. @@ -3399,6 +3796,29 @@ public abstract Map> select(String key, public abstract Map> select(String key, Collection records, Timestamp timestamp); + /** + * Return all values stored for {@code key} in each of the {@code records} + * at {@code timestamp}. + * + * @param key the field name + * @param records a collection of record ids + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the {@code records} to a + * {@link Set} containing all the values stored in the respective + * field at {@code timestamp} + */ + public abstract Map> select(String key, + Collection records, Timestamp timestamp, Order order); + /** * Return all the values stored for {@code key} in every record that * matches the {@code criteria}. @@ -3412,6 +3832,22 @@ public abstract Map> select(String key, */ public abstract Map> select(String key, Criteria criteria); + /** + * Return all the values stored for {@code key} in every record that + * matches the {@code criteria}. + * + * @param key the field name + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to a + * {@link Set} containing all the values stored in the respective + * field + */ + public abstract Map> select(String key, Criteria criteria, + Order order); + /** * Return all the values stored for {@code key} at {@code timestamp} in * every record that matches the {@code criteria}. @@ -3434,6 +3870,30 @@ public abstract Map> select(String key, public abstract Map> select(String key, Criteria criteria, Timestamp timestamp); + /** + * Return all the values stored for {@code key} at {@code timestamp} in + * every record that matches the {@code criteria}. + * + * @param key the field name + * @param criteria a {@link Criteria} that contains a well-formed filter for + * the desired records + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to a + * {@link Set} containing all the values stored in the respective + * field at {@code timestamp} + */ + public abstract Map> select(String key, Criteria criteria, + Timestamp timestamp, Order order); + /** * Return all the values stored for {@code key} in {@code record}. * @@ -3496,41 +3956,58 @@ public final Set select(String key, Long record, return select(key, record.longValue(), timestamp); } + /** + * Return all the data from every record that matches {@code ccl} filter. + * + * @param keys a collection of field names + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the {@code keys} in that record + * to a {@link Set} containing all the values stored in the + * respective field + */ + public abstract Map>> select(String ccl, + Order order); + /** * Return all the values stored for {@code key} in every record that - * matches the {@code criteria}. - *

- * This method is syntactic sugar for {@link #select(String, Criteria)}. The - * only difference is that this method takes a in-process {@link Criteria} - * building sequence for convenience. - *

+ * matches the {@code ccl} filter. * * @param key the field name - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records - * @return a {@link Map} associating each of the matching records to a + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language + * @return a {@link Map} associating each of the the matching records to a * {@link Set} containing all the values stored in the respective * field */ - public abstract Map> select(String key, Object criteria); + public abstract Map> select(String key, String ccl); + + /** + * Return all the values stored for {@code key} in every record that + * matches the {@code ccl} filter. + * + * @param key the field name + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the the matching records to a + * {@link Set} containing all the values stored in the respective + * field + */ + public abstract Map> select(String key, String ccl, + Order order); /** * Return all the values stored for {@code key} at {@code timestamp} in - * every record that matches the {@code criteria}. - *

- * This method is syntactic sugar for - * {@link #select(String, Criteria, Timestamp)}. The only difference is that - * this method takes a in-process {@link Criteria} building sequence for - * convenience. - *

+ * every record that matches the {@code ccl} filter. * * @param key the field name - * @param criteria an in-process {@link Criteria} building sequence that - * contains an {@link BuildableState#build() unfinalized}, - * but well-formed filter for the desired - * records + * @param ccl a well-formed criteria expressed using the Concourse Criteria + * Language * @param timestamp a {@link Timestamp} that represents the historical * instant to use in the lookup – created from either a * {@link Timestamp#fromString(String) natural language @@ -3543,27 +4020,38 @@ public final Set select(String key, Long record, * {@link Set} containing all the values stored in the respective * field at {@code timestamp} */ - public abstract Map> select(String key, Object criteria, + public abstract Map> select(String key, String ccl, Timestamp timestamp); /** - * Return all the values stored for {@code key} in every record that - * matches the {@code ccl} filter. + * Return all the values stored for {@code key} at {@code timestamp} in + * every record that matches the {@code ccl} filter. * * @param key the field name * @param ccl a well-formed criteria expressed using the Concourse Criteria * Language - * @return a {@link Map} associating each of the the matching records to a + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted + * @return a {@link Map} associating each of the matching records to a * {@link Set} containing all the values stored in the respective - * field + * field at {@code timestamp} */ - public abstract Map> select(String key, String ccl); + public abstract Map> select(String key, String ccl, + Timestamp timestamp, Order order); /** - * Return all the values stored for {@code key} at {@code timestamp} in - * every record that matches the {@code ccl} filter. + * Return all the data at {@code timestamp} from every record that + * matches the {@code ccl} filter. * - * @param key the field name + * @param keys a collection of field names * @param ccl a well-formed criteria expressed using the Concourse Criteria * Language * @param timestamp a {@link Timestamp} that represents the historical @@ -3574,11 +4062,12 @@ public abstract Map> select(String key, Object criteria, * of microseconds} since the Unix epoch, OR * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda * DateTime} object - * @return a {@link Map} associating each of the matching records to a - * {@link Set} containing all the values stored in the respective - * field at {@code timestamp} + * @return a {@link Map} associating each of the matching records to another + * {@link Map} associating each of the {@code keys} in that record + * to a {@link Set} containing all the values stored in the + * respective field at {@code timestamp} */ - public abstract Map> select(String key, String ccl, + public abstract Map>> select(String ccl, Timestamp timestamp); /** @@ -3596,13 +4085,15 @@ public abstract Map> select(String key, String ccl, * of microseconds} since the Unix epoch, OR * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda * DateTime} object + * @param order an {@link Order} specification that describes how the result + * set should be sorted * @return a {@link Map} associating each of the matching records to another * {@link Map} associating each of the {@code keys} in that record * to a {@link Set} containing all the values stored in the * respective field at {@code timestamp} */ public abstract Map>> select(String ccl, - Timestamp timestamp); + Timestamp timestamp, Order order); /** * In each of the {@code records}, atomically remove all the values stored diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/ConcourseThriftDriver.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/ConcourseThriftDriver.java index a500bcf3e2..e5c324adf0 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/ConcourseThriftDriver.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/ConcourseThriftDriver.java @@ -36,14 +36,20 @@ import com.cinchapi.common.base.CheckedExceptions; import com.cinchapi.concourse.config.ConcourseClientPreferences; -import com.cinchapi.concourse.lang.BuildableState; +import com.cinchapi.concourse.data.transform.DataColumn; +import com.cinchapi.concourse.data.transform.DataIndex; +import com.cinchapi.concourse.data.transform.DataProjection; +import com.cinchapi.concourse.data.transform.DataRow; +import com.cinchapi.concourse.data.transform.DataTable; import com.cinchapi.concourse.lang.Criteria; import com.cinchapi.concourse.lang.Language; +import com.cinchapi.concourse.lang.sort.Order; import com.cinchapi.concourse.security.ClientSecurity; import com.cinchapi.concourse.thrift.AccessToken; import com.cinchapi.concourse.thrift.ComplexTObject; import com.cinchapi.concourse.thrift.ConcourseService; import com.cinchapi.concourse.thrift.Diff; +import com.cinchapi.concourse.thrift.JavaThriftBridge; import com.cinchapi.concourse.thrift.Operator; import com.cinchapi.concourse.thrift.SecurityException; import com.cinchapi.concourse.thrift.TObject; @@ -52,7 +58,7 @@ import com.cinchapi.concourse.util.Collections; import com.cinchapi.concourse.util.Conversions; import com.cinchapi.concourse.util.Convert; -import com.cinchapi.concourse.util.LinkNavigation; +import com.cinchapi.concourse.util.Navigation; import com.cinchapi.concourse.util.PrettyLinkedHashMap; import com.cinchapi.concourse.util.PrettyLinkedTableMap; import com.cinchapi.concourse.util.Transformers; @@ -358,18 +364,9 @@ public Map audit(String key, long record, @Override public Map>> browse(Collection keys) { return execute(() -> { - Map>> raw = client.browseKeys( + Map>> data = client.browseKeys( Collections.toList(keys), creds, transaction, environment); - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Key"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions.thriftToJava(), - Conversions. none())); - } - return pretty; + return DataIndex.of(data); }); } @@ -377,62 +374,41 @@ public Map>> browse(Collection keys) { public Map>> browse(Collection keys, Timestamp timestamp) { return execute(() -> { - Map>> raw; + Map>> data; if(timestamp.isString()) { - raw = client.browseKeysTimestr(Collections.toList(keys), + data = client.browseKeysTimestr(Collections.toList(keys), timestamp.toString(), creds, transaction, environment); } else { - raw = client.browseKeysTime(Collections.toList(keys), + data = client.browseKeysTime(Collections.toList(keys), timestamp.getMicros(), creds, transaction, environment); } - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Key"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions.thriftToJava(), - Conversions. none())); - } - return pretty; + return DataIndex.of(data); }); } @Override public Map> browse(String key) { return execute(() -> { - Map> raw = client.browseKey(key, creds, + Map> data = client.browseKey(key, creds, transaction, environment); - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap(key, "Records"); - for (Entry> entry : raw.entrySet()) { - pretty.put(Convert.thriftToJava(entry.getKey()), - entry.getValue()); - } - return pretty; + return DataProjection.of(data); }); } @Override public Map> browse(String key, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.browseKeyTimestr(key, timestamp.toString(), creds, + data = client.browseKeyTimestr(key, timestamp.toString(), creds, transaction, environment); } else { - raw = client.browseKeyTime(key, timestamp.getMicros(), creds, + data = client.browseKeyTime(key, timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap(key, "Records"); - for (Entry> entry : raw.entrySet()) { - pretty.put(Convert.thriftToJava(entry.getKey()), - entry.getValue()); - } - return pretty; + return DataProjection.of(data); }); } @@ -572,20 +548,6 @@ public Set describe() { }); } - @Override - public Set describe(Timestamp timestamp) { - return execute(() -> { - if(timestamp.isString()) { - return client.describeTimestr(timestamp.toString(), creds, - transaction, environment); - } - else { - return client.describeTime(timestamp.getMicros(), creds, - transaction, environment); - } - }); - } - @Override public Map> describe(Collection records) { return execute(() -> { @@ -648,6 +610,20 @@ public Set describe(long record, Timestamp timestamp) { }); } + @Override + public Set describe(Timestamp timestamp) { + return execute(() -> { + if(timestamp.isString()) { + return client.describeTimestr(timestamp.toString(), creds, + transaction, environment); + } + else { + return client.describeTime(timestamp.getMicros(), creds, + transaction, environment); + } + }); + } + @Override public Map>> diff(long record, Timestamp start) { @@ -831,14 +807,13 @@ public Set find(Criteria criteria) { } @Override - public Set find(Object criteria) { - if(criteria instanceof BuildableState) { - return find(((BuildableState) criteria).build()); - } - else { - throw new IllegalArgumentException( - criteria + " is not a valid argument for the find method"); - } + public Set find(Criteria criteria, Order order) { + return execute(() -> { + return client.findCriteriaOrder( + Language.translateToThriftCriteria(criteria), + JavaThriftBridge.convert(order), creds, transaction, + environment); + }); } @Override @@ -853,11 +828,22 @@ public Set find(String key, Object value) { return executeFind(key, Operator.EQUALS, value); } + @Override + public Set find(String key, Object value, Order order) { + return executeFind(order, key, Operator.EQUALS, value); + } + @Override public Set find(String key, Object value, Timestamp timestamp) { return executeFind(key, Operator.EQUALS, value, timestamp); } + @Override + public Set find(String key, Object value, Timestamp timestamp, + Order order) { + return executeFind(timestamp, order, key, Operator.EQUALS, value); + } + @Override public Set find(String key, Operator operator, Object value) { return executeFind(key, operator, value); @@ -869,18 +855,50 @@ public Set find(String key, Operator operator, Object value, return executeFind(key, operator, value, value2); } + @Override + public Set find(String key, Operator operator, Object value, + Object value2, Order order) { + return executeFind(order, key, operator, value, value2); + } + @Override public Set find(String key, Operator operator, Object value, Object value2, Timestamp timestamp) { return executeFind(timestamp, key, operator, value, value2); } + @Override + public Set find(String key, Operator operator, Object value, + Object value2, Timestamp timestamp, Order order) { + return executeFind(timestamp, order, key, operator, value, value2); + } + + @Override + public Set find(String key, Operator operator, Object value, + Order order) { + return executeFind(order, key, operator, value); + } + @Override public Set find(String key, Operator operator, Object value, Timestamp timestamp) { return executeFind(timestamp, key, operator, value); } + @Override + public Set find(String key, Operator operator, Object value, + Timestamp timestamp, Order order) { + return executeFind(timestamp, order, key, operator, value); + } + + @Override + public Set find(String ccl, Order order) { + return execute(() -> { + return client.findCclOrder(ccl, JavaThriftBridge.convert(order), + creds, transaction, environment); + }); + } + @Override public Set find(String key, String operator, Object value) { return executeFind(key, operator, value); @@ -892,18 +910,42 @@ public Set find(String key, String operator, Object value, return executeFind(key, operator, value, value2); } + @Override + public Set find(String key, String operator, Object value, + Object value2, Order order) { + return executeFind(order, key, operator, value, value2); + } + @Override public Set find(String key, String operator, Object value, Object value2, Timestamp timestamp) { return executeFind(timestamp, key, operator, value, value2); } + @Override + public Set find(String key, String operator, Object value, + Object value2, Timestamp timestamp, Order order) { + return executeFind(timestamp, order, key, operator, value, value2); + } + + @Override + public Set find(String key, String operator, Object value, + Order order) { + return executeFind(order, key, operator, value); + } + @Override public Set find(String key, String operator, Object value, Timestamp timestamp) { return executeFind(timestamp, key, operator, value); } + @Override + public Set find(String key, String operator, Object value, + Timestamp timestamp, Order order) { + return executeFind(timestamp, order, key, operator, value); + } + @Override public long findOrAdd(String key, T value) throws DuplicateEntryException { @@ -936,17 +978,22 @@ public long findOrInsert(String ccl, String json) public Map> get(Collection keys, Collection records) { return execute(() -> { - Map> raw = client.getKeysRecords( + Map> data = client.getKeysRecords( Collections.toList(keys), Collections.toLongList(records), creds, transaction, environment); - Map> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapValues(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataTable.singleValued(data); + }); + } + + @Override + public Map> get(Collection keys, + Collection records, Order order) { + return execute(() -> { + Map> data = client.getKeysRecordsOrder( + Collections.toList(keys), Collections.toLongList(records), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataTable.singleValued(data); }); } @@ -954,25 +1001,40 @@ public Map> get(Collection keys, public Map> get(Collection keys, Collection records, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.getKeysRecordsTimestr(Collections.toList(keys), + data = client.getKeysRecordsTimestr(Collections.toList(keys), Collections.toLongList(records), timestamp.toString(), creds, transaction, environment); } else { - raw = client.getKeysRecordsTime(Collections.toList(keys), + data = client.getKeysRecordsTime(Collections.toList(keys), Collections.toLongList(records), timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapValues(entry.getValue(), - Conversions. thriftToJavaCasted())); + return DataTable.singleValued(data); + }); + } + + @Override + public Map> get(Collection keys, + Collection records, Timestamp timestamp, Order order) { + return execute(() -> { + Map> data; + if(timestamp.isString()) { + data = client.getKeysRecordsTimestrOrder( + Collections.toList(keys), + Collections.toLongList(records), timestamp.toString(), + JavaThriftBridge.convert(order), creds, transaction, + environment); } - return pretty; + else { + data = client.getKeysRecordsTimeOrder(Collections.toList(keys), + Collections.toLongList(records), timestamp.getMicros(), + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + return DataTable.singleValued(data); }); } @@ -980,18 +1042,24 @@ public Map> get(Collection keys, public Map> get(Collection keys, Criteria criteria) { return execute(() -> { - Map> raw = client.getKeysCriteria( + Map> data = client.getKeysCriteria( Collections.toList(keys), Language.translateToThriftCriteria(criteria), creds, transaction, environment); - Map> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapValues(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataTable.singleValued(data); + }); + } + + @Override + public Map> get(Collection keys, + Criteria criteria, Order order) { + return execute(() -> { + Map> data = client.getKeysCriteriaOrder( + Collections.toList(keys), + Language.translateToThriftCriteria(criteria), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataTable.singleValued(data); }); } @@ -999,109 +1067,92 @@ public Map> get(Collection keys, public Map> get(Collection keys, Criteria criteria, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.getKeysCriteriaTimestr(Collections.toList(keys), + data = client.getKeysCriteriaTimestr(Collections.toList(keys), Language.translateToThriftCriteria(criteria), timestamp.toString(), creds, transaction, environment); } else { - raw = client.getKeysCriteriaTime(Collections.toList(keys), + data = client.getKeysCriteriaTime(Collections.toList(keys), Language.translateToThriftCriteria(criteria), timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapValues(entry.getValue(), - Conversions. thriftToJavaCasted())); + return DataTable.singleValued(data); + }); + } + + @Override + public Map> get(Collection keys, + Criteria criteria, Timestamp timestamp, Order order) { + return execute(() -> { + Map> data; + if(timestamp.isString()) { + data = client.getKeysCriteriaTimestrOrder( + Collections.toList(keys), + Language.translateToThriftCriteria(criteria), + timestamp.toString(), JavaThriftBridge.convert(order), + creds, transaction, environment); } - return pretty; + else { + data = client.getKeysCriteriaTimeOrder(Collections.toList(keys), + Language.translateToThriftCriteria(criteria), + timestamp.getMicros(), JavaThriftBridge.convert(order), + creds, transaction, environment); + } + return DataTable.singleValued(data); }); } - @SuppressWarnings("unchecked") @Override public Map get(Collection keys, long record) { return execute(() -> { - Map raw = client.getKeysRecord( + Map data = client.getKeysRecord( Collections.toList(keys), record, creds, transaction, environment); - Map pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Key", "Value"); - for (Entry entry : raw.entrySet()) { - pretty.put(entry.getKey(), - (T) Convert.thriftToJava(entry.getValue())); - } - return pretty; + return DataRow.singleValued(data); }); } - @SuppressWarnings("unchecked") @Override public Map get(Collection keys, long record, Timestamp timestamp) { return execute(() -> { - Map raw; + Map data; if(timestamp.isString()) { - raw = client.getKeysRecordTimestr(Collections.toList(keys), + data = client.getKeysRecordTimestr(Collections.toList(keys), record, timestamp.toString(), creds, transaction, environment); } else { - raw = client.getKeysRecordTime(Collections.toList(keys), record, - timestamp.getMicros(), creds, transaction, environment); - } - Map pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Key", "Value"); - for (Entry entry : raw.entrySet()) { - pretty.put(entry.getKey(), - (T) Convert.thriftToJava(entry.getValue())); + data = client.getKeysRecordTime(Collections.toList(keys), + record, timestamp.getMicros(), creds, transaction, + environment); } - return pretty; + return DataRow.singleValued(data); }); } @Override public Map> get(Collection keys, - Object criteria) { - if(criteria instanceof BuildableState) { - return get(keys, ((BuildableState) criteria).build()); - } - else { - throw new IllegalArgumentException( - criteria + " is not a valid argument for the get method"); - } - } - - @Override - public Map> get(Collection keys, - Object criteria, Timestamp timestamp) { - if(criteria instanceof BuildableState) { - return get(keys, ((BuildableState) criteria).build(), timestamp); - } - else { - throw new IllegalArgumentException( - criteria + " is not a valid argument for the get method"); - } + String ccl) { + return execute(() -> { + Map> data = client.getKeysCcl( + Collections.toList(keys), ccl, creds, transaction, + environment); + return DataTable.singleValued(data); + }); } @Override public Map> get(Collection keys, - String ccl) { + String ccl, Order order) { return execute(() -> { - Map> raw = client.getKeysCcl( - Collections.toList(keys), ccl, creds, transaction, + Map> data = client.getKeysCclOrder( + Collections.toList(keys), ccl, + JavaThriftBridge.convert(order), creds, transaction, environment); - Map> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapValues(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataTable.singleValued(data); }); } @@ -1109,40 +1160,57 @@ public Map> get(Collection keys, public Map> get(Collection keys, String ccl, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.getKeysCclTimestr(Collections.toList(keys), ccl, + data = client.getKeysCclTimestr(Collections.toList(keys), ccl, timestamp.toString(), creds, transaction, environment); } else { - raw = client.getKeysCclTime(Collections.toList(keys), ccl, + data = client.getKeysCclTime(Collections.toList(keys), ccl, timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapValues(entry.getValue(), - Conversions. thriftToJavaCasted())); + return DataTable.singleValued(data); + }); + } + + @Override + public Map> get(Collection keys, + String ccl, Timestamp timestamp, Order order) { + return execute(() -> { + Map> data; + if(timestamp.isString()) { + data = client.getKeysCclTimestrOrder(Collections.toList(keys), + ccl, timestamp.toString(), + JavaThriftBridge.convert(order), creds, transaction, + environment); } - return pretty; + else { + data = client.getKeysCclTimeOrder(Collections.toList(keys), ccl, + timestamp.getMicros(), JavaThriftBridge.convert(order), + creds, transaction, environment); + } + return DataTable.singleValued(data); }); } @Override public Map> get(Criteria criteria) { return execute(() -> { - Map> raw = client.getCriteria( + Map> data = client.getCriteria( Language.translateToThriftCriteria(criteria), creds, transaction, environment); - Map> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapValues(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataTable.singleValued(data); + }); + } + + @Override + public Map> get(Criteria criteria, Order order) { + return execute(() -> { + Map> data = client.getCriteriaOrder( + Language.translateToThriftCriteria(criteria), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataTable.singleValued(data); }); } @@ -1150,150 +1218,171 @@ public Map> get(Criteria criteria) { public Map> get(Criteria criteria, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.getCriteriaTimestr( + data = client.getCriteriaTimestr( Language.translateToThriftCriteria(criteria), timestamp.toString(), creds, transaction, environment); } else { - raw = client.getCriteriaTime( + data = client.getCriteriaTime( Language.translateToThriftCriteria(criteria), timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapValues(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataTable.singleValued(data); }); } @Override - public Map> get(Object criteria) { - if(criteria instanceof BuildableState) { - return get(((BuildableState) criteria).build()); - } - else { - throw new IllegalArgumentException( - criteria + " is not a valid argument for the get method"); - } - } - - @Override - public Map> get(Object criteria, - Timestamp timestamp) { - if(criteria instanceof BuildableState) { - return get(((BuildableState) criteria).build(), timestamp); - } - else { - throw new IllegalArgumentException( - criteria + " is not a valid argument for the get method"); - } + public Map> get(Criteria criteria, + Timestamp timestamp, Order order) { + return execute(() -> { + Map> data; + if(timestamp.isString()) { + data = client.getCriteriaTimestrOrder( + Language.translateToThriftCriteria(criteria), + timestamp.toString(), JavaThriftBridge.convert(order), + creds, transaction, environment); + } + else { + data = client.getCriteriaTimeOrder( + Language.translateToThriftCriteria(criteria), + timestamp.getMicros(), JavaThriftBridge.convert(order), + creds, transaction, environment); + } + return DataTable.singleValued(data); + }); } @Override public Map> get(String ccl) { return execute(() -> { - Map> raw = client.getCcl(ccl, creds, + Map> data = client.getCcl(ccl, creds, transaction, environment); - Map> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapValues(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataTable.singleValued(data); }); } - @SuppressWarnings("unchecked") @Override public Map get(String key, Collection records) { return execute(() -> { - Map raw = client.getKeyRecords(key, + Map data = client.getKeyRecords(key, Collections.toLongList(records), creds, transaction, environment); - Map pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry entry : raw.entrySet()) { - pretty.put(entry.getKey(), - (T) Convert.thriftToJava(entry.getValue())); - } - return pretty; + return DataColumn.singleValued(key, data); + }); + } + + @Override + public Map get(String key, Collection records, + Order order) { + return execute(() -> { + Map data = client.getKeyRecordsOrder(key, + Collections.toLongList(records), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataColumn.singleValued(key, data); }); } - @SuppressWarnings("unchecked") @Override public Map get(String key, Collection records, Timestamp timestamp) { return execute(() -> { - Map raw; + Map data; if(timestamp.isString()) { - raw = client.getKeyRecordsTimestr(key, + data = client.getKeyRecordsTimestr(key, Collections.toLongList(records), timestamp.toString(), creds, transaction, environment); } else { - raw = client.getKeyRecordsTime(key, + data = client.getKeyRecordsTime(key, Collections.toLongList(records), timestamp.getMicros(), creds, transaction, environment); } - Map pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry entry : raw.entrySet()) { - pretty.put(entry.getKey(), - (T) Convert.thriftToJava(entry.getValue())); - } - return pretty; + return DataColumn.singleValued(key, data); }); } - @SuppressWarnings("unchecked") @Override - public Map get(String key, Criteria criteria) { + public Map get(String key, Collection records, + Timestamp timestamp, Order order) { return execute(() -> { - Map raw = client.getKeyCriteria(key, - Language.translateToThriftCriteria(criteria), creds, - transaction, environment); - Map pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry entry : raw.entrySet()) { - pretty.put(entry.getKey(), - (T) Convert.thriftToJava(entry.getValue())); + Map data; + if(timestamp.isString()) { + data = client.getKeyRecordsTimestrOrder(key, + Collections.toLongList(records), timestamp.toString(), + JavaThriftBridge.convert(order), creds, transaction, + environment); } - return pretty; + else { + data = client.getKeyRecordsTimeOrder(key, + Collections.toLongList(records), timestamp.getMicros(), + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + return DataColumn.singleValued(key, data); + }); + } + + @Override + public Map get(String key, Criteria criteria) { + return execute(() -> { + Map data = client.getKeyCriteria(key, + Language.translateToThriftCriteria(criteria), creds, + transaction, environment); + return DataColumn.singleValued(key, data); + }); + } + + @Override + public Map get(String key, Criteria criteria, Order order) { + return execute(() -> { + Map data = client.getKeyCriteriaOrder(key, + Language.translateToThriftCriteria(criteria), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataColumn.singleValued(key, data); }); } - @SuppressWarnings("unchecked") @Override public Map get(String key, Criteria criteria, Timestamp timestamp) { return execute(() -> { - Map raw; + Map data; if(timestamp.isString()) { - raw = client.getKeyCriteriaTimestr(key, + data = client.getKeyCriteriaTimestr(key, Language.translateToThriftCriteria(criteria), timestamp.toString(), creds, transaction, environment); } else { - raw = client.getKeyCriteriaTime(key, + data = client.getKeyCriteriaTime(key, Language.translateToThriftCriteria(criteria), timestamp.getMicros(), creds, transaction, environment); } - Map pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry entry : raw.entrySet()) { - pretty.put(entry.getKey(), - (T) Convert.thriftToJava(entry.getValue())); + return DataColumn.singleValued(key, data); + }); + } + + @Override + public Map get(String key, Criteria criteria, + Timestamp timestamp, Order order) { + return execute(() -> { + Map data; + if(timestamp.isString()) { + data = client.getKeyCriteriaTimestrOrder(key, + Language.translateToThriftCriteria(criteria), + timestamp.toString(), JavaThriftBridge.convert(order), + creds, transaction, environment); } - return pretty; + else { + data = client.getKeyCriteriaTimeOrder(key, + Language.translateToThriftCriteria(criteria), + timestamp.getMicros(), JavaThriftBridge.convert(order), + creds, transaction, environment); + } + return DataColumn.singleValued(key, data); }); } @@ -1325,87 +1414,101 @@ public T get(String key, long record, Timestamp timestamp) { } @Override - public Map get(String key, Object criteria) { - if(criteria instanceof BuildableState) { - return get(key, ((BuildableState) criteria).build()); - } - else { - throw new IllegalArgumentException( - criteria + " is not a valid argument for the get method"); - } + public Map> get(String ccl, Order order) { + return execute(() -> { + Map> data = client.getCclOrder(ccl, + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataTable.singleValued(data); + }); } @Override - public Map get(String key, Object criteria, - Timestamp timestamp) { - if(criteria instanceof BuildableState) { - return get(key, ((BuildableState) criteria).build(), timestamp); - } - else { - throw new IllegalArgumentException( - criteria + " is not a valid argument for the get method"); - } + public Map get(String key, String ccl) { + return execute(() -> { + Map data = client.getKeyCcl(key, ccl, creds, + transaction, environment); + return DataColumn.singleValued(key, data); + }); } - @SuppressWarnings("unchecked") @Override - public Map get(String key, String ccl) { + public Map get(String key, String ccl, Order order) { return execute(() -> { - Map raw = client.getKeyCcl(key, ccl, creds, - transaction, environment); - Map pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry entry : raw.entrySet()) { - pretty.put(entry.getKey(), - (T) Convert.thriftToJava(entry.getValue())); - } - return pretty; + Map data = client.getKeyCclOrder(key, ccl, + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataColumn.singleValued(key, data); }); } - @SuppressWarnings("unchecked") @Override public Map get(String key, String ccl, Timestamp timestamp) { return execute(() -> { - Map raw; + Map data; if(timestamp.isString()) { - raw = client.getKeyCclTimestr(key, ccl, timestamp.toString(), + data = client.getKeyCclTimestr(key, ccl, timestamp.toString(), creds, transaction, environment); } else { - raw = client.getKeyCclTime(key, ccl, timestamp.getMicros(), + data = client.getKeyCclTime(key, ccl, timestamp.getMicros(), creds, transaction, environment); } - Map pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry entry : raw.entrySet()) { - pretty.put(entry.getKey(), - (T) Convert.thriftToJava(entry.getValue())); + return DataColumn.singleValued(key, data); + }); + } + + @Override + public Map get(String key, String ccl, Timestamp timestamp, + Order order) { + return execute(() -> { + Map data; + if(timestamp.isString()) { + data = client.getKeyCclTimestrOrder(key, ccl, + timestamp.toString(), JavaThriftBridge.convert(order), + creds, transaction, environment); } - return pretty; + else { + data = client.getKeyCclTimeOrder(key, ccl, + timestamp.getMicros(), JavaThriftBridge.convert(order), + creds, transaction, environment); + } + return DataColumn.singleValued(key, data); }); } @Override public Map> get(String ccl, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.getCclTimestr(ccl, timestamp.toString(), creds, + data = client.getCclTimestr(ccl, timestamp.toString(), creds, transaction, environment); } else { - raw = client.getCclTime(ccl, timestamp.getMicros(), creds, + data = client.getCclTime(ccl, timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapValues(entry.getValue(), - Conversions. thriftToJavaCasted())); + return DataTable.singleValued(data); + }); + } + + @Override + public Map> get(String ccl, Timestamp timestamp, + Order order) { + return execute(() -> { + Map> data; + if(timestamp.isString()) { + data = client.getCclTimestrOrder(ccl, timestamp.toString(), + JavaThriftBridge.convert(order), creds, transaction, + environment); } - return pretty; + else { + data = client.getCclTimeOrder(ccl, timestamp.getMicros(), + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + return DataTable.singleValued(data); }); } @@ -1545,11 +1648,11 @@ public boolean link(String key, long destination, long source) { public Map>> navigate( final Collection keys, final Collection records) { return execute(() -> { - Map>> raw = client + Map>> data = client .navigateKeysRecords(Collections.toList(keys), Collections.toLongList(records), creds, transaction, environment); - return Thrift.transformRecordsKeysValues(raw); + return DataTable.multiValued(data); }); } @@ -1558,12 +1661,12 @@ public Map>> navigate( final Collection keys, final Collection records, final Timestamp timestamp) { return execute(() -> { - Map>> raw = client + Map>> data = client .navigateKeysRecordsTime(Collections.toList(keys), Collections.toLongList(records), timestamp.getMicros(), creds, transaction, environment); - return Thrift.transformRecordsKeysValues(raw); + return DataTable.multiValued(data); }); } @@ -1571,11 +1674,11 @@ public Map>> navigate( public Map>> navigate(Collection keys, Criteria criteria) { return execute(() -> { - Map>> raw = client + Map>> data = client .navigateKeysCriteria(Collections.toList(keys), Language.translateToThriftCriteria(criteria), creds, transaction, environment); - return Thrift.transformRecordsKeysValues(raw); + return DataTable.multiValued(data); }); } @@ -1583,19 +1686,19 @@ public Map>> navigate(Collection keys, public Map>> navigate(Collection keys, Criteria criteria, Timestamp timestamp) { return execute(() -> { - Map>> raw; + Map>> data; if(timestamp.isString()) { - raw = client.navigateKeysCriteriaTimestr( + data = client.navigateKeysCriteriaTimestr( Collections.toList(keys), Language.translateToThriftCriteria(criteria), timestamp.toString(), creds, transaction, environment); } else { - raw = client.navigateKeysCriteriaTime(Collections.toList(keys), + data = client.navigateKeysCriteriaTime(Collections.toList(keys), Language.translateToThriftCriteria(criteria), timestamp.getMicros(), creds, transaction, environment); } - return Thrift.transformRecordsKeysValues(raw); + return DataTable.multiValued(data); }); } @@ -1603,10 +1706,10 @@ public Map>> navigate(Collection keys, public Map>> navigate( final Collection keys, final long record) { return execute(() -> { - Map>> raw = client + Map>> data = client .navigateKeysRecord(Collections.toList(keys), record, creds, transaction, environment); - return Thrift.transformRecordsKeysValues(raw); + return DataTable.multiValued(data); }); } @@ -1615,18 +1718,18 @@ public Map>> navigate( final Collection keys, final long record, final Timestamp timestamp) { return execute(() -> { - Map>> raw; + Map>> data; if(timestamp.isString()) { - raw = client.navigateKeysRecordTimestr(Collections.toList(keys), - record, timestamp.toString(), creds, transaction, - environment); + data = client.navigateKeysRecordTimestr( + Collections.toList(keys), record, timestamp.toString(), + creds, transaction, environment); } else { - raw = client.navigateKeysRecordTime(Collections.toList(keys), + data = client.navigateKeysRecordTime(Collections.toList(keys), record, timestamp.getMicros(), creds, transaction, environment); } - return Thrift.transformRecordsKeysValues(raw); + return DataTable.multiValued(data); }); } @@ -1634,10 +1737,10 @@ public Map>> navigate( public Map>> navigate( final Collection keys, final String ccl) { return execute(() -> { - Map>> raw = client.navigateKeysCcl( + Map>> data = client.navigateKeysCcl( Collections.toList(keys), ccl, creds, transaction, environment); - return Thrift.transformRecordsKeysValues(raw); + return DataTable.multiValued(data); }); } @@ -1646,17 +1749,17 @@ public Map>> navigate( final Collection keys, final String ccl, final Timestamp timestamp) { return execute(() -> { - Map>> raw; + Map>> data; if(timestamp.isString()) { - raw = client.navigateKeysCclTimestr(Collections.toList(keys), + data = client.navigateKeysCclTimestr(Collections.toList(keys), ccl, timestamp.toString(), creds, transaction, environment); } else { - raw = client.navigateKeysCclTime(Collections.toList(keys), ccl, + data = client.navigateKeysCclTime(Collections.toList(keys), ccl, timestamp.getMicros(), creds, transaction, environment); } - return Thrift.transformRecordsKeysValues(raw); + return DataTable.multiValued(data); }); } @@ -1664,13 +1767,11 @@ public Map>> navigate( public Map> navigate(final String key, final Collection records) { return execute(() -> { - Map> raw = client.navigateKeyRecords(key, + Map> data = client.navigateKeyRecords(key, Collections.toLongList(records), creds, transaction, environment); - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", - LinkNavigation.getNavigationSchemeDestination(key)); - return Thrift.transformRecordsValues(raw, pretty); + String destination = Navigation.getKeyDestination(key); + return DataColumn.multiValued(destination, data); }); } @@ -1678,21 +1779,19 @@ public Map> navigate(final String key, public Map> navigate(final String key, final Collection records, final Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.navigateKeyRecordsTimestr(key, + data = client.navigateKeyRecordsTimestr(key, Collections.toLongList(records), timestamp.toString(), creds, transaction, environment); } else { - raw = client.navigateKeyRecordsTime(key, + data = client.navigateKeyRecordsTime(key, Collections.toLongList(records), timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", - LinkNavigation.getNavigationSchemeDestination(key)); - return Thrift.transformRecordsValues(raw, pretty); + String destination = Navigation.getKeyDestination(key); + return DataColumn.multiValued(destination, data); }); } @@ -1700,13 +1799,11 @@ public Map> navigate(final String key, public Map> navigate(final String key, final Criteria criteria) { return execute(() -> { - Map> raw = client.navigateKeyCriteria(key, + Map> data = client.navigateKeyCriteria(key, Language.translateToThriftCriteria(criteria), creds, transaction, environment); - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", - LinkNavigation.getNavigationSchemeDestination(key)); - return Thrift.transformRecordsValues(raw, pretty); + String destination = Navigation.getKeyDestination(key); + return DataColumn.multiValued(destination, data); }); } @@ -1714,33 +1811,29 @@ public Map> navigate(final String key, public Map> navigate(final String key, final Criteria criteria, final Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.navigateKeyCriteriaTimestr(key, + data = client.navigateKeyCriteriaTimestr(key, Language.translateToThriftCriteria(criteria), timestamp.toString(), creds, transaction, environment); } else { - raw = client.navigateKeyCriteriaTime(key, + data = client.navigateKeyCriteriaTime(key, Language.translateToThriftCriteria(criteria), timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", - LinkNavigation.getNavigationSchemeDestination(key)); - return Thrift.transformRecordsValues(raw, pretty); + String destination = Navigation.getKeyDestination(key); + return DataColumn.multiValued(destination, data); }); } @Override public Map> navigate(final String key, final long record) { return execute(() -> { - Map> raw = client.navigateKeyRecord(key, record, + Map> data = client.navigateKeyRecord(key, record, creds, transaction, environment); - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", - LinkNavigation.getNavigationSchemeDestination(key)); - return Thrift.transformRecordsValues(raw, pretty); + String destination = Navigation.getKeyDestination(key); + return DataColumn.multiValued(destination, data); }); } @@ -1748,31 +1841,27 @@ public Map> navigate(final String key, final long record) { public Map> navigate(final String key, final long record, final Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.navigateKeyRecordTimestr(key, record, + data = client.navigateKeyRecordTimestr(key, record, timestamp.toString(), creds, transaction, environment); } else { - raw = client.navigateKeyRecordTime(key, record, + data = client.navigateKeyRecordTime(key, record, timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", - LinkNavigation.getNavigationSchemeDestination(key)); - return Thrift.transformRecordsValues(raw, pretty); + String destination = Navigation.getKeyDestination(key); + return DataColumn.multiValued(destination, data); }); } @Override public Map> navigate(final String key, final String ccl) { return execute(() -> { - Map> raw = client.navigateKeyCcl(key, ccl, creds, - transaction, environment); - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", - LinkNavigation.getNavigationSchemeDestination(key)); - return Thrift.transformRecordsValues(raw, pretty); + Map> data = client.navigateKeyCcl(key, ccl, + creds, transaction, environment); + String destination = Navigation.getKeyDestination(key); + return DataColumn.multiValued(destination, data); }); } @@ -1780,19 +1869,17 @@ public Map> navigate(final String key, final String ccl) { public Map> navigate(final String key, final String ccl, final Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.navigateKeyCclTimestr(key, ccl, + data = client.navigateKeyCclTimestr(key, ccl, timestamp.toString(), creds, transaction, environment); } else { - raw = client.navigateKeyCclTime(key, ccl, timestamp.getMicros(), - creds, transaction, environment); + data = client.navigateKeyCclTime(key, ccl, + timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", - LinkNavigation.getNavigationSchemeDestination(key)); - return Thrift.transformRecordsValues(raw, pretty); + String destination = Navigation.getKeyDestination(key); + return DataColumn.multiValued(destination, data); }); } @@ -1928,19 +2015,22 @@ public Set search(String key, String query) { public Map>> select( Collection records) { return execute(() -> { - Map>> raw = client.selectRecords( + Map>> data = client.selectRecords( Collections.toLongList(records), creds, transaction, environment); - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions.thriftToJava())); - } - return pretty; + return DataTable.multiValued(data); + }); + } + + @Override + public Map>> select(Collection records, + Order order) { + return execute(() -> { + Map>> data = client + .selectRecordsOrder(Collections.toLongList(records), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataTable.multiValued(data); }); } @@ -1948,26 +2038,38 @@ Conversions. none(), public Map>> select(Collection records, Timestamp timestamp) { return execute(() -> { - Map>> raw; + Map>> data; if(timestamp.isString()) { - raw = client.selectRecordsTimestr( + data = client.selectRecordsTimestr( Collections.toLongList(records), timestamp.toString(), creds, transaction, environment); } else { - raw = client.selectRecordsTime(Collections.toLongList(records), + data = client.selectRecordsTime(Collections.toLongList(records), timestamp.getMicros(), creds, transaction, environment); } - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions.thriftToJava())); + return DataTable.multiValued(data); + }); + } + + @Override + public Map>> select(Collection records, + Timestamp timestamp, Order order) { + return execute(() -> { + Map>> data; + if(timestamp.isString()) { + data = client.selectRecordsTimestrOrder( + Collections.toLongList(records), timestamp.toString(), + JavaThriftBridge.convert(order), creds, transaction, + environment); } - return pretty; + else { + data = client.selectRecordsTimeOrder( + Collections.toLongList(records), timestamp.getMicros(), + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + return DataTable.multiValued(data); }); } @@ -1975,19 +2077,24 @@ Conversions. none(), public Map>> select(Collection keys, Collection records) { return execute(() -> { - Map>> raw = client.selectKeysRecords( - Collections.toList(keys), Collections.toLongList(records), - creds, transaction, environment); - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions. thriftToJavaCasted())); - } - return pretty; + Map>> data = client + .selectKeysRecords(Collections.toList(keys), + Collections.toLongList(records), creds, transaction, + environment); + return DataTable.multiValued(data); + }); + } + + @Override + public Map>> select(Collection keys, + Collection records, Order order) { + return execute(() -> { + Map>> data = client + .selectKeysRecordsOrder(Collections.toList(keys), + Collections.toLongList(records), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataTable.multiValued(data); }); } @@ -1995,27 +2102,41 @@ Conversions. none(), public Map>> select(Collection keys, Collection records, Timestamp timestamp) { return execute(() -> { - Map>> raw; + Map>> data; if(timestamp.isString()) { - raw = client.selectKeysRecordsTimestr(Collections.toList(keys), + data = client.selectKeysRecordsTimestr(Collections.toList(keys), Collections.toLongList(records), timestamp.toString(), creds, transaction, environment); } else { - raw = client.selectKeysRecordsTime(Collections.toList(keys), + data = client.selectKeysRecordsTime(Collections.toList(keys), Collections.toLongList(records), timestamp.getMicros(), creds, transaction, environment); } - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions. thriftToJavaCasted())); + return DataTable.multiValued(data); + }); + } + + @Override + public Map>> select(Collection keys, + Collection records, Timestamp timestamp, Order order) { + return execute(() -> { + Map>> data; + if(timestamp.isString()) { + data = client.selectKeysRecordsTimestrOrder( + Collections.toList(keys), + Collections.toLongList(records), timestamp.toString(), + JavaThriftBridge.convert(order), creds, transaction, + environment); } - return pretty; + else { + data = client.selectKeysRecordsTimeOrder( + Collections.toList(keys), + Collections.toLongList(records), timestamp.getMicros(), + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + return DataTable.multiValued(data); }); } @@ -2023,20 +2144,24 @@ Conversions. none(), public Map>> select(Collection keys, Criteria criteria) { return execute(() -> { - Map>> raw = client + Map>> data = client .selectKeysCriteria(Collections.toList(keys), Language.translateToThriftCriteria(criteria), creds, transaction, environment); - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataTable.multiValued(data); + }); + } + + @Override + public Map>> select(Collection keys, + Criteria criteria, Order order) { + return execute(() -> { + Map>> data = client + .selectKeysCriteriaOrder(Collections.toList(keys), + Language.translateToThriftCriteria(criteria), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataTable.multiValued(data); }); } @@ -2044,27 +2169,42 @@ Conversions. none(), public Map>> select(Collection keys, Criteria criteria, Timestamp timestamp) { return execute(() -> { - Map>> raw; + Map>> data; if(timestamp.isString()) { - raw = client.selectKeysCriteriaTimestr(Collections.toList(keys), + data = client.selectKeysCriteriaTimestr( + Collections.toList(keys), Language.translateToThriftCriteria(criteria), timestamp.toString(), creds, transaction, environment); } else { - raw = client.selectKeysCriteriaTime(Collections.toList(keys), + data = client.selectKeysCriteriaTime(Collections.toList(keys), Language.translateToThriftCriteria(criteria), timestamp.getMicros(), creds, transaction, environment); } - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions. thriftToJavaCasted())); + return DataTable.multiValued(data); + }); + } + + @Override + public Map>> select(Collection keys, + Criteria criteria, Timestamp timestamp, Order order) { + return execute(() -> { + Map>> data; + if(timestamp.isString()) { + data = client.selectKeysCriteriaTimestrOrder( + Collections.toList(keys), + Language.translateToThriftCriteria(criteria), + timestamp.toString(), JavaThriftBridge.convert(order), + creds, transaction, environment); } - return pretty; + else { + data = client.selectKeysCriteriaTimeOrder( + Collections.toList(keys), + Language.translateToThriftCriteria(criteria), + timestamp.getMicros(), JavaThriftBridge.convert(order), + creds, transaction, environment); + } + return DataTable.multiValued(data); }); } @@ -2072,17 +2212,10 @@ Conversions. none(), public Map> select(Collection keys, long record) { return execute(() -> { - Map> raw = client.selectKeysRecord( + Map> data = client.selectKeysRecord( Collections.toList(keys), record, creds, transaction, environment); - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Key", "Values"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformSetLazily(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataRow.multiValued(data); }); } @@ -2090,114 +2223,103 @@ public Map> select(Collection keys, public Map> select(Collection keys, long record, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.selectKeysRecordTimestr(Collections.toList(keys), + data = client.selectKeysRecordTimestr(Collections.toList(keys), record, timestamp.toString(), creds, transaction, environment); } else { - raw = client.selectKeysRecordTime(Collections.toList(keys), + data = client.selectKeysRecordTime(Collections.toList(keys), record, timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Key", "Values"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformSetLazily(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataRow.multiValued(data); }); } @Override public Map>> select(Collection keys, - Object criteria) { - if(criteria instanceof BuildableState) { - return select(keys, ((BuildableState) criteria).build()); - } - else { - throw new IllegalArgumentException(criteria - + " is not a valid argument for the select method"); - } + String ccl) { + return execute(() -> { + Map>> data = client.selectKeysCcl( + Collections.toList(keys), ccl, creds, transaction, + environment); + return DataTable.multiValued(data); + }); } @Override public Map>> select(Collection keys, - Object criteria, Timestamp timestamp) { - if(criteria instanceof BuildableState) { - return select(keys, ((BuildableState) criteria).build(), timestamp); - } - else { - throw new IllegalArgumentException(criteria - + " is not a valid argument for the select method"); - } + String ccl, Order order) { + return execute(() -> { + Map>> data = client + .selectKeysCclOrder(Collections.toList(keys), ccl, + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataTable.multiValued(data); + }); } @Override public Map>> select(Collection keys, - String ccl) { + String ccl, Timestamp timestamp) { return execute(() -> { - Map>> raw = client.selectKeysCcl( - Collections.toList(keys), ccl, creds, transaction, - environment); - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions. thriftToJavaCasted())); + Map>> data; + if(timestamp.isString()) { + data = client.selectKeysCclTimestr(Collections.toList(keys), + ccl, timestamp.toString(), creds, transaction, + environment); } - return pretty; + else { + data = client.selectKeysCclTime(Collections.toList(keys), ccl, + timestamp.getMicros(), creds, transaction, environment); + } + return DataTable.multiValued(data); }); } @Override public Map>> select(Collection keys, - String ccl, Timestamp timestamp) { + String ccl, Timestamp timestamp, Order order) { return execute(() -> { - Map>> raw; + Map>> data; if(timestamp.isString()) { - raw = client.selectKeysCclTimestr(Collections.toList(keys), ccl, - timestamp.toString(), creds, transaction, environment); + data = client.selectKeysCclTimestrOrder( + Collections.toList(keys), ccl, timestamp.toString(), + JavaThriftBridge.convert(order), creds, transaction, + environment); } else { - raw = client.selectKeysCclTime(Collections.toList(keys), ccl, - timestamp.getMicros(), creds, transaction, environment); - } - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions. thriftToJavaCasted())); + data = client.selectKeysCclTimeOrder(Collections.toList(keys), + ccl, timestamp.getMicros(), + JavaThriftBridge.convert(order), creds, transaction, + environment); } - return pretty; + return DataTable.multiValued(data); }); } @Override public Map>> select(Criteria criteria) { return execute(() -> { - Map>> raw = client.selectCriteria( + Map>> data = client.selectCriteria( Language.translateToThriftCriteria(criteria), creds, transaction, environment); - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataTable.multiValued(data); + }); + } + + @Override + public Map>> select(Criteria criteria, + Order order) { + return execute(() -> { + Map>> data = client + .selectCriteriaOrder( + Language.translateToThriftCriteria(criteria), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataTable.multiValued(data); }); } @@ -2205,122 +2327,95 @@ Conversions. none(), public Map>> select(Criteria criteria, Timestamp timestamp) { return execute(() -> { - Map>> raw; + Map>> data; if(timestamp.isString()) { - raw = client.selectCriteriaTimestr( + data = client.selectCriteriaTimestr( Language.translateToThriftCriteria(criteria), timestamp.toString(), creds, transaction, environment); } else { - raw = client.selectCriteriaTime( + data = client.selectCriteriaTime( Language.translateToThriftCriteria(criteria), timestamp.getMicros(), creds, transaction, environment); } - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions. thriftToJavaCasted())); + return DataTable.multiValued(data); + }); + } + + @Override + public Map>> select(Criteria criteria, + Timestamp timestamp, Order order) { + return execute(() -> { + Map>> data; + if(timestamp.isString()) { + data = client.selectCriteriaTimestrOrder( + Language.translateToThriftCriteria(criteria), + timestamp.toString(), JavaThriftBridge.convert(order), + creds, transaction, environment); } - return pretty; + else { + data = client.selectCriteriaTimeOrder( + Language.translateToThriftCriteria(criteria), + timestamp.getMicros(), JavaThriftBridge.convert(order), + creds, transaction, environment); + } + return DataTable.multiValued(data); }); } @Override public Map> select(long record) { return execute(() -> { - Map> raw = client.selectRecord(record, creds, + Map> data = client.selectRecord(record, creds, transaction, environment); - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Key", "Values"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), Transformers.transformSetLazily( - entry.getValue(), Conversions.thriftToJava())); - } - return pretty; + return DataRow.multiValued(data); }); } @Override public Map> select(long record, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.selectRecordTimestr(record, timestamp.toString(), + data = client.selectRecordTimestr(record, timestamp.toString(), creds, transaction, environment); } else { - raw = client.selectRecordTime(record, timestamp.getMicros(), + data = client.selectRecordTime(record, timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Key", "Values"); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), Transformers.transformSetLazily( - entry.getValue(), Conversions.thriftToJava())); - } - return pretty; + return DataRow.multiValued(data); }); } - @Override - public Map>> select(Object criteria) { - if(criteria instanceof BuildableState) { - return select(((BuildableState) criteria).build()); - } - else { - throw new IllegalArgumentException( - criteria + " is not a valid argument for the get method"); - } - } - - @Override - public Map>> select(Object criteria, - Timestamp timestamp) { - if(criteria instanceof BuildableState) { - return select(((BuildableState) criteria).build(), timestamp); - } - else { - throw new IllegalArgumentException( - criteria + " is not a valid argument for the get method"); - } - } - @Override public Map>> select(String ccl) { return execute(() -> { - Map>> raw = client.selectCcl(ccl, + Map>> data = client.selectCcl(ccl, creds, transaction, environment); - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataTable.multiValued(data); }); } @Override public Map> select(String key, Collection records) { return execute(() -> { - Map> raw = client.selectKeyRecords(key, + Map> data = client.selectKeyRecords(key, Collections.toLongList(records), creds, transaction, environment); - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformSetLazily(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataColumn.multiValued(key, data); + }); + } + + @Override + public Map> select(String key, Collection records, + Order order) { + return execute(() -> { + Map> data = client.selectKeyRecordsOrder(key, + Collections.toLongList(records), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataColumn.multiValued(key, data); }); } @@ -2328,42 +2423,61 @@ public Map> select(String key, Collection records) { public Map> select(String key, Collection records, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.selectKeyRecordsTimestr(key, + data = client.selectKeyRecordsTimestr(key, Collections.toLongList(records), timestamp.toString(), creds, transaction, environment); } else { - raw = client.selectKeyRecordsTime(key, + data = client.selectKeyRecordsTime(key, Collections.toLongList(records), timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformSetLazily(entry.getValue(), - Conversions. thriftToJavaCasted())); + return DataColumn.multiValued(key, data); + }); + } + + @Override + public Map> select(String key, Collection records, + Timestamp timestamp, Order order) { + return execute(() -> { + Map> data; + if(timestamp.isString()) { + data = client.selectKeyRecordsTimestrOrder(key, + Collections.toLongList(records), timestamp.toString(), + JavaThriftBridge.convert(order), creds, transaction, + environment); } - return pretty; + else { + data = client.selectKeyRecordsTimeOrder(key, + Collections.toLongList(records), timestamp.getMicros(), + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + return DataColumn.multiValued(key, data); }); } @Override public Map> select(String key, Criteria criteria) { return execute(() -> { - Map> raw = client.selectKeyCriteria(key, + Map> data = client.selectKeyCriteria(key, Language.translateToThriftCriteria(criteria), creds, transaction, environment); - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformSetLazily(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + return DataColumn.multiValued(key, data); + }); + } + + @Override + public Map> select(String key, Criteria criteria, + Order order) { + return execute(() -> { + Map> data = client.selectKeyCriteriaOrder(key, + Language.translateToThriftCriteria(criteria), + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataColumn.multiValued(key, data); }); } @@ -2371,25 +2485,39 @@ public Map> select(String key, Criteria criteria) { public Map> select(String key, Criteria criteria, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.selectKeyCriteriaTimestr(key, + data = client.selectKeyCriteriaTimestr(key, Language.translateToThriftCriteria(criteria), timestamp.toString(), creds, transaction, environment); } else { - raw = client.selectKeyCriteriaTime(key, + data = client.selectKeyCriteriaTime(key, Language.translateToThriftCriteria(criteria), timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformSetLazily(entry.getValue(), - Conversions. thriftToJavaCasted())); + return DataColumn.multiValued(key, data); + }); + } + + @Override + public Map> select(String key, Criteria criteria, + Timestamp timestamp, Order order) { + return execute(() -> { + Map> data; + if(timestamp.isString()) { + data = client.selectKeyCriteriaTimestrOrder(key, + Language.translateToThriftCriteria(criteria), + timestamp.toString(), JavaThriftBridge.convert(order), + creds, transaction, environment); } - return pretty; + else { + data = client.selectKeyCriteriaTimeOrder(key, + Language.translateToThriftCriteria(criteria), + timestamp.getMicros(), JavaThriftBridge.convert(order), + creds, transaction, environment); + } + return DataColumn.multiValued(key, data); }); } @@ -2421,41 +2549,31 @@ public Set select(String key, long record, Timestamp timestamp) { } @Override - public Map> select(String key, Object criteria) { - if(criteria instanceof BuildableState) { - return select(key, ((BuildableState) criteria).build()); - } - else { - throw new IllegalArgumentException(criteria - + " is not a valid argument for the select method"); - } + public Map>> select(String ccl, Order order) { + return execute(() -> { + Map>> data = client.selectCclOrder( + ccl, JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataTable.multiValued(data); + }); } @Override - public Map> select(String key, Object criteria, - Timestamp timestamp) { - if(criteria instanceof BuildableState) { - return select(key, ((BuildableState) criteria).build(), timestamp); - } - else { - throw new IllegalArgumentException(criteria - + " is not a valid argument for the select method"); - } + public Map> select(String key, String ccl) { + return execute(() -> { + Map> data = client.selectKeyCcl(key, ccl, creds, + transaction, environment); + return DataColumn.multiValued(key, data); + }); } @Override - public Map> select(String key, String ccl) { + public Map> select(String key, String ccl, Order order) { return execute(() -> { - Map> raw = client.selectKeyCcl(key, ccl, creds, - transaction, environment); - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformSetLazily(entry.getValue(), - Conversions. thriftToJavaCasted())); - } - return pretty; + Map> data = client.selectKeyCclOrder(key, ccl, + JavaThriftBridge.convert(order), creds, transaction, + environment); + return DataColumn.multiValued(key, data); }); } @@ -2463,23 +2581,35 @@ public Map> select(String key, String ccl) { public Map> select(String key, String ccl, Timestamp timestamp) { return execute(() -> { - Map> raw; + Map> data; if(timestamp.isString()) { - raw = client.selectKeyCclTimestr(key, ccl, timestamp.toString(), - creds, transaction, environment); + data = client.selectKeyCclTimestr(key, ccl, + timestamp.toString(), creds, transaction, environment); } else { - raw = client.selectKeyCclTime(key, ccl, timestamp.getMicros(), + data = client.selectKeyCclTime(key, ccl, timestamp.getMicros(), creds, transaction, environment); } - Map> pretty = PrettyLinkedHashMap - .newPrettyLinkedHashMap("Record", key); - for (Entry> entry : raw.entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformSetLazily(entry.getValue(), - Conversions. thriftToJavaCasted())); + return DataColumn.multiValued(key, data); + }); + } + + @Override + public Map> select(String key, String ccl, + Timestamp timestamp, Order order) { + return execute(() -> { + Map> data; + if(timestamp.isString()) { + data = client.selectKeyCclTimestrOrder(key, ccl, + timestamp.toString(), JavaThriftBridge.convert(order), + creds, transaction, environment); } - return pretty; + else { + data = client.selectKeyCclTimeOrder(key, ccl, + timestamp.getMicros(), JavaThriftBridge.convert(order), + creds, transaction, environment); + } + return DataColumn.multiValued(key, data); }); } @@ -2487,25 +2617,35 @@ public Map> select(String key, String ccl, public Map>> select(String ccl, Timestamp timestamp) { return execute(() -> { - Map>> raw; + Map>> data; if(timestamp.isString()) { - raw = client.selectCclTimestr(ccl, timestamp.toString(), creds, + data = client.selectCclTimestr(ccl, timestamp.toString(), creds, transaction, environment); } else { - raw = client.selectCclTime(ccl, timestamp.getMicros(), creds, + data = client.selectCclTime(ccl, timestamp.getMicros(), creds, transaction, environment); } - Map>> pretty = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - for (Entry>> entry : raw - .entrySet()) { - pretty.put(entry.getKey(), - Transformers.transformMapSet(entry.getValue(), - Conversions. none(), - Conversions. thriftToJavaCasted())); + return DataTable.multiValued(data); + }); + } + + @Override + public Map>> select(String ccl, + Timestamp timestamp, Order order) { + return execute(() -> { + Map>> data; + if(timestamp.isString()) { + data = client.selectCclTimestrOrder(ccl, timestamp.toString(), + JavaThriftBridge.convert(order), creds, transaction, + environment); } - return pretty; + else { + data = client.selectCclTimeOrder(ccl, timestamp.getMicros(), + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + return DataTable.multiValued(data); }); } @@ -2607,90 +2747,6 @@ public void verifyOrSet(String key, Object value, long record) { }); } - /** - * Return the current {@link AccessToken} - * - * @return the creds - */ - AccessToken creds() { - return creds; - } - - /** - * Return the environment to which the driver is connected. - * - * @return the environment - */ - String environment() { - return environment; - } - - /** - * Execute the task defined in {@code callable}. This method contains - * retry logic to handle cases when {@code creds} expires and must be - * updated. - * - * @param callable - * @return the task result - */ - T execute(Callable callable) { - try { - return callable.call(); - } - catch (SecurityException e) { - authenticate(); - return execute(callable); - } - catch (com.cinchapi.concourse.thrift.TransactionException e) { - throw new TransactionException(); - } - catch (com.cinchapi.concourse.thrift.DuplicateEntryException e) { - throw new DuplicateEntryException(e); - } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException e) { - throw new InvalidArgumentException(e); - } - catch (com.cinchapi.concourse.thrift.ParseException e) { - throw new ParseException(e); - } - catch (com.cinchapi.concourse.thrift.PermissionException e) { - throw new PermissionException(e); - } - catch (com.cinchapi.concourse.thrift.ManagementException e) { - throw new ManagementException(e); - } - catch (Exception e) { - throw CheckedExceptions.wrapAsRuntimeException(e); - } - } - - /** - * Return the thrift RPC client. - * - * @return the {@link ConcourseService#Client} - */ - ConcourseService.Client thrift() { - return client; - } - - /** - * Return the current {@link TransactionToken}. - * - * @return the transaction token - */ - @Nullable - TransactionToken transaction() { - return transaction; - } - - @Override - protected Concourse copyConnection() { - return new ConcourseThriftDriver(host, port, - ByteBuffers.getString(ClientSecurity.decrypt(username)), - ByteBuffers.getString(ClientSecurity.decrypt(password)), - environment); - } - /** * Authenticate the {@link #username} and {@link #password} and populate * {@link #creds} with the appropriate AccessToken. @@ -2705,6 +2761,36 @@ private void authenticate() { } } + /** + * Perform an old-school/simple find operation where {@code key} + * satisfied {@code operation} in relation to the specified + * {@code values}. + * + * @param key + * @param operator + * @param values + * @return the records that match the criteria. + */ + private Set executeFind(Order order, final String key, + final Object operator, final Object... values) { + final List tValues = Arrays.stream(values) + .map(Convert::javaToThrift).collect(Collectors.toList()); + return execute(() -> { + if(operator instanceof Operator) { + return client.findKeyOperatorValuesOrder(key, + (Operator) operator, tValues, + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + else { + return client.findKeyOperatorstrValuesOrder(key, + operator.toString(), tValues, + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + }); + } + /** * Perform an old-school/simple find operation where {@code key} * satisfied {@code operation} in relation to the specified @@ -2731,6 +2817,44 @@ private Set executeFind(final String key, final Object operator, }); } + /** + * Perform an old-school/simple find operation where {@code key} + * satisfied {@code operation} in relation to the specified + * {@code values} at {@code timestamp}. + * + * @param key + * @param operator + * @param values + * @param timestamp a {@link Timestamp} that represents the historical + * instant to use in the lookup – created from either a + * {@link Timestamp#fromString(String) natural language + * description} of a point in time (i.e. two weeks ago), OR + * the {@link Timestamp#fromMicros(long) number + * of microseconds} since the Unix epoch, OR + * a {@link Timestamp#fromJoda(org.joda.time.DateTime) Joda + * DateTime} object + * @return the records that match the criteria. + */ + private Set executeFind(final Timestamp timestamp, Order order, + final String key, final Object operator, final Object... values) { + final List tValues = Arrays.stream(values) + .map(Convert::javaToThrift).collect(Collectors.toList()); + return execute(() -> { + if(operator instanceof Operator) { + return client.findKeyOperatorValuesTimeOrder(key, + (Operator) operator, tValues, timestamp.getMicros(), + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + else { + return client.findKeyOperatorstrValuesTimeOrder(key, + operator.toString(), tValues, timestamp.getMicros(), + JavaThriftBridge.convert(order), creds, transaction, + environment); + } + }); + } + /** * Perform an old-school/simple find operation where {@code key} * satisfied {@code operation} in relation to the specified @@ -2767,4 +2891,88 @@ private Set executeFind(final Timestamp timestamp, final String key, }); } + @Override + protected Concourse copyConnection() { + return new ConcourseThriftDriver(host, port, + ByteBuffers.getString(ClientSecurity.decrypt(username)), + ByteBuffers.getString(ClientSecurity.decrypt(password)), + environment); + } + + /** + * Return the current {@link AccessToken} + * + * @return the creds + */ + AccessToken creds() { + return creds; + } + + /** + * Return the environment to which the driver is connected. + * + * @return the environment + */ + String environment() { + return environment; + } + + /** + * Execute the task defined in {@code callable}. This method contains + * retry logic to handle cases when {@code creds} expires and must be + * updated. + * + * @param callable + * @return the task result + */ + T execute(Callable callable) { + try { + return callable.call(); + } + catch (SecurityException e) { + authenticate(); + return execute(callable); + } + catch (com.cinchapi.concourse.thrift.TransactionException e) { + throw new TransactionException(); + } + catch (com.cinchapi.concourse.thrift.DuplicateEntryException e) { + throw new DuplicateEntryException(e); + } + catch (com.cinchapi.concourse.thrift.InvalidArgumentException e) { + throw new InvalidArgumentException(e); + } + catch (com.cinchapi.concourse.thrift.ParseException e) { + throw new ParseException(e); + } + catch (com.cinchapi.concourse.thrift.PermissionException e) { + throw new PermissionException(e); + } + catch (com.cinchapi.concourse.thrift.ManagementException e) { + throw new ManagementException(e); + } + catch (Exception e) { + throw CheckedExceptions.wrapAsRuntimeException(e); + } + } + + /** + * Return the thrift RPC client. + * + * @return the {@link ConcourseService#Client} + */ + ConcourseService.Client thrift() { + return client; + } + + /** + * Return the current {@link TransactionToken}. + * + * @return the transaction token + */ + @Nullable + TransactionToken transaction() { + return transaction; + } + } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/Link.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/Link.java index 3bdf08261e..52f87280b7 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/Link.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/Link.java @@ -118,7 +118,7 @@ public static String toWhere(String ccl) { * resolvable link instruction} */ public static String toWhere(Criteria criteria) { - return toWhere(criteria.getCclString()); + return toWhere(criteria.ccl()); } /** diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/Thrift.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/Thrift.java deleted file mode 100644 index ae0a97bb8a..0000000000 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/Thrift.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright (c) 2013-2019 Cinchapi Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.cinchapi.concourse; - -import java.util.Map; -import java.util.Set; - -import com.cinchapi.concourse.thrift.TObject; -import com.cinchapi.concourse.util.Conversions; -import com.cinchapi.concourse.util.PrettyLinkedTableMap; -import com.cinchapi.concourse.util.Transformers; - -/** - * A utility class for transforming Thrift results to Java results. - * - * @author Jeff Nelson - */ -final class Thrift { - - /** - * Transform the {@code thrift} result and place the objects into the - * {@code java} typed collection. - * - * @param thrift the raw results from Thrift - * @param java the collection for the java results - * @return a java result set - */ - public static Map> transformRecordsValues( - Map> thrift, Map> java) { - thrift.forEach((record, values) -> { - java.put(record, Transformers.transformSetLazily(values, - Conversions. thriftToJavaCasted())); - }); - return java; - } - - /** - * Transform the {@code thrift} results and place the objects into a pretty - * java typed collection. - * - * @param thrift the raw results from Thrift - * @return a pretty java result set - */ - public static Map>> transformRecordsKeysValues( - Map>> thrift) { - Map>> java = PrettyLinkedTableMap - .newPrettyLinkedTableMap("Record"); - return transformRecordsKeysValues(thrift, java); - } - - /** - * Transform the {@code thrift} result and place the objects into the - * {@code java} typed collection. - * - * @param thrift the raw results from Thrift - * @param java the collection for the java results - * @return a java result set - */ - public static Map>> transformRecordsKeysValues( - Map>> thrift, - Map>> java) { - thrift.forEach((record, data) -> { - java.put(record, - Transformers.transformMapSet(data, - Conversions. none(), - Conversions. thriftToJavaCasted())); - }); - return java; - } - -} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Column.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Column.java new file mode 100644 index 0000000000..4faf942907 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Column.java @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data; + +import java.util.Map; + +/** + * A {@link Column} is a mapping from records ({@link Long} to a value. Each of + * the values is implicitly associated with a key within each record. + * + * @author Jeff Nelson + */ +public interface Column extends Map {} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Index.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Index.java new file mode 100644 index 0000000000..c03da5cf61 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Index.java @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data; + +import java.util.Map; +import java.util.Set; + +/** + * An {@link Index} is an inverted data set in the form of a two-dimensional + * mapping from key ({@link String}) and value ({@link String}) to records + * {@link Long}. + * + * @author Jeff Nelson + * @param V - the value type + */ +public interface Index extends Map>> {} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Projection.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Projection.java new file mode 100644 index 0000000000..fc59e66043 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Projection.java @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data; + +import java.util.Map; +import java.util.Set; + +/** + * A {@link Projection} is an inverted data set in the form of a one-dimensional + * mapping from value ({@link Object}) to a set of records. Conceptually, A + * {@link Projection} is similar to a single row in an index table. + * + * @author Jeff Nelson + * @param V - the value type + */ +public interface Projection extends Map> {} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Row.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Row.java new file mode 100644 index 0000000000..acb9e75183 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Row.java @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data; + +import java.util.Map; + +/** + * A {@link Row} is a normalized data set in the form of a one-dimensional + * mapping from key ({@link String}) to a value. Conceptually, A {@link Row} is + * similar to a single row in a table. + * + * @author Jeff Nelson + * @param V - the value type + */ +public interface Row extends Map {} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Table.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Table.java new file mode 100644 index 0000000000..e42fc08d5a --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/Table.java @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data; + +import java.util.Map; + +/** + * A {@link Table} is a normalized data set in the form of a two-dimensional + * mapping from record ({@link Long}) and key ({@link String}) to value. + * + * @author Jeff Nelson + * @param V - the value type + */ +public interface Table extends Map> {} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/Sortable.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/Sortable.java new file mode 100644 index 0000000000..ed0731853e --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/Sortable.java @@ -0,0 +1,38 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data.sort; + +/** + * A {@link Sortable} object can be {@link Sorter#sort(java.util.Map) sorted} by + * a {@link Sorter}. + *

+ * A {@link Sorter} is used to sort a Map<Long, Map<String, T>>, so + * other objects that implement this interface must define how the + * {@link Sorter} construct applies to its structure. + *

+ * + * @author Jeff Nelson + */ +public interface Sortable { + + /** + * Sort this object using the {@code sorter} + * + * @param sorter + */ + public void sort(Sorter sorter); + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/SortableColumn.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/SortableColumn.java new file mode 100644 index 0000000000..2e876245c3 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/SortableColumn.java @@ -0,0 +1,128 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data.sort; + +import java.util.AbstractMap.SimpleImmutableEntry; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; + +import javax.annotation.concurrent.NotThreadSafe; + +import com.cinchapi.concourse.data.Column; +import com.google.common.collect.ForwardingMap; +import com.google.common.collect.ImmutableMap; + +/** + * A {@link Column} whose contents can be sorted using a {@link Sorter}. + *

+ * In practice, a {@link SortableColumn} simply forwards to another + * {@link Column}. When {@link #sort(Sorter)} is called, the delegate is + * replaced by a sorted version. + *

+ * + * @author Jeff Nelson + */ +@NotThreadSafe +public final class SortableColumn extends ForwardingMap + implements Column, Sortable { + + /** + * Ensure that the {@code data} is a {@link SortableColumn}. + * + * @param key + * @param data + * @return the {@code data} in the form of a {@link SortableColumn}. + */ + public static SortableColumn> multiValued(String key, + Map> data) { + if(data instanceof SortableColumn) { + return (SortableColumn>) data; + } + else { + return new SortableColumn<>(key, data); + } + } + + /** + * Ensure that the {@code data} is a {@link SortableColumn}. + * + * @param key + * @param data + * @return the {@code data} in the form of a {@link SortableColumn}. + */ + public static SortableColumn singleValued(String key, + Map data) { + if(data instanceof SortableColumn) { + return (SortableColumn) data; + } + else { + return new SortableColumn<>(key, data); + } + + } + + /** + * The delegate to which calls are forwarded. If {@link #sort(Sorter)} + * has been called, this delegate is sorted. + */ + private Map delegate; + + /** + * The key associated with each value. + */ + private final String key; + + /** + * Construct a new instance. + * + * @param map + */ + private SortableColumn(String key, Map delegate) { + this.delegate = delegate; + this.key = key; + } + + @Override + public void sort(Sorter sorter) { + Map> sorted = sorter.sort(sortable()); + delegate = sorted.entrySet().stream().map(entry -> { + Long key = entry.getKey(); + V value = entry.getValue().get(this.key); + return new SimpleImmutableEntry<>(key, value); + }).collect(Collectors.toMap(Entry::getKey, Entry::getValue)); + } + + @Override + protected Map delegate() { + return delegate; + } + + /** + * Return a "sortable" view of this column (e.g. pin {@link #key} as the + * only key/column in a {@link SortableTable}. + * + * @return a sortable view of the {@link #delegate} + */ + private Map> sortable() { + return delegate.entrySet().stream().map(entry -> { + Long key = entry.getKey(); + Map value = ImmutableMap.of(this.key, entry.getValue()); + return new SimpleImmutableEntry<>(key, value); + }).collect(Collectors.toMap(Entry::getKey, Entry::getValue)); + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/SortableTable.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/SortableTable.java new file mode 100644 index 0000000000..fe2bf0fd72 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/SortableTable.java @@ -0,0 +1,94 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data.sort; + +import java.util.Map; +import java.util.Set; + +import com.cinchapi.concourse.data.Table; +import com.google.common.collect.ForwardingMap; + +/** + * A {@link Table} that can be {@link #sort(Sorter) sorted} using a + * {@link Sorter}. + * + * @author Jeff Nelson + */ +public interface SortableTable extends Sortable, Table { + + /** + * Ensure that the {@code data} is a {@link SortableTable}. + * + * @param data + * @return the {@code data} in the form of a {@link SortableTable}. + */ + public static SortableTable> multiValued( + Map>> data) { + if(data instanceof SortableTable) { + return (SortableTable>) data; + } + else { + return new ForwardingSortableTable<>(data); + } + } + + /** + * Ensure that the {@code data} is a {@link SortableTable}. + * + * @param data + * @return the {@code data} in the form of a {@link SortableTable}. + */ + public static SortableTable singleValued( + Map> data) { + if(data instanceof SortableTable) { + return (SortableTable) data; + } + else { + return new ForwardingSortableTable<>(data); + } + } + + static class ForwardingSortableTable extends + ForwardingMap> implements SortableTable { + + /** + * The delegate to which calls are forwarded. If {@link #sort(Sorter)} + * has been called, this delegate is sorted. + */ + private Map> delegate; + + /** + * Construct a new instance. + * + * @param data + */ + private ForwardingSortableTable(Map> data) { + this.delegate = data; + } + + @Override + public void sort(Sorter sorter) { + delegate = sorter.sort(delegate); + + } + + @Override + protected Map> delegate() { + return delegate; + } + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/Sorter.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/Sorter.java new file mode 100644 index 0000000000..8266859589 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/sort/Sorter.java @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data.sort; + +import java.util.Map; + +import javax.annotation.Nullable; + +import com.cinchapi.concourse.lang.sort.Order; + +/** + * A {@link Sorter} imposes an {@link Order} by value on a result set. + * + * @author Jeff Nelson + */ +public interface Sorter { + + /** + * Sort the data. + * + * @param data + * @return the sorted data + */ + public Map> sort(Map> data); + + /** + * Sort the data using the {@code at} timestamp as temporal binding for + * missing value lookups when an order component does not explicitly specify + * a timestamp. + * + * @param data + * @param at + * @return the sorted data + */ + public Map> sort(Map> data, + @Nullable Long at); + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataColumn.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataColumn.java new file mode 100644 index 0000000000..e21ae5cca4 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataColumn.java @@ -0,0 +1,181 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data.transform; + +import java.util.AbstractMap; +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; + +import com.cinchapi.common.collect.lazy.LazyTransformSet; +import com.cinchapi.concourse.data.Column; +import com.cinchapi.concourse.data.Row; +import com.cinchapi.concourse.thrift.TObject; +import com.cinchapi.concourse.util.Conversions; +import com.cinchapi.concourse.util.Convert; +import com.cinchapi.concourse.util.PrettyLinkedHashMap; + +/** + * A {@link Row} based on a {@link TObject} result set, that transforms + * values on the fly. + * + * @author Jeff Nelson + */ +public abstract class DataColumn extends AbstractMap + implements Column { + + /** + * Return a {@link DataColumn} that contains multi-valued cells of + * {@link TObject} values that are converted to their Java equivalents. + * + * @param key + * @param data + * @return the {@link DataColumn} + */ + public static DataColumn, Set> multiValued(String key, + Map> data) { + return new MultiValuedColumn<>(key, data); + } + + /** + * Return a {@link DataColumn} that contains single-valued cells of + * {@link TObject} values that are converted to their Java equivalents. + * + * @param key + * @param data + * @return the {@link DataColumn} + */ + public static DataColumn singleValued(String key, + Map data) { + return new SingleValuedColumn<>(key, data); + } + + /** + * The data that must be transformed. + */ + private final Map data; + + /** + * The key to which values are implicitly associated. + */ + private final String key; + + /** + * A cache of the prettified results + */ + private Map pretty = null; + + /** + * A cache of the transformed, but unpretty results. + */ + private Map transformed = null; + + /** + * Construct a new instance. + * + * @param data + */ + private DataColumn(String key, Map data) { + this.key = key; + this.data = data; + } + + @Override + public Set> entrySet() { + if(transformed == null) { + transformed = data.entrySet().stream().map(entry -> { + Long key = entry.getKey(); + T value = transform(entry.getValue()); + return new SimpleImmutableEntry<>(key, value); + }).collect(Collectors.toMap(Entry::getKey, Entry::getValue, + (e1, e2) -> e2, LinkedHashMap::new)); + } + return transformed.entrySet(); + } + + @Override + public String toString() { + if(pretty == null) { + Map $pretty = PrettyLinkedHashMap + .newPrettyLinkedHashMap("Record", key); + entrySet().forEach( + entry -> $pretty.put(entry.getKey(), entry.getValue())); + pretty = $pretty; + transformed = pretty; + } + return pretty.toString(); + } + + /** + * Transform the {@code value} to the appropriate type. + * + * @param value + * @return the transformed value. + */ + protected abstract T transform(F value); + + /** + * A {@link DataColumn} for multi-valued cells. + * + * @author Jeff Nelson + */ + private static class MultiValuedColumn + extends DataColumn, Set> { + + /** + * Construct a new instance. + * + * @param key + * @param data + */ + protected MultiValuedColumn(String key, Map> data) { + super(key, data); + } + + @Override + protected Set transform(Set value) { + return LazyTransformSet.of(value, Conversions.thriftToJavaCasted()); + } + + } + + /** + * A {@link DataColumn} for single-valued cells. + * + * @author Jeff Nelson + */ + private static class SingleValuedColumn extends DataColumn { + + /** + * Construct a new instance. + * + * @param key + * @param data + */ + protected SingleValuedColumn(String key, Map data) { + super(key, data); + } + + @SuppressWarnings("unchecked") + @Override + protected T transform(TObject value) { + return (T) Convert.thriftToJava(value); + } + + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataIndex.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataIndex.java new file mode 100644 index 0000000000..7837294230 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataIndex.java @@ -0,0 +1,105 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data.transform; + +import java.util.AbstractMap; +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; + +import com.cinchapi.concourse.data.Index; +import com.cinchapi.concourse.thrift.TObject; +import com.cinchapi.concourse.util.Conversions; +import com.cinchapi.concourse.util.PrettyLinkedTableMap; +import com.cinchapi.concourse.util.Transformers; + +/** + * Synthetic class that represents a result set that maps records to keys to + * values. + * + * @author Jeff Nelson + */ +public final class DataIndex extends AbstractMap>> + implements Index { + + /** + * Convert the {@link TObject} values in the {@code results} to their java + * counterparts and {@link PrettyLinkedTableMap prettify} the result set + * lazily. + * + * @param data + * @return the converted {@code results} in the form of a {@link Map} whose + * {@link #toString()} method does pretty printing + */ + public static Map>> of( + Map>> data) { + return new DataIndex<>(data); + } + + /** + * The data that must be transformed. + */ + private final Map>> data; + + /** + * A cache of the prettified results + */ + private Map>> pretty = null; + + /** + * A cache of the transformed, but unpretty results. + */ + private Map>> transformed = null; + + /** + * Construct a new instance. + * + * @param data + */ + private DataIndex(Map>> data) { + this.data = data; + } + + @Override + public Set>>> entrySet() { + if(transformed == null) { + transformed = data.entrySet().stream().map(entry -> { + return new SimpleImmutableEntry<>(entry.getKey(), + Transformers. transformMapSet( + entry.getValue(), + Conversions.thriftToJavaCasted(), + Conversions.none())); + }).collect(Collectors.toMap(Entry::getKey, Entry::getValue, + (e1, e2) -> e2, LinkedHashMap::new)); + } + return transformed.entrySet(); + } + + @Override + public String toString() { + if(pretty == null) { + Map>> $pretty = PrettyLinkedTableMap + .newPrettyLinkedTableMap("Key"); + entrySet().forEach( + entry -> $pretty.put(entry.getKey(), entry.getValue())); + pretty = $pretty; + transformed = pretty; + } + return pretty.toString(); + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataProjection.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataProjection.java new file mode 100644 index 0000000000..35154ff9bd --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataProjection.java @@ -0,0 +1,102 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data.transform; + +import java.util.AbstractMap; +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; + +import com.cinchapi.concourse.data.Projection; +import com.cinchapi.concourse.thrift.TObject; +import com.cinchapi.concourse.util.Convert; +import com.cinchapi.concourse.util.PrettyLinkedHashMap; + +/** + * A {@link Projection} based on a {@link TObject} result set, that transforms + * values on the fly. + * + * @author Jeff Nelson + */ +public class DataProjection extends AbstractMap> + implements Projection { + + /** + * Convert the {@link TObject} values in the {@code results} to their java + * counterparts and {@link PrettyLinkedHashMap prettify} the result set + * lazily. + * + * @param data + * @return the converted {@code results} in the form of a {@link Map} whose + * {@link #toString()} method does pretty printing + */ + public static DataProjection of(Map> data) { + return new DataProjection<>(data); + } + + /** + * The data that must be transformed. + */ + private final Map> data; + + /** + * A cache of the prettified results + */ + private Map> pretty = null; + + /** + * A cache of the transformed, but unpretty results. + */ + private Map> transformed = null; + + /** + * Construct a new instance. + * + * @param data + */ + private DataProjection(Map> data) { + this.data = data; + } + + @SuppressWarnings("unchecked") + @Override + public Set>> entrySet() { + if(transformed == null) { + transformed = data.entrySet().stream().map(entry -> { + return new SimpleImmutableEntry<>( + (T) Convert.thriftToJava(entry.getKey()), + entry.getValue()); + }).collect(Collectors.toMap(Entry::getKey, Entry::getValue, + (e1, e2) -> e2, LinkedHashMap::new)); + } + return transformed.entrySet(); + } + + @Override + public String toString() { + if(pretty == null) { + Map> $pretty = PrettyLinkedHashMap + .newPrettyLinkedHashMap("Value", "Records"); + entrySet().forEach( + entry -> $pretty.put(entry.getKey(), entry.getValue())); + pretty = $pretty; + transformed = pretty; + } + return pretty.toString(); + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataRow.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataRow.java new file mode 100644 index 0000000000..de24b12cc2 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataRow.java @@ -0,0 +1,181 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data.transform; + +import java.util.AbstractMap; +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; + +import javax.annotation.concurrent.NotThreadSafe; + +import com.cinchapi.common.collect.lazy.LazyTransformSet; +import com.cinchapi.concourse.data.Row; +import com.cinchapi.concourse.thrift.TObject; +import com.cinchapi.concourse.util.Conversions; +import com.cinchapi.concourse.util.Convert; +import com.cinchapi.concourse.util.PrettyLinkedHashMap; + +/** + * A {@link Row} based on a {@link TObject} result set, that transforms values + * on the fly. + * + * @author Jeff Nelson + */ +@NotThreadSafe +public abstract class DataRow extends AbstractMap + implements Row { + + /** + * Convert the {@link TObject} values in the {@code results} to their java + * counterparts and {@link PrettyLinkedHashMap prettify} the result set + * lazily. + * + * @param results + * @return the converted {@code results} in the form of a {@link Map} whose + * {@link #toString()} method does pretty printing + */ + public static DataRow, Set> multiValued( + Map> data) { + return new MultiValuedRow<>(data); + } + + /** + * Return a {@link DataRow} that contains single value cells + * {@link TObject} values that are converted to their Java equivalents. + * + * @param data + * @return the {@link DataTable} + */ + public static DataRow singleValued( + Map data) { + return new SingleValuedRow<>(data); + } + + /** + * The data that must be transformed. + */ + private final Map data; + + /** + * A cache of the prettified results + */ + private Map pretty = null; + + /** + * A cache of the transformed, but unpretty results. + */ + private Map transformed = null; + + /** + * The header to use for the column that contains the values. + */ + private final String valueColumnHeader; + + /** + * Construct a new instance. + * + * @param data + */ + private DataRow(Map data, String valueColumnHeader) { + this.data = data; + this.valueColumnHeader = valueColumnHeader; + } + + @Override + public Set> entrySet() { + if(transformed == null) { + transformed = data.entrySet().stream().map(entry -> { + String key = entry.getKey(); + T value = transform(entry.getValue()); + return new SimpleImmutableEntry<>(key, value); + }).collect(Collectors.toMap(Entry::getKey, Entry::getValue, + (e1, e2) -> e2, LinkedHashMap::new)); + } + return transformed.entrySet(); + } + + @Override + public String toString() { + if(pretty == null) { + Map $pretty = PrettyLinkedHashMap + .newPrettyLinkedHashMap("Key", valueColumnHeader); + entrySet().forEach( + entry -> $pretty.put(entry.getKey(), entry.getValue())); + pretty = $pretty; + transformed = pretty; + } + return pretty.toString(); + } + + /** + * Transform the {@code value} to the appropriate type. + * + * @param value + * @return the transformed value. + */ + protected abstract T transform(F value); + + /** + * A {@link DataRow} for multi-valued cells. + * + * @author Jeff Nelson + */ + private static class MultiValuedRow + extends DataRow, Set> { + + /** + * Construct a new instance. + * + * @param data + */ + protected MultiValuedRow(Map> data) { + super(data, "Values"); + } + + @Override + protected Set transform(Set value) { + return LazyTransformSet.of(value, Conversions.thriftToJavaCasted()); + } + + } + + /** + * A {@link DataRow} for single-valued cells. + * + * @author Jeff Nelson + */ + private static class SingleValuedRow extends DataRow { + + /** + * Construct a new instance. + * + * @param data + */ + protected SingleValuedRow(Map data) { + super(data, "Value"); + } + + @SuppressWarnings("unchecked") + @Override + protected T transform(TObject value) { + return (T) Convert.thriftToJava(value); + } + + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataTable.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataTable.java new file mode 100644 index 0000000000..78506cc9b5 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/data/transform/DataTable.java @@ -0,0 +1,179 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data.transform; + +import java.util.AbstractMap; +import java.util.LinkedHashMap; +import java.util.Map; +import java.util.Set; +import java.util.stream.Collectors; + +import javax.annotation.concurrent.NotThreadSafe; + +import com.cinchapi.common.collect.lazy.LazyTransformSet; +import com.cinchapi.concourse.data.Table; +import com.cinchapi.concourse.thrift.TObject; +import com.cinchapi.concourse.util.Conversions; +import com.cinchapi.concourse.util.Convert; +import com.cinchapi.concourse.util.PrettyLinkedTableMap; + +/** + * A result {@link Table} that lazily transforms values from one type to another + * and prettifies the string representation of the data. + * + * @author Jeff Nelson + */ +@NotThreadSafe +public abstract class DataTable extends AbstractMap> + implements Table { + + /** + * Return a {@link DataTable} that contains multi-valued cells of + * {@link TObject} values that are converted to their Java equivalents. + * + * @param data + * @return the {@link DataTable} + */ + public static DataTable, Set> multiValued( + Map>> data) { + return new MultiValuedTable<>(data); + } + + /** + * Return a {@link DataTable} that contains single value cells + * {@link TObject} values that are converted to their Java equivalents. + * + * @param data + * @return the {@link DataTable} + */ + public static DataTable singleValued( + Map> data) { + return new SingleValuedTable<>(data); + } + + /** + * The data that must be transformed. + */ + private final Map> data; + + /** + * A cache of the transformed and prettified results + */ + private Map> pretty = null; + + /** + * A cache of the transformed, but unpretty results. + */ + private Map> transformed = null; + + /** + * Construct a new instance. + * + * @param data + */ + protected DataTable(Map> data) { + this.data = data; + } + + @Override + public Set>> entrySet() { + if(transformed == null) { + transformed = data.entrySet().stream().map(entry -> { + Long key = entry.getKey(); + Map value = entry.getValue().entrySet().stream() + .map(e -> { + return new SimpleImmutableEntry<>(e.getKey(), + transform(e.getValue())); + }).collect( + Collectors.toMap(Entry::getKey, Entry::getValue, + (e1, e2) -> e2, LinkedHashMap::new)); + return new SimpleImmutableEntry<>(key, value); + }).collect(Collectors.toMap(Entry::getKey, Entry::getValue, + (e1, e2) -> e2, LinkedHashMap::new)); + } + return transformed.entrySet(); + } + + @Override + public String toString() { + if(pretty == null) { + Map> $pretty = PrettyLinkedTableMap + .newPrettyLinkedTableMap("Record"); + entrySet().forEach( + entry -> $pretty.put(entry.getKey(), entry.getValue())); + pretty = $pretty; + transformed = pretty; + } + return pretty.toString(); + } + + /** + * Transform the {@code value} to the appropriate type. + * + * @param value + * @return the transformed value. + */ + protected abstract T transform(F value); + + /** + * A {@link DataTable} for multi-valued cells. + * + * @author Jeff Nelson + */ + private static class MultiValuedTable + extends DataTable, Set> { + + /** + * Construct a new instance. + * + * @param data + */ + protected MultiValuedTable(Map>> data) { + super(data); + } + + @Override + protected Set transform(Set value) { + return LazyTransformSet.of(value, Conversions.thriftToJavaCasted()); + } + + } + + /** + * A {@link DataTable} for single-valued cells. + * + * @author Jeff Nelson + */ + private static class SingleValuedTable extends DataTable { + + /** + * Construct a new instance. + * + * @param data + */ + protected SingleValuedTable(Map> data) { + super(data); + } + + @SuppressWarnings("unchecked") + @Override + protected T transform(TObject value) { + return (T) Convert.thriftToJava(value); + } + + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuildableStartState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuildableStartState.java index 9e8fa903a9..7351441efc 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuildableStartState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuildableStartState.java @@ -30,7 +30,7 @@ public class BuildableStartState extends BuildableState { * * @param criteria */ - protected BuildableStartState(Criteria criteria) { + protected BuildableStartState(BuiltCriteria criteria) { super(criteria); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuildableState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuildableState.java index b1d06f0d84..515849a6ee 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuildableState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuildableState.java @@ -15,7 +15,11 @@ */ package com.cinchapi.concourse.lang; +import java.util.List; + import com.cinchapi.ccl.grammar.ConjunctionSymbol; +import com.cinchapi.ccl.grammar.Symbol; +import com.cinchapi.concourse.Timestamp; /** * The base class for a language state that can be transformed into a complete @@ -23,14 +27,14 @@ * * @author Jeff Nelson */ -public abstract class BuildableState extends State { +public abstract class BuildableState extends State implements Criteria { /** * Construct a new instance. * * @param criteria */ - protected BuildableState(Criteria criteria) { + protected BuildableState(BuiltCriteria criteria) { super(criteria); } @@ -64,4 +68,24 @@ public StartState or() { return new StartState(criteria); } + @Override + public Criteria at(Timestamp timestamp) { + return build().at(timestamp); + } + + @Override + public final String ccl() { + return build().ccl(); + } + + @Override + public final List symbols() { + return build().symbols(); + } + + @Override + public final String toString() { + return build().toString(); + } + } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuiltCriteria.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuiltCriteria.java new file mode 100644 index 0000000000..8760b660e6 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuiltCriteria.java @@ -0,0 +1,165 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.lang; + +import java.util.Collections; +import java.util.List; +import java.util.Objects; + +import com.cinchapi.ccl.Parser; +import com.cinchapi.ccl.Parsing; +import com.cinchapi.ccl.grammar.Expression; +import com.cinchapi.ccl.grammar.ParenthesisSymbol; +import com.cinchapi.ccl.grammar.Symbol; +import com.cinchapi.ccl.grammar.TimestampSymbol; +import com.cinchapi.common.reflect.Reflection; +import com.cinchapi.concourse.Timestamp; +import com.cinchapi.concourse.util.Parsers; +import com.google.common.base.Preconditions; +import com.google.common.collect.Lists; + +/** + * A {@link Criteria} that has been {@link BuildableState#build()}. + * + * @author Jeff Nelson + */ +public class BuiltCriteria implements Criteria { + + /** + * A flag that indicates whether this {@link Criteria} has been built. + */ + private boolean built = false; + + /** + * The collection of {@link Symbol}s that make up this {@link Criteria}. + */ + List symbols; + + /** + * Construct a new instance. + */ + protected BuiltCriteria() { + this.symbols = Lists.newArrayList(); + } + + /** + * Return this {@link Criteria} with each expression (e.g. {key} {operator} + * {values}) pinned to the specified {@code timestamp}. + * + * NOTE: Any timestamps that are pinned to any expressions + * within this Criteria will be replaced by the specified {@code timestamp}. + * + * @param timestamp the {@link Timestamp} to which the returned + * {@link Criteria} is pinned + * + * @return this {@link Criteria} pinned to {@code timestamp} + */ + public Criteria at(Timestamp timestamp) { + Parser parser = Parsers.create(ccl()); + List symbols = Parsing.groupExpressions(parser.tokenize()); + TimestampSymbol ts = new TimestampSymbol(timestamp.getMicros()); + symbols.forEach((symbol) -> { + if(symbol instanceof Expression) { + Expression expression = (Expression) symbol; + Reflection.set("timestamp", ts, expression); // (authorized) + } + }); + BuiltCriteria criteria = new BuiltCriteria(); + symbols = Parsing.ungroupExpressions(symbols); + criteria.symbols = symbols; + return criteria; + } + + @Override + public String ccl() { + StringBuilder sb = new StringBuilder(); + boolean first = true; + for (Symbol symbol : symbols) { + if(!first) { + sb.append(" "); + } + sb.append(symbol); + first = false; + } + return sb.toString(); + } + + @Override + public boolean equals(Object obj) { + if(obj instanceof Criteria) { + return Objects.equals(symbols, ((Criteria) obj).symbols()); + } + else { + return false; + } + } + + @Override + public int hashCode() { + return Objects.hash(symbols); + } + + @Override + public List symbols() { + return Collections.unmodifiableList(symbols); + } + + @Override + public String toString() { + return ccl(); + } + + /** + * Expand any sub/grouped Criteria. + * + * @param symbols + * @param expanded + */ + private void expand(List symbols, List expanded) { + for (Symbol symbol : symbols) { + if(symbol instanceof Criteria) { + expanded.add(ParenthesisSymbol.LEFT); + expand(((Criteria) symbol).symbols(), expanded); + expanded.add(ParenthesisSymbol.RIGHT); + } + else { + expanded.add(symbol); + } + } + } + + /** + * Add a {@link Symbol} to this {@link Criteria}. + * + * @param symbol + */ + protected void add(Symbol symbol) { + Preconditions.checkState(!built, + "Cannot add a symbol to a built Criteria"); + symbols.add(symbol); + } + + /** + * Mark this {@link Criteria} as {@code built}. + */ + protected void close() { + built = !built ? true : built; + List expanded = Lists.newArrayList(); + expand(symbols, expanded); + this.symbols = expanded; + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/Criteria.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/Criteria.java index 00123ab67a..028e5237f4 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/Criteria.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/Criteria.java @@ -15,23 +15,15 @@ */ package com.cinchapi.concourse.lang; -import java.util.Collections; import java.util.List; -import java.util.Objects; import com.cinchapi.ccl.Parser; -import com.cinchapi.ccl.Parsing; import com.cinchapi.ccl.SyntaxException; -import com.cinchapi.ccl.grammar.Expression; -import com.cinchapi.ccl.grammar.ParenthesisSymbol; import com.cinchapi.ccl.grammar.Symbol; -import com.cinchapi.ccl.grammar.TimestampSymbol; import com.cinchapi.common.base.CheckedExceptions; -import com.cinchapi.common.reflect.Reflection; import com.cinchapi.concourse.ParseException; import com.cinchapi.concourse.Timestamp; import com.cinchapi.concourse.util.Parsers; -import com.google.common.base.Preconditions; import com.google.common.collect.Lists; /** @@ -50,7 +42,7 @@ * * @author Jeff Nelson */ -public class Criteria implements Symbol { +public interface Criteria extends Symbol { /** * Return a {@link Criteria} object that expresses the same as the @@ -61,7 +53,7 @@ public class Criteria implements Symbol { */ public static Criteria parse(String ccl) { Parser parser = Parsers.create(ccl); - Criteria criteria = new Criteria(); + BuiltCriteria criteria = new BuiltCriteria(); try { criteria.symbols = Lists.newArrayList(parser.tokenize()); return criteria; @@ -87,24 +79,7 @@ public static Criteria parse(String ccl) { * @return the Criteria builder */ public static StartState where() { - return new StartState(new Criteria()); - } - - /** - * A flag that indicates whether this {@link Criteria} has been built. - */ - private boolean built = false; - - /** - * The collection of {@link Symbol}s that make up this {@link Criteria}. - */ - private List symbols; - - /** - * Construct a new instance. - */ - protected Criteria() { - this.symbols = Lists.newArrayList(); + return new StartState(new BuiltCriteria()); } /** @@ -119,79 +94,24 @@ protected Criteria() { * * @return this {@link Criteria} pinned to {@code timestamp} */ - public Criteria at(Timestamp timestamp) { - Parser parser = Parsers.create(getCclString()); - List symbols = Parsing.groupExpressions(parser.tokenize()); - TimestampSymbol ts = new TimestampSymbol(timestamp.getMicros()); - symbols.forEach((symbol) -> { - if(symbol instanceof Expression) { - Expression expression = (Expression) symbol; - Reflection.set("timestamp", ts, expression); // (authorized) - } - }); - Criteria criteria = new Criteria(); - symbols = Parsing.ungroupExpressions(symbols); - criteria.symbols = symbols; - return criteria; - } - - @Override - public boolean equals(Object obj) { - if(obj instanceof Criteria) { - return Objects.equals(symbols, ((Criteria) obj).symbols); - } - else { - return false; - } - } + public Criteria at(Timestamp timestamp); /** * Return a CCL string that is equivalent to this object. * * @return an equivalent CCL string */ - public String getCclString() { - StringBuilder sb = new StringBuilder(); - boolean first = true; - for (Symbol symbol : symbols) { - if(!first) { - sb.append(" "); - } - sb.append(symbol); - first = false; - } - return sb.toString(); - } - - @Override - public int hashCode() { - return Objects.hash(symbols); - } - - @Override - public String toString() { - return getCclString(); - } + public String ccl(); /** - * Add a {@link Symbol} to this {@link Criteria}. + * Return a CCL string that is equivalent to this object. * - * @param symbol - */ - protected void add(Symbol symbol) { - Preconditions.checkState(!built, - "Cannot add a symbol to a built Criteria"); - symbols.add(symbol); - } - - /** - * Mark this {@link Criteria} as {@code built}. + * @return an equivalent CCL string + * @deprecated in favor of {@link #ccl()} */ - protected void close() { - built = !built ? true : built; - List expanded = Lists.newArrayList(); - expand(symbols, expanded); - this.symbols = expanded; + @Deprecated + public default String getCclString() { + return ccl(); } /** @@ -199,27 +119,6 @@ protected void close() { * * @return symbols */ - protected List getSymbols() { - return Collections.unmodifiableList(symbols); - } - - /** - * Expand any sub/grouped Criteria. - * - * @param symbols - * @param expanded - */ - private void expand(List symbols, List expanded) { - for (Symbol symbol : symbols) { - if(symbol instanceof Criteria) { - expanded.add(ParenthesisSymbol.LEFT); - expand(((Criteria) symbol).symbols, expanded); - expanded.add(ParenthesisSymbol.RIGHT); - } - else { - expanded.add(symbol); - } - } - } + public List symbols(); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/KeyState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/KeyState.java index a7a4fc70d1..c3492d27b4 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/KeyState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/KeyState.java @@ -31,7 +31,7 @@ public class KeyState extends State { * * @param criteria */ - protected KeyState(Criteria criteria) { + protected KeyState(BuiltCriteria criteria) { super(criteria); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/Language.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/Language.java index 34269c2ad0..54b6ede121 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/Language.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/Language.java @@ -103,7 +103,7 @@ else if(tsymbol.getType() == TSymbolType.TIMESTAMP) { */ public static TCriteria translateToThriftCriteria(Criteria criteria) { List symbols = Lists.newArrayList(); - for (Symbol symbol : criteria.getSymbols()) { + for (Symbol symbol : criteria.symbols()) { symbols.add(translateToThriftSymbol(symbol)); } return new TCriteria(symbols); @@ -116,7 +116,7 @@ public static TCriteria translateToThriftCriteria(Criteria criteria) { * @return the analogous Java {@link Criteria} */ public static Criteria translateFromThriftCriteria(TCriteria tcriteria) { - Criteria criteria = new Criteria(); + BuiltCriteria criteria = new BuiltCriteria(); for (TSymbol tsymbol : tcriteria.getSymbols()) { criteria.add(translateFromThriftSymbol(tsymbol)); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/OperatorState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/OperatorState.java index 1036d61f34..2bee4274c8 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/OperatorState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/OperatorState.java @@ -29,7 +29,7 @@ public class OperatorState extends State { * * @param criteria */ - protected OperatorState(Criteria criteria) { + protected OperatorState(BuiltCriteria criteria) { super(criteria); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/StartState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/StartState.java index 848afae075..6b996e52b0 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/StartState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/StartState.java @@ -29,7 +29,7 @@ public class StartState extends State { * * @param criteria */ - public StartState(Criteria criteria) { + public StartState(BuiltCriteria criteria) { super(criteria); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/State.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/State.java index e867ab5f88..ab5cb17be4 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/State.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/State.java @@ -30,16 +30,16 @@ public abstract class State { /** - * A reference to the {@link Criteria} that is being built. + * A reference to the {@link BuiltCriteria} that is being built. */ - protected final Criteria criteria; + protected final BuiltCriteria criteria; /** * Construct a new instance. * * @param criteria */ - protected State(Criteria criteria) { + protected State(BuiltCriteria criteria) { this.criteria = criteria; } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/TimestampState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/TimestampState.java index 193e52bbac..c6db8aa777 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/TimestampState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/TimestampState.java @@ -28,7 +28,7 @@ public class TimestampState extends BuildableState { * * @param criteria */ - protected TimestampState(Criteria criteria) { + protected TimestampState(BuiltCriteria criteria) { super(criteria); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/ValueState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/ValueState.java index c86d8ceb58..fc871d6b46 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/ValueState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/ValueState.java @@ -32,7 +32,7 @@ public class ValueState extends BuildableState { * * @param criteria */ - protected ValueState(Criteria criteria) { + protected ValueState(BuiltCriteria criteria) { super(criteria); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/BuildableOrderState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/BuildableOrderState.java index 5bafa33243..d64524cd14 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/BuildableOrderState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/BuildableOrderState.java @@ -15,29 +15,36 @@ */ package com.cinchapi.concourse.lang.sort; +import java.util.List; + /** * The base class for a Sort Order state that can be transformed into a complete - * and well-formed {@link Order}. + * and well-formed {@link BuiltOrder}. */ -public abstract class BuildableOrderState extends OrderState { +public abstract class BuildableOrderState extends OrderState implements Order { /** * Construct a new instance. * * @param order */ - protected BuildableOrderState(Order order) { + protected BuildableOrderState(BuiltOrder order) { super(order); } /** - * Build and return the {@link Order}. + * Build and return the {@link BuiltOrder}. * * @return the built Order */ - public final Order build() { + public final BuiltOrder build() { order.close(); return order; } + @Override + public final List spec() { + return build().spec(); + } + } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/BuiltOrder.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/BuiltOrder.java new file mode 100644 index 0000000000..4e506187d3 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/BuiltOrder.java @@ -0,0 +1,127 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.lang.sort; + +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Objects; +import java.util.stream.Collectors; + +import javax.annotation.Nullable; + +import com.cinchapi.concourse.Timestamp; +import com.google.common.base.Preconditions; +import com.google.common.collect.Maps; + +/** + * Implementation of {@link Order} that represents the result of calling + * {@link BuildableOrderState#build()}. + * + * @author Jeff Nelson + */ +final class BuiltOrder implements Order { + + /** + * A mapping from each key to direction ordinal (e.g. 1 for ASC and -1 for + * DESC) in the constructed {@link BuiltOrder}. + */ + private final LinkedHashMap spec; + + /** + * The last key that was {@link #set(String, Direction) added}. + */ + @Nullable + protected String lastKey; + + /** + * A flag that indicates whether this {@link BuiltOrder} has been built. + */ + private boolean built = false; + + /** + * Construct a new instance. + */ + BuiltOrder() { + this.spec = Maps.newLinkedHashMap(); + } + + @Override + public boolean equals(Object obj) { + if(obj instanceof BuiltOrder) { + return Objects.equals(spec, ((BuiltOrder) obj).spec); + } + else { + return false; + } + } + + @Override + public int hashCode() { + return spec.hashCode(); + } + + @Override + public List spec() { + return spec.values().stream().collect(Collectors.toList()); + } + + /** + * Modify to the order {@link #spec()}. + * + * @param key + * @param direction + */ + final void set(String key, Direction direction) { + OrderComponent component = spec.get(key); + set(key, component == null ? null : component.timestamp(), direction); + + } + + /** + * Mark this {@link BuiltOrder} as {@code built}. + */ + void close() { + built = !built ? true : built; + } + + /** + * Modify to the order {@link #spec()}. + * + * @param key + * @param timestamp + * @param direction + */ + final void set(String key, Timestamp timestamp) { + OrderComponent component = spec.get(key); + set(key, timestamp, component == null ? Direction.$default() + : component.direction()); + } + + /** + * Modify to the order {@link #spec()}. + * + * @param key + * @param timestamp + * @param direction + */ + final void set(String key, Timestamp timestamp, Direction direction) { + Preconditions.checkState(!built, "Cannot modify a built Order"); + spec.put(key, new OrderComponent(key, timestamp, direction)); + this.lastKey = key; + + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Direction.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Direction.java index a935fde7e4..0314d72d8e 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Direction.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Direction.java @@ -20,7 +20,7 @@ * * @author Jeff Nelson */ -enum Direction { +public enum Direction { ASCENDING(1), DESCENDING(-1); diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/NoOrder.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/NoOrder.java new file mode 100644 index 0000000000..0c822bc954 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/NoOrder.java @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.lang.sort; + +import java.util.List; + +import com.google.common.collect.ImmutableList; + +/** + * A specification for no {@link Order}. + * + * @author Jeff Nelson + */ +public class NoOrder implements Order { + + @Override + public List spec() { + return ImmutableList.of(); + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Order.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Order.java index cdf1068fac..60300136de 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Order.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Order.java @@ -15,14 +15,7 @@ */ package com.cinchapi.concourse.lang.sort; -import java.util.LinkedHashMap; -import java.util.Objects; - -import javax.annotation.Nullable; - -import com.google.common.annotations.VisibleForTesting; -import com.google.common.base.Preconditions; -import com.google.common.collect.Maps; +import java.util.List; /** * {@link Order} encapsulates the semantics of a result set sorting. Any given @@ -37,9 +30,17 @@ * {@link Order#by} and continues to construct the Order using the * options available from each subsequently returned state. *

- * */ -public final class Order { +public interface Order { + + /** + * Return an {@link Order} that specifies no order. + * + * @return a no-op {@link Order} + */ + public static Order none() { + return new NoOrder(); + } /** * Start building a new {@link Order}. @@ -47,67 +48,16 @@ public final class Order { * @return the Order builder */ public static OrderByState by(String key) { - Order order = new Order(); + BuiltOrder order = new BuiltOrder(); return new OrderByState(order, key, Direction.$default()); } /** - * A mapping from each key to direction ordinal (e.g. 1 for ASC and -1 for - * DESC) in the constructed {@link Order}. + * Return the order specification, expressed as an ordered list of + * {@link OrderComponent components} containing each key, an optional + * {@link Timestamp} and the the corresponding direction ordinal (e.g. 1 for + * ASC and -1 for DESC) in the constructed {@link Order}. */ - @VisibleForTesting - final LinkedHashMap spec; - - /** - * The last key that was {@link #add(String, Direction) added}. - */ - @Nullable - protected String lastKey; - - /** - * A flag that indicates whether this {@link Order} has been built. - */ - private boolean built = false; - - /** - * Construct a new instance. - */ - private Order() { - this.spec = Maps.newLinkedHashMap(); - } - - @Override - public boolean equals(Object obj) { - if(obj instanceof Order) { - return Objects.equals(spec, ((Order) obj).spec); - } - else { - return false; - } - } - - @Override - public int hashCode() { - return spec.hashCode(); - } - - /** - * Mark this {@link Order} as {@code built}. - */ - void close() { - built = !built ? true : built; - } - - /** - * Add to the order {@link #spec}. - * - * @param key - * @param direction - */ - final void add(String key, Direction direction) { - Preconditions.checkState(!built, "Cannot modify a built Order"); - spec.put(key, direction.coefficient()); - this.lastKey = key; - } + public List spec(); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderAtState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderAtState.java new file mode 100644 index 0000000000..6b5cf30f79 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderAtState.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.lang.sort; + +import com.cinchapi.concourse.Timestamp; + +/** + * The {@link OrderState} that represents a transition induced by the + * introduction of a timestamp token. The expected next token is either a + * direction token or a new key to sort on. + * + * @author Jeff Nelson + */ +public class OrderAtState extends BuildableOrderState + implements ShortcutThenByState, TransitionToOrderDirectionState { + + /** + * Construct a new instance. + * + * @param order + */ + protected OrderAtState(BuiltOrder order, String key, Timestamp timestamp) { + super(order); + order.set(key, timestamp); + } + + @Override + public OrderThenState then() { + return new OrderThenState(order); + } + + @Override + public BuiltOrder $order() { + return order; + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderByState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderByState.java index 8a6436f7e1..0eb1ecf7ee 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderByState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderByState.java @@ -15,111 +15,36 @@ */ package com.cinchapi.concourse.lang.sort; +import com.cinchapi.concourse.Timestamp; + /** - * The {@link OrderState} that expects the next token to be a sort order or a - * new key - * to sort by. + * The {@link OrderState} that expects the next token to be a sort order, + * timestamp or a new key to sort by. */ public class OrderByState extends BuildableOrderState - implements ShortcutThenByState { + implements ShortcutThenByState, TransitionToOrderDirectionState { /** * Construct a new instance. * * @param order */ - OrderByState(Order order, String key, Direction direction) { + OrderByState(BuiltOrder order, String key, Direction direction) { super(order); - order.add(key, direction); - } - - /** - * Add the {@link Direction#ASCENDING} direction to the last key that - * was specified in {@link Order} that is building - * - * @return the builder - */ - public OrderDirectionState ascending() { - return new OrderDirectionState(order, order.lastKey, - Direction.ASCENDING); - } - - /** - * Alias for {@link #descending()}. - * - * @return the builder - */ - public OrderDirectionState decreasing() { - return descending(); - } - - /** - * Add the {@link Direction#DESCENDING} direction to the last key that - * was specified in {@link Order} that is building - * - * @return the builder - */ - public OrderDirectionState descending() { - return new OrderDirectionState(order, order.lastKey, - Direction.DESCENDING); - } - - /** - * Alias for {@link #ascending()}. - * - * @return the builder - */ - public OrderDirectionState increasing() { - return ascending(); + order.set(key, direction); } - /** - * Alias for {@link #descending()}. - * - * @return the builder - */ - public OrderDirectionState largestFirst() { - return descending(); - } - - /** - * Alias for {@link #ascending()}. - * - * @return the builder - */ - public OrderDirectionState largestLast() { - return ascending(); - } - - /** - * Alias for {@link #descending()}. - * - * @return the builder - */ - public OrderDirectionState reversed() { - return descending(); - } - - /** - * Alias for {@link #ascending()}. - * - * @return the builder - */ - public OrderDirectionState smallestFirst() { - return ascending(); + @Override + public OrderThenState then() { + return new OrderThenState(order); } - /** - * Alias for {@link #descending()}. - * - * @return the builder - */ - public OrderDirectionState smallestLast() { - return descending(); + public OrderAtState at(Timestamp timestamp) { + return new OrderAtState(order, order.lastKey, timestamp); } @Override - public OrderThenState then() { - return new OrderThenState(order); + public BuiltOrder $order() { + return order; } } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderComponent.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderComponent.java new file mode 100644 index 0000000000..4166b00ac3 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderComponent.java @@ -0,0 +1,131 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.lang.sort; + +import java.util.Objects; + +import javax.annotation.Nullable; +import javax.annotation.concurrent.Immutable; + +import com.cinchapi.concourse.Timestamp; + +/** + * An {@link OrderComponent} describes a consideration for ordering a result + * set. + * + * @author Jeff Nelson + */ +@Immutable +public class OrderComponent { + + /** + * The order key. + */ + private final String key; + + /** + * The order timestamp. + */ + @Nullable + private final Timestamp timestamp; + + /** + * The order direction + */ + private final Direction direction; + + /** + * Construct a new instance. + * + * @param key + * @param direction + */ + public OrderComponent(String key, Direction direction) { + this(key, null, direction); + } + + /** + * Construct a new instance. + * + * @param key + * @param timestamp + * @param direction + */ + public OrderComponent(String key, @Nullable Timestamp timestamp, + Direction direction) { + this.key = key; + this.timestamp = timestamp; + this.direction = direction; + } + + /** + * Return the order direction. + * + * @return the direction + */ + public Direction direction() { + return direction; + } + + public boolean equals(Object obj) { + if(obj instanceof OrderComponent) { + return Objects.equals(key, ((OrderComponent) obj).key()) + && Objects.equals(direction, + ((OrderComponent) obj).direction()) + && Objects.equals(timestamp, + ((OrderComponent) obj).timestamp()); + } + else { + return false; + } + + } + + @Override + public int hashCode() { + return Objects.hash(key, timestamp, direction); + } + + /** + * Return the order key. + * + * @return the key + */ + public String key() { + return key; + } + + /** + * Return the order timestamp. + * + * @return the timestamp + */ + public Timestamp timestamp() { + return timestamp; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(key); + if(timestamp != null) { + sb.append(" at ").append(timestamp); + } + sb.append(" ").append(direction); + return sb.toString(); + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderDirectionState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderDirectionState.java index 42073100d0..fc0c4ee514 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderDirectionState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderDirectionState.java @@ -16,7 +16,7 @@ package com.cinchapi.concourse.lang.sort; /** - * A {@link State} that represents a building {@link Order} that just had + * A {@link State} that represents a building {@link BuiltOrder} that just had * direction information specified for the most recently added key. * * @author Jeff Nelson @@ -29,9 +29,9 @@ public class OrderDirectionState extends BuildableOrderState * * @param order */ - OrderDirectionState(Order order, String key, Direction direction) { + OrderDirectionState(BuiltOrder order, String key, Direction direction) { super(order); - order.add(key, direction); + order.set(key, direction); } @Override diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderState.java index 1602fc0a68..81a5ecc3f3 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderState.java @@ -16,8 +16,9 @@ package com.cinchapi.concourse.lang.sort; /** - * This is the base class and marker for any valid state in the {@link Order} - * builder. Each {@link OrderState} is passed the current {@link Order} and + * This is the base class and marker for any valid state in the + * {@link BuiltOrder} + * builder. Each {@link OrderState} is passed the current {@link BuiltOrder} and * holds a reference. *

* For the purposes of a builder, an {@link OrderState} typically describes what @@ -27,16 +28,16 @@ public abstract class OrderState { /** - * A reference to the {@link Order} that is being built. + * A reference to the {@link BuiltOrder} that is being built. */ - protected final Order order; + protected final BuiltOrder order; /** * Construct a new instance. * * @param order */ - protected OrderState(Order order) { + protected OrderState(BuiltOrder order) { this.order = order; } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderThenState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderThenState.java index 90581383eb..73411afb81 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderThenState.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/OrderThenState.java @@ -26,7 +26,7 @@ public class OrderThenState extends OrderState { * * @param order */ - OrderThenState(Order order) { + OrderThenState(BuiltOrder order) { super(order); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Sort.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Sort.java index fcc3ddf84c..0ca81e294c 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Sort.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/Sort.java @@ -16,12 +16,12 @@ package com.cinchapi.concourse.lang.sort; /** - * Serves as an alias for {@link Order} + * Serves as an alias for {@link BuiltOrder} */ public final class Sort { /** - * Start building a new {@link Order}. + * Start building a new {@link BuiltOrder}. * * @return the Order builder */ diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/TransitionToOrderDirectionState.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/TransitionToOrderDirectionState.java new file mode 100644 index 0000000000..a80d487a4b --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/sort/TransitionToOrderDirectionState.java @@ -0,0 +1,117 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.lang.sort; + +/** + * A {@link OrderState} that may transition to an {@link OrderDirectionState}. + * + * @author Jeff Nelson + */ +interface TransitionToOrderDirectionState { + + /** + * Add the {@link Direction#ASCENDING} direction to the last key that + * was specified in {@link BuiltOrder} that is building + * + * @return the builder + */ + public default OrderDirectionState ascending() { + return new OrderDirectionState($order(), $order().lastKey, + Direction.ASCENDING); + } + + /** + * Alias for {@link #descending()}. + * + * @return the builder + */ + public default OrderDirectionState decreasing() { + return descending(); + } + + /** + * Add the {@link Direction#DESCENDING} direction to the last key that + * was specified in {@link BuiltOrder} that is building + * + * @return the builder + */ + public default OrderDirectionState descending() { + return new OrderDirectionState($order(), $order().lastKey, + Direction.DESCENDING); + } + + /** + * Alias for {@link #ascending()}. + * + * @return the builder + */ + public default OrderDirectionState increasing() { + return ascending(); + } + + /** + * Alias for {@link #descending()}. + * + * @return the builder + */ + public default OrderDirectionState largestFirst() { + return descending(); + } + + /** + * Alias for {@link #ascending()}. + * + * @return the builder + */ + public default OrderDirectionState largestLast() { + return ascending(); + } + + /** + * Alias for {@link #descending()}. + * + * @return the builder + */ + public default OrderDirectionState reversed() { + return descending(); + } + + /** + * Alias for {@link #ascending()}. + * + * @return the builder + */ + public default OrderDirectionState smallestFirst() { + return ascending(); + } + + /** + * Alias for {@link #descending()}. + * + * @return the builder + */ + public default OrderDirectionState smallestLast() { + return descending(); + } + + /** + * Return the {@link BuiltOrder} that is being constructed. + * + * @return the {@link BuiltOrder} + */ + public BuiltOrder $order(); + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/ConcourseService.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/ConcourseService.java index 7502dd309b..f9d3ac1d9a 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/ConcourseService.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/ConcourseService.java @@ -43,7 +43,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({ "cast", "rawtypes", "serial", "unchecked", "unused" }) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2018-05-27") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2019-05-30") public class ConcourseService { /** @@ -2507,6 +2507,16 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectRecordsOrder( + List records, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> selectRecordTime( long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2538,6 +2548,17 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectRecordsTimeOrder( + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectRecordsTimestr( List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2549,6 +2570,18 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectRecordsTimestrOrder( + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Set selectKeyRecord( String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2621,6 +2654,17 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectKeysRecordsOrder( + List keys, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> selectKeyRecords( String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2631,6 +2675,17 @@ public Map> selectKeyRecords( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> selectKeyRecordsOrder( + String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> selectKeyRecordsTime( String key, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2641,6 +2696,17 @@ public Map> selectKeyRecordsTim com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> selectKeyRecordsTimeOrder( + String key, List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> selectKeyRecordsTimestr( String key, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2652,6 +2718,18 @@ public Map> selectKeyRecordsTim com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> selectKeyRecordsTimestrOrder( + String key, List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectKeysRecordsTime( List keys, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2662,6 +2740,17 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectKeysRecordsTimeOrder( + List keys, List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectKeysRecordsTimestr( List keys, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2673,6 +2762,18 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectKeysRecordsTimestrOrder( + List keys, List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectCriteria( com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2683,6 +2784,17 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectCcl( String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -2693,6 +2805,17 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectCclOrder( + String ccl, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectCriteriaTime( com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2703,6 +2826,17 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectCriteriaTimeOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectCriteriaTimestr( com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -2715,6 +2849,18 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectCriteriaTimestrOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectCclTime( String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2726,6 +2872,18 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectCclTimeOrder( + String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectCclTimestr( String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2737,6 +2895,18 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectCclTimestrOrder( + String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> selectKeyCriteria( String key, com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2747,6 +2917,17 @@ public Map> selectKeyCriteria( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> selectKeyCriteriaOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> selectKeyCcl( String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2758,6 +2939,18 @@ public Map> selectKeyCcl( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> selectKeyCclOrder( + String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> selectKeyCriteriaTime( String key, com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2768,6 +2961,17 @@ public Map> selectKeyCriteriaTi com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> selectKeyCriteriaTimeOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> selectKeyCriteriaTimestr( String key, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -2780,6 +2984,18 @@ public Map> selectKeyCriteriaTi com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> selectKeyCriteriaTimestrOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> selectKeyCclTime( String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2791,6 +3007,18 @@ public Map> selectKeyCclTime( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> selectKeyCclTimeOrder( + String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> selectKeyCclTimestr( String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2802,6 +3030,18 @@ public Map> selectKeyCclTimestr com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> selectKeyCclTimestrOrder( + String key, String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectKeysCriteria( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -2813,6 +3053,18 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectKeysCriteriaOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectKeysCcl( List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2824,6 +3076,18 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectKeysCclOrder( + List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectKeysCriteriaTime( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -2835,6 +3099,18 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectKeysCriteriaTimeOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectKeysCriteriaTimestr( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -2848,6 +3124,19 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectKeysCriteriaTimestrOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectKeysCclTime( List keys, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2859,6 +3148,18 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectKeysCclTimeOrder( + List keys, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map>> selectKeysCclTimestr( List keys, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2870,6 +3171,18 @@ public Map>> select com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map>> selectKeysCclTimestrOrder( + List keys, String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public com.cinchapi.concourse.thrift.TObject getKeyRecord(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -2941,6 +3254,17 @@ public Map> getKeysReco com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getKeysRecordsOrder( + List keys, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map getKeyRecords( String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2951,6 +3275,17 @@ public Map getKeyRecords( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map getKeyRecordsOrder( + String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map getKeyRecordsTime( String key, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2961,6 +3296,17 @@ public Map getKeyRecordsTime( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map getKeyRecordsTimeOrder( + String key, List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map getKeyRecordsTimestr( String key, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2972,6 +3318,18 @@ public Map getKeyRecordsTimestr( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map getKeyRecordsTimestrOrder( + String key, List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getKeysRecordsTime( List keys, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2982,6 +3340,17 @@ public Map> getKeysReco com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getKeysRecordsTimeOrder( + List keys, List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getKeysRecordsTimestr( List keys, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -2993,6 +3362,18 @@ public Map> getKeysReco com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getKeysRecordsTimestrOrder( + List keys, List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map getKeyCriteria( String key, com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3003,6 +3384,17 @@ public Map getKeyCriteria( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map getKeyCriteriaOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getCriteria( com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3013,6 +3405,17 @@ public Map> getCriteria com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getCcl( String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -3023,6 +3426,17 @@ public Map> getCcl( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getCclOrder( + String ccl, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getCriteriaTime( com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3033,6 +3447,17 @@ public Map> getCriteria com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getCriteriaTimeOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getCriteriaTimestr( com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -3045,6 +3470,18 @@ public Map> getCriteria com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getCriteriaTimestrOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getCclTime( String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3056,6 +3493,18 @@ public Map> getCclTime( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getCclTimeOrder( + String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getCclTimestr( String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3067,6 +3516,18 @@ public Map> getCclTimes com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getCclTimestrOrder( + String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map getKeyCcl( String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3078,6 +3539,18 @@ public Map getKeyCcl( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map getKeyCclOrder( + String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map getKeyCriteriaTime( String key, com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3088,6 +3561,17 @@ public Map getKeyCriteriaTime( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map getKeyCriteriaTimeOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map getKeyCriteriaTimestr( String key, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -3100,6 +3584,18 @@ public Map getKeyCriteriaTimestr( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map getKeyCriteriaTimestrOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map getKeyCclTime( String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3111,6 +3607,18 @@ public Map getKeyCclTime( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map getKeyCclTimeOrder( + String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map getKeyCclTimestr( String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3122,6 +3630,18 @@ public Map getKeyCclTimestr( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map getKeyCclTimestrOrder( + String key, String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getKeysCriteria( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -3133,6 +3653,18 @@ public Map> getKeysCrit com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getKeysCriteriaOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getKeysCcl( List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3144,6 +3676,18 @@ public Map> getKeysCcl( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getKeysCclOrder( + List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getKeysCriteriaTime( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -3155,6 +3699,18 @@ public Map> getKeysCrit com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getKeysCriteriaTimeOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getKeysCriteriaTimestr( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -3168,6 +3724,19 @@ public Map> getKeysCrit com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getKeysCriteriaTimestrOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getKeysCclTime( List keys, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3179,6 +3748,18 @@ public Map> getKeysCclT com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getKeysCclTimeOrder( + List keys, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Map> getKeysCclTimestr( List keys, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3190,6 +3771,18 @@ public Map> getKeysCclT com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Map> getKeysCclTimestrOrder( + List keys, String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public boolean verifyKeyValueRecord(String key, com.cinchapi.concourse.thrift.TObject value, long record, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3262,6 +3855,17 @@ public Set findCriteria( com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Set findCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Set findCcl(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -3272,6 +3876,17 @@ public Set findCcl(String ccl, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Set findCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Set findKeyOperatorValues(String key, com.cinchapi.concourse.thrift.Operator operator, List values, @@ -3283,6 +3898,18 @@ public Set findKeyOperatorValues(String key, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Set findKeyOperatorValuesOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Set findKeyOperatorValuesTime(String key, com.cinchapi.concourse.thrift.Operator operator, List values, @@ -3294,6 +3921,18 @@ public Set findKeyOperatorValuesTime(String key, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Set findKeyOperatorValuesTimeOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Set findKeyOperatorValuesTimestr(String key, com.cinchapi.concourse.thrift.Operator operator, List values, @@ -3307,6 +3946,19 @@ public Set findKeyOperatorValuesTimestr(String key, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Set findKeyOperatorValuesTimestrOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Set findKeyOperatorstrValues(String key, String operator, List values, com.cinchapi.concourse.thrift.AccessToken creds, @@ -3318,6 +3970,19 @@ public Set findKeyOperatorstrValues(String key, String operator, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Set findKeyOperatorstrValuesOrder(String key, + String operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Set findKeyOperatorstrValuesTime(String key, String operator, List values, @@ -3330,6 +3995,19 @@ public Set findKeyOperatorstrValuesTime(String key, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Set findKeyOperatorstrValuesTimeOrder(String key, + String operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Set findKeyOperatorstrValuesTimestr(String key, String operator, List values, @@ -3343,6 +4021,19 @@ public Set findKeyOperatorstrValuesTimestr(String key, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException; + public Set findKeyOperatorstrValuesTimestrOrder(String key, + String operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException; + public Set search(String key, String query, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5065,6 +5756,14 @@ public void selectRecords(List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectRecordsOrder(List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectRecordTime(long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5086,6 +5785,14 @@ public void selectRecordsTime(List records, long timestamp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectRecordsTimeOrder(List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectRecordsTimestr(List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5093,6 +5800,14 @@ public void selectRecordsTimestr(List records, String timestamp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectRecordsTimestrOrder(List records, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeyRecord(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5144,6 +5859,14 @@ public void selectKeysRecords(List keys, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeysRecordsOrder(List keys, + List records, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeyRecords(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5151,6 +5874,14 @@ public void selectKeyRecords(String key, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeyRecordsOrder(String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeyRecordsTime(String key, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5158,6 +5889,14 @@ public void selectKeyRecordsTime(String key, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeyRecordsTimeOrder(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeyRecordsTimestr(String key, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5166,6 +5905,14 @@ public void selectKeyRecordsTimestr(String key, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeyRecordsTimestrOrder(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeysRecordsTime(List keys, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5173,6 +5920,15 @@ public void selectKeysRecordsTime(List keys, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeysRecordsTimeOrder(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeysRecordsTimestr(List keys, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5181,6 +5937,15 @@ public void selectKeysRecordsTimestr(List keys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeysRecordsTimestrOrder(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectCriteria( com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5189,6 +5954,15 @@ public void selectCriteria( org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectCcl(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5196,6 +5970,14 @@ public void selectCcl(String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectCriteriaTime( com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5204,6 +5986,15 @@ public void selectCriteriaTime( org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectCriteriaTimeOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectCriteriaTimestr( com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -5213,6 +6004,15 @@ public void selectCriteriaTimestr( org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectCriteriaTimestrOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectCclTime(String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5220,6 +6020,14 @@ public void selectCclTime(String ccl, long timestamp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectCclTimeOrder(String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectCclTimestr(String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5227,6 +6035,14 @@ public void selectCclTimestr(String ccl, String timestamp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectCclTimestrOrder(String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeyCriteria(String key, com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5235,6 +6051,15 @@ public void selectKeyCriteria(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeyCriteriaOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeyCcl(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5242,6 +6067,14 @@ public void selectKeyCcl(String key, String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeyCclOrder(String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeyCriteriaTime(String key, com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5250,6 +6083,15 @@ public void selectKeyCriteriaTime(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeyCriteriaTimeOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeyCriteriaTimestr(String key, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -5259,6 +6101,15 @@ public void selectKeyCriteriaTimestr(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeyCriteriaTimestrOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeyCclTime(String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5266,6 +6117,14 @@ public void selectKeyCclTime(String key, String ccl, long timestamp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeyCclTimeOrder(String key, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeyCclTimestr(String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5274,6 +6133,14 @@ public void selectKeyCclTimestr(String key, String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeyCclTimestrOrder(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeysCriteria(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5282,6 +6149,15 @@ public void selectKeysCriteria(List keys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeysCriteriaOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeysCcl(List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5289,6 +6165,14 @@ public void selectKeysCcl(List keys, String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeysCclOrder(List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeysCriteriaTime(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5297,6 +6181,15 @@ public void selectKeysCriteriaTime(List keys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeysCriteriaTimeOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeysCriteriaTimestr(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -5306,6 +6199,15 @@ public void selectKeysCriteriaTimestr(List keys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeysCriteriaTimestrOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeysCclTime(List keys, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5313,6 +6215,14 @@ public void selectKeysCclTime(List keys, String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeysCclTimeOrder(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void selectKeysCclTimestr(List keys, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5321,6 +6231,14 @@ public void selectKeysCclTimestr(List keys, String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void selectKeysCclTimestrOrder(List keys, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeyRecord(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5372,6 +6290,14 @@ public void getKeysRecords(List keys, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeysRecordsOrder(List keys, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeyRecords(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5379,6 +6305,14 @@ public void getKeyRecords(String key, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeyRecordsOrder(String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeyRecordsTime(String key, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5386,6 +6320,14 @@ public void getKeyRecordsTime(String key, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeyRecordsTimeOrder(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeyRecordsTimestr(String key, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5394,6 +6336,14 @@ public void getKeyRecordsTimestr(String key, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeyRecordsTimestrOrder(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeysRecordsTime(List keys, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5401,6 +6351,15 @@ public void getKeysRecordsTime(List keys, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeysRecordsTimeOrder(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeysRecordsTimestr(List keys, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5409,6 +6368,15 @@ public void getKeysRecordsTimestr(List keys, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeysRecordsTimestrOrder(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeyCriteria(String key, com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5417,6 +6385,15 @@ public void getKeyCriteria(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeyCriteriaOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getCriteria( com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5425,6 +6402,15 @@ public void getCriteria( org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getCcl(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5432,6 +6418,14 @@ public void getCcl(String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getCriteriaTime( com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5440,6 +6434,15 @@ public void getCriteriaTime( org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getCriteriaTimeOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getCriteriaTimestr( com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -5449,6 +6452,15 @@ public void getCriteriaTimestr( org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getCriteriaTimestrOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getCclTime(String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5456,6 +6468,14 @@ public void getCclTime(String ccl, long timestamp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getCclTimeOrder(String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getCclTimestr(String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5463,6 +6483,14 @@ public void getCclTimestr(String ccl, String timestamp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getCclTimestrOrder(String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeyCcl(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5470,6 +6498,14 @@ public void getKeyCcl(String key, String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeyCclOrder(String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeyCriteriaTime(String key, com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5478,6 +6514,15 @@ public void getKeyCriteriaTime(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeyCriteriaTimeOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeyCriteriaTimestr(String key, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -5487,6 +6532,15 @@ public void getKeyCriteriaTimestr(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeyCriteriaTimestrOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeyCclTime(String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5494,6 +6548,14 @@ public void getKeyCclTime(String key, String ccl, long timestamp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeyCclTimeOrder(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeyCclTimestr(String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5501,6 +6563,14 @@ public void getKeyCclTimestr(String key, String ccl, String timestamp, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeyCclTimestrOrder(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeysCriteria(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5509,6 +6579,15 @@ public void getKeysCriteria(List keys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeysCriteriaOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeysCcl(List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5516,6 +6595,14 @@ public void getKeysCcl(List keys, String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeysCclOrder(List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeysCriteriaTime(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5524,6 +6611,15 @@ public void getKeysCriteriaTime(List keys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeysCriteriaTimeOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeysCriteriaTimestr(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -5533,6 +6629,15 @@ public void getKeysCriteriaTimestr(List keys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeysCriteriaTimestrOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeysCclTime(List keys, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5540,6 +6645,14 @@ public void getKeysCclTime(List keys, String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeysCclTimeOrder(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void getKeysCclTimestr(List keys, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5548,6 +6661,14 @@ public void getKeysCclTimestr(List keys, String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void getKeysCclTimestrOrder(List keys, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void verifyKeyValueRecord(String key, com.cinchapi.concourse.thrift.TObject value, long record, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5604,6 +6725,15 @@ public void findCriteria( org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void findCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void findCcl(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -5611,6 +6741,14 @@ public void findCcl(String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void findCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void findKeyOperatorValues(String key, com.cinchapi.concourse.thrift.Operator operator, List values, @@ -5620,6 +6758,16 @@ public void findKeyOperatorValues(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void findKeyOperatorValuesOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void findKeyOperatorValuesTime(String key, com.cinchapi.concourse.thrift.Operator operator, List values, @@ -5629,6 +6777,16 @@ public void findKeyOperatorValuesTime(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void findKeyOperatorValuesTimeOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void findKeyOperatorValuesTimestr(String key, com.cinchapi.concourse.thrift.Operator operator, List values, @@ -5639,6 +6797,16 @@ public void findKeyOperatorValuesTimestr(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void findKeyOperatorValuesTimestrOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void findKeyOperatorstrValues(String key, String operator, List values, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5647,6 +6815,15 @@ public void findKeyOperatorstrValues(String key, String operator, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void findKeyOperatorstrValuesOrder(String key, String operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void findKeyOperatorstrValuesTime(String key, String operator, List values, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -5655,6 +6832,16 @@ public void findKeyOperatorstrValuesTime(String key, String operator, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void findKeyOperatorstrValuesTimeOrder(String key, + String operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void findKeyOperatorstrValuesTimestr(String key, String operator, List values, String timestamp, @@ -5664,6 +6851,16 @@ public void findKeyOperatorstrValuesTimestr(String key, String operator, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void findKeyOperatorstrValuesTimestrOrder(String key, + String operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException; + public void search(String key, String query, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -10128,6 +11325,58 @@ public Map>> recv_s "selectRecords failed: unknown result"); } + public Map>> selectRecordsOrder( + List records, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectRecordsOrder(records, order, creds, transaction, + environment); + return recv_selectRecordsOrder(); + } + + public void send_selectRecordsOrder(List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectRecordsOrder_args args = new selectRecordsOrder_args(); + args.setRecords(records); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectRecordsOrder", args); + } + + public Map>> recv_selectRecordsOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectRecordsOrder_result result = new selectRecordsOrder_result(); + receiveBase(result, "selectRecordsOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectRecordsOrder failed: unknown result"); + } + public Map> selectRecordTime( long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -10286,6 +11535,60 @@ public Map>> recv_s "selectRecordsTime failed: unknown result"); } + public Map>> selectRecordsTimeOrder( + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectRecordsTimeOrder(records, timestamp, order, creds, + transaction, environment); + return recv_selectRecordsTimeOrder(); + } + + public void send_selectRecordsTimeOrder(List records, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectRecordsTimeOrder_args args = new selectRecordsTimeOrder_args(); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectRecordsTimeOrder", args); + } + + public Map>> recv_selectRecordsTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectRecordsTimeOrder_result result = new selectRecordsTimeOrder_result(); + receiveBase(result, "selectRecordsTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectRecordsTimeOrder failed: unknown result"); + } + public Map>> selectRecordsTimestr( List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -10343,6 +11646,65 @@ public Map>> recv_s "selectRecordsTimestr failed: unknown result"); } + public Map>> selectRecordsTimestrOrder( + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectRecordsTimestrOrder(records, timestamp, order, creds, + transaction, environment); + return recv_selectRecordsTimestrOrder(); + } + + public void send_selectRecordsTimestrOrder(List records, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectRecordsTimestrOrder_args args = new selectRecordsTimestrOrder_args(); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectRecordsTimestrOrder", args); + } + + public Map>> recv_selectRecordsTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectRecordsTimestrOrder_result result = new selectRecordsTimestrOrder_result(); + receiveBase(result, "selectRecordsTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectRecordsTimestrOrder failed: unknown result"); + } + public Set selectKeyRecord( String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, @@ -10716,6 +12078,60 @@ public Map>> recv_s "selectKeysRecords failed: unknown result"); } + public Map>> selectKeysRecordsOrder( + List keys, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeysRecordsOrder(keys, records, order, creds, + transaction, environment); + return recv_selectKeysRecordsOrder(); + } + + public void send_selectKeysRecordsOrder(List keys, + List records, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeysRecordsOrder_args args = new selectKeysRecordsOrder_args(); + args.setKeys(keys); + args.setRecords(records); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeysRecordsOrder", args); + } + + public Map>> recv_selectKeysRecordsOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeysRecordsOrder_result result = new selectKeysRecordsOrder_result(); + receiveBase(result, "selectKeysRecordsOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeysRecordsOrder failed: unknown result"); + } + public Map> selectKeyRecords( String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, @@ -10767,6 +12183,60 @@ public Map> recv_selectKeyRecor "selectKeyRecords failed: unknown result"); } + public Map> selectKeyRecordsOrder( + String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeyRecordsOrder(key, records, order, creds, transaction, + environment); + return recv_selectKeyRecordsOrder(); + } + + public void send_selectKeyRecordsOrder(String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeyRecordsOrder_args args = new selectKeyRecordsOrder_args(); + args.setKey(key); + args.setRecords(records); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeyRecordsOrder", args); + } + + public Map> recv_selectKeyRecordsOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeyRecordsOrder_result result = new selectKeyRecordsOrder_result(); + receiveBase(result, "selectKeyRecordsOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeyRecordsOrder failed: unknown result"); + } + public Map> selectKeyRecordsTime( String key, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -10819,6 +12289,62 @@ public Map> recv_selectKeyRecor "selectKeyRecordsTime failed: unknown result"); } + public Map> selectKeyRecordsTimeOrder( + String key, List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeyRecordsTimeOrder(key, records, timestamp, order, + creds, transaction, environment); + return recv_selectKeyRecordsTimeOrder(); + } + + public void send_selectKeyRecordsTimeOrder(String key, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeyRecordsTimeOrder_args args = new selectKeyRecordsTimeOrder_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeyRecordsTimeOrder", args); + } + + public Map> recv_selectKeyRecordsTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeyRecordsTimeOrder_result result = new selectKeyRecordsTimeOrder_result(); + receiveBase(result, "selectKeyRecordsTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeyRecordsTimeOrder failed: unknown result"); + } + public Map> selectKeyRecordsTimestr( String key, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -10877,6 +12403,67 @@ public Map> recv_selectKeyRecor "selectKeyRecordsTimestr failed: unknown result"); } + public Map> selectKeyRecordsTimestrOrder( + String key, List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeyRecordsTimestrOrder(key, records, timestamp, order, + creds, transaction, environment); + return recv_selectKeyRecordsTimestrOrder(); + } + + public void send_selectKeyRecordsTimestrOrder(String key, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeyRecordsTimestrOrder_args args = new selectKeyRecordsTimestrOrder_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeyRecordsTimestrOrder", args); + } + + public Map> recv_selectKeyRecordsTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeyRecordsTimestrOrder_result result = new selectKeyRecordsTimestrOrder_result(); + receiveBase(result, "selectKeyRecordsTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeyRecordsTimestrOrder failed: unknown result"); + } + public Map>> selectKeysRecordsTime( List keys, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -10930,6 +12517,62 @@ public Map>> recv_s "selectKeysRecordsTime failed: unknown result"); } + public Map>> selectKeysRecordsTimeOrder( + List keys, List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeysRecordsTimeOrder(keys, records, timestamp, order, + creds, transaction, environment); + return recv_selectKeysRecordsTimeOrder(); + } + + public void send_selectKeysRecordsTimeOrder(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeysRecordsTimeOrder_args args = new selectKeysRecordsTimeOrder_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeysRecordsTimeOrder", args); + } + + public Map>> recv_selectKeysRecordsTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeysRecordsTimeOrder_result result = new selectKeysRecordsTimeOrder_result(); + receiveBase(result, "selectKeysRecordsTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeysRecordsTimeOrder failed: unknown result"); + } + public Map>> selectKeysRecordsTimestr( List keys, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -10988,6 +12631,67 @@ public Map>> recv_s "selectKeysRecordsTimestr failed: unknown result"); } + public Map>> selectKeysRecordsTimestrOrder( + List keys, List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeysRecordsTimestrOrder(keys, records, timestamp, order, + creds, transaction, environment); + return recv_selectKeysRecordsTimestrOrder(); + } + + public void send_selectKeysRecordsTimestrOrder(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeysRecordsTimestrOrder_args args = new selectKeysRecordsTimestrOrder_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeysRecordsTimestrOrder", args); + } + + public Map>> recv_selectKeysRecordsTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeysRecordsTimestrOrder_result result = new selectKeysRecordsTimestrOrder_result(); + receiveBase(result, "selectKeysRecordsTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeysRecordsTimestrOrder failed: unknown result"); + } + public Map>> selectCriteria( com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11038,6 +12742,60 @@ public Map>> recv_s "selectCriteria failed: unknown result"); } + public Map>> selectCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectCriteriaOrder(criteria, order, creds, transaction, + environment); + return recv_selectCriteriaOrder(); + } + + public void send_selectCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectCriteriaOrder_args args = new selectCriteriaOrder_args(); + args.setCriteria(criteria); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectCriteriaOrder", args); + } + + public Map>> recv_selectCriteriaOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectCriteriaOrder_result result = new selectCriteriaOrder_result(); + receiveBase(result, "selectCriteriaOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectCriteriaOrder failed: unknown result"); + } + public Map>> selectCcl( String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -11091,6 +12849,62 @@ public Map>> recv_s "selectCcl failed: unknown result"); } + public Map>> selectCclOrder( + String ccl, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectCclOrder(ccl, order, creds, transaction, environment); + return recv_selectCclOrder(); + } + + public void send_selectCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectCclOrder_args args = new selectCclOrder_args(); + args.setCcl(ccl); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectCclOrder", args); + } + + public Map>> recv_selectCclOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectCclOrder_result result = new selectCclOrder_result(); + receiveBase(result, "selectCclOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectCclOrder failed: unknown result"); + } + public Map>> selectCriteriaTime( com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11143,6 +12957,61 @@ public Map>> recv_s "selectCriteriaTime failed: unknown result"); } + public Map>> selectCriteriaTimeOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectCriteriaTimeOrder(criteria, timestamp, order, creds, + transaction, environment); + return recv_selectCriteriaTimeOrder(); + } + + public void send_selectCriteriaTimeOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectCriteriaTimeOrder_args args = new selectCriteriaTimeOrder_args(); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectCriteriaTimeOrder", args); + } + + public Map>> recv_selectCriteriaTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectCriteriaTimeOrder_result result = new selectCriteriaTimeOrder_result(); + receiveBase(result, "selectCriteriaTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectCriteriaTimeOrder failed: unknown result"); + } + public Map>> selectCriteriaTimestr( com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -11202,6 +13071,66 @@ public Map>> recv_s "selectCriteriaTimestr failed: unknown result"); } + public Map>> selectCriteriaTimestrOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectCriteriaTimestrOrder(criteria, timestamp, order, creds, + transaction, environment); + return recv_selectCriteriaTimestrOrder(); + } + + public void send_selectCriteriaTimestrOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectCriteriaTimestrOrder_args args = new selectCriteriaTimestrOrder_args(); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectCriteriaTimestrOrder", args); + } + + public Map>> recv_selectCriteriaTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectCriteriaTimestrOrder_result result = new selectCriteriaTimestrOrder_result(); + receiveBase(result, "selectCriteriaTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectCriteriaTimestrOrder failed: unknown result"); + } + public Map>> selectCclTime( String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11257,6 +13186,65 @@ public Map>> recv_s "selectCclTime failed: unknown result"); } + public Map>> selectCclTimeOrder( + String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectCclTimeOrder(ccl, timestamp, order, creds, transaction, + environment); + return recv_selectCclTimeOrder(); + } + + public void send_selectCclTimeOrder(String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectCclTimeOrder_args args = new selectCclTimeOrder_args(); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectCclTimeOrder", args); + } + + public Map>> recv_selectCclTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectCclTimeOrder_result result = new selectCclTimeOrder_result(); + receiveBase(result, "selectCclTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectCclTimeOrder failed: unknown result"); + } + public Map>> selectCclTimestr( String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11313,6 +13301,65 @@ public Map>> recv_s "selectCclTimestr failed: unknown result"); } + public Map>> selectCclTimestrOrder( + String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectCclTimestrOrder(ccl, timestamp, order, creds, + transaction, environment); + return recv_selectCclTimestrOrder(); + } + + public void send_selectCclTimestrOrder(String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectCclTimestrOrder_args args = new selectCclTimestrOrder_args(); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectCclTimestrOrder", args); + } + + public Map>> recv_selectCclTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectCclTimestrOrder_result result = new selectCclTimestrOrder_result(); + receiveBase(result, "selectCclTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectCclTimestrOrder failed: unknown result"); + } + public Map> selectKeyCriteria( String key, com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11365,6 +13412,61 @@ public Map> recv_selectKeyCrite "selectKeyCriteria failed: unknown result"); } + public Map> selectKeyCriteriaOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeyCriteriaOrder(key, criteria, order, creds, + transaction, environment); + return recv_selectKeyCriteriaOrder(); + } + + public void send_selectKeyCriteriaOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeyCriteriaOrder_args args = new selectKeyCriteriaOrder_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeyCriteriaOrder", args); + } + + public Map> recv_selectKeyCriteriaOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeyCriteriaOrder_result result = new selectKeyCriteriaOrder_result(); + receiveBase(result, "selectKeyCriteriaOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeyCriteriaOrder failed: unknown result"); + } + public Map> selectKeyCcl( String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11420,6 +13522,65 @@ public Map> recv_selectKeyCcl() "selectKeyCcl failed: unknown result"); } + public Map> selectKeyCclOrder( + String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeyCclOrder(key, ccl, order, creds, transaction, + environment); + return recv_selectKeyCclOrder(); + } + + public void send_selectKeyCclOrder(String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeyCclOrder_args args = new selectKeyCclOrder_args(); + args.setKey(key); + args.setCcl(ccl); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeyCclOrder", args); + } + + public Map> recv_selectKeyCclOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeyCclOrder_result result = new selectKeyCclOrder_result(); + receiveBase(result, "selectKeyCclOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeyCclOrder failed: unknown result"); + } + public Map> selectKeyCriteriaTime( String key, com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11473,6 +13634,62 @@ public Map> recv_selectKeyCrite "selectKeyCriteriaTime failed: unknown result"); } + public Map> selectKeyCriteriaTimeOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeyCriteriaTimeOrder(key, criteria, timestamp, order, + creds, transaction, environment); + return recv_selectKeyCriteriaTimeOrder(); + } + + public void send_selectKeyCriteriaTimeOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeyCriteriaTimeOrder_args args = new selectKeyCriteriaTimeOrder_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeyCriteriaTimeOrder", args); + } + + public Map> recv_selectKeyCriteriaTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeyCriteriaTimeOrder_result result = new selectKeyCriteriaTimeOrder_result(); + receiveBase(result, "selectKeyCriteriaTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeyCriteriaTimeOrder failed: unknown result"); + } + public Map> selectKeyCriteriaTimestr( String key, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -11533,6 +13750,67 @@ public Map> recv_selectKeyCrite "selectKeyCriteriaTimestr failed: unknown result"); } + public Map> selectKeyCriteriaTimestrOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeyCriteriaTimestrOrder(key, criteria, timestamp, order, + creds, transaction, environment); + return recv_selectKeyCriteriaTimestrOrder(); + } + + public void send_selectKeyCriteriaTimestrOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeyCriteriaTimestrOrder_args args = new selectKeyCriteriaTimestrOrder_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeyCriteriaTimestrOrder", args); + } + + public Map> recv_selectKeyCriteriaTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeyCriteriaTimestrOrder_result result = new selectKeyCriteriaTimestrOrder_result(); + receiveBase(result, "selectKeyCriteriaTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeyCriteriaTimestrOrder failed: unknown result"); + } + public Map> selectKeyCclTime( String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11590,6 +13868,66 @@ public Map> recv_selectKeyCclTi "selectKeyCclTime failed: unknown result"); } + public Map> selectKeyCclTimeOrder( + String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeyCclTimeOrder(key, ccl, timestamp, order, creds, + transaction, environment); + return recv_selectKeyCclTimeOrder(); + } + + public void send_selectKeyCclTimeOrder(String key, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeyCclTimeOrder_args args = new selectKeyCclTimeOrder_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeyCclTimeOrder", args); + } + + public Map> recv_selectKeyCclTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeyCclTimeOrder_result result = new selectKeyCclTimeOrder_result(); + receiveBase(result, "selectKeyCclTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeyCclTimeOrder failed: unknown result"); + } + public Map> selectKeyCclTimestr( String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11648,6 +13986,66 @@ public Map> recv_selectKeyCclTi "selectKeyCclTimestr failed: unknown result"); } + public Map> selectKeyCclTimestrOrder( + String key, String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeyCclTimestrOrder(key, ccl, timestamp, order, creds, + transaction, environment); + return recv_selectKeyCclTimestrOrder(); + } + + public void send_selectKeyCclTimestrOrder(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeyCclTimestrOrder_args args = new selectKeyCclTimestrOrder_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeyCclTimestrOrder", args); + } + + public Map> recv_selectKeyCclTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeyCclTimestrOrder_result result = new selectKeyCclTimestrOrder_result(); + receiveBase(result, "selectKeyCclTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeyCclTimestrOrder failed: unknown result"); + } + public Map>> selectKeysCriteria( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -11701,6 +14099,62 @@ public Map>> recv_s "selectKeysCriteria failed: unknown result"); } + public Map>> selectKeysCriteriaOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeysCriteriaOrder(keys, criteria, order, creds, + transaction, environment); + return recv_selectKeysCriteriaOrder(); + } + + public void send_selectKeysCriteriaOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeysCriteriaOrder_args args = new selectKeysCriteriaOrder_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeysCriteriaOrder", args); + } + + public Map>> recv_selectKeysCriteriaOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeysCriteriaOrder_result result = new selectKeysCriteriaOrder_result(); + receiveBase(result, "selectKeysCriteriaOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeysCriteriaOrder failed: unknown result"); + } + public Map>> selectKeysCcl( List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11756,6 +14210,65 @@ public Map>> recv_s "selectKeysCcl failed: unknown result"); } + public Map>> selectKeysCclOrder( + List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeysCclOrder(keys, ccl, order, creds, transaction, + environment); + return recv_selectKeysCclOrder(); + } + + public void send_selectKeysCclOrder(List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeysCclOrder_args args = new selectKeysCclOrder_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeysCclOrder", args); + } + + public Map>> recv_selectKeysCclOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeysCclOrder_result result = new selectKeysCclOrder_result(); + receiveBase(result, "selectKeysCclOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeysCclOrder failed: unknown result"); + } + public Map>> selectKeysCriteriaTime( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -11810,6 +14323,63 @@ public Map>> recv_s "selectKeysCriteriaTime failed: unknown result"); } + public Map>> selectKeysCriteriaTimeOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeysCriteriaTimeOrder(keys, criteria, timestamp, order, + creds, transaction, environment); + return recv_selectKeysCriteriaTimeOrder(); + } + + public void send_selectKeysCriteriaTimeOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeysCriteriaTimeOrder_args args = new selectKeysCriteriaTimeOrder_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeysCriteriaTimeOrder", args); + } + + public Map>> recv_selectKeysCriteriaTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeysCriteriaTimeOrder_result result = new selectKeysCriteriaTimeOrder_result(); + receiveBase(result, "selectKeysCriteriaTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeysCriteriaTimeOrder failed: unknown result"); + } + public Map>> selectKeysCriteriaTimestr( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -11871,6 +14441,68 @@ public Map>> recv_s "selectKeysCriteriaTimestr failed: unknown result"); } + public Map>> selectKeysCriteriaTimestrOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeysCriteriaTimestrOrder(keys, criteria, timestamp, + order, creds, transaction, environment); + return recv_selectKeysCriteriaTimestrOrder(); + } + + public void send_selectKeysCriteriaTimestrOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeysCriteriaTimestrOrder_args args = new selectKeysCriteriaTimestrOrder_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeysCriteriaTimestrOrder", args); + } + + public Map>> recv_selectKeysCriteriaTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeysCriteriaTimestrOrder_result result = new selectKeysCriteriaTimestrOrder_result(); + receiveBase(result, "selectKeysCriteriaTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeysCriteriaTimestrOrder failed: unknown result"); + } + public Map>> selectKeysCclTime( List keys, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11928,6 +14560,66 @@ public Map>> recv_s "selectKeysCclTime failed: unknown result"); } + public Map>> selectKeysCclTimeOrder( + List keys, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeysCclTimeOrder(keys, ccl, timestamp, order, creds, + transaction, environment); + return recv_selectKeysCclTimeOrder(); + } + + public void send_selectKeysCclTimeOrder(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeysCclTimeOrder_args args = new selectKeysCclTimeOrder_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeysCclTimeOrder", args); + } + + public Map>> recv_selectKeysCclTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeysCclTimeOrder_result result = new selectKeysCclTimeOrder_result(); + receiveBase(result, "selectKeysCclTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeysCclTimeOrder failed: unknown result"); + } + public Map>> selectKeysCclTimestr( List keys, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -11986,6 +14678,67 @@ public Map>> recv_s "selectKeysCclTimestr failed: unknown result"); } + public Map>> selectKeysCclTimestrOrder( + List keys, String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_selectKeysCclTimestrOrder(keys, ccl, timestamp, order, creds, + transaction, environment); + return recv_selectKeysCclTimestrOrder(); + } + + public void send_selectKeysCclTimestrOrder(List keys, + String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + selectKeysCclTimestrOrder_args args = new selectKeysCclTimestrOrder_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("selectKeysCclTimestrOrder", args); + } + + public Map>> recv_selectKeysCclTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + selectKeysCclTimestrOrder_result result = new selectKeysCclTimestrOrder_result(); + receiveBase(result, "selectKeysCclTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "selectKeysCclTimestrOrder failed: unknown result"); + } + public com.cinchapi.concourse.thrift.TObject getKeyRecord(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -12355,6 +15108,60 @@ public Map> recv_getKey "getKeysRecords failed: unknown result"); } + public Map> getKeysRecordsOrder( + List keys, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeysRecordsOrder(keys, records, order, creds, transaction, + environment); + return recv_getKeysRecordsOrder(); + } + + public void send_getKeysRecordsOrder(List keys, + List records, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeysRecordsOrder_args args = new getKeysRecordsOrder_args(); + args.setKeys(keys); + args.setRecords(records); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeysRecordsOrder", args); + } + + public Map> recv_getKeysRecordsOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeysRecordsOrder_result result = new getKeysRecordsOrder_result(); + receiveBase(result, "getKeysRecordsOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeysRecordsOrder failed: unknown result"); + } + public Map getKeyRecords( String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, @@ -12405,6 +15212,60 @@ public Map recv_getKeyRecords() "getKeyRecords failed: unknown result"); } + public Map getKeyRecordsOrder( + String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeyRecordsOrder(key, records, order, creds, transaction, + environment); + return recv_getKeyRecordsOrder(); + } + + public void send_getKeyRecordsOrder(String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeyRecordsOrder_args args = new getKeyRecordsOrder_args(); + args.setKey(key); + args.setRecords(records); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeyRecordsOrder", args); + } + + public Map recv_getKeyRecordsOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeyRecordsOrder_result result = new getKeyRecordsOrder_result(); + receiveBase(result, "getKeyRecordsOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeyRecordsOrder failed: unknown result"); + } + public Map getKeyRecordsTime( String key, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -12457,6 +15318,61 @@ public Map recv_getKeyRecordsTime() "getKeyRecordsTime failed: unknown result"); } + public Map getKeyRecordsTimeOrder( + String key, List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeyRecordsTimeOrder(key, records, timestamp, order, creds, + transaction, environment); + return recv_getKeyRecordsTimeOrder(); + } + + public void send_getKeyRecordsTimeOrder(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeyRecordsTimeOrder_args args = new getKeyRecordsTimeOrder_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeyRecordsTimeOrder", args); + } + + public Map recv_getKeyRecordsTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeyRecordsTimeOrder_result result = new getKeyRecordsTimeOrder_result(); + receiveBase(result, "getKeyRecordsTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeyRecordsTimeOrder failed: unknown result"); + } + public Map getKeyRecordsTimestr( String key, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -12515,6 +15431,67 @@ public Map recv_getKeyRecordsTimest "getKeyRecordsTimestr failed: unknown result"); } + public Map getKeyRecordsTimestrOrder( + String key, List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeyRecordsTimestrOrder(key, records, timestamp, order, + creds, transaction, environment); + return recv_getKeyRecordsTimestrOrder(); + } + + public void send_getKeyRecordsTimestrOrder(String key, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeyRecordsTimestrOrder_args args = new getKeyRecordsTimestrOrder_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeyRecordsTimestrOrder", args); + } + + public Map recv_getKeyRecordsTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeyRecordsTimestrOrder_result result = new getKeyRecordsTimestrOrder_result(); + receiveBase(result, "getKeyRecordsTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeyRecordsTimestrOrder failed: unknown result"); + } + public Map> getKeysRecordsTime( List keys, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -12568,6 +15545,62 @@ public Map> recv_getKey "getKeysRecordsTime failed: unknown result"); } + public Map> getKeysRecordsTimeOrder( + List keys, List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeysRecordsTimeOrder(keys, records, timestamp, order, creds, + transaction, environment); + return recv_getKeysRecordsTimeOrder(); + } + + public void send_getKeysRecordsTimeOrder(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeysRecordsTimeOrder_args args = new getKeysRecordsTimeOrder_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeysRecordsTimeOrder", args); + } + + public Map> recv_getKeysRecordsTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeysRecordsTimeOrder_result result = new getKeysRecordsTimeOrder_result(); + receiveBase(result, "getKeysRecordsTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeysRecordsTimeOrder failed: unknown result"); + } + public Map> getKeysRecordsTimestr( List keys, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -12626,6 +15659,67 @@ public Map> recv_getKey "getKeysRecordsTimestr failed: unknown result"); } + public Map> getKeysRecordsTimestrOrder( + List keys, List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeysRecordsTimestrOrder(keys, records, timestamp, order, + creds, transaction, environment); + return recv_getKeysRecordsTimestrOrder(); + } + + public void send_getKeysRecordsTimestrOrder(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeysRecordsTimestrOrder_args args = new getKeysRecordsTimestrOrder_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeysRecordsTimestrOrder", args); + } + + public Map> recv_getKeysRecordsTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeysRecordsTimestrOrder_result result = new getKeysRecordsTimestrOrder_result(); + receiveBase(result, "getKeysRecordsTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeysRecordsTimestrOrder failed: unknown result"); + } + public Map getKeyCriteria( String key, com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -12677,6 +15771,61 @@ public Map recv_getKeyCriteria() "getKeyCriteria failed: unknown result"); } + public Map getKeyCriteriaOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeyCriteriaOrder(key, criteria, order, creds, transaction, + environment); + return recv_getKeyCriteriaOrder(); + } + + public void send_getKeyCriteriaOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeyCriteriaOrder_args args = new getKeyCriteriaOrder_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeyCriteriaOrder", args); + } + + public Map recv_getKeyCriteriaOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeyCriteriaOrder_result result = new getKeyCriteriaOrder_result(); + receiveBase(result, "getKeyCriteriaOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeyCriteriaOrder failed: unknown result"); + } + public Map> getCriteria( com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, @@ -12727,6 +15876,60 @@ public Map> recv_getCri "getCriteria failed: unknown result"); } + public Map> getCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getCriteriaOrder(criteria, order, creds, transaction, + environment); + return recv_getCriteriaOrder(); + } + + public void send_getCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getCriteriaOrder_args args = new getCriteriaOrder_args(); + args.setCriteria(criteria); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getCriteriaOrder", args); + } + + public Map> recv_getCriteriaOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getCriteriaOrder_result result = new getCriteriaOrder_result(); + receiveBase(result, "getCriteriaOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getCriteriaOrder failed: unknown result"); + } + public Map> getCcl( String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -12780,6 +15983,62 @@ public Map> recv_getCcl "getCcl failed: unknown result"); } + public Map> getCclOrder( + String ccl, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getCclOrder(ccl, order, creds, transaction, environment); + return recv_getCclOrder(); + } + + public void send_getCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getCclOrder_args args = new getCclOrder_args(); + args.setCcl(ccl); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getCclOrder", args); + } + + public Map> recv_getCclOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getCclOrder_result result = new getCclOrder_result(); + receiveBase(result, "getCclOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getCclOrder failed: unknown result"); + } + public Map> getCriteriaTime( com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -12832,6 +16091,61 @@ public Map> recv_getCri "getCriteriaTime failed: unknown result"); } + public Map> getCriteriaTimeOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getCriteriaTimeOrder(criteria, timestamp, order, creds, + transaction, environment); + return recv_getCriteriaTimeOrder(); + } + + public void send_getCriteriaTimeOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getCriteriaTimeOrder_args args = new getCriteriaTimeOrder_args(); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getCriteriaTimeOrder", args); + } + + public Map> recv_getCriteriaTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getCriteriaTimeOrder_result result = new getCriteriaTimeOrder_result(); + receiveBase(result, "getCriteriaTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getCriteriaTimeOrder failed: unknown result"); + } + public Map> getCriteriaTimestr( com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -12891,6 +16205,66 @@ public Map> recv_getCri "getCriteriaTimestr failed: unknown result"); } + public Map> getCriteriaTimestrOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getCriteriaTimestrOrder(criteria, timestamp, order, creds, + transaction, environment); + return recv_getCriteriaTimestrOrder(); + } + + public void send_getCriteriaTimestrOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getCriteriaTimestrOrder_args args = new getCriteriaTimestrOrder_args(); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getCriteriaTimestrOrder", args); + } + + public Map> recv_getCriteriaTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getCriteriaTimestrOrder_result result = new getCriteriaTimestrOrder_result(); + receiveBase(result, "getCriteriaTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getCriteriaTimestrOrder failed: unknown result"); + } + public Map> getCclTime( String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -12946,6 +16320,65 @@ public Map> recv_getCcl "getCclTime failed: unknown result"); } + public Map> getCclTimeOrder( + String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getCclTimeOrder(ccl, timestamp, order, creds, transaction, + environment); + return recv_getCclTimeOrder(); + } + + public void send_getCclTimeOrder(String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getCclTimeOrder_args args = new getCclTimeOrder_args(); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getCclTimeOrder", args); + } + + public Map> recv_getCclTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getCclTimeOrder_result result = new getCclTimeOrder_result(); + receiveBase(result, "getCclTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getCclTimeOrder failed: unknown result"); + } + public Map> getCclTimestr( String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -13001,6 +16434,65 @@ public Map> recv_getCcl "getCclTimestr failed: unknown result"); } + public Map> getCclTimestrOrder( + String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getCclTimestrOrder(ccl, timestamp, order, creds, transaction, + environment); + return recv_getCclTimestrOrder(); + } + + public void send_getCclTimestrOrder(String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getCclTimestrOrder_args args = new getCclTimestrOrder_args(); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getCclTimestrOrder", args); + } + + public Map> recv_getCclTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getCclTimestrOrder_result result = new getCclTimestrOrder_result(); + receiveBase(result, "getCclTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getCclTimestrOrder failed: unknown result"); + } + public Map getKeyCcl( String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, @@ -13056,6 +16548,65 @@ public Map recv_getKeyCcl() "getKeyCcl failed: unknown result"); } + public Map getKeyCclOrder( + String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeyCclOrder(key, ccl, order, creds, transaction, + environment); + return recv_getKeyCclOrder(); + } + + public void send_getKeyCclOrder(String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeyCclOrder_args args = new getKeyCclOrder_args(); + args.setKey(key); + args.setCcl(ccl); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeyCclOrder", args); + } + + public Map recv_getKeyCclOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeyCclOrder_result result = new getKeyCclOrder_result(); + receiveBase(result, "getKeyCclOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeyCclOrder failed: unknown result"); + } + public Map getKeyCriteriaTime( String key, com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -13109,6 +16660,62 @@ public Map recv_getKeyCriteriaTime( "getKeyCriteriaTime failed: unknown result"); } + public Map getKeyCriteriaTimeOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeyCriteriaTimeOrder(key, criteria, timestamp, order, creds, + transaction, environment); + return recv_getKeyCriteriaTimeOrder(); + } + + public void send_getKeyCriteriaTimeOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeyCriteriaTimeOrder_args args = new getKeyCriteriaTimeOrder_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeyCriteriaTimeOrder", args); + } + + public Map recv_getKeyCriteriaTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeyCriteriaTimeOrder_result result = new getKeyCriteriaTimeOrder_result(); + receiveBase(result, "getKeyCriteriaTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeyCriteriaTimeOrder failed: unknown result"); + } + public Map getKeyCriteriaTimestr( String key, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, @@ -13169,6 +16776,67 @@ public Map recv_getKeyCriteriaTimes "getKeyCriteriaTimestr failed: unknown result"); } + public Map getKeyCriteriaTimestrOrder( + String key, com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeyCriteriaTimestrOrder(key, criteria, timestamp, order, + creds, transaction, environment); + return recv_getKeyCriteriaTimestrOrder(); + } + + public void send_getKeyCriteriaTimestrOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeyCriteriaTimestrOrder_args args = new getKeyCriteriaTimestrOrder_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeyCriteriaTimestrOrder", args); + } + + public Map recv_getKeyCriteriaTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeyCriteriaTimestrOrder_result result = new getKeyCriteriaTimestrOrder_result(); + receiveBase(result, "getKeyCriteriaTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeyCriteriaTimestrOrder failed: unknown result"); + } + public Map getKeyCclTime( String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -13226,6 +16894,66 @@ public Map recv_getKeyCclTime() "getKeyCclTime failed: unknown result"); } + public Map getKeyCclTimeOrder( + String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeyCclTimeOrder(key, ccl, timestamp, order, creds, + transaction, environment); + return recv_getKeyCclTimeOrder(); + } + + public void send_getKeyCclTimeOrder(String key, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeyCclTimeOrder_args args = new getKeyCclTimeOrder_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeyCclTimeOrder", args); + } + + public Map recv_getKeyCclTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeyCclTimeOrder_result result = new getKeyCclTimeOrder_result(); + receiveBase(result, "getKeyCclTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeyCclTimeOrder failed: unknown result"); + } + public Map getKeyCclTimestr( String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -13284,6 +17012,66 @@ public Map recv_getKeyCclTimestr() "getKeyCclTimestr failed: unknown result"); } + public Map getKeyCclTimestrOrder( + String key, String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeyCclTimestrOrder(key, ccl, timestamp, order, creds, + transaction, environment); + return recv_getKeyCclTimestrOrder(); + } + + public void send_getKeyCclTimestrOrder(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeyCclTimestrOrder_args args = new getKeyCclTimestrOrder_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeyCclTimestrOrder", args); + } + + public Map recv_getKeyCclTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeyCclTimestrOrder_result result = new getKeyCclTimestrOrder_result(); + receiveBase(result, "getKeyCclTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeyCclTimestrOrder failed: unknown result"); + } + public Map> getKeysCriteria( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -13337,6 +17125,62 @@ public Map> recv_getKey "getKeysCriteria failed: unknown result"); } + public Map> getKeysCriteriaOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeysCriteriaOrder(keys, criteria, order, creds, transaction, + environment); + return recv_getKeysCriteriaOrder(); + } + + public void send_getKeysCriteriaOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeysCriteriaOrder_args args = new getKeysCriteriaOrder_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeysCriteriaOrder", args); + } + + public Map> recv_getKeysCriteriaOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeysCriteriaOrder_result result = new getKeysCriteriaOrder_result(); + receiveBase(result, "getKeysCriteriaOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeysCriteriaOrder failed: unknown result"); + } + public Map> getKeysCcl( List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, @@ -13392,6 +17236,65 @@ public Map> recv_getKey "getKeysCcl failed: unknown result"); } + public Map> getKeysCclOrder( + List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeysCclOrder(keys, ccl, order, creds, transaction, + environment); + return recv_getKeysCclOrder(); + } + + public void send_getKeysCclOrder(List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeysCclOrder_args args = new getKeysCclOrder_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeysCclOrder", args); + } + + public Map> recv_getKeysCclOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeysCclOrder_result result = new getKeysCclOrder_result(); + receiveBase(result, "getKeysCclOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeysCclOrder failed: unknown result"); + } + public Map> getKeysCriteriaTime( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -13446,6 +17349,63 @@ public Map> recv_getKey "getKeysCriteriaTime failed: unknown result"); } + public Map> getKeysCriteriaTimeOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeysCriteriaTimeOrder(keys, criteria, timestamp, order, + creds, transaction, environment); + return recv_getKeysCriteriaTimeOrder(); + } + + public void send_getKeysCriteriaTimeOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeysCriteriaTimeOrder_args args = new getKeysCriteriaTimeOrder_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeysCriteriaTimeOrder", args); + } + + public Map> recv_getKeysCriteriaTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeysCriteriaTimeOrder_result result = new getKeysCriteriaTimeOrder_result(); + receiveBase(result, "getKeysCriteriaTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeysCriteriaTimeOrder failed: unknown result"); + } + public Map> getKeysCriteriaTimestr( List keys, com.cinchapi.concourse.thrift.TCriteria criteria, @@ -13507,6 +17467,68 @@ public Map> recv_getKey "getKeysCriteriaTimestr failed: unknown result"); } + public Map> getKeysCriteriaTimestrOrder( + List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeysCriteriaTimestrOrder(keys, criteria, timestamp, order, + creds, transaction, environment); + return recv_getKeysCriteriaTimestrOrder(); + } + + public void send_getKeysCriteriaTimestrOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeysCriteriaTimestrOrder_args args = new getKeysCriteriaTimestrOrder_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeysCriteriaTimestrOrder", args); + } + + public Map> recv_getKeysCriteriaTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeysCriteriaTimestrOrder_result result = new getKeysCriteriaTimestrOrder_result(); + receiveBase(result, "getKeysCriteriaTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeysCriteriaTimestrOrder failed: unknown result"); + } + public Map> getKeysCclTime( List keys, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -13564,6 +17586,66 @@ public Map> recv_getKey "getKeysCclTime failed: unknown result"); } + public Map> getKeysCclTimeOrder( + List keys, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeysCclTimeOrder(keys, ccl, timestamp, order, creds, + transaction, environment); + return recv_getKeysCclTimeOrder(); + } + + public void send_getKeysCclTimeOrder(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeysCclTimeOrder_args args = new getKeysCclTimeOrder_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeysCclTimeOrder", args); + } + + public Map> recv_getKeysCclTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeysCclTimeOrder_result result = new getKeysCclTimeOrder_result(); + receiveBase(result, "getKeysCclTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeysCclTimeOrder failed: unknown result"); + } + public Map> getKeysCclTimestr( List keys, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -13622,6 +17704,66 @@ public Map> recv_getKey "getKeysCclTimestr failed: unknown result"); } + public Map> getKeysCclTimestrOrder( + List keys, String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_getKeysCclTimestrOrder(keys, ccl, timestamp, order, creds, + transaction, environment); + return recv_getKeysCclTimestrOrder(); + } + + public void send_getKeysCclTimestrOrder(List keys, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + getKeysCclTimestrOrder_args args = new getKeysCclTimestrOrder_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("getKeysCclTimestrOrder", args); + } + + public Map> recv_getKeysCclTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + getKeysCclTimestrOrder_result result = new getKeysCclTimestrOrder_result(); + receiveBase(result, "getKeysCclTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "getKeysCclTimestrOrder failed: unknown result"); + } + public boolean verifyKeyValueRecord(String key, com.cinchapi.concourse.thrift.TObject value, long record, com.cinchapi.concourse.thrift.AccessToken creds, @@ -14001,6 +18143,60 @@ public Set recv_findCriteria() "findCriteria failed: unknown result"); } + public Set findCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_findCriteriaOrder(criteria, order, creds, transaction, + environment); + return recv_findCriteriaOrder(); + } + + public void send_findCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + findCriteriaOrder_args args = new findCriteriaOrder_args(); + args.setCriteria(criteria); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("findCriteriaOrder", args); + } + + public Set recv_findCriteriaOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + findCriteriaOrder_result result = new findCriteriaOrder_result(); + receiveBase(result, "findCriteriaOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "findCriteriaOrder failed: unknown result"); + } + public Set findCcl(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -14054,44 +18250,42 @@ public Set recv_findCcl() "findCcl failed: unknown result"); } - public Set findKeyOperatorValues(String key, - com.cinchapi.concourse.thrift.Operator operator, - List values, + public Set findCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { - send_findKeyOperatorValues(key, operator, values, creds, - transaction, environment); - return recv_findKeyOperatorValues(); + send_findCclOrder(ccl, order, creds, transaction, environment); + return recv_findCclOrder(); } - public void send_findKeyOperatorValues(String key, - com.cinchapi.concourse.thrift.Operator operator, - List values, + public void send_findCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) throws org.apache.thrift.TException { - findKeyOperatorValues_args args = new findKeyOperatorValues_args(); - args.setKey(key); - args.setOperator(operator); - args.setValues(values); + findCclOrder_args args = new findCclOrder_args(); + args.setCcl(ccl); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); - sendBase("findKeyOperatorValues", args); + sendBase("findCclOrder", args); } - public Set recv_findKeyOperatorValues() + public Set recv_findCclOrder() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { - findKeyOperatorValues_result result = new findKeyOperatorValues_result(); - receiveBase(result, "findKeyOperatorValues"); + findCclOrder_result result = new findCclOrder_result(); + receiveBase(result, "findCclOrder"); if(result.isSetSuccess()) { return result.success; } @@ -14104,12 +18298,128 @@ public Set recv_findKeyOperatorValues() if(result.ex3 != null) { throw result.ex3; } + if(result.ex4 != null) { + throw result.ex4; + } throw new org.apache.thrift.TApplicationException( org.apache.thrift.TApplicationException.MISSING_RESULT, - "findKeyOperatorValues failed: unknown result"); + "findCclOrder failed: unknown result"); } - public Set findKeyOperatorValuesTime(String key, + public Set findKeyOperatorValues(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_findKeyOperatorValues(key, operator, values, creds, + transaction, environment); + return recv_findKeyOperatorValues(); + } + + public void send_findKeyOperatorValues(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + findKeyOperatorValues_args args = new findKeyOperatorValues_args(); + args.setKey(key); + args.setOperator(operator); + args.setValues(values); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("findKeyOperatorValues", args); + } + + public Set recv_findKeyOperatorValues() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + findKeyOperatorValues_result result = new findKeyOperatorValues_result(); + receiveBase(result, "findKeyOperatorValues"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "findKeyOperatorValues failed: unknown result"); + } + + public Set findKeyOperatorValuesOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_findKeyOperatorValuesOrder(key, operator, values, order, creds, + transaction, environment); + return recv_findKeyOperatorValuesOrder(); + } + + public void send_findKeyOperatorValuesOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + findKeyOperatorValuesOrder_args args = new findKeyOperatorValuesOrder_args(); + args.setKey(key); + args.setOperator(operator); + args.setValues(values); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("findKeyOperatorValuesOrder", args); + } + + public Set recv_findKeyOperatorValuesOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + findKeyOperatorValuesOrder_result result = new findKeyOperatorValuesOrder_result(); + receiveBase(result, "findKeyOperatorValuesOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "findKeyOperatorValuesOrder failed: unknown result"); + } + + public Set findKeyOperatorValuesTime(String key, com.cinchapi.concourse.thrift.Operator operator, List values, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -14165,6 +18475,65 @@ public Set recv_findKeyOperatorValuesTime() "findKeyOperatorValuesTime failed: unknown result"); } + public Set findKeyOperatorValuesTimeOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_findKeyOperatorValuesTimeOrder(key, operator, values, + timestamp, order, creds, transaction, environment); + return recv_findKeyOperatorValuesTimeOrder(); + } + + public void send_findKeyOperatorValuesTimeOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + findKeyOperatorValuesTimeOrder_args args = new findKeyOperatorValuesTimeOrder_args(); + args.setKey(key); + args.setOperator(operator); + args.setValues(values); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("findKeyOperatorValuesTimeOrder", args); + } + + public Set recv_findKeyOperatorValuesTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + findKeyOperatorValuesTimeOrder_result result = new findKeyOperatorValuesTimeOrder_result(); + receiveBase(result, "findKeyOperatorValuesTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "findKeyOperatorValuesTimeOrder failed: unknown result"); + } + public Set findKeyOperatorValuesTimestr(String key, com.cinchapi.concourse.thrift.Operator operator, List values, @@ -14228,6 +18597,70 @@ public Set recv_findKeyOperatorValuesTimestr() "findKeyOperatorValuesTimestr failed: unknown result"); } + public Set findKeyOperatorValuesTimestrOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_findKeyOperatorValuesTimestrOrder(key, operator, values, + timestamp, order, creds, transaction, environment); + return recv_findKeyOperatorValuesTimestrOrder(); + } + + public void send_findKeyOperatorValuesTimestrOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + findKeyOperatorValuesTimestrOrder_args args = new findKeyOperatorValuesTimestrOrder_args(); + args.setKey(key); + args.setOperator(operator); + args.setValues(values); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("findKeyOperatorValuesTimestrOrder", args); + } + + public Set recv_findKeyOperatorValuesTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + findKeyOperatorValuesTimestrOrder_result result = new findKeyOperatorValuesTimestrOrder_result(); + receiveBase(result, "findKeyOperatorValuesTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "findKeyOperatorValuesTimestrOrder failed: unknown result"); + } + public Set findKeyOperatorstrValues(String key, String operator, List values, com.cinchapi.concourse.thrift.AccessToken creds, @@ -14286,6 +18719,69 @@ public Set recv_findKeyOperatorstrValues() "findKeyOperatorstrValues failed: unknown result"); } + public Set findKeyOperatorstrValuesOrder(String key, + String operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_findKeyOperatorstrValuesOrder(key, operator, values, order, + creds, transaction, environment); + return recv_findKeyOperatorstrValuesOrder(); + } + + public void send_findKeyOperatorstrValuesOrder(String key, + String operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + findKeyOperatorstrValuesOrder_args args = new findKeyOperatorstrValuesOrder_args(); + args.setKey(key); + args.setOperator(operator); + args.setValues(values); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("findKeyOperatorstrValuesOrder", args); + } + + public Set recv_findKeyOperatorstrValuesOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + findKeyOperatorstrValuesOrder_result result = new findKeyOperatorstrValuesOrder_result(); + receiveBase(result, "findKeyOperatorstrValuesOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "findKeyOperatorstrValuesOrder failed: unknown result"); + } + public Set findKeyOperatorstrValuesTime(String key, String operator, List values, @@ -14347,6 +18843,70 @@ public Set recv_findKeyOperatorstrValuesTime() "findKeyOperatorstrValuesTime failed: unknown result"); } + public Set findKeyOperatorstrValuesTimeOrder(String key, + String operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_findKeyOperatorstrValuesTimeOrder(key, operator, values, + timestamp, order, creds, transaction, environment); + return recv_findKeyOperatorstrValuesTimeOrder(); + } + + public void send_findKeyOperatorstrValuesTimeOrder(String key, + String operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + findKeyOperatorstrValuesTimeOrder_args args = new findKeyOperatorstrValuesTimeOrder_args(); + args.setKey(key); + args.setOperator(operator); + args.setValues(values); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("findKeyOperatorstrValuesTimeOrder", args); + } + + public Set recv_findKeyOperatorstrValuesTimeOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + findKeyOperatorstrValuesTimeOrder_result result = new findKeyOperatorstrValuesTimeOrder_result(); + receiveBase(result, "findKeyOperatorstrValuesTimeOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "findKeyOperatorstrValuesTimeOrder failed: unknown result"); + } + public Set findKeyOperatorstrValuesTimestr(String key, String operator, List values, @@ -14410,6 +18970,70 @@ public Set recv_findKeyOperatorstrValuesTimestr() "findKeyOperatorstrValuesTimestr failed: unknown result"); } + public Set findKeyOperatorstrValuesTimestrOrder(String key, + String operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + send_findKeyOperatorstrValuesTimestrOrder(key, operator, values, + timestamp, order, creds, transaction, environment); + return recv_findKeyOperatorstrValuesTimestrOrder(); + } + + public void send_findKeyOperatorstrValuesTimestrOrder(String key, + String operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) throws org.apache.thrift.TException { + findKeyOperatorstrValuesTimestrOrder_args args = new findKeyOperatorstrValuesTimestrOrder_args(); + args.setKey(key); + args.setOperator(operator); + args.setValues(values); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + sendBase("findKeyOperatorstrValuesTimestrOrder", args); + } + + public Set recv_findKeyOperatorstrValuesTimestrOrder() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + findKeyOperatorstrValuesTimestrOrder_result result = new findKeyOperatorstrValuesTimestrOrder_result(); + receiveBase(result, "findKeyOperatorstrValuesTimestrOrder"); + if(result.isSetSuccess()) { + return result.success; + } + if(result.ex != null) { + throw result.ex; + } + if(result.ex2 != null) { + throw result.ex2; + } + if(result.ex3 != null) { + throw result.ex3; + } + if(result.ex4 != null) { + throw result.ex4; + } + throw new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.MISSING_RESULT, + "findKeyOperatorstrValuesTimestrOrder failed: unknown result"); + } + public Set search(String key, String query, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -25819,6 +30443,79 @@ public Map>> getRes } } + public void selectRecordsOrder(List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + selectRecordsOrder_call method_call = new selectRecordsOrder_call( + records, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class selectRecordsOrder_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List records; + private com.cinchapi.concourse.thrift.TOrder order; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public selectRecordsOrder_call(List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.records = records; + this.order = order; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "selectRecordsOrder", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + selectRecordsOrder_args args = new selectRecordsOrder_args(); + args.setRecords(records); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_selectRecordsOrder(); + } + } + public void selectRecordTime(long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -26033,6 +30730,82 @@ public Map>> getRes } } + public void selectRecordsTimeOrder(List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + selectRecordsTimeOrder_call method_call = new selectRecordsTimeOrder_call( + records, timestamp, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class selectRecordsTimeOrder_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List records; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public selectRecordsTimeOrder_call(List records, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.records = records; + this.timestamp = timestamp; + this.order = order; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "selectRecordsTimeOrder", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + selectRecordsTimeOrder_args args = new selectRecordsTimeOrder_args(); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_selectRecordsTimeOrder(); + } + } + public void selectRecordsTimestr(List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -26106,6 +30879,84 @@ public Map>> getRes } } + public void selectRecordsTimestrOrder(List records, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + selectRecordsTimestrOrder_call method_call = new selectRecordsTimestrOrder_call( + records, timestamp, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class selectRecordsTimestrOrder_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List records; + private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public selectRecordsTimestrOrder_call(List records, + String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.records = records; + this.timestamp = timestamp; + this.order = order; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "selectRecordsTimestrOrder", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + selectRecordsTimestrOrder_args args = new selectRecordsTimestrOrder_args(); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_selectRecordsTimestrOrder(); + } + } + public void selectKeyRecord(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -26623,6 +31474,83 @@ public Map>> getRes } } + public void selectKeysRecordsOrder(List keys, + List records, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + selectKeysRecordsOrder_call method_call = new selectKeysRecordsOrder_call( + keys, records, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class selectKeysRecordsOrder_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private List records; + private com.cinchapi.concourse.thrift.TOrder order; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public selectKeysRecordsOrder_call(List keys, + List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.records = records; + this.order = order; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "selectKeysRecordsOrder", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + selectKeysRecordsOrder_args args = new selectKeysRecordsOrder_args(); + args.setKeys(keys); + args.setRecords(records); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_selectKeysRecordsOrder(); + } + } + public void selectKeyRecords(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -26694,6 +31622,82 @@ public Map> getResult() } } + public void selectKeyRecordsOrder(String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + selectKeyRecordsOrder_call method_call = new selectKeyRecordsOrder_call( + key, records, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class selectKeyRecordsOrder_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private List records; + private com.cinchapi.concourse.thrift.TOrder order; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public selectKeyRecordsOrder_call(String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.records = records; + this.order = order; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "selectKeyRecordsOrder", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + selectKeyRecordsOrder_args args = new selectKeyRecordsOrder_args(); + args.setKey(key); + args.setRecords(records); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_selectKeyRecordsOrder(); + } + } + public void selectKeyRecordsTime(String key, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -26769,6 +31773,87 @@ public Map> getResult() } } + public void selectKeyRecordsTimeOrder(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + selectKeyRecordsTimeOrder_call method_call = new selectKeyRecordsTimeOrder_call( + key, records, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class selectKeyRecordsTimeOrder_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private List records; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public selectKeyRecordsTimeOrder_call(String key, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.records = records; + this.timestamp = timestamp; + this.order = order; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "selectKeyRecordsTimeOrder", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + selectKeyRecordsTimeOrder_args args = new selectKeyRecordsTimeOrder_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_selectKeyRecordsTimeOrder(); + } + } + public void selectKeyRecordsTimestr(String key, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -26846,31 +31931,35 @@ public Map> getResult() } } - public void selectKeysRecordsTime(List keys, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeyRecordsTimestrOrder(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeysRecordsTime_call method_call = new selectKeysRecordsTime_call( - keys, records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + selectKeyRecordsTimestrOrder_call method_call = new selectKeyRecordsTimestrOrder_call( + key, records, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeysRecordsTime_call + public static class selectKeyRecordsTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; + private String key; private List records; - private long timestamp; + private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeysRecordsTime_call(List keys, - List records, long timestamp, + public selectKeyRecordsTimestrOrder_call(String key, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -26880,9 +31969,10 @@ public selectKeysRecordsTime_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; + this.key = key; this.records = records; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -26891,12 +31981,13 @@ public selectKeysRecordsTime_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeysRecordsTime", + "selectKeyRecordsTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeysRecordsTime_args args = new selectKeysRecordsTime_args(); - args.setKeys(keys); + selectKeyRecordsTimestrOrder_args args = new selectKeyRecordsTimestrOrder_args(); + args.setKey(key); args.setRecords(records); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -26904,9 +31995,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -26917,36 +32009,35 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeysRecordsTime(); + return (new Client(prot)).recv_selectKeyRecordsTimestrOrder(); } } - public void selectKeysRecordsTimestr(List keys, - List records, String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeysRecordsTime(List keys, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeysRecordsTimestr_call method_call = new selectKeysRecordsTimestr_call( + selectKeysRecordsTime_call method_call = new selectKeysRecordsTime_call( keys, records, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeysRecordsTimestr_call + public static class selectKeysRecordsTime_call extends org.apache.thrift.async.TAsyncMethodCall { private List keys; private List records; - private String timestamp; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeysRecordsTimestr_call(List keys, - List records, String timestamp, + public selectKeysRecordsTime_call(List keys, + List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -26967,9 +32058,9 @@ public selectKeysRecordsTimestr_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeysRecordsTimestr", + "selectKeysRecordsTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeysRecordsTimestr_args args = new selectKeysRecordsTimestr_args(); + selectKeysRecordsTime_args args = new selectKeysRecordsTime_args(); args.setKeys(keys); args.setRecords(records); args.setTimestamp(timestamp); @@ -26983,7 +32074,6 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -26994,34 +32084,40 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeysRecordsTimestr(); + return (new Client(prot)).recv_selectKeysRecordsTime(); } } - public void selectCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria, + public void selectKeysRecordsTimeOrder(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectCriteria_call method_call = new selectCriteria_call(criteria, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + selectKeysRecordsTimeOrder_call method_call = new selectKeysRecordsTimeOrder_call( + keys, records, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectCriteria_call + public static class selectKeysRecordsTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private com.cinchapi.concourse.thrift.TCriteria criteria; + private List keys; + private List records; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectCriteria_call( - com.cinchapi.concourse.thrift.TCriteria criteria, + public selectKeysRecordsTimeOrder_call(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27031,7 +32127,10 @@ public selectCriteria_call( org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.criteria = criteria; + this.keys = keys; + this.records = records; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27040,10 +32139,13 @@ public selectCriteria_call( public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectCriteria", + "selectKeysRecordsTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectCriteria_args args = new selectCriteria_args(); - args.setCriteria(criteria); + selectKeysRecordsTimeOrder_args args = new selectKeysRecordsTimeOrder_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -27064,32 +32166,36 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectCriteria(); + return (new Client(prot)).recv_selectKeysRecordsTimeOrder(); } } - public void selectCcl(String ccl, + public void selectKeysRecordsTimestr(List keys, + List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectCcl_call method_call = new selectCcl_call(ccl, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + selectKeysRecordsTimestr_call method_call = new selectKeysRecordsTimestr_call( + keys, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectCcl_call + public static class selectKeysRecordsTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private String ccl; + private List keys; + private List records; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectCcl_call(String ccl, + public selectKeysRecordsTimestr_call(List keys, + List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27099,7 +32205,9 @@ public selectCcl_call(String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.ccl = ccl; + this.keys = keys; + this.records = records; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27108,10 +32216,12 @@ public selectCcl_call(String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectCcl", + "selectKeysRecordsTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectCcl_args args = new selectCcl_args(); - args.setCcl(ccl); + selectKeysRecordsTimestr_args args = new selectKeysRecordsTimestr_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -27133,36 +32243,40 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectCcl(); + return (new Client(prot)).recv_selectKeysRecordsTimestr(); } } - public void selectCriteriaTime( - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeysRecordsTimestrOrder(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectCriteriaTime_call method_call = new selectCriteriaTime_call( - criteria, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + selectKeysRecordsTimestrOrder_call method_call = new selectKeysRecordsTimestrOrder_call( + keys, records, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectCriteriaTime_call + public static class selectKeysRecordsTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private com.cinchapi.concourse.thrift.TCriteria criteria; - private long timestamp; + private List keys; + private List records; + private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectCriteriaTime_call( - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, + public selectKeysRecordsTimestrOrder_call(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27172,8 +32286,10 @@ public selectCriteriaTime_call( org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.criteria = criteria; + this.keys = keys; + this.records = records; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27182,11 +32298,13 @@ public selectCriteriaTime_call( public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectCriteriaTime", + "selectKeysRecordsTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectCriteriaTime_args args = new selectCriteriaTime_args(); - args.setCriteria(criteria); + selectKeysRecordsTimestrOrder_args args = new selectKeysRecordsTimestrOrder_args(); + args.setKeys(keys); + args.setRecords(records); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -27197,6 +32315,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -27207,37 +32326,34 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectCriteriaTime(); + return (new Client(prot)).recv_selectKeysRecordsTimestrOrder(); } } - public void selectCriteriaTimestr( + public void selectCriteria( com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectCriteriaTimestr_call method_call = new selectCriteriaTimestr_call( - criteria, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + selectCriteria_call method_call = new selectCriteria_call(criteria, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectCriteriaTimestr_call + public static class selectCriteria_call extends org.apache.thrift.async.TAsyncMethodCall { private com.cinchapi.concourse.thrift.TCriteria criteria; - private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectCriteriaTimestr_call( + public selectCriteria_call( com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27248,7 +32364,6 @@ public selectCriteriaTimestr_call( throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.criteria = criteria; - this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27257,11 +32372,10 @@ public selectCriteriaTimestr_call( public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectCriteriaTimestr", + "selectCriteria", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectCriteriaTimestr_args args = new selectCriteriaTimestr_args(); + selectCriteria_args args = new selectCriteria_args(); args.setCriteria(criteria); - args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -27272,7 +32386,6 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -27283,33 +32396,37 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectCriteriaTimestr(); + return (new Client(prot)).recv_selectCriteria(); } } - public void selectCclTime(String ccl, long timestamp, + public void selectCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectCclTime_call method_call = new selectCclTime_call(ccl, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + selectCriteriaOrder_call method_call = new selectCriteriaOrder_call( + criteria, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectCclTime_call + public static class selectCriteriaOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String ccl; - private long timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectCclTime_call(String ccl, long timestamp, + public selectCriteriaOrder_call( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27319,8 +32436,8 @@ public selectCclTime_call(String ccl, long timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.ccl = ccl; - this.timestamp = timestamp; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27329,11 +32446,11 @@ public selectCclTime_call(String ccl, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectCclTime", + "selectCriteriaOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectCclTime_args args = new selectCclTime_args(); - args.setCcl(ccl); - args.setTimestamp(timestamp); + selectCriteriaOrder_args args = new selectCriteriaOrder_args(); + args.setCriteria(criteria); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -27344,7 +32461,6 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -27355,33 +32471,32 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectCclTime(); + return (new Client(prot)).recv_selectCriteriaOrder(); } } - public void selectCclTimestr(String ccl, String timestamp, + public void selectCcl(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectCclTimestr_call method_call = new selectCclTimestr_call(ccl, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + selectCcl_call method_call = new selectCcl_call(ccl, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectCclTimestr_call + public static class selectCcl_call extends org.apache.thrift.async.TAsyncMethodCall { private String ccl; - private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectCclTimestr_call(String ccl, String timestamp, + public selectCcl_call(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27392,7 +32507,6 @@ public selectCclTimestr_call(String ccl, String timestamp, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.ccl = ccl; - this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27401,11 +32515,10 @@ public selectCclTimestr_call(String ccl, String timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectCclTimestr", + "selectCcl", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectCclTimestr_args args = new selectCclTimestr_args(); + selectCcl_args args = new selectCcl_args(); args.setCcl(ccl); - args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -27427,106 +32540,35 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectCclTimestr(); - } - } - - public void selectKeyCriteria(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - com.cinchapi.concourse.thrift.AccessToken creds, - com.cinchapi.concourse.thrift.TransactionToken transaction, - String environment, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws org.apache.thrift.TException { - checkReady(); - selectKeyCriteria_call method_call = new selectKeyCriteria_call(key, - criteria, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - public static class selectKeyCriteria_call - extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; - private com.cinchapi.concourse.thrift.AccessToken creds; - private com.cinchapi.concourse.thrift.TransactionToken transaction; - private String environment; - - public selectKeyCriteria_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - com.cinchapi.concourse.thrift.AccessToken creds, - com.cinchapi.concourse.thrift.TransactionToken transaction, - String environment, - org.apache.thrift.async.AsyncMethodCallback resultHandler, - org.apache.thrift.async.TAsyncClient client, - org.apache.thrift.protocol.TProtocolFactory protocolFactory, - org.apache.thrift.transport.TNonblockingTransport transport) - throws org.apache.thrift.TException { - super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.criteria = criteria; - this.creds = creds; - this.transaction = transaction; - this.environment = environment; - } - - public void write_args(org.apache.thrift.protocol.TProtocol prot) - throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeyCriteria", - org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeyCriteria_args args = new selectKeyCriteria_args(); - args.setKey(key); - args.setCriteria(criteria); - args.setCreds(creds); - args.setTransaction(transaction); - args.setEnvironment(environment); - args.write(prot); - prot.writeMessageEnd(); - } - - public Map> getResult() - throws com.cinchapi.concourse.thrift.SecurityException, - com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.PermissionException, - org.apache.thrift.TException { - if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { - throw new IllegalStateException( - "Method call not finished!"); - } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( - getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client - .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeyCriteria(); + return (new Client(prot)).recv_selectCcl(); } } - public void selectKeyCcl(String key, String ccl, + public void selectCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeyCcl_call method_call = new selectKeyCcl_call(key, ccl, - creds, transaction, environment, resultHandler, this, + selectCclOrder_call method_call = new selectCclOrder_call(ccl, + order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeyCcl_call + public static class selectCclOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; private String ccl; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeyCcl_call(String key, String ccl, + public selectCclOrder_call(String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27536,8 +32578,8 @@ public selectKeyCcl_call(String key, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27546,11 +32588,11 @@ public selectKeyCcl_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeyCcl", + "selectCclOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeyCcl_args args = new selectKeyCcl_args(); - args.setKey(key); + selectCclOrder_args args = new selectCclOrder_args(); args.setCcl(ccl); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -27558,7 +32600,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -27572,11 +32614,11 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeyCcl(); + return (new Client(prot)).recv_selectCclOrder(); } } - public void selectKeyCriteriaTime(String key, + public void selectCriteriaTime( com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -27584,23 +32626,22 @@ public void selectKeyCriteriaTime(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeyCriteriaTime_call method_call = new selectKeyCriteriaTime_call( - key, criteria, timestamp, creds, transaction, environment, + selectCriteriaTime_call method_call = new selectCriteriaTime_call( + criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeyCriteriaTime_call + public static class selectCriteriaTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; private com.cinchapi.concourse.thrift.TCriteria criteria; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeyCriteriaTime_call(String key, + public selectCriteriaTime_call( com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -27612,7 +32653,6 @@ public selectKeyCriteriaTime_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; @@ -27623,10 +32663,9 @@ public selectKeyCriteriaTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeyCriteriaTime", + "selectCriteriaTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeyCriteriaTime_args args = new selectKeyCriteriaTime_args(); - args.setKey(key); + selectCriteriaTime_args args = new selectCriteriaTime_args(); args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); @@ -27636,7 +32675,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -27649,38 +32688,38 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeyCriteriaTime(); + return (new Client(prot)).recv_selectCriteriaTime(); } } - public void selectKeyCriteriaTimestr(String key, + public void selectCriteriaTimeOrder( com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeyCriteriaTimestr_call method_call = new selectKeyCriteriaTimestr_call( - key, criteria, timestamp, creds, transaction, environment, + selectCriteriaTimeOrder_call method_call = new selectCriteriaTimeOrder_call( + criteria, timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeyCriteriaTimestr_call + public static class selectCriteriaTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; private com.cinchapi.concourse.thrift.TCriteria criteria; - private String timestamp; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeyCriteriaTimestr_call(String key, + public selectCriteriaTimeOrder_call( com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27690,9 +32729,9 @@ public selectKeyCriteriaTimestr_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; this.criteria = criteria; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27701,12 +32740,12 @@ public selectKeyCriteriaTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeyCriteriaTimestr", + "selectCriteriaTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeyCriteriaTimestr_args args = new selectKeyCriteriaTimestr_args(); - args.setKey(key); + selectCriteriaTimeOrder_args args = new selectCriteriaTimeOrder_args(); args.setCriteria(criteria); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -27714,10 +32753,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -27728,34 +32766,37 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeyCriteriaTimestr(); + return (new Client(prot)).recv_selectCriteriaTimeOrder(); } } - public void selectKeyCclTime(String key, String ccl, long timestamp, + public void selectCriteriaTimestr( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeyCclTime_call method_call = new selectKeyCclTime_call(key, - ccl, timestamp, creds, transaction, environment, + selectCriteriaTimestr_call method_call = new selectCriteriaTimestr_call( + criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeyCclTime_call + public static class selectCriteriaTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private String ccl; - private long timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeyCclTime_call(String key, String ccl, long timestamp, + public selectCriteriaTimestr_call( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27765,8 +32806,7 @@ public selectKeyCclTime_call(String key, String ccl, long timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.ccl = ccl; + this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -27776,11 +32816,10 @@ public selectKeyCclTime_call(String key, String ccl, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeyCclTime", + "selectCriteriaTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeyCclTime_args args = new selectKeyCclTime_args(); - args.setKey(key); - args.setCcl(ccl); + selectCriteriaTimestr_args args = new selectCriteriaTimestr_args(); + args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -27789,7 +32828,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -27803,36 +32842,39 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeyCclTime(); + return (new Client(prot)).recv_selectCriteriaTimestr(); } } - public void selectKeyCclTimestr(String key, String ccl, - String timestamp, + public void selectCriteriaTimestrOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeyCclTimestr_call method_call = new selectKeyCclTimestr_call( - key, ccl, timestamp, creds, transaction, environment, + selectCriteriaTimestrOrder_call method_call = new selectCriteriaTimestrOrder_call( + criteria, timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeyCclTimestr_call + public static class selectCriteriaTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private String ccl; + private com.cinchapi.concourse.thrift.TCriteria criteria; private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeyCclTimestr_call(String key, String ccl, + public selectCriteriaTimestrOrder_call( + com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27842,9 +32884,9 @@ public selectKeyCclTimestr_call(String key, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.ccl = ccl; + this.criteria = criteria; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27853,12 +32895,12 @@ public selectKeyCclTimestr_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeyCclTimestr", + "selectCriteriaTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeyCclTimestr_args args = new selectKeyCclTimestr_args(); - args.setKey(key); - args.setCcl(ccl); + selectCriteriaTimestrOrder_args args = new selectCriteriaTimestrOrder_args(); + args.setCriteria(criteria); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -27866,7 +32908,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -27880,35 +32922,33 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeyCclTimestr(); + return (new Client(prot)).recv_selectCriteriaTimestrOrder(); } } - public void selectKeysCriteria(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public void selectCclTime(String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeysCriteria_call method_call = new selectKeysCriteria_call( - keys, criteria, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + selectCclTime_call method_call = new selectCclTime_call(ccl, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeysCriteria_call + public static class selectCclTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private String ccl; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeysCriteria_call(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public selectCclTime_call(String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27918,8 +32958,8 @@ public selectKeysCriteria_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.criteria = criteria; + this.ccl = ccl; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27928,11 +32968,11 @@ public selectKeysCriteria_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeysCriteria", + "selectCclTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeysCriteria_args args = new selectKeysCriteria_args(); - args.setKeys(keys); - args.setCriteria(criteria); + selectCclTime_args args = new selectCclTime_args(); + args.setCcl(ccl); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -27943,6 +32983,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -27953,33 +32994,36 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeysCriteria(); + return (new Client(prot)).recv_selectCclTime(); } } - public void selectKeysCcl(List keys, String ccl, + public void selectCclTimeOrder(String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeysCcl_call method_call = new selectKeysCcl_call(keys, ccl, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + selectCclTimeOrder_call method_call = new selectCclTimeOrder_call( + ccl, timestamp, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeysCcl_call + public static class selectCclTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; private String ccl; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeysCcl_call(List keys, String ccl, + public selectCclTimeOrder_call(String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -27989,8 +33033,9 @@ public selectKeysCcl_call(List keys, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; this.ccl = ccl; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -27999,11 +33044,12 @@ public selectKeysCcl_call(List keys, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeysCcl", + "selectCclTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeysCcl_args args = new selectKeysCcl_args(); - args.setKeys(keys); + selectCclTimeOrder_args args = new selectCclTimeOrder_args(); args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -28025,37 +33071,33 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeysCcl(); + return (new Client(prot)).recv_selectCclTimeOrder(); } } - public void selectKeysCriteriaTime(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void selectCclTimestr(String ccl, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeysCriteriaTime_call method_call = new selectKeysCriteriaTime_call( - keys, criteria, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + selectCclTimestr_call method_call = new selectCclTimestr_call(ccl, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeysCriteriaTime_call + public static class selectCclTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private com.cinchapi.concourse.thrift.TCriteria criteria; - private long timestamp; + private String ccl; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeysCriteriaTime_call(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, + public selectCclTimestr_call(String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28065,8 +33107,7 @@ public selectKeysCriteriaTime_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.criteria = criteria; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -28076,11 +33117,10 @@ public selectKeysCriteriaTime_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeysCriteriaTime", + "selectCclTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeysCriteriaTime_args args = new selectKeysCriteriaTime_args(); - args.setKeys(keys); - args.setCriteria(criteria); + selectCclTimestr_args args = new selectCclTimestr_args(); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -28092,6 +33132,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -28102,38 +33143,36 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeysCriteriaTime(); + return (new Client(prot)).recv_selectCclTimestr(); } } - public void selectKeysCriteriaTimestr(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public void selectCclTimestrOrder(String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeysCriteriaTimestr_call method_call = new selectKeysCriteriaTimestr_call( - keys, criteria, timestamp, creds, transaction, environment, + selectCclTimestrOrder_call method_call = new selectCclTimestrOrder_call( + ccl, timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeysCriteriaTimestr_call + public static class selectCclTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private String ccl; private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeysCriteriaTimestr_call(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public selectCclTimestrOrder_call(String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28143,9 +33182,9 @@ public selectKeysCriteriaTimestr_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.criteria = criteria; + this.ccl = ccl; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -28154,12 +33193,12 @@ public selectKeysCriteriaTimestr_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeysCriteriaTimestr", + "selectCclTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeysCriteriaTimestr_args args = new selectKeysCriteriaTimestr_args(); - args.setKeys(keys); - args.setCriteria(criteria); + selectCclTimestrOrder_args args = new selectCclTimestrOrder_args(); + args.setCcl(ccl); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -28181,35 +33220,35 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeysCriteriaTimestr(); + return (new Client(prot)).recv_selectCclTimestrOrder(); } } - public void selectKeysCclTime(List keys, String ccl, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeyCriteria(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeysCclTime_call method_call = new selectKeysCclTime_call( - keys, ccl, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + selectKeyCriteria_call method_call = new selectKeyCriteria_call(key, + criteria, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeysCclTime_call + public static class selectKeyCriteria_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private String ccl; - private long timestamp; + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeysCclTime_call(List keys, String ccl, - long timestamp, + public selectKeyCriteria_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28219,9 +33258,8 @@ public selectKeysCclTime_call(List keys, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.ccl = ccl; - this.timestamp = timestamp; + this.key = key; + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -28230,12 +33268,11 @@ public selectKeysCclTime_call(List keys, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeysCclTime", + "selectKeyCriteria", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeysCclTime_args args = new selectKeysCclTime_args(); - args.setKeys(keys); - args.setCcl(ccl); - args.setTimestamp(timestamp); + selectKeyCriteria_args args = new selectKeyCriteria_args(); + args.setKey(key); + args.setCriteria(criteria); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -28243,10 +33280,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -28257,36 +33293,38 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeysCclTime(); + return (new Client(prot)).recv_selectKeyCriteria(); } } - public void selectKeysCclTimestr(List keys, String ccl, - String timestamp, + public void selectKeyCriteriaOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - selectKeysCclTimestr_call method_call = new selectKeysCclTimestr_call( - keys, ccl, timestamp, creds, transaction, environment, + selectKeyCriteriaOrder_call method_call = new selectKeyCriteriaOrder_call( + key, criteria, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class selectKeysCclTimestr_call + public static class selectKeyCriteriaOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private String ccl; - private String timestamp; + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public selectKeysCclTimestr_call(List keys, String ccl, - String timestamp, + public selectKeyCriteriaOrder_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28296,9 +33334,9 @@ public selectKeysCclTimestr_call(List keys, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.ccl = ccl; - this.timestamp = timestamp; + this.key = key; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -28307,12 +33345,12 @@ public selectKeysCclTimestr_call(List keys, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "selectKeysCclTimestr", + "selectKeyCriteriaOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - selectKeysCclTimestr_args args = new selectKeysCclTimestr_args(); - args.setKeys(keys); - args.setCcl(ccl); - args.setTimestamp(timestamp); + selectKeyCriteriaOrder_args args = new selectKeyCriteriaOrder_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -28320,10 +33358,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -28334,33 +33371,33 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_selectKeysCclTimestr(); + return (new Client(prot)).recv_selectKeyCriteriaOrder(); } } - public void getKeyRecord(String key, long record, + public void selectKeyCcl(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyRecord_call method_call = new getKeyRecord_call(key, record, + selectKeyCcl_call method_call = new selectKeyCcl_call(key, ccl, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyRecord_call + public static class selectKeyCcl_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; + private String ccl; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyRecord_call(String key, long record, + public selectKeyCcl_call(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28371,7 +33408,7 @@ public getKeyRecord_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -28380,11 +33417,11 @@ public getKeyRecord_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyRecord", + "selectKeyCcl", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyRecord_args args = new getKeyRecord_args(); + selectKeyCcl_args args = new selectKeyCcl_args(); args.setKey(key); - args.setRecord(record); + args.setCcl(ccl); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -28392,9 +33429,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -28405,35 +33443,36 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyRecord(); + return (new Client(prot)).recv_selectKeyCcl(); } } - public void getKeyRecordTime(String key, long record, long timestamp, + public void selectKeyCclOrder(String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyRecordTime_call method_call = new getKeyRecordTime_call(key, - record, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + selectKeyCclOrder_call method_call = new selectKeyCclOrder_call(key, + ccl, order, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyRecordTime_call + public static class selectKeyCclOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; - private long timestamp; + private String ccl; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyRecordTime_call(String key, long record, - long timestamp, + public selectKeyCclOrder_call(String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28444,8 +33483,8 @@ public getKeyRecordTime_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; - this.timestamp = timestamp; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -28454,12 +33493,12 @@ public getKeyRecordTime_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyRecordTime", + "selectKeyCclOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyRecordTime_args args = new getKeyRecordTime_args(); + selectKeyCclOrder_args args = new selectKeyCclOrder_args(); args.setKey(key); - args.setRecord(record); - args.setTimestamp(timestamp); + args.setCcl(ccl); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -28467,9 +33506,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -28480,36 +33520,37 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyRecordTime(); + return (new Client(prot)).recv_selectKeyCclOrder(); } } - public void getKeyRecordTimestr(String key, long record, - String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeyCriteriaTime(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyRecordTimestr_call method_call = new getKeyRecordTimestr_call( - key, record, timestamp, creds, transaction, environment, + selectKeyCriteriaTime_call method_call = new selectKeyCriteriaTime_call( + key, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyRecordTimestr_call + public static class selectKeyCriteriaTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; - private String timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyRecordTimestr_call(String key, long record, - String timestamp, + public selectKeyCriteriaTime_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28520,7 +33561,7 @@ public getKeyRecordTimestr_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; + this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -28530,11 +33571,11 @@ public getKeyRecordTimestr_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyRecordTimestr", + "selectKeyCriteriaTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyRecordTimestr_args args = new getKeyRecordTimestr_args(); + selectKeyCriteriaTime_args args = new selectKeyCriteriaTime_args(); args.setKey(key); - args.setRecord(record); + args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -28543,10 +33584,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -28557,33 +33597,40 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyRecordTimestr(); + return (new Client(prot)).recv_selectKeyCriteriaTime(); } } - public void getKeysRecord(List keys, long record, + public void selectKeyCriteriaTimeOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysRecord_call method_call = new getKeysRecord_call(keys, - record, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + selectKeyCriteriaTimeOrder_call method_call = new selectKeyCriteriaTimeOrder_call( + key, criteria, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysRecord_call + public static class selectKeyCriteriaTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private long record; + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysRecord_call(List keys, long record, + public selectKeyCriteriaTimeOrder_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28593,8 +33640,10 @@ public getKeysRecord_call(List keys, long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.record = record; + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -28603,11 +33652,13 @@ public getKeysRecord_call(List keys, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysRecord", + "selectKeyCriteriaTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysRecord_args args = new getKeysRecord_args(); - args.setKeys(keys); - args.setRecord(record); + selectKeyCriteriaTimeOrder_args args = new selectKeyCriteriaTimeOrder_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -28615,7 +33666,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -28628,35 +33679,38 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysRecord(); + return (new Client(prot)).recv_selectKeyCriteriaTimeOrder(); } } - public void getKeysRecordTime(List keys, long record, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeyCriteriaTimestr(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysRecordTime_call method_call = new getKeysRecordTime_call( - keys, record, timestamp, creds, transaction, environment, + selectKeyCriteriaTimestr_call method_call = new selectKeyCriteriaTimestr_call( + key, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysRecordTime_call + public static class selectKeyCriteriaTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private long record; - private long timestamp; + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysRecordTime_call(List keys, long record, - long timestamp, + public selectKeyCriteriaTimestr_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28666,8 +33720,8 @@ public getKeysRecordTime_call(List keys, long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.record = record; + this.key = key; + this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -28677,11 +33731,11 @@ public getKeysRecordTime_call(List keys, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysRecordTime", + "selectKeyCriteriaTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysRecordTime_args args = new getKeysRecordTime_args(); - args.setKeys(keys); - args.setRecord(record); + selectKeyCriteriaTimestr_args args = new selectKeyCriteriaTimestr_args(); + args.setKey(key); + args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -28690,9 +33744,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -28703,36 +33758,41 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysRecordTime(); + return (new Client(prot)).recv_selectKeyCriteriaTimestr(); } } - public void getKeysRecordTimestr(List keys, long record, - String timestamp, + public void selectKeyCriteriaTimestrOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysRecordTimestr_call method_call = new getKeysRecordTimestr_call( - keys, record, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + selectKeyCriteriaTimestrOrder_call method_call = new selectKeyCriteriaTimestrOrder_call( + key, criteria, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysRecordTimestr_call + public static class selectKeyCriteriaTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private long record; + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysRecordTimestr_call(List keys, long record, + public selectKeyCriteriaTimestrOrder_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28742,9 +33802,10 @@ public getKeysRecordTimestr_call(List keys, long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.record = record; + this.key = key; + this.criteria = criteria; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -28753,12 +33814,13 @@ public getKeysRecordTimestr_call(List keys, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysRecordTimestr", + "selectKeyCriteriaTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysRecordTimestr_args args = new getKeysRecordTimestr_args(); - args.setKeys(keys); - args.setRecord(record); + selectKeyCriteriaTimestrOrder_args args = new selectKeyCriteriaTimestrOrder_args(); + args.setKey(key); + args.setCriteria(criteria); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -28766,7 +33828,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -28780,33 +33842,34 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysRecordTimestr(); + return (new Client(prot)).recv_selectKeyCriteriaTimestrOrder(); } } - public void getKeysRecords(List keys, List records, + public void selectKeyCclTime(String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysRecords_call method_call = new getKeysRecords_call(keys, - records, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + selectKeyCclTime_call method_call = new selectKeyCclTime_call(key, + ccl, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysRecords_call + public static class selectKeyCclTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private List records; + private String key; + private String ccl; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysRecords_call(List keys, List records, + public selectKeyCclTime_call(String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28816,8 +33879,9 @@ public getKeysRecords_call(List keys, List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.records = records; + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -28826,11 +33890,12 @@ public getKeysRecords_call(List keys, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysRecords", + "selectKeyCclTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysRecords_args args = new getKeysRecords_args(); - args.setKeys(keys); - args.setRecords(records); + selectKeyCclTime_args args = new selectKeyCclTime_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -28838,9 +33903,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -28851,33 +33917,37 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysRecords(); + return (new Client(prot)).recv_selectKeyCclTime(); } } - public void getKeyRecords(String key, List records, + public void selectKeyCclTimeOrder(String key, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyRecords_call method_call = new getKeyRecords_call(key, - records, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + selectKeyCclTimeOrder_call method_call = new selectKeyCclTimeOrder_call( + key, ccl, timestamp, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyRecords_call + public static class selectKeyCclTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; + private String ccl; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyRecords_call(String key, List records, + public selectKeyCclTimeOrder_call(String key, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28888,7 +33958,9 @@ public getKeyRecords_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.ccl = ccl; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -28897,11 +33969,13 @@ public getKeyRecords_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyRecords", + "selectKeyCclTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyRecords_args args = new getKeyRecords_args(); + selectKeyCclTimeOrder_args args = new selectKeyCclTimeOrder_args(); args.setKey(key); - args.setRecords(records); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -28909,9 +33983,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -28922,35 +33997,36 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyRecords(); + return (new Client(prot)).recv_selectKeyCclTimeOrder(); } } - public void getKeyRecordsTime(String key, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeyCclTimestr(String key, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyRecordsTime_call method_call = new getKeyRecordsTime_call(key, - records, timestamp, creds, transaction, environment, + selectKeyCclTimestr_call method_call = new selectKeyCclTimestr_call( + key, ccl, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyRecordsTime_call + public static class selectKeyCclTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; - private long timestamp; + private String ccl; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyRecordsTime_call(String key, List records, - long timestamp, + public selectKeyCclTimestr_call(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -28961,7 +34037,7 @@ public getKeyRecordsTime_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -28971,11 +34047,11 @@ public getKeyRecordsTime_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyRecordsTime", + "selectKeyCclTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyRecordsTime_args args = new getKeyRecordsTime_args(); + selectKeyCclTimestr_args args = new selectKeyCclTimestr_args(); args.setKey(key); - args.setRecords(records); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -28984,9 +34060,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -28997,36 +34074,38 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyRecordsTime(); + return (new Client(prot)).recv_selectKeyCclTimestr(); } } - public void getKeyRecordsTimestr(String key, List records, - String timestamp, + public void selectKeyCclTimestrOrder(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyRecordsTimestr_call method_call = new getKeyRecordsTimestr_call( - key, records, timestamp, creds, transaction, environment, + selectKeyCclTimestrOrder_call method_call = new selectKeyCclTimestrOrder_call( + key, ccl, timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyRecordsTimestr_call + public static class selectKeyCclTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; + private String ccl; private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyRecordsTimestr_call(String key, List records, + public selectKeyCclTimestrOrder_call(String key, String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29037,8 +34116,9 @@ public getKeyRecordsTimestr_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.ccl = ccl; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -29047,12 +34127,13 @@ public getKeyRecordsTimestr_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyRecordsTimestr", + "selectKeyCclTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyRecordsTimestr_args args = new getKeyRecordsTimestr_args(); + selectKeyCclTimestrOrder_args args = new selectKeyCclTimestrOrder_args(); args.setKey(key); - args.setRecords(records); + args.setCcl(ccl); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -29060,7 +34141,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -29074,35 +34155,35 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyRecordsTimestr(); + return (new Client(prot)).recv_selectKeyCclTimestrOrder(); } } - public void getKeysRecordsTime(List keys, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeysCriteria(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysRecordsTime_call method_call = new getKeysRecordsTime_call( - keys, records, timestamp, creds, transaction, environment, + selectKeysCriteria_call method_call = new selectKeysCriteria_call( + keys, criteria, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysRecordsTime_call + public static class selectKeysCriteria_call extends org.apache.thrift.async.TAsyncMethodCall { private List keys; - private List records; - private long timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysRecordsTime_call(List keys, - List records, long timestamp, + public selectKeysCriteria_call(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29113,8 +34194,7 @@ public getKeysRecordsTime_call(List keys, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.keys = keys; - this.records = records; - this.timestamp = timestamp; + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -29123,12 +34203,11 @@ public getKeysRecordsTime_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysRecordsTime", + "selectKeysCriteria", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysRecordsTime_args args = new getKeysRecordsTime_args(); + selectKeysCriteria_args args = new selectKeysCriteria_args(); args.setKeys(keys); - args.setRecords(records); - args.setTimestamp(timestamp); + args.setCriteria(criteria); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -29136,7 +34215,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -29149,36 +34228,38 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysRecordsTime(); + return (new Client(prot)).recv_selectKeysCriteria(); } } - public void getKeysRecordsTimestr(List keys, List records, - String timestamp, + public void selectKeysCriteriaOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysRecordsTimestr_call method_call = new getKeysRecordsTimestr_call( - keys, records, timestamp, creds, transaction, environment, + selectKeysCriteriaOrder_call method_call = new selectKeysCriteriaOrder_call( + keys, criteria, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysRecordsTimestr_call + public static class selectKeysCriteriaOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private List keys; - private List records; - private String timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysRecordsTimestr_call(List keys, - List records, String timestamp, + public selectKeysCriteriaOrder_call(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29189,8 +34270,8 @@ public getKeysRecordsTimestr_call(List keys, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.keys = keys; - this.records = records; - this.timestamp = timestamp; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -29199,12 +34280,12 @@ public getKeysRecordsTimestr_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysRecordsTimestr", + "selectKeysCriteriaOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysRecordsTimestr_args args = new getKeysRecordsTimestr_args(); + selectKeysCriteriaOrder_args args = new selectKeysCriteriaOrder_args(); args.setKeys(keys); - args.setRecords(records); - args.setTimestamp(timestamp); + args.setCriteria(criteria); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -29212,10 +34293,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -29226,35 +34306,33 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysRecordsTimestr(); + return (new Client(prot)).recv_selectKeysCriteriaOrder(); } } - public void getKeyCriteria(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public void selectKeysCcl(List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyCriteria_call method_call = new getKeyCriteria_call(key, - criteria, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + selectKeysCcl_call method_call = new selectKeysCcl_call(keys, ccl, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyCriteria_call + public static class selectKeysCcl_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private List keys; + private String ccl; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyCriteria_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public selectKeysCcl_call(List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29264,8 +34342,8 @@ public getKeyCriteria_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.criteria = criteria; + this.keys = keys; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -29274,11 +34352,11 @@ public getKeyCriteria_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyCriteria", + "selectKeysCcl", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyCriteria_args args = new getKeyCriteria_args(); - args.setKey(key); - args.setCriteria(criteria); + selectKeysCcl_args args = new selectKeysCcl_args(); + args.setKeys(keys); + args.setCcl(ccl); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -29286,9 +34364,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -29299,34 +34378,36 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyCriteria(); + return (new Client(prot)).recv_selectKeysCcl(); } } - public void getCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria, + public void selectKeysCclOrder(List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getCriteria_call method_call = new getCriteria_call(criteria, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + selectKeysCclOrder_call method_call = new selectKeysCclOrder_call( + keys, ccl, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getCriteria_call + public static class selectKeysCclOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private com.cinchapi.concourse.thrift.TCriteria criteria; + private List keys; + private String ccl; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getCriteria_call( - com.cinchapi.concourse.thrift.TCriteria criteria, + public selectKeysCclOrder_call(List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29336,7 +34417,9 @@ public getCriteria_call( org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.criteria = criteria; + this.keys = keys; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -29345,10 +34428,12 @@ public getCriteria_call( public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getCriteria", + "selectKeysCclOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getCriteria_args args = new getCriteria_args(); - args.setCriteria(criteria); + selectKeysCclOrder_args args = new selectKeysCclOrder_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -29356,9 +34441,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -29369,32 +34455,37 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getCriteria(); + return (new Client(prot)).recv_selectKeysCclOrder(); } } - public void getCcl(String ccl, - com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeysCriteriaTime(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getCcl_call method_call = new getCcl_call(ccl, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + selectKeysCriteriaTime_call method_call = new selectKeysCriteriaTime_call( + keys, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getCcl_call + public static class selectKeysCriteriaTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private String ccl; + private List keys; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getCcl_call(String ccl, + public selectKeysCriteriaTime_call(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29404,7 +34495,9 @@ public getCcl_call(String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.ccl = ccl; + this.keys = keys; + this.criteria = criteria; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -29413,10 +34506,12 @@ public getCcl_call(String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getCcl", org.apache.thrift.protocol.TMessageType.CALL, - 0)); - getCcl_args args = new getCcl_args(); - args.setCcl(ccl); + "selectKeysCriteriaTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + selectKeysCriteriaTime_args args = new selectKeysCriteriaTime_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -29424,10 +34519,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -29438,36 +34532,40 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getCcl(); + return (new Client(prot)).recv_selectKeysCriteriaTime(); } } - public void getCriteriaTime( + public void selectKeysCriteriaTimeOrder(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getCriteriaTime_call method_call = new getCriteriaTime_call( - criteria, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + selectKeysCriteriaTimeOrder_call method_call = new selectKeysCriteriaTimeOrder_call( + keys, criteria, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getCriteriaTime_call + public static class selectKeysCriteriaTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; private com.cinchapi.concourse.thrift.TCriteria criteria; private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getCriteriaTime_call( + public selectKeysCriteriaTimeOrder_call(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29477,8 +34575,10 @@ public getCriteriaTime_call( org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; this.criteria = criteria; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -29487,11 +34587,13 @@ public getCriteriaTime_call( public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getCriteriaTime", + "selectKeysCriteriaTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getCriteriaTime_args args = new getCriteriaTime_args(); + selectKeysCriteriaTimeOrder_args args = new selectKeysCriteriaTimeOrder_args(); + args.setKeys(keys); args.setCriteria(criteria); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -29499,7 +34601,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -29512,11 +34614,11 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getCriteriaTime(); + return (new Client(prot)).recv_selectKeysCriteriaTimeOrder(); } } - public void getCriteriaTimestr( + public void selectKeysCriteriaTimestr(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -29525,22 +34627,23 @@ public void getCriteriaTimestr( org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getCriteriaTimestr_call method_call = new getCriteriaTimestr_call( - criteria, timestamp, creds, transaction, environment, + selectKeysCriteriaTimestr_call method_call = new selectKeysCriteriaTimestr_call( + keys, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getCriteriaTimestr_call + public static class selectKeysCriteriaTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; private com.cinchapi.concourse.thrift.TCriteria criteria; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getCriteriaTimestr_call( + public selectKeysCriteriaTimestr_call(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -29552,6 +34655,7 @@ public getCriteriaTimestr_call( org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; @@ -29562,9 +34666,10 @@ public getCriteriaTimestr_call( public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getCriteriaTimestr", + "selectKeysCriteriaTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getCriteriaTimestr_args args = new getCriteriaTimestr_args(); + selectKeysCriteriaTimestr_args args = new selectKeysCriteriaTimestr_args(); + args.setKeys(keys); args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); @@ -29574,7 +34679,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -29588,33 +34693,41 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getCriteriaTimestr(); + return (new Client(prot)).recv_selectKeysCriteriaTimestr(); } } - public void getCclTime(String ccl, long timestamp, + public void selectKeysCriteriaTimestrOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getCclTime_call method_call = new getCclTime_call(ccl, timestamp, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + selectKeysCriteriaTimestrOrder_call method_call = new selectKeysCriteriaTimestrOrder_call( + keys, criteria, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getCclTime_call + public static class selectKeysCriteriaTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String ccl; - private long timestamp; + private List keys; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getCclTime_call(String ccl, long timestamp, + public selectKeysCriteriaTimestrOrder_call(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29624,8 +34737,10 @@ public getCclTime_call(String ccl, long timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.ccl = ccl; + this.keys = keys; + this.criteria = criteria; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -29634,11 +34749,13 @@ public getCclTime_call(String ccl, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getCclTime", + "selectKeysCriteriaTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getCclTime_args args = new getCclTime_args(); - args.setCcl(ccl); + selectKeysCriteriaTimestrOrder_args args = new selectKeysCriteriaTimestrOrder_args(); + args.setKeys(keys); + args.setCriteria(criteria); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -29646,7 +34763,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -29660,33 +34777,35 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getCclTime(); + return (new Client(prot)).recv_selectKeysCriteriaTimestrOrder(); } } - public void getCclTimestr(String ccl, String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeysCclTime(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getCclTimestr_call method_call = new getCclTimestr_call(ccl, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + selectKeysCclTime_call method_call = new selectKeysCclTime_call( + keys, ccl, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getCclTimestr_call + public static class selectKeysCclTime_call extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; private String ccl; - private String timestamp; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getCclTimestr_call(String ccl, String timestamp, + public selectKeysCclTime_call(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29696,6 +34815,7 @@ public getCclTimestr_call(String ccl, String timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; @@ -29706,9 +34826,10 @@ public getCclTimestr_call(String ccl, String timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getCclTimestr", + "selectKeysCclTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getCclTimestr_args args = new getCclTimestr_args(); + selectKeysCclTime_args args = new selectKeysCclTime_args(); + args.setKeys(keys); args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); @@ -29718,7 +34839,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -29732,33 +34853,38 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getCclTimestr(); + return (new Client(prot)).recv_selectKeysCclTime(); } } - public void getKeyCcl(String key, String ccl, + public void selectKeysCclTimeOrder(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyCcl_call method_call = new getKeyCcl_call(key, ccl, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + selectKeysCclTimeOrder_call method_call = new selectKeysCclTimeOrder_call( + keys, ccl, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyCcl_call + public static class selectKeysCclTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; + private List keys; private String ccl; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyCcl_call(String key, String ccl, + public selectKeysCclTimeOrder_call(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29768,8 +34894,10 @@ public getKeyCcl_call(String key, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; + this.keys = keys; this.ccl = ccl; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -29778,11 +34906,13 @@ public getKeyCcl_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyCcl", + "selectKeysCclTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyCcl_args args = new getKeyCcl_args(); - args.setKey(key); + selectKeysCclTimeOrder_args args = new selectKeysCclTimeOrder_args(); + args.setKeys(keys); args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -29790,7 +34920,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -29804,37 +34934,36 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyCcl(); + return (new Client(prot)).recv_selectKeysCclTimeOrder(); } } - public void getKeyCriteriaTime(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void selectKeysCclTimestr(List keys, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyCriteriaTime_call method_call = new getKeyCriteriaTime_call( - key, criteria, timestamp, creds, transaction, environment, + selectKeysCclTimestr_call method_call = new selectKeysCclTimestr_call( + keys, ccl, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyCriteriaTime_call + public static class selectKeysCclTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; - private long timestamp; + private List keys; + private String ccl; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyCriteriaTime_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, + public selectKeysCclTimestr_call(List keys, String ccl, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29844,8 +34973,8 @@ public getKeyCriteriaTime_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.criteria = criteria; + this.keys = keys; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -29855,11 +34984,11 @@ public getKeyCriteriaTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyCriteriaTime", + "selectKeysCclTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyCriteriaTime_args args = new getKeyCriteriaTime_args(); - args.setKey(key); - args.setCriteria(criteria); + selectKeysCclTimestr_args args = new selectKeysCclTimestr_args(); + args.setKeys(keys); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -29868,9 +34997,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -29881,38 +35011,39 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyCriteriaTime(); + return (new Client(prot)).recv_selectKeysCclTimestr(); } } - public void getKeyCriteriaTimestr(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public void selectKeysCclTimestrOrder(List keys, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyCriteriaTimestr_call method_call = new getKeyCriteriaTimestr_call( - key, criteria, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + selectKeysCclTimestrOrder_call method_call = new selectKeysCclTimestrOrder_call( + keys, ccl, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyCriteriaTimestr_call + public static class selectKeysCclTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private List keys; + private String ccl; private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyCriteriaTimestr_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public selectKeysCclTimestrOrder_call(List keys, String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29922,9 +35053,10 @@ public getKeyCriteriaTimestr_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.criteria = criteria; + this.keys = keys; + this.ccl = ccl; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -29933,12 +35065,13 @@ public getKeyCriteriaTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyCriteriaTimestr", + "selectKeysCclTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyCriteriaTimestr_args args = new getKeyCriteriaTimestr_args(); - args.setKey(key); - args.setCriteria(criteria); + selectKeysCclTimestrOrder_args args = new selectKeysCclTimestrOrder_args(); + args.setKeys(keys); + args.setCcl(ccl); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -29946,7 +35079,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map>> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -29960,34 +35093,33 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyCriteriaTimestr(); + return (new Client(prot)).recv_selectKeysCclTimestrOrder(); } } - public void getKeyCclTime(String key, String ccl, long timestamp, + public void getKeyRecord(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyCclTime_call method_call = new getKeyCclTime_call(key, ccl, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + getKeyRecord_call method_call = new getKeyRecord_call(key, record, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyCclTime_call + public static class getKeyRecord_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; - private long timestamp; + private long record; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyCclTime_call(String key, String ccl, long timestamp, + public getKeyRecord_call(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -29998,8 +35130,7 @@ public getKeyCclTime_call(String key, String ccl, long timestamp, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; - this.timestamp = timestamp; + this.record = record; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -30008,12 +35139,11 @@ public getKeyCclTime_call(String key, String ccl, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyCclTime", + "getKeyRecord", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyCclTime_args args = new getKeyCclTime_args(); + getKeyRecord_args args = new getKeyRecord_args(); args.setKey(key); - args.setCcl(ccl); - args.setTimestamp(timestamp); + args.setRecord(record); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -30021,10 +35151,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -30035,35 +35164,35 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyCclTime(); + return (new Client(prot)).recv_getKeyRecord(); } } - public void getKeyCclTimestr(String key, String ccl, String timestamp, + public void getKeyRecordTime(String key, long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeyCclTimestr_call method_call = new getKeyCclTimestr_call(key, - ccl, timestamp, creds, transaction, environment, + getKeyRecordTime_call method_call = new getKeyRecordTime_call(key, + record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeyCclTimestr_call + public static class getKeyRecordTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; - private String timestamp; + private long record; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeyCclTimestr_call(String key, String ccl, - String timestamp, + public getKeyRecordTime_call(String key, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30074,7 +35203,7 @@ public getKeyCclTimestr_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -30084,11 +35213,11 @@ public getKeyCclTimestr_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeyCclTimestr", + "getKeyRecordTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeyCclTimestr_args args = new getKeyCclTimestr_args(); + getKeyRecordTime_args args = new getKeyRecordTime_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -30097,10 +35226,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -30111,35 +35239,36 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeyCclTimestr(); + return (new Client(prot)).recv_getKeyRecordTime(); } } - public void getKeysCriteria(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public void getKeyRecordTimestr(String key, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysCriteria_call method_call = new getKeysCriteria_call(keys, - criteria, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + getKeyRecordTimestr_call method_call = new getKeyRecordTimestr_call( + key, record, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysCriteria_call + public static class getKeyRecordTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private String key; + private long record; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysCriteria_call(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public getKeyRecordTimestr_call(String key, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30149,8 +35278,9 @@ public getKeysCriteria_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.criteria = criteria; + this.key = key; + this.record = record; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -30159,11 +35289,12 @@ public getKeysCriteria_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysCriteria", + "getKeyRecordTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysCriteria_args args = new getKeysCriteria_args(); - args.setKeys(keys); - args.setCriteria(criteria); + getKeyRecordTimestr_args args = new getKeyRecordTimestr_args(); + args.setKey(key); + args.setRecord(record); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -30171,9 +35302,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -30184,33 +35316,33 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysCriteria(); + return (new Client(prot)).recv_getKeyRecordTimestr(); } } - public void getKeysCcl(List keys, String ccl, + public void getKeysRecord(List keys, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysCcl_call method_call = new getKeysCcl_call(keys, ccl, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + getKeysRecord_call method_call = new getKeysRecord_call(keys, + record, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysCcl_call + public static class getKeysRecord_call extends org.apache.thrift.async.TAsyncMethodCall { private List keys; - private String ccl; + private long record; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysCcl_call(List keys, String ccl, + public getKeysRecord_call(List keys, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30221,7 +35353,7 @@ public getKeysCcl_call(List keys, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.keys = keys; - this.ccl = ccl; + this.record = record; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -30230,11 +35362,11 @@ public getKeysCcl_call(List keys, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysCcl", + "getKeysRecord", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysCcl_args args = new getKeysCcl_args(); + getKeysRecord_args args = new getKeysRecord_args(); args.setKeys(keys); - args.setCcl(ccl); + args.setRecord(record); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -30242,10 +35374,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -30256,36 +35387,34 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysCcl(); + return (new Client(prot)).recv_getKeysRecord(); } } - public void getKeysCriteriaTime(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public void getKeysRecordTime(List keys, long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysCriteriaTime_call method_call = new getKeysCriteriaTime_call( - keys, criteria, timestamp, creds, transaction, environment, + getKeysRecordTime_call method_call = new getKeysRecordTime_call( + keys, record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysCriteriaTime_call + public static class getKeysRecordTime_call extends org.apache.thrift.async.TAsyncMethodCall { private List keys; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private long record; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysCriteriaTime_call(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public getKeysRecordTime_call(List keys, long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -30297,7 +35426,7 @@ public getKeysCriteriaTime_call(List keys, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.keys = keys; - this.criteria = criteria; + this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -30307,11 +35436,11 @@ public getKeysCriteriaTime_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysCriteriaTime", + "getKeysRecordTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysCriteriaTime_args args = new getKeysCriteriaTime_args(); + getKeysRecordTime_args args = new getKeysRecordTime_args(); args.setKeys(keys); - args.setCriteria(criteria); + args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -30320,7 +35449,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -30333,12 +35462,11 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysCriteriaTime(); + return (new Client(prot)).recv_getKeysRecordTime(); } } - public void getKeysCriteriaTimestr(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public void getKeysRecordTimestr(List keys, long record, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -30346,24 +35474,23 @@ public void getKeysCriteriaTimestr(List keys, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysCriteriaTimestr_call method_call = new getKeysCriteriaTimestr_call( - keys, criteria, timestamp, creds, transaction, environment, + getKeysRecordTimestr_call method_call = new getKeysRecordTimestr_call( + keys, record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysCriteriaTimestr_call + public static class getKeysRecordTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private List keys; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private long record; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysCriteriaTimestr_call(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public getKeysRecordTimestr_call(List keys, long record, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -30375,7 +35502,7 @@ public getKeysCriteriaTimestr_call(List keys, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.keys = keys; - this.criteria = criteria; + this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -30385,11 +35512,11 @@ public getKeysCriteriaTimestr_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysCriteriaTimestr", + "getKeysRecordTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysCriteriaTimestr_args args = new getKeysCriteriaTimestr_args(); + getKeysRecordTimestr_args args = new getKeysRecordTimestr_args(); args.setKeys(keys); - args.setCriteria(criteria); + args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -30398,7 +35525,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -30412,35 +35539,33 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysCriteriaTimestr(); + return (new Client(prot)).recv_getKeysRecordTimestr(); } } - public void getKeysCclTime(List keys, String ccl, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void getKeysRecords(List keys, List records, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysCclTime_call method_call = new getKeysCclTime_call(keys, ccl, - timestamp, creds, transaction, environment, resultHandler, + getKeysRecords_call method_call = new getKeysRecords_call(keys, + records, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysCclTime_call + public static class getKeysRecords_call extends org.apache.thrift.async.TAsyncMethodCall { private List keys; - private String ccl; - private long timestamp; + private List records; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysCclTime_call(List keys, String ccl, - long timestamp, + public getKeysRecords_call(List keys, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30451,8 +35576,7 @@ public getKeysCclTime_call(List keys, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.keys = keys; - this.ccl = ccl; - this.timestamp = timestamp; + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -30461,12 +35585,11 @@ public getKeysCclTime_call(List keys, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysCclTime", + "getKeysRecords", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysCclTime_args args = new getKeysCclTime_args(); + getKeysRecords_args args = new getKeysRecords_args(); args.setKeys(keys); - args.setCcl(ccl); - args.setTimestamp(timestamp); + args.setRecords(records); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -30477,7 +35600,6 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -30488,36 +35610,37 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysCclTime(); + return (new Client(prot)).recv_getKeysRecords(); } } - public void getKeysCclTimestr(List keys, String ccl, - String timestamp, + public void getKeysRecordsOrder(List keys, List records, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getKeysCclTimestr_call method_call = new getKeysCclTimestr_call( - keys, ccl, timestamp, creds, transaction, environment, + getKeysRecordsOrder_call method_call = new getKeysRecordsOrder_call( + keys, records, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getKeysCclTimestr_call + public static class getKeysRecordsOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private List keys; - private String ccl; - private String timestamp; + private List records; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getKeysCclTimestr_call(List keys, String ccl, - String timestamp, + public getKeysRecordsOrder_call(List keys, + List records, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30528,8 +35651,8 @@ public getKeysCclTimestr_call(List keys, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.keys = keys; - this.ccl = ccl; - this.timestamp = timestamp; + this.records = records; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -30538,12 +35661,12 @@ public getKeysCclTimestr_call(List keys, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getKeysCclTimestr", + "getKeysRecordsOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getKeysCclTimestr_args args = new getKeysCclTimestr_args(); + getKeysRecordsOrder_args args = new getKeysRecordsOrder_args(); args.setKeys(keys); - args.setCcl(ccl); - args.setTimestamp(timestamp); + args.setRecords(records); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -30554,7 +35677,6 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -30565,36 +35687,33 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getKeysCclTimestr(); + return (new Client(prot)).recv_getKeysRecordsOrder(); } } - public void verifyKeyValueRecord(String key, - com.cinchapi.concourse.thrift.TObject value, long record, + public void getKeyRecords(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - verifyKeyValueRecord_call method_call = new verifyKeyValueRecord_call( - key, value, record, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + getKeyRecords_call method_call = new getKeyRecords_call(key, + records, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class verifyKeyValueRecord_call + public static class getKeyRecords_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TObject value; - private long record; + private List records; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public verifyKeyValueRecord_call(String key, - com.cinchapi.concourse.thrift.TObject value, long record, + public getKeyRecords_call(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30605,8 +35724,7 @@ public verifyKeyValueRecord_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.value = value; - this.record = record; + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -30615,12 +35733,11 @@ public verifyKeyValueRecord_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "verifyKeyValueRecord", + "getKeyRecords", org.apache.thrift.protocol.TMessageType.CALL, 0)); - verifyKeyValueRecord_args args = new verifyKeyValueRecord_args(); + getKeyRecords_args args = new getKeyRecords_args(); args.setKey(key); - args.setValue(value); - args.setRecord(record); + args.setRecords(records); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -30628,7 +35745,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public boolean getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -30641,39 +35758,36 @@ public boolean getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_verifyKeyValueRecord(); + return (new Client(prot)).recv_getKeyRecords(); } } - public void verifyKeyValueRecordTime(String key, - com.cinchapi.concourse.thrift.TObject value, long record, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void getKeyRecordsOrder(String key, List records, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - verifyKeyValueRecordTime_call method_call = new verifyKeyValueRecordTime_call( - key, value, record, timestamp, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + getKeyRecordsOrder_call method_call = new getKeyRecordsOrder_call( + key, records, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class verifyKeyValueRecordTime_call + public static class getKeyRecordsOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TObject value; - private long record; - private long timestamp; + private List records; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public verifyKeyValueRecordTime_call(String key, - com.cinchapi.concourse.thrift.TObject value, long record, - long timestamp, + public getKeyRecordsOrder_call(String key, List records, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30684,9 +35798,8 @@ public verifyKeyValueRecordTime_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.value = value; - this.record = record; - this.timestamp = timestamp; + this.records = records; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -30695,13 +35808,12 @@ public verifyKeyValueRecordTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "verifyKeyValueRecordTime", + "getKeyRecordsOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - verifyKeyValueRecordTime_args args = new verifyKeyValueRecordTime_args(); + getKeyRecordsOrder_args args = new getKeyRecordsOrder_args(); args.setKey(key); - args.setValue(value); - args.setRecord(record); - args.setTimestamp(timestamp); + args.setRecords(records); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -30709,7 +35821,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public boolean getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -30722,40 +35834,35 @@ public boolean getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_verifyKeyValueRecordTime(); + return (new Client(prot)).recv_getKeyRecordsOrder(); } } - public void verifyKeyValueRecordTimestr(String key, - com.cinchapi.concourse.thrift.TObject value, long record, - String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void getKeyRecordsTime(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - verifyKeyValueRecordTimestr_call method_call = new verifyKeyValueRecordTimestr_call( - key, value, record, timestamp, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + getKeyRecordsTime_call method_call = new getKeyRecordsTime_call(key, + records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class verifyKeyValueRecordTimestr_call + public static class getKeyRecordsTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TObject value; - private long record; - private String timestamp; + private List records; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public verifyKeyValueRecordTimestr_call(String key, - com.cinchapi.concourse.thrift.TObject value, long record, - String timestamp, + public getKeyRecordsTime_call(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30766,8 +35873,7 @@ public verifyKeyValueRecordTimestr_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.value = value; - this.record = record; + this.records = records; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -30777,12 +35883,11 @@ public verifyKeyValueRecordTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "verifyKeyValueRecordTimestr", + "getKeyRecordsTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - verifyKeyValueRecordTimestr_args args = new verifyKeyValueRecordTimestr_args(); + getKeyRecordsTime_args args = new getKeyRecordsTime_args(); args.setKey(key); - args.setValue(value); - args.setRecord(record); + args.setRecords(records); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -30791,10 +35896,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public boolean getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -30805,33 +35909,38 @@ public boolean getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_verifyKeyValueRecordTimestr(); + return (new Client(prot)).recv_getKeyRecordsTime(); } } - public void jsonifyRecords(List records, boolean identifier, + public void getKeyRecordsTimeOrder(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - jsonifyRecords_call method_call = new jsonifyRecords_call(records, - identifier, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + getKeyRecordsTimeOrder_call method_call = new getKeyRecordsTimeOrder_call( + key, records, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class jsonifyRecords_call + public static class getKeyRecordsTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { + private String key; private List records; - private boolean identifier; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public jsonifyRecords_call(List records, boolean identifier, + public getKeyRecordsTimeOrder_call(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30841,8 +35950,10 @@ public jsonifyRecords_call(List records, boolean identifier, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); + this.key = key; this.records = records; - this.identifier = identifier; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -30851,11 +35962,13 @@ public jsonifyRecords_call(List records, boolean identifier, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "jsonifyRecords", + "getKeyRecordsTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - jsonifyRecords_args args = new jsonifyRecords_args(); + getKeyRecordsTimeOrder_args args = new getKeyRecordsTimeOrder_args(); + args.setKey(key); args.setRecords(records); - args.setIdentifier(identifier); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -30863,7 +35976,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public String getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -30876,37 +35989,36 @@ public String getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_jsonifyRecords(); + return (new Client(prot)).recv_getKeyRecordsTimeOrder(); } } - public void jsonifyRecordsTime(List records, long timestamp, - boolean identifier, + public void getKeyRecordsTimestr(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - jsonifyRecordsTime_call method_call = new jsonifyRecordsTime_call( - records, timestamp, identifier, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + getKeyRecordsTimestr_call method_call = new getKeyRecordsTimestr_call( + key, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class jsonifyRecordsTime_call + public static class getKeyRecordsTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { + private String key; private List records; - private long timestamp; - private boolean identifier; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public jsonifyRecordsTime_call(List records, long timestamp, - boolean identifier, + public getKeyRecordsTimestr_call(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30916,9 +36028,9 @@ public jsonifyRecordsTime_call(List records, long timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); + this.key = key; this.records = records; this.timestamp = timestamp; - this.identifier = identifier; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -30927,12 +36039,12 @@ public jsonifyRecordsTime_call(List records, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "jsonifyRecordsTime", + "getKeyRecordsTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - jsonifyRecordsTime_args args = new jsonifyRecordsTime_args(); + getKeyRecordsTimestr_args args = new getKeyRecordsTimestr_args(); + args.setKey(key); args.setRecords(records); args.setTimestamp(timestamp); - args.setIdentifier(identifier); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -30940,9 +36052,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public String getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -30953,37 +36066,39 @@ public String getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_jsonifyRecordsTime(); + return (new Client(prot)).recv_getKeyRecordsTimestr(); } } - public void jsonifyRecordsTimestr(List records, String timestamp, - boolean identifier, + public void getKeyRecordsTimestrOrder(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - jsonifyRecordsTimestr_call method_call = new jsonifyRecordsTimestr_call( - records, timestamp, identifier, creds, transaction, + getKeyRecordsTimestrOrder_call method_call = new getKeyRecordsTimestrOrder_call( + key, records, timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class jsonifyRecordsTimestr_call + public static class getKeyRecordsTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { + private String key; private List records; private String timestamp; - private boolean identifier; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public jsonifyRecordsTimestr_call(List records, - String timestamp, boolean identifier, + public getKeyRecordsTimestrOrder_call(String key, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -30993,9 +36108,10 @@ public jsonifyRecordsTimestr_call(List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); + this.key = key; this.records = records; this.timestamp = timestamp; - this.identifier = identifier; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31004,12 +36120,13 @@ public jsonifyRecordsTimestr_call(List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "jsonifyRecordsTimestr", + "getKeyRecordsTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - jsonifyRecordsTimestr_args args = new jsonifyRecordsTimestr_args(); + getKeyRecordsTimestrOrder_args args = new getKeyRecordsTimestrOrder_args(); + args.setKey(key); args.setRecords(records); args.setTimestamp(timestamp); - args.setIdentifier(identifier); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31017,7 +36134,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public String getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -31031,34 +36148,35 @@ public String getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_jsonifyRecordsTimestr(); + return (new Client(prot)).recv_getKeyRecordsTimestrOrder(); } } - public void findCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria, - com.cinchapi.concourse.thrift.AccessToken creds, + public void getKeysRecordsTime(List keys, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findCriteria_call method_call = new findCriteria_call(criteria, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + getKeysRecordsTime_call method_call = new getKeysRecordsTime_call( + keys, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findCriteria_call + public static class getKeysRecordsTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private com.cinchapi.concourse.thrift.TCriteria criteria; + private List keys; + private List records; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findCriteria_call( - com.cinchapi.concourse.thrift.TCriteria criteria, + public getKeysRecordsTime_call(List keys, + List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31068,7 +36186,9 @@ public findCriteria_call( org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.criteria = criteria; + this.keys = keys; + this.records = records; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31077,10 +36197,12 @@ public findCriteria_call( public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findCriteria", + "getKeysRecordsTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - findCriteria_args args = new findCriteria_args(); - args.setCriteria(criteria); + getKeysRecordsTime_args args = new getKeysRecordsTime_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31088,7 +36210,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Set getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -31101,32 +36223,40 @@ public Set getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_findCriteria(); + return (new Client(prot)).recv_getKeysRecordsTime(); } } - public void findCcl(String ccl, + public void getKeysRecordsTimeOrder(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findCcl_call method_call = new findCcl_call(ccl, creds, transaction, + getKeysRecordsTimeOrder_call method_call = new getKeysRecordsTimeOrder_call( + keys, records, timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findCcl_call + public static class getKeysRecordsTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String ccl; + private List keys; + private List records; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findCcl_call(String ccl, + public getKeysRecordsTimeOrder_call(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31136,7 +36266,10 @@ public findCcl_call(String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.ccl = ccl; + this.keys = keys; + this.records = records; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31145,10 +36278,13 @@ public findCcl_call(String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findCcl", org.apache.thrift.protocol.TMessageType.CALL, - 0)); - findCcl_args args = new findCcl_args(); - args.setCcl(ccl); + "getKeysRecordsTimeOrder", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + getKeysRecordsTimeOrder_args args = new getKeysRecordsTimeOrder_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31156,10 +36292,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Set getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -31170,38 +36305,36 @@ public Set getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_findCcl(); + return (new Client(prot)).recv_getKeysRecordsTimeOrder(); } } - public void findKeyOperatorValues(String key, - com.cinchapi.concourse.thrift.Operator operator, - List values, + public void getKeysRecordsTimestr(List keys, List records, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findKeyOperatorValues_call method_call = new findKeyOperatorValues_call( - key, operator, values, creds, transaction, environment, + getKeysRecordsTimestr_call method_call = new getKeysRecordsTimestr_call( + keys, records, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findKeyOperatorValues_call + public static class getKeysRecordsTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.Operator operator; - private List values; + private List keys; + private List records; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findKeyOperatorValues_call(String key, - com.cinchapi.concourse.thrift.Operator operator, - List values, + public getKeysRecordsTimestr_call(List keys, + List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31211,9 +36344,9 @@ public findKeyOperatorValues_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.operator = operator; - this.values = values; + this.keys = keys; + this.records = records; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31222,12 +36355,12 @@ public findKeyOperatorValues_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findKeyOperatorValues", + "getKeysRecordsTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - findKeyOperatorValues_args args = new findKeyOperatorValues_args(); - args.setKey(key); - args.setOperator(operator); - args.setValues(values); + getKeysRecordsTimestr_args args = new getKeysRecordsTimestr_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31235,9 +36368,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Set getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -31248,41 +36382,40 @@ public Set getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_findKeyOperatorValues(); + return (new Client(prot)).recv_getKeysRecordsTimestr(); } } - public void findKeyOperatorValuesTime(String key, - com.cinchapi.concourse.thrift.Operator operator, - List values, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void getKeysRecordsTimestrOrder(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findKeyOperatorValuesTime_call method_call = new findKeyOperatorValuesTime_call( - key, operator, values, timestamp, creds, transaction, + getKeysRecordsTimestrOrder_call method_call = new getKeysRecordsTimestrOrder_call( + keys, records, timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findKeyOperatorValuesTime_call + public static class getKeysRecordsTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.Operator operator; - private List values; - private long timestamp; + private List keys; + private List records; + private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findKeyOperatorValuesTime_call(String key, - com.cinchapi.concourse.thrift.Operator operator, - List values, - long timestamp, + public getKeysRecordsTimestrOrder_call(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31292,10 +36425,10 @@ public findKeyOperatorValuesTime_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.operator = operator; - this.values = values; + this.keys = keys; + this.records = records; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31304,13 +36437,13 @@ public findKeyOperatorValuesTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findKeyOperatorValuesTime", + "getKeysRecordsTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - findKeyOperatorValuesTime_args args = new findKeyOperatorValuesTime_args(); - args.setKey(key); - args.setOperator(operator); - args.setValues(values); + getKeysRecordsTimestrOrder_args args = new getKeysRecordsTimestrOrder_args(); + args.setKeys(keys); + args.setRecords(records); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31318,9 +36451,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Set getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -31331,42 +36465,35 @@ public Set getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_findKeyOperatorValuesTime(); + return (new Client(prot)).recv_getKeysRecordsTimestrOrder(); } } - public void findKeyOperatorValuesTimestr(String key, - com.cinchapi.concourse.thrift.Operator operator, - List values, - String timestamp, + public void getKeyCriteria(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findKeyOperatorValuesTimestr_call method_call = new findKeyOperatorValuesTimestr_call( - key, operator, values, timestamp, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + getKeyCriteria_call method_call = new getKeyCriteria_call(key, + criteria, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findKeyOperatorValuesTimestr_call + public static class getKeyCriteria_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.Operator operator; - private List values; - private String timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findKeyOperatorValuesTimestr_call(String key, - com.cinchapi.concourse.thrift.Operator operator, - List values, - String timestamp, + public getKeyCriteria_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31377,9 +36504,7 @@ public findKeyOperatorValuesTimestr_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.operator = operator; - this.values = values; - this.timestamp = timestamp; + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31388,13 +36513,11 @@ public findKeyOperatorValuesTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findKeyOperatorValuesTimestr", + "getKeyCriteria", org.apache.thrift.protocol.TMessageType.CALL, 0)); - findKeyOperatorValuesTimestr_args args = new findKeyOperatorValuesTimestr_args(); + getKeyCriteria_args args = new getKeyCriteria_args(); args.setKey(key); - args.setOperator(operator); - args.setValues(values); - args.setTimestamp(timestamp); + args.setCriteria(criteria); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31402,10 +36525,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Set getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -31416,36 +36538,38 @@ public Set getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_findKeyOperatorValuesTimestr(); + return (new Client(prot)).recv_getKeyCriteria(); } } - public void findKeyOperatorstrValues(String key, String operator, - List values, + public void getKeyCriteriaOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findKeyOperatorstrValues_call method_call = new findKeyOperatorstrValues_call( - key, operator, values, creds, transaction, environment, + getKeyCriteriaOrder_call method_call = new getKeyCriteriaOrder_call( + key, criteria, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findKeyOperatorstrValues_call + public static class getKeyCriteriaOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String operator; - private List values; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findKeyOperatorstrValues_call(String key, String operator, - List values, + public getKeyCriteriaOrder_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31456,8 +36580,8 @@ public findKeyOperatorstrValues_call(String key, String operator, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.operator = operator; - this.values = values; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31466,12 +36590,12 @@ public findKeyOperatorstrValues_call(String key, String operator, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findKeyOperatorstrValues", + "getKeyCriteriaOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - findKeyOperatorstrValues_args args = new findKeyOperatorstrValues_args(); + getKeyCriteriaOrder_args args = new getKeyCriteriaOrder_args(); args.setKey(key); - args.setOperator(operator); - args.setValues(values); + args.setCriteria(criteria); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31479,10 +36603,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Set getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -31493,40 +36616,34 @@ public Set getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_findKeyOperatorstrValues(); + return (new Client(prot)).recv_getKeyCriteriaOrder(); } } - public void findKeyOperatorstrValuesTime(String key, String operator, - List values, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void getCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findKeyOperatorstrValuesTime_call method_call = new findKeyOperatorstrValuesTime_call( - key, operator, values, timestamp, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + getCriteria_call method_call = new getCriteria_call(criteria, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findKeyOperatorstrValuesTime_call + public static class getCriteria_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private String operator; - private List values; - private long timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findKeyOperatorstrValuesTime_call(String key, - String operator, - List values, - long timestamp, + public getCriteria_call( + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31536,10 +36653,7 @@ public findKeyOperatorstrValuesTime_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.operator = operator; - this.values = values; - this.timestamp = timestamp; + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31548,13 +36662,10 @@ public findKeyOperatorstrValuesTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findKeyOperatorstrValuesTime", + "getCriteria", org.apache.thrift.protocol.TMessageType.CALL, 0)); - findKeyOperatorstrValuesTime_args args = new findKeyOperatorstrValuesTime_args(); - args.setKey(key); - args.setOperator(operator); - args.setValues(values); - args.setTimestamp(timestamp); + getCriteria_args args = new getCriteria_args(); + args.setCriteria(criteria); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31562,10 +36673,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Set getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -31576,41 +36686,37 @@ public Set getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_findKeyOperatorstrValuesTime(); + return (new Client(prot)).recv_getCriteria(); } } - public void findKeyOperatorstrValuesTimestr(String key, String operator, - List values, - String timestamp, + public void getCriteriaOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findKeyOperatorstrValuesTimestr_call method_call = new findKeyOperatorstrValuesTimestr_call( - key, operator, values, timestamp, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + getCriteriaOrder_call method_call = new getCriteriaOrder_call( + criteria, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findKeyOperatorstrValuesTimestr_call + public static class getCriteriaOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private String operator; - private List values; - private String timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findKeyOperatorstrValuesTimestr_call(String key, - String operator, - List values, - String timestamp, + public getCriteriaOrder_call( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31620,10 +36726,8 @@ public findKeyOperatorstrValuesTimestr_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.operator = operator; - this.values = values; - this.timestamp = timestamp; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31632,13 +36736,11 @@ public findKeyOperatorstrValuesTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findKeyOperatorstrValuesTimestr", + "getCriteriaOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - findKeyOperatorstrValuesTimestr_args args = new findKeyOperatorstrValuesTimestr_args(); - args.setKey(key); - args.setOperator(operator); - args.setValues(values); - args.setTimestamp(timestamp); + getCriteriaOrder_args args = new getCriteriaOrder_args(); + args.setCriteria(criteria); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31646,10 +36748,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Set getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -31660,34 +36761,32 @@ public Set getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)) - .recv_findKeyOperatorstrValuesTimestr(); + return (new Client(prot)).recv_getCriteriaOrder(); } } - public void search(String key, String query, + public void getCcl(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - search_call method_call = new search_call(key, query, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + getCcl_call method_call = new getCcl_call(ccl, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class search_call + public static class getCcl_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private String query; + private String ccl; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public search_call(String key, String query, + public getCcl_call(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31697,8 +36796,7 @@ public search_call(String key, String query, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.query = query; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31707,11 +36805,10 @@ public search_call(String key, String query, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "search", org.apache.thrift.protocol.TMessageType.CALL, + "getCcl", org.apache.thrift.protocol.TMessageType.CALL, 0)); - search_args args = new search_args(); - args.setKey(key); - args.setQuery(query); + getCcl_args args = new getCcl_args(); + args.setCcl(ccl); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31719,9 +36816,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Set getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -31732,35 +36830,35 @@ public Set getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_search(); + return (new Client(prot)).recv_getCcl(); } } - public void revertKeysRecordsTime(List keys, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void getCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - revertKeysRecordsTime_call method_call = new revertKeysRecordsTime_call( - keys, records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + getCclOrder_call method_call = new getCclOrder_call(ccl, order, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class revertKeysRecordsTime_call + public static class getCclOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private List records; - private long timestamp; + private String ccl; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public revertKeysRecordsTime_call(List keys, - List records, long timestamp, + public getCclOrder_call(String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31770,9 +36868,8 @@ public revertKeysRecordsTime_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.records = records; - this.timestamp = timestamp; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31781,12 +36878,11 @@ public revertKeysRecordsTime_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "revertKeysRecordsTime", + "getCclOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - revertKeysRecordsTime_args args = new revertKeysRecordsTime_args(); - args.setKeys(keys); - args.setRecords(records); - args.setTimestamp(timestamp); + getCclOrder_args args = new getCclOrder_args(); + args.setCcl(ccl); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31794,9 +36890,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public void getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -31807,36 +36904,36 @@ public void getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - (new Client(prot)).recv_revertKeysRecordsTime(); + return (new Client(prot)).recv_getCclOrder(); } } - public void revertKeysRecordsTimestr(List keys, - List records, String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void getCriteriaTime( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - revertKeysRecordsTimestr_call method_call = new revertKeysRecordsTimestr_call( - keys, records, timestamp, creds, transaction, environment, + getCriteriaTime_call method_call = new getCriteriaTime_call( + criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class revertKeysRecordsTimestr_call + public static class getCriteriaTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private List records; - private String timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public revertKeysRecordsTimestr_call(List keys, - List records, String timestamp, + public getCriteriaTime_call( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31846,8 +36943,7 @@ public revertKeysRecordsTimestr_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.records = records; + this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -31857,11 +36953,10 @@ public revertKeysRecordsTimestr_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "revertKeysRecordsTimestr", + "getCriteriaTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - revertKeysRecordsTimestr_args args = new revertKeysRecordsTimestr_args(); - args.setKeys(keys); - args.setRecords(records); + getCriteriaTime_args args = new getCriteriaTime_args(); + args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -31870,10 +36965,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public void getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -31884,35 +36978,38 @@ public void getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - (new Client(prot)).recv_revertKeysRecordsTimestr(); + return (new Client(prot)).recv_getCriteriaTime(); } } - public void revertKeysRecordTime(List keys, long record, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void getCriteriaTimeOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - revertKeysRecordTime_call method_call = new revertKeysRecordTime_call( - keys, record, timestamp, creds, transaction, environment, + getCriteriaTimeOrder_call method_call = new getCriteriaTimeOrder_call( + criteria, timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class revertKeysRecordTime_call + public static class getCriteriaTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private long record; + private com.cinchapi.concourse.thrift.TCriteria criteria; private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public revertKeysRecordTime_call(List keys, long record, - long timestamp, + public getCriteriaTimeOrder_call( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -31922,9 +37019,9 @@ public revertKeysRecordTime_call(List keys, long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.record = record; + this.criteria = criteria; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -31933,12 +37030,12 @@ public revertKeysRecordTime_call(List keys, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "revertKeysRecordTime", + "getCriteriaTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - revertKeysRecordTime_args args = new revertKeysRecordTime_args(); - args.setKeys(keys); - args.setRecord(record); + getCriteriaTimeOrder_args args = new getCriteriaTimeOrder_args(); + args.setCriteria(criteria); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -31946,7 +37043,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public void getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -31959,11 +37056,12 @@ public void getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - (new Client(prot)).recv_revertKeysRecordTime(); + return (new Client(prot)).recv_getCriteriaTimeOrder(); } } - public void revertKeysRecordTimestr(List keys, long record, + public void getCriteriaTimestr( + com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -31971,23 +37069,23 @@ public void revertKeysRecordTimestr(List keys, long record, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - revertKeysRecordTimestr_call method_call = new revertKeysRecordTimestr_call( - keys, record, timestamp, creds, transaction, environment, + getCriteriaTimestr_call method_call = new getCriteriaTimestr_call( + criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class revertKeysRecordTimestr_call + public static class getCriteriaTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private long record; + private com.cinchapi.concourse.thrift.TCriteria criteria; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public revertKeysRecordTimestr_call(List keys, long record, + public getCriteriaTimestr_call( + com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -31998,8 +37096,7 @@ public revertKeysRecordTimestr_call(List keys, long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.record = record; + this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -32009,11 +37106,10 @@ public revertKeysRecordTimestr_call(List keys, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "revertKeysRecordTimestr", + "getCriteriaTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - revertKeysRecordTimestr_args args = new revertKeysRecordTimestr_args(); - args.setKeys(keys); - args.setRecord(record); + getCriteriaTimestr_args args = new getCriteriaTimestr_args(); + args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -32022,7 +37118,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public void getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -32036,35 +37132,39 @@ public void getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - (new Client(prot)).recv_revertKeysRecordTimestr(); + return (new Client(prot)).recv_getCriteriaTimestr(); } } - public void revertKeyRecordsTime(String key, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void getCriteriaTimestrOrder( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - revertKeyRecordsTime_call method_call = new revertKeyRecordsTime_call( - key, records, timestamp, creds, transaction, environment, + getCriteriaTimestrOrder_call method_call = new getCriteriaTimestrOrder_call( + criteria, timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class revertKeyRecordsTime_call + public static class getCriteriaTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private List records; - private long timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public revertKeyRecordsTime_call(String key, List records, - long timestamp, + public getCriteriaTimestrOrder_call( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32074,9 +37174,9 @@ public revertKeyRecordsTime_call(String key, List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.records = records; + this.criteria = criteria; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32085,12 +37185,12 @@ public revertKeyRecordsTime_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "revertKeyRecordsTime", + "getCriteriaTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - revertKeyRecordsTime_args args = new revertKeyRecordsTime_args(); - args.setKey(key); - args.setRecords(records); + getCriteriaTimestrOrder_args args = new getCriteriaTimestrOrder_args(); + args.setCriteria(criteria); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32098,9 +37198,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public void getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -32111,36 +37212,33 @@ public void getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - (new Client(prot)).recv_revertKeyRecordsTime(); + return (new Client(prot)).recv_getCriteriaTimestrOrder(); } } - public void revertKeyRecordsTimestr(String key, List records, - String timestamp, + public void getCclTime(String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - revertKeyRecordsTimestr_call method_call = new revertKeyRecordsTimestr_call( - key, records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + getCclTime_call method_call = new getCclTime_call(ccl, timestamp, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class revertKeyRecordsTimestr_call + public static class getCclTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private List records; - private String timestamp; + private String ccl; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public revertKeyRecordsTimestr_call(String key, List records, - String timestamp, + public getCclTime_call(String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32150,8 +37248,7 @@ public revertKeyRecordsTimestr_call(String key, List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.records = records; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -32161,11 +37258,10 @@ public revertKeyRecordsTimestr_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "revertKeyRecordsTimestr", + "getCclTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - revertKeyRecordsTimestr_args args = new revertKeyRecordsTimestr_args(); - args.setKey(key); - args.setRecords(records); + getCclTime_args args = new getCclTime_args(); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -32174,7 +37270,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public void getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -32188,35 +37284,36 @@ public void getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - (new Client(prot)).recv_revertKeyRecordsTimestr(); + return (new Client(prot)).recv_getCclTime(); } } - public void revertKeyRecordTime(String key, long record, long timestamp, + public void getCclTimeOrder(String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - revertKeyRecordTime_call method_call = new revertKeyRecordTime_call( - key, record, timestamp, creds, transaction, environment, + getCclTimeOrder_call method_call = new getCclTimeOrder_call(ccl, + timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class revertKeyRecordTime_call + public static class getCclTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private long record; + private String ccl; private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public revertKeyRecordTime_call(String key, long record, - long timestamp, + public getCclTimeOrder_call(String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32226,9 +37323,9 @@ public revertKeyRecordTime_call(String key, long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.record = record; + this.ccl = ccl; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32237,12 +37334,12 @@ public revertKeyRecordTime_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "revertKeyRecordTime", + "getCclTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - revertKeyRecordTime_args args = new revertKeyRecordTime_args(); - args.setKey(key); - args.setRecord(record); + getCclTimeOrder_args args = new getCclTimeOrder_args(); + args.setCcl(ccl); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32250,9 +37347,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public void getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -32263,36 +37361,33 @@ public void getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - (new Client(prot)).recv_revertKeyRecordTime(); + return (new Client(prot)).recv_getCclTimeOrder(); } } - public void revertKeyRecordTimestr(String key, long record, - String timestamp, + public void getCclTimestr(String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - revertKeyRecordTimestr_call method_call = new revertKeyRecordTimestr_call( - key, record, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + getCclTimestr_call method_call = new getCclTimestr_call(ccl, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class revertKeyRecordTimestr_call + public static class getCclTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private long record; + private String ccl; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public revertKeyRecordTimestr_call(String key, long record, - String timestamp, + public getCclTimestr_call(String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32302,8 +37397,7 @@ public revertKeyRecordTimestr_call(String key, long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.record = record; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -32313,11 +37407,10 @@ public revertKeyRecordTimestr_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "revertKeyRecordTimestr", + "getCclTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - revertKeyRecordTimestr_args args = new revertKeyRecordTimestr_args(); - args.setKey(key); - args.setRecord(record); + getCclTimestr_args args = new getCclTimestr_args(); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -32326,7 +37419,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public void getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -32340,32 +37433,36 @@ public void getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - (new Client(prot)).recv_revertKeyRecordTimestr(); + return (new Client(prot)).recv_getCclTimestr(); } } - public void pingRecords(List records, + public void getCclTimestrOrder(String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - pingRecords_call method_call = new pingRecords_call(records, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + getCclTimestrOrder_call method_call = new getCclTimestrOrder_call( + ccl, timestamp, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class pingRecords_call + public static class getCclTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private List records; + private String ccl; + private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public pingRecords_call(List records, + public getCclTimestrOrder_call(String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32375,7 +37472,9 @@ public pingRecords_call(List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.records = records; + this.ccl = ccl; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32384,10 +37483,12 @@ public pingRecords_call(List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "pingRecords", + "getCclTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - pingRecords_args args = new pingRecords_args(); - args.setRecords(records); + getCclTimestrOrder_args args = new getCclTimestrOrder_args(); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32395,9 +37496,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -32408,32 +37510,33 @@ public Map getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_pingRecords(); + return (new Client(prot)).recv_getCclTimestrOrder(); } } - public void pingRecord(long record, + public void getKeyCcl(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - pingRecord_call method_call = new pingRecord_call(record, creds, + getKeyCcl_call method_call = new getKeyCcl_call(key, ccl, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class pingRecord_call + public static class getKeyCcl_call extends org.apache.thrift.async.TAsyncMethodCall { - private long record; + private String key; + private String ccl; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public pingRecord_call(long record, + public getKeyCcl_call(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32443,7 +37546,8 @@ public pingRecord_call(long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.record = record; + this.key = key; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32452,10 +37556,11 @@ public pingRecord_call(long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "pingRecord", + "getKeyCcl", org.apache.thrift.protocol.TMessageType.CALL, 0)); - pingRecord_args args = new pingRecord_args(); - args.setRecord(record); + getKeyCcl_args args = new getKeyCcl_args(); + args.setKey(key); + args.setCcl(ccl); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32463,9 +37568,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public boolean getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -32476,40 +37582,36 @@ public boolean getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_pingRecord(); + return (new Client(prot)).recv_getKeyCcl(); } } - public void verifyAndSwap(String key, - com.cinchapi.concourse.thrift.TObject expected, long record, - com.cinchapi.concourse.thrift.TObject replacement, + public void getKeyCclOrder(String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - verifyAndSwap_call method_call = new verifyAndSwap_call(key, - expected, record, replacement, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + getKeyCclOrder_call method_call = new getKeyCclOrder_call(key, ccl, + order, creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class verifyAndSwap_call + public static class getKeyCclOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TObject expected; - private long record; - private com.cinchapi.concourse.thrift.TObject replacement; + private String ccl; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public verifyAndSwap_call(String key, - com.cinchapi.concourse.thrift.TObject expected, long record, - com.cinchapi.concourse.thrift.TObject replacement, + public getKeyCclOrder_call(String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32520,9 +37622,8 @@ public verifyAndSwap_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.expected = expected; - this.record = record; - this.replacement = replacement; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32531,13 +37632,12 @@ public verifyAndSwap_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "verifyAndSwap", + "getKeyCclOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - verifyAndSwap_args args = new verifyAndSwap_args(); + getKeyCclOrder_args args = new getKeyCclOrder_args(); args.setKey(key); - args.setExpected(expected); - args.setRecord(record); - args.setReplacement(replacement); + args.setCcl(ccl); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32545,9 +37645,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public boolean getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -32558,36 +37659,37 @@ public boolean getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_verifyAndSwap(); + return (new Client(prot)).recv_getKeyCclOrder(); } } - public void verifyOrSet(String key, - com.cinchapi.concourse.thrift.TObject value, long record, - com.cinchapi.concourse.thrift.AccessToken creds, + public void getKeyCriteriaTime(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - verifyOrSet_call method_call = new verifyOrSet_call(key, value, - record, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + getKeyCriteriaTime_call method_call = new getKeyCriteriaTime_call( + key, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class verifyOrSet_call + public static class getKeyCriteriaTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TObject value; - private long record; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public verifyOrSet_call(String key, - com.cinchapi.concourse.thrift.TObject value, long record, + public getKeyCriteriaTime_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32598,8 +37700,8 @@ public verifyOrSet_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.value = value; - this.record = record; + this.criteria = criteria; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32608,12 +37710,12 @@ public verifyOrSet_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "verifyOrSet", + "getKeyCriteriaTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - verifyOrSet_args args = new verifyOrSet_args(); + getKeyCriteriaTime_args args = new getKeyCriteriaTime_args(); args.setKey(key); - args.setValue(value); - args.setRecord(record); + args.setCriteria(criteria); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32621,10 +37723,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public void getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.InvalidArgumentException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -32635,35 +37736,40 @@ public void getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - (new Client(prot)).recv_verifyOrSet(); + return (new Client(prot)).recv_getKeyCriteriaTime(); } } - public void findOrAddKeyValue(String key, - com.cinchapi.concourse.thrift.TObject value, + public void getKeyCriteriaTimeOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findOrAddKeyValue_call method_call = new findOrAddKeyValue_call(key, - value, creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + getKeyCriteriaTimeOrder_call method_call = new getKeyCriteriaTimeOrder_call( + key, criteria, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findOrAddKeyValue_call + public static class getKeyCriteriaTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TObject value; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findOrAddKeyValue_call(String key, - com.cinchapi.concourse.thrift.TObject value, + public getKeyCriteriaTimeOrder_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32674,7 +37780,9 @@ public findOrAddKeyValue_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.value = value; + this.criteria = criteria; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32683,11 +37791,13 @@ public findOrAddKeyValue_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findOrAddKeyValue", + "getKeyCriteriaTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - findOrAddKeyValue_args args = new findOrAddKeyValue_args(); + getKeyCriteriaTimeOrder_args args = new getKeyCriteriaTimeOrder_args(); args.setKey(key); - args.setValue(value); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32695,11 +37805,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.DuplicateEntryException, - com.cinchapi.concourse.thrift.InvalidArgumentException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -32710,36 +37818,38 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_findOrAddKeyValue(); + return (new Client(prot)).recv_getKeyCriteriaTimeOrder(); } } - public void findOrInsertCriteriaJson( - com.cinchapi.concourse.thrift.TCriteria criteria, String json, + public void getKeyCriteriaTimestr(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findOrInsertCriteriaJson_call method_call = new findOrInsertCriteriaJson_call( - criteria, json, creds, transaction, environment, + getKeyCriteriaTimestr_call method_call = new getKeyCriteriaTimestr_call( + key, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findOrInsertCriteriaJson_call + public static class getKeyCriteriaTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { + private String key; private com.cinchapi.concourse.thrift.TCriteria criteria; - private String json; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findOrInsertCriteriaJson_call( + public getKeyCriteriaTimestr_call(String key, com.cinchapi.concourse.thrift.TCriteria criteria, - String json, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32749,8 +37859,9 @@ public findOrInsertCriteriaJson_call( org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); + this.key = key; this.criteria = criteria; - this.json = json; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32759,11 +37870,12 @@ public findOrInsertCriteriaJson_call( public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findOrInsertCriteriaJson", + "getKeyCriteriaTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - findOrInsertCriteriaJson_args args = new findOrInsertCriteriaJson_args(); + getKeyCriteriaTimestr_args args = new getKeyCriteriaTimestr_args(); + args.setKey(key); args.setCriteria(criteria); - args.setJson(json); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32771,10 +37883,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.DuplicateEntryException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -32785,33 +37897,41 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_findOrInsertCriteriaJson(); + return (new Client(prot)).recv_getKeyCriteriaTimestr(); } } - public void findOrInsertCclJson(String ccl, String json, + public void getKeyCriteriaTimestrOrder(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - findOrInsertCclJson_call method_call = new findOrInsertCclJson_call( - ccl, json, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + getKeyCriteriaTimestrOrder_call method_call = new getKeyCriteriaTimestrOrder_call( + key, criteria, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class findOrInsertCclJson_call + public static class getKeyCriteriaTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String ccl; - private String json; + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public findOrInsertCclJson_call(String ccl, String json, + public getKeyCriteriaTimestrOrder_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32821,8 +37941,10 @@ public findOrInsertCclJson_call(String ccl, String json, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.ccl = ccl; - this.json = json; + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32831,11 +37953,13 @@ public findOrInsertCclJson_call(String ccl, String json, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "findOrInsertCclJson", + "getKeyCriteriaTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - findOrInsertCclJson_args args = new findOrInsertCclJson_args(); - args.setCcl(ccl); - args.setJson(json); + getKeyCriteriaTimestrOrder_args args = new getKeyCriteriaTimestrOrder_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32843,11 +37967,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, - com.cinchapi.concourse.thrift.DuplicateEntryException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -32858,33 +37981,34 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_findOrInsertCclJson(); + return (new Client(prot)).recv_getKeyCriteriaTimestrOrder(); } } - public void sumKeyRecord(String key, long record, + public void getKeyCclTime(String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyRecord_call method_call = new sumKeyRecord_call(key, record, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + getKeyCclTime_call method_call = new getKeyCclTime_call(key, ccl, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyRecord_call + public static class getKeyCclTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; + private String ccl; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyRecord_call(String key, long record, + public getKeyCclTime_call(String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32895,7 +38019,8 @@ public sumKeyRecord_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; + this.ccl = ccl; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32904,11 +38029,12 @@ public sumKeyRecord_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyRecord", + "getKeyCclTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyRecord_args args = new sumKeyRecord_args(); + getKeyCclTime_args args = new getKeyCclTime_args(); args.setKey(key); - args.setRecord(record); + args.setCcl(ccl); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32916,9 +38042,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -32929,35 +38056,37 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyRecord(); + return (new Client(prot)).recv_getKeyCclTime(); } } - public void sumKeyRecordTime(String key, long record, long timestamp, + public void getKeyCclTimeOrder(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyRecordTime_call method_call = new sumKeyRecordTime_call(key, - record, timestamp, creds, transaction, environment, + getKeyCclTimeOrder_call method_call = new getKeyCclTimeOrder_call( + key, ccl, timestamp, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyRecordTime_call + public static class getKeyCclTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; + private String ccl; private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyRecordTime_call(String key, long record, - long timestamp, + public getKeyCclTimeOrder_call(String key, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -32968,8 +38097,9 @@ public sumKeyRecordTime_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; + this.ccl = ccl; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -32978,12 +38108,13 @@ public sumKeyRecordTime_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyRecordTime", + "getKeyCclTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyRecordTime_args args = new sumKeyRecordTime_args(); + getKeyCclTimeOrder_args args = new getKeyCclTimeOrder_args(); args.setKey(key); - args.setRecord(record); + args.setCcl(ccl); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -32991,9 +38122,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -33004,35 +38136,34 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyRecordTime(); + return (new Client(prot)).recv_getKeyCclTimeOrder(); } } - public void sumKeyRecordTimestr(String key, long record, - String timestamp, + public void getKeyCclTimestr(String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyRecordTimestr_call method_call = new sumKeyRecordTimestr_call( - key, record, timestamp, creds, transaction, environment, + getKeyCclTimestr_call method_call = new getKeyCclTimestr_call(key, + ccl, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyRecordTimestr_call + public static class getKeyCclTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; + private String ccl; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyRecordTimestr_call(String key, long record, + public getKeyCclTimestr_call(String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -33044,7 +38175,7 @@ public sumKeyRecordTimestr_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -33054,11 +38185,11 @@ public sumKeyRecordTimestr_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyRecordTimestr", + "getKeyCclTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyRecordTimestr_args args = new sumKeyRecordTimestr_args(); + getKeyCclTimestr_args args = new getKeyCclTimestr_args(); args.setKey(key); - args.setRecord(record); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -33067,7 +38198,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -33081,33 +38212,38 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyRecordTimestr(); + return (new Client(prot)).recv_getKeyCclTimestr(); } } - public void sumKeyRecords(String key, List records, + public void getKeyCclTimestrOrder(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyRecords_call method_call = new sumKeyRecords_call(key, - records, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + getKeyCclTimestrOrder_call method_call = new getKeyCclTimestrOrder_call( + key, ccl, timestamp, order, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyRecords_call + public static class getKeyCclTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; + private String ccl; + private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyRecords_call(String key, List records, + public getKeyCclTimestrOrder_call(String key, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33118,7 +38254,9 @@ public sumKeyRecords_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.ccl = ccl; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -33127,11 +38265,13 @@ public sumKeyRecords_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyRecords", + "getKeyCclTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyRecords_args args = new sumKeyRecords_args(); + getKeyCclTimestrOrder_args args = new getKeyCclTimestrOrder_args(); args.setKey(key); - args.setRecords(records); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -33139,9 +38279,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -33152,35 +38293,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyRecords(); + return (new Client(prot)).recv_getKeyCclTimestrOrder(); } } - public void sumKeyRecordsTime(String key, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void getKeysCriteria(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyRecordsTime_call method_call = new sumKeyRecordsTime_call(key, - records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + getKeysCriteria_call method_call = new getKeysCriteria_call(keys, + criteria, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyRecordsTime_call + public static class getKeysCriteria_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private List records; - private long timestamp; + private List keys; + private com.cinchapi.concourse.thrift.TCriteria criteria; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyRecordsTime_call(String key, List records, - long timestamp, + public getKeysCriteria_call(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33190,9 +38331,8 @@ public sumKeyRecordsTime_call(String key, List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.records = records; - this.timestamp = timestamp; + this.keys = keys; + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -33201,12 +38341,11 @@ public sumKeyRecordsTime_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyRecordsTime", + "getKeysCriteria", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyRecordsTime_args args = new sumKeyRecordsTime_args(); - args.setKey(key); - args.setRecords(records); - args.setTimestamp(timestamp); + getKeysCriteria_args args = new getKeysCriteria_args(); + args.setKeys(keys); + args.setCriteria(criteria); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -33214,7 +38353,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -33227,36 +38366,38 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyRecordsTime(); + return (new Client(prot)).recv_getKeysCriteria(); } } - public void sumKeyRecordsTimestr(String key, List records, - String timestamp, + public void getKeysCriteriaOrder(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyRecordsTimestr_call method_call = new sumKeyRecordsTimestr_call( - key, records, timestamp, creds, transaction, environment, + getKeysCriteriaOrder_call method_call = new getKeysCriteriaOrder_call( + keys, criteria, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyRecordsTimestr_call + public static class getKeysCriteriaOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private List records; - private String timestamp; + private List keys; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyRecordsTimestr_call(String key, List records, - String timestamp, + public getKeysCriteriaOrder_call(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33266,9 +38407,9 @@ public sumKeyRecordsTimestr_call(String key, List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.records = records; - this.timestamp = timestamp; + this.keys = keys; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -33277,12 +38418,12 @@ public sumKeyRecordsTimestr_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyRecordsTimestr", + "getKeysCriteriaOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyRecordsTimestr_args args = new sumKeyRecordsTimestr_args(); - args.setKey(key); - args.setRecords(records); - args.setTimestamp(timestamp); + getKeysCriteriaOrder_args args = new getKeysCriteriaOrder_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -33290,10 +38431,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -33304,32 +38444,33 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyRecordsTimestr(); + return (new Client(prot)).recv_getKeysCriteriaOrder(); } } - public void sumKey(String key, + public void getKeysCcl(List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKey_call method_call = new sumKey_call(key, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + getKeysCcl_call method_call = new getKeysCcl_call(keys, ccl, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKey_call + public static class getKeysCcl_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; + private List keys; + private String ccl; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKey_call(String key, + public getKeysCcl_call(List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33339,7 +38480,8 @@ public sumKey_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; + this.keys = keys; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -33348,10 +38490,11 @@ public sumKey_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKey", org.apache.thrift.protocol.TMessageType.CALL, - 0)); - sumKey_args args = new sumKey_args(); - args.setKey(key); + "getKeysCcl", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + getKeysCcl_args args = new getKeysCcl_args(); + args.setKeys(keys); + args.setCcl(ccl); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -33359,9 +38502,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -33372,33 +38516,36 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKey(); + return (new Client(prot)).recv_getKeysCcl(); } } - public void sumKeyTime(String key, long timestamp, + public void getKeysCclOrder(List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyTime_call method_call = new sumKeyTime_call(key, timestamp, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + getKeysCclOrder_call method_call = new getKeysCclOrder_call(keys, + ccl, order, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyTime_call + public static class getKeysCclOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private long timestamp; + private List keys; + private String ccl; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyTime_call(String key, long timestamp, + public getKeysCclOrder_call(List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33408,8 +38555,9 @@ public sumKeyTime_call(String key, long timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.timestamp = timestamp; + this.keys = keys; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -33418,11 +38566,12 @@ public sumKeyTime_call(String key, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyTime", + "getKeysCclOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyTime_args args = new sumKeyTime_args(); - args.setKey(key); - args.setTimestamp(timestamp); + getKeysCclOrder_args args = new getKeysCclOrder_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -33430,9 +38579,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -33443,33 +38593,37 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyTime(); + return (new Client(prot)).recv_getKeysCclOrder(); } } - public void sumKeyTimestr(String key, String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void getKeysCriteriaTime(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyTimestr_call method_call = new sumKeyTimestr_call(key, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + getKeysCriteriaTime_call method_call = new getKeysCriteriaTime_call( + keys, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyTimestr_call + public static class getKeysCriteriaTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private String timestamp; + private List keys; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyTimestr_call(String key, String timestamp, + public getKeysCriteriaTime_call(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33479,7 +38633,8 @@ public sumKeyTimestr_call(String key, String timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; + this.keys = keys; + this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -33489,10 +38644,11 @@ public sumKeyTimestr_call(String key, String timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyTimestr", + "getKeysCriteriaTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyTimestr_args args = new sumKeyTimestr_args(); - args.setKey(key); + getKeysCriteriaTime_args args = new getKeysCriteriaTime_args(); + args.setKeys(keys); + args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -33501,10 +38657,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -33515,35 +38670,40 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyTimestr(); + return (new Client(prot)).recv_getKeysCriteriaTime(); } } - public void sumKeyCriteria(String key, + public void getKeysCriteriaTimeOrder(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyCriteria_call method_call = new sumKeyCriteria_call(key, - criteria, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + getKeysCriteriaTimeOrder_call method_call = new getKeysCriteriaTimeOrder_call( + keys, criteria, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyCriteria_call + public static class getKeysCriteriaTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; + private List keys; private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyCriteria_call(String key, + public getKeysCriteriaTimeOrder_call(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33553,8 +38713,10 @@ public sumKeyCriteria_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; + this.keys = keys; this.criteria = criteria; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -33563,11 +38725,13 @@ public sumKeyCriteria_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyCriteria", + "getKeysCriteriaTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyCriteria_args args = new sumKeyCriteria_args(); - args.setKey(key); + getKeysCriteriaTimeOrder_args args = new getKeysCriteriaTimeOrder_args(); + args.setKeys(keys); args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -33575,7 +38739,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -33588,37 +38752,38 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyCriteria(); + return (new Client(prot)).recv_getKeysCriteriaTimeOrder(); } } - public void sumKeyCriteriaTime(String key, + public void getKeysCriteriaTimestr(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyCriteriaTime_call method_call = new sumKeyCriteriaTime_call( - key, criteria, timestamp, creds, transaction, environment, + getKeysCriteriaTimestr_call method_call = new getKeysCriteriaTimestr_call( + keys, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyCriteriaTime_call + public static class getKeysCriteriaTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; + private List keys; private com.cinchapi.concourse.thrift.TCriteria criteria; - private long timestamp; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyCriteriaTime_call(String key, + public getKeysCriteriaTimestr_call(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33628,7 +38793,7 @@ public sumKeyCriteriaTime_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; + this.keys = keys; this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; @@ -33639,10 +38804,10 @@ public sumKeyCriteriaTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyCriteriaTime", + "getKeysCriteriaTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyCriteriaTime_args args = new sumKeyCriteriaTime_args(); - args.setKey(key); + getKeysCriteriaTimestr_args args = new getKeysCriteriaTimestr_args(); + args.setKeys(keys); args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); @@ -33652,9 +38817,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -33665,38 +38831,41 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyCriteriaTime(); + return (new Client(prot)).recv_getKeysCriteriaTimestr(); } } - public void sumKeyCriteriaTimestr(String key, + public void getKeysCriteriaTimestrOrder(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyCriteriaTimestr_call method_call = new sumKeyCriteriaTimestr_call( - key, criteria, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + getKeysCriteriaTimestrOrder_call method_call = new getKeysCriteriaTimestrOrder_call( + keys, criteria, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyCriteriaTimestr_call + public static class getKeysCriteriaTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; + private List keys; private com.cinchapi.concourse.thrift.TCriteria criteria; private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyCriteriaTimestr_call(String key, + public getKeysCriteriaTimestrOrder_call(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33706,9 +38875,10 @@ public sumKeyCriteriaTimestr_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; + this.keys = keys; this.criteria = criteria; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -33717,12 +38887,13 @@ public sumKeyCriteriaTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyCriteriaTimestr", + "getKeysCriteriaTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyCriteriaTimestr_args args = new sumKeyCriteriaTimestr_args(); - args.setKey(key); + getKeysCriteriaTimestrOrder_args args = new getKeysCriteriaTimestrOrder_args(); + args.setKeys(keys); args.setCriteria(criteria); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -33730,7 +38901,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -33744,33 +38915,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyCriteriaTimestr(); + return (new Client(prot)).recv_getKeysCriteriaTimestrOrder(); } } - public void sumKeyCcl(String key, String ccl, - com.cinchapi.concourse.thrift.AccessToken creds, + public void getKeysCclTime(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyCcl_call method_call = new sumKeyCcl_call(key, ccl, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + getKeysCclTime_call method_call = new getKeysCclTime_call(keys, ccl, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyCcl_call + public static class getKeysCclTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; + private List keys; private String ccl; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyCcl_call(String key, String ccl, + public getKeysCclTime_call(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33780,8 +38953,9 @@ public sumKeyCcl_call(String key, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; + this.keys = keys; this.ccl = ccl; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -33790,11 +38964,12 @@ public sumKeyCcl_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyCcl", + "getKeysCclTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyCcl_args args = new sumKeyCcl_args(); - args.setKey(key); + getKeysCclTime_args args = new getKeysCclTime_args(); + args.setKeys(keys); args.setCcl(ccl); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -33802,7 +38977,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -33816,34 +38991,38 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyCcl(); + return (new Client(prot)).recv_getKeysCclTime(); } } - public void sumKeyCclTime(String key, String ccl, long timestamp, + public void getKeysCclTimeOrder(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyCclTime_call method_call = new sumKeyCclTime_call(key, ccl, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + getKeysCclTimeOrder_call method_call = new getKeysCclTimeOrder_call( + keys, ccl, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyCclTime_call + public static class getKeysCclTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; + private List keys; private String ccl; private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyCclTime_call(String key, String ccl, long timestamp, + public getKeysCclTimeOrder_call(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -33853,9 +39032,10 @@ public sumKeyCclTime_call(String key, String ccl, long timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; + this.keys = keys; this.ccl = ccl; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -33864,12 +39044,13 @@ public sumKeyCclTime_call(String key, String ccl, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyCclTime", + "getKeysCclTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyCclTime_args args = new sumKeyCclTime_args(); - args.setKey(key); + getKeysCclTimeOrder_args args = new getKeysCclTimeOrder_args(); + args.setKeys(keys); args.setCcl(ccl); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -33877,7 +39058,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -33891,34 +39072,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyCclTime(); + return (new Client(prot)).recv_getKeysCclTimeOrder(); } } - public void sumKeyCclTimestr(String key, String ccl, String timestamp, + public void getKeysCclTimestr(List keys, String ccl, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - sumKeyCclTimestr_call method_call = new sumKeyCclTimestr_call(key, - ccl, timestamp, creds, transaction, environment, + getKeysCclTimestr_call method_call = new getKeysCclTimestr_call( + keys, ccl, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class sumKeyCclTimestr_call + public static class getKeysCclTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; + private List keys; private String ccl; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public sumKeyCclTimestr_call(String key, String ccl, + public getKeysCclTimestr_call(List keys, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -33929,7 +39111,7 @@ public sumKeyCclTimestr_call(String key, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; + this.keys = keys; this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; @@ -33940,10 +39122,10 @@ public sumKeyCclTimestr_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "sumKeyCclTimestr", + "getKeysCclTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - sumKeyCclTimestr_args args = new sumKeyCclTimestr_args(); - args.setKey(key); + getKeysCclTimestr_args args = new getKeysCclTimestr_args(); + args.setKeys(keys); args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); @@ -33953,7 +39135,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -33967,33 +39149,39 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_sumKeyCclTimestr(); + return (new Client(prot)).recv_getKeysCclTimestr(); } } - public void averageKeyRecord(String key, long record, + public void getKeysCclTimestrOrder(List keys, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyRecord_call method_call = new averageKeyRecord_call(key, - record, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + getKeysCclTimestrOrder_call method_call = new getKeysCclTimestrOrder_call( + keys, ccl, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyRecord_call + public static class getKeysCclTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private long record; + private List keys; + private String ccl; + private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyRecord_call(String key, long record, + public getKeysCclTimestrOrder_call(List keys, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34003,8 +39191,10 @@ public averageKeyRecord_call(String key, long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.record = record; + this.keys = keys; + this.ccl = ccl; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34013,11 +39203,13 @@ public averageKeyRecord_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyRecord", + "getKeysCclTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyRecord_args args = new averageKeyRecord_args(); - args.setKey(key); - args.setRecord(record); + getKeysCclTimestrOrder_args args = new getKeysCclTimestrOrder_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34025,9 +39217,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map> getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -34038,35 +39231,36 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyRecord(); + return (new Client(prot)).recv_getKeysCclTimestrOrder(); } } - public void averageKeyRecordTime(String key, long record, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void verifyKeyValueRecord(String key, + com.cinchapi.concourse.thrift.TObject value, long record, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyRecordTime_call method_call = new averageKeyRecordTime_call( - key, record, timestamp, creds, transaction, environment, + verifyKeyValueRecord_call method_call = new verifyKeyValueRecord_call( + key, value, record, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyRecordTime_call + public static class verifyKeyValueRecord_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; + private com.cinchapi.concourse.thrift.TObject value; private long record; - private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyRecordTime_call(String key, long record, - long timestamp, + public verifyKeyValueRecord_call(String key, + com.cinchapi.concourse.thrift.TObject value, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34077,8 +39271,8 @@ public averageKeyRecordTime_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; + this.value = value; this.record = record; - this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34087,12 +39281,12 @@ public averageKeyRecordTime_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyRecordTime", + "verifyKeyValueRecord", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyRecordTime_args args = new averageKeyRecordTime_args(); + verifyKeyValueRecord_args args = new verifyKeyValueRecord_args(); args.setKey(key); + args.setValue(value); args.setRecord(record); - args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34100,7 +39294,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public boolean getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -34113,36 +39307,39 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyRecordTime(); + return (new Client(prot)).recv_verifyKeyValueRecord(); } } - public void averageKeyRecordTimestr(String key, long record, - String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void verifyKeyValueRecordTime(String key, + com.cinchapi.concourse.thrift.TObject value, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyRecordTimestr_call method_call = new averageKeyRecordTimestr_call( - key, record, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + verifyKeyValueRecordTime_call method_call = new verifyKeyValueRecordTime_call( + key, value, record, timestamp, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyRecordTimestr_call + public static class verifyKeyValueRecordTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; + private com.cinchapi.concourse.thrift.TObject value; private long record; - private String timestamp; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyRecordTimestr_call(String key, long record, - String timestamp, + public verifyKeyValueRecordTime_call(String key, + com.cinchapi.concourse.thrift.TObject value, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34153,6 +39350,7 @@ public averageKeyRecordTimestr_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; + this.value = value; this.record = record; this.timestamp = timestamp; this.creds = creds; @@ -34163,10 +39361,11 @@ public averageKeyRecordTimestr_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyRecordTimestr", + "verifyKeyValueRecordTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyRecordTimestr_args args = new averageKeyRecordTimestr_args(); + verifyKeyValueRecordTime_args args = new verifyKeyValueRecordTime_args(); args.setKey(key); + args.setValue(value); args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); @@ -34176,10 +39375,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public boolean getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -34190,33 +39388,40 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyRecordTimestr(); + return (new Client(prot)).recv_verifyKeyValueRecordTime(); } } - public void averageKeyRecords(String key, List records, + public void verifyKeyValueRecordTimestr(String key, + com.cinchapi.concourse.thrift.TObject value, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyRecords_call method_call = new averageKeyRecords_call(key, - records, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + verifyKeyValueRecordTimestr_call method_call = new verifyKeyValueRecordTimestr_call( + key, value, record, timestamp, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyRecords_call + public static class verifyKeyValueRecordTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; + private com.cinchapi.concourse.thrift.TObject value; + private long record; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyRecords_call(String key, List records, + public verifyKeyValueRecordTimestr_call(String key, + com.cinchapi.concourse.thrift.TObject value, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34227,7 +39432,9 @@ public averageKeyRecords_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.value = value; + this.record = record; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34236,11 +39443,13 @@ public averageKeyRecords_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyRecords", + "verifyKeyValueRecordTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyRecords_args args = new averageKeyRecords_args(); + verifyKeyValueRecordTimestr_args args = new verifyKeyValueRecordTimestr_args(); args.setKey(key); - args.setRecords(records); + args.setValue(value); + args.setRecord(record); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34248,9 +39457,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public boolean getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -34261,35 +39471,33 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyRecords(); + return (new Client(prot)).recv_verifyKeyValueRecordTimestr(); } } - public void averageKeyRecordsTime(String key, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void jsonifyRecords(List records, boolean identifier, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyRecordsTime_call method_call = new averageKeyRecordsTime_call( - key, records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + jsonifyRecords_call method_call = new jsonifyRecords_call(records, + identifier, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyRecordsTime_call + public static class jsonifyRecords_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; private List records; - private long timestamp; + private boolean identifier; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyRecordsTime_call(String key, List records, - long timestamp, + public jsonifyRecords_call(List records, boolean identifier, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34299,9 +39507,8 @@ public averageKeyRecordsTime_call(String key, List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; this.records = records; - this.timestamp = timestamp; + this.identifier = identifier; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34310,12 +39517,11 @@ public averageKeyRecordsTime_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyRecordsTime", + "jsonifyRecords", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyRecordsTime_args args = new averageKeyRecordsTime_args(); - args.setKey(key); + jsonifyRecords_args args = new jsonifyRecords_args(); args.setRecords(records); - args.setTimestamp(timestamp); + args.setIdentifier(identifier); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34323,7 +39529,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public String getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -34336,36 +39542,37 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyRecordsTime(); + return (new Client(prot)).recv_jsonifyRecords(); } } - public void averageKeyRecordsTimestr(String key, List records, - String timestamp, + public void jsonifyRecordsTime(List records, long timestamp, + boolean identifier, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyRecordsTimestr_call method_call = new averageKeyRecordsTimestr_call( - key, records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + jsonifyRecordsTime_call method_call = new jsonifyRecordsTime_call( + records, timestamp, identifier, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyRecordsTimestr_call + public static class jsonifyRecordsTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; private List records; - private String timestamp; + private long timestamp; + private boolean identifier; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyRecordsTimestr_call(String key, List records, - String timestamp, + public jsonifyRecordsTime_call(List records, long timestamp, + boolean identifier, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34375,9 +39582,9 @@ public averageKeyRecordsTimestr_call(String key, List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; this.records = records; this.timestamp = timestamp; + this.identifier = identifier; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34386,12 +39593,12 @@ public averageKeyRecordsTimestr_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyRecordsTimestr", + "jsonifyRecordsTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyRecordsTimestr_args args = new averageKeyRecordsTimestr_args(); - args.setKey(key); + jsonifyRecordsTime_args args = new jsonifyRecordsTime_args(); args.setRecords(records); args.setTimestamp(timestamp); + args.setIdentifier(identifier); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34399,76 +39606,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() - throws com.cinchapi.concourse.thrift.SecurityException, - com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, - com.cinchapi.concourse.thrift.PermissionException, - org.apache.thrift.TException { - if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { - throw new IllegalStateException( - "Method call not finished!"); - } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( - getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client - .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyRecordsTimestr(); - } - } - - public void averageKey(String key, - com.cinchapi.concourse.thrift.AccessToken creds, - com.cinchapi.concourse.thrift.TransactionToken transaction, - String environment, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws org.apache.thrift.TException { - checkReady(); - averageKey_call method_call = new averageKey_call(key, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - public static class averageKey_call - extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.AccessToken creds; - private com.cinchapi.concourse.thrift.TransactionToken transaction; - private String environment; - - public averageKey_call(String key, - com.cinchapi.concourse.thrift.AccessToken creds, - com.cinchapi.concourse.thrift.TransactionToken transaction, - String environment, - org.apache.thrift.async.AsyncMethodCallback resultHandler, - org.apache.thrift.async.TAsyncClient client, - org.apache.thrift.protocol.TProtocolFactory protocolFactory, - org.apache.thrift.transport.TNonblockingTransport transport) - throws org.apache.thrift.TException { - super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.creds = creds; - this.transaction = transaction; - this.environment = environment; - } - - public void write_args(org.apache.thrift.protocol.TProtocol prot) - throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKey", - org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKey_args args = new averageKey_args(); - args.setKey(key); - args.setCreds(creds); - args.setTransaction(transaction); - args.setEnvironment(environment); - args.write(prot); - prot.writeMessageEnd(); - } - - public com.cinchapi.concourse.thrift.TObject getResult() + public String getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -34481,33 +39619,37 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKey(); + return (new Client(prot)).recv_jsonifyRecordsTime(); } } - public void averageKeyTime(String key, long timestamp, + public void jsonifyRecordsTimestr(List records, String timestamp, + boolean identifier, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyTime_call method_call = new averageKeyTime_call(key, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + jsonifyRecordsTimestr_call method_call = new jsonifyRecordsTimestr_call( + records, timestamp, identifier, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyTime_call + public static class jsonifyRecordsTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private long timestamp; + private List records; + private String timestamp; + private boolean identifier; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyTime_call(String key, long timestamp, + public jsonifyRecordsTimestr_call(List records, + String timestamp, boolean identifier, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34517,8 +39659,9 @@ public averageKeyTime_call(String key, long timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; + this.records = records; this.timestamp = timestamp; + this.identifier = identifier; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34527,11 +39670,12 @@ public averageKeyTime_call(String key, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyTime", + "jsonifyRecordsTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyTime_args args = new averageKeyTime_args(); - args.setKey(key); + jsonifyRecordsTimestr_args args = new jsonifyRecordsTimestr_args(); + args.setRecords(records); args.setTimestamp(timestamp); + args.setIdentifier(identifier); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34539,9 +39683,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public String getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -34552,33 +39697,34 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyTime(); + return (new Client(prot)).recv_jsonifyRecordsTimestr(); } } - public void averageKeyTimestr(String key, String timestamp, + public void findCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyTimestr_call method_call = new averageKeyTimestr_call(key, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + findCriteria_call method_call = new findCriteria_call(criteria, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyTimestr_call + public static class findCriteria_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private String timestamp; + private com.cinchapi.concourse.thrift.TCriteria criteria; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyTimestr_call(String key, String timestamp, + public findCriteria_call( + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34588,8 +39734,7 @@ public averageKeyTimestr_call(String key, String timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.timestamp = timestamp; + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34598,11 +39743,10 @@ public averageKeyTimestr_call(String key, String timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyTimestr", + "findCriteria", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyTimestr_args args = new averageKeyTimestr_args(); - args.setKey(key); - args.setTimestamp(timestamp); + findCriteria_args args = new findCriteria_args(); + args.setCriteria(criteria); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34610,10 +39754,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -34624,35 +39767,37 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyTimestr(); + return (new Client(prot)).recv_findCriteria(); } } - public void averageKeyCriteria(String key, + public void findCriteriaOrder( com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyCriteria_call method_call = new averageKeyCriteria_call( - key, criteria, creds, transaction, environment, + findCriteriaOrder_call method_call = new findCriteriaOrder_call( + criteria, order, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyCriteria_call + public static class findCriteriaOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyCriteria_call(String key, + public findCriteriaOrder_call( com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34662,8 +39807,8 @@ public averageKeyCriteria_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34672,11 +39817,11 @@ public averageKeyCriteria_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyCriteria", + "findCriteriaOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyCriteria_args args = new averageKeyCriteria_args(); - args.setKey(key); + findCriteriaOrder_args args = new findCriteriaOrder_args(); args.setCriteria(criteria); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34684,7 +39829,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -34697,37 +39842,32 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyCriteria(); + return (new Client(prot)).recv_findCriteriaOrder(); } } - public void averageKeyCriteriaTime(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void findCcl(String ccl, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyCriteriaTime_call method_call = new averageKeyCriteriaTime_call( - key, criteria, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + findCcl_call method_call = new findCcl_call(ccl, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyCriteriaTime_call + public static class findCcl_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; - private long timestamp; + private String ccl; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyCriteriaTime_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, + public findCcl_call(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34737,9 +39877,7 @@ public averageKeyCriteriaTime_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.criteria = criteria; - this.timestamp = timestamp; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34748,12 +39886,10 @@ public averageKeyCriteriaTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyCriteriaTime", - org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyCriteriaTime_args args = new averageKeyCriteriaTime_args(); - args.setKey(key); - args.setCriteria(criteria); - args.setTimestamp(timestamp); + "findCcl", org.apache.thrift.protocol.TMessageType.CALL, + 0)); + findCcl_args args = new findCcl_args(); + args.setCcl(ccl); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34761,9 +39897,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -34774,38 +39911,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyCriteriaTime(); + return (new Client(prot)).recv_findCcl(); } } - public void averageKeyCriteriaTimestr(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public void findCclOrder(String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyCriteriaTimestr_call method_call = new averageKeyCriteriaTimestr_call( - key, criteria, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + findCclOrder_call method_call = new findCclOrder_call(ccl, order, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyCriteriaTimestr_call + public static class findCclOrder_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; - private String timestamp; + private String ccl; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyCriteriaTimestr_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public findCclOrder_call(String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34815,9 +39949,8 @@ public averageKeyCriteriaTimestr_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.criteria = criteria; - this.timestamp = timestamp; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34826,12 +39959,11 @@ public averageKeyCriteriaTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyCriteriaTimestr", + "findCclOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyCriteriaTimestr_args args = new averageKeyCriteriaTimestr_args(); - args.setKey(key); - args.setCriteria(criteria); - args.setTimestamp(timestamp); + findCclOrder_args args = new findCclOrder_args(); + args.setCcl(ccl); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34839,7 +39971,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -34853,33 +39985,38 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyCriteriaTimestr(); + return (new Client(prot)).recv_findCclOrder(); } } - public void averageKeyCcl(String key, String ccl, + public void findKeyOperatorValues(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyCcl_call method_call = new averageKeyCcl_call(key, ccl, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + findKeyOperatorValues_call method_call = new findKeyOperatorValues_call( + key, operator, values, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyCcl_call + public static class findKeyOperatorValues_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; + private com.cinchapi.concourse.thrift.Operator operator; + private List values; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyCcl_call(String key, String ccl, + public findKeyOperatorValues_call(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34890,7 +40027,8 @@ public averageKeyCcl_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.operator = operator; + this.values = values; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34899,11 +40037,12 @@ public averageKeyCcl_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyCcl", + "findKeyOperatorValues", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyCcl_args args = new averageKeyCcl_args(); + findKeyOperatorValues_args args = new findKeyOperatorValues_args(); args.setKey(key); - args.setCcl(ccl); + args.setOperator(operator); + args.setValues(values); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34911,10 +40050,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -34925,35 +40063,42 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyCcl(); + return (new Client(prot)).recv_findKeyOperatorValues(); } } - public void averageKeyCclTime(String key, String ccl, long timestamp, + public void findKeyOperatorValuesOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyCclTime_call method_call = new averageKeyCclTime_call(key, - ccl, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + findKeyOperatorValuesOrder_call method_call = new findKeyOperatorValuesOrder_call( + key, operator, values, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyCclTime_call + public static class findKeyOperatorValuesOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; - private long timestamp; + private com.cinchapi.concourse.thrift.Operator operator; + private List values; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyCclTime_call(String key, String ccl, - long timestamp, + public findKeyOperatorValuesOrder_call(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -34964,8 +40109,9 @@ public averageKeyCclTime_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; - this.timestamp = timestamp; + this.operator = operator; + this.values = values; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -34974,12 +40120,13 @@ public averageKeyCclTime_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyCclTime", + "findKeyOperatorValuesOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyCclTime_args args = new averageKeyCclTime_args(); + findKeyOperatorValuesOrder_args args = new findKeyOperatorValuesOrder_args(); args.setKey(key); - args.setCcl(ccl); - args.setTimestamp(timestamp); + args.setOperator(operator); + args.setValues(values); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -34987,10 +40134,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -35001,36 +40147,41 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyCclTime(); + return (new Client(prot)).recv_findKeyOperatorValuesOrder(); } } - public void averageKeyCclTimestr(String key, String ccl, - String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void findKeyOperatorValuesTime(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - averageKeyCclTimestr_call method_call = new averageKeyCclTimestr_call( - key, ccl, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + findKeyOperatorValuesTime_call method_call = new findKeyOperatorValuesTime_call( + key, operator, values, timestamp, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class averageKeyCclTimestr_call + public static class findKeyOperatorValuesTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; - private String timestamp; + private com.cinchapi.concourse.thrift.Operator operator; + private List values; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public averageKeyCclTimestr_call(String key, String ccl, - String timestamp, + public findKeyOperatorValuesTime_call(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35041,7 +40192,8 @@ public averageKeyCclTimestr_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.operator = operator; + this.values = values; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -35051,11 +40203,12 @@ public averageKeyCclTimestr_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "averageKeyCclTimestr", + "findKeyOperatorValuesTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - averageKeyCclTimestr_args args = new averageKeyCclTimestr_args(); + findKeyOperatorValuesTime_args args = new findKeyOperatorValuesTime_args(); args.setKey(key); - args.setCcl(ccl); + args.setOperator(operator); + args.setValues(values); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -35064,10 +40217,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -35078,33 +40230,43 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_averageKeyCclTimestr(); + return (new Client(prot)).recv_findKeyOperatorValuesTime(); } } - public void countKeyRecord(String key, long record, + public void findKeyOperatorValuesTimeOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyRecord_call method_call = new countKeyRecord_call(key, - record, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + findKeyOperatorValuesTimeOrder_call method_call = new findKeyOperatorValuesTimeOrder_call( + key, operator, values, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyRecord_call + public static class findKeyOperatorValuesTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; + private com.cinchapi.concourse.thrift.Operator operator; + private List values; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyRecord_call(String key, long record, + public findKeyOperatorValuesTimeOrder_call(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35115,7 +40277,10 @@ public countKeyRecord_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; + this.operator = operator; + this.values = values; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -35124,11 +40289,14 @@ public countKeyRecord_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyRecord", + "findKeyOperatorValuesTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyRecord_args args = new countKeyRecord_args(); + findKeyOperatorValuesTimeOrder_args args = new findKeyOperatorValuesTimeOrder_args(); args.setKey(key); - args.setRecord(record); + args.setOperator(operator); + args.setValues(values); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -35136,7 +40304,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -35149,35 +40317,42 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyRecord(); + return (new Client(prot)).recv_findKeyOperatorValuesTimeOrder(); } } - public void countKeyRecordTime(String key, long record, long timestamp, + public void findKeyOperatorValuesTimestr(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyRecordTime_call method_call = new countKeyRecordTime_call( - key, record, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + findKeyOperatorValuesTimestr_call method_call = new findKeyOperatorValuesTimestr_call( + key, operator, values, timestamp, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyRecordTime_call + public static class findKeyOperatorValuesTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; - private long timestamp; + private com.cinchapi.concourse.thrift.Operator operator; + private List values; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyRecordTime_call(String key, long record, - long timestamp, + public findKeyOperatorValuesTimestr_call(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35188,7 +40363,8 @@ public countKeyRecordTime_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; + this.operator = operator; + this.values = values; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -35198,11 +40374,12 @@ public countKeyRecordTime_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyRecordTime", + "findKeyOperatorValuesTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyRecordTime_args args = new countKeyRecordTime_args(); + findKeyOperatorValuesTimestr_args args = new findKeyOperatorValuesTimestr_args(); args.setKey(key); - args.setRecord(record); + args.setOperator(operator); + args.setValues(values); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -35211,9 +40388,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -35224,36 +40402,44 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyRecordTime(); + return (new Client(prot)).recv_findKeyOperatorValuesTimestr(); } } - public void countKeyRecordTimestr(String key, long record, - String timestamp, + public void findKeyOperatorValuesTimestrOrder(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyRecordTimestr_call method_call = new countKeyRecordTimestr_call( - key, record, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + findKeyOperatorValuesTimestrOrder_call method_call = new findKeyOperatorValuesTimestrOrder_call( + key, operator, values, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyRecordTimestr_call + public static class findKeyOperatorValuesTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; + private com.cinchapi.concourse.thrift.Operator operator; + private List values; private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyRecordTimestr_call(String key, long record, + public findKeyOperatorValuesTimestrOrder_call(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35264,8 +40450,10 @@ public countKeyRecordTimestr_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; + this.operator = operator; + this.values = values; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -35274,12 +40462,14 @@ public countKeyRecordTimestr_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyRecordTimestr", + "findKeyOperatorValuesTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyRecordTimestr_args args = new countKeyRecordTimestr_args(); + findKeyOperatorValuesTimestrOrder_args args = new findKeyOperatorValuesTimestrOrder_args(); args.setKey(key); - args.setRecord(record); + args.setOperator(operator); + args.setValues(values); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -35287,7 +40477,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -35301,33 +40491,37 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyRecordTimestr(); + return (new Client(prot)) + .recv_findKeyOperatorValuesTimestrOrder(); } } - public void countKeyRecords(String key, List records, + public void findKeyOperatorstrValues(String key, String operator, + List values, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyRecords_call method_call = new countKeyRecords_call(key, - records, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + findKeyOperatorstrValues_call method_call = new findKeyOperatorstrValues_call( + key, operator, values, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyRecords_call + public static class findKeyOperatorstrValues_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; + private String operator; + private List values; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyRecords_call(String key, List records, + public findKeyOperatorstrValues_call(String key, String operator, + List values, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35338,7 +40532,8 @@ public countKeyRecords_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.operator = operator; + this.values = values; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -35347,11 +40542,12 @@ public countKeyRecords_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyRecords", + "findKeyOperatorstrValues", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyRecords_args args = new countKeyRecords_args(); + findKeyOperatorstrValues_args args = new findKeyOperatorstrValues_args(); args.setKey(key); - args.setRecords(records); + args.setOperator(operator); + args.setValues(values); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -35359,9 +40555,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -35372,35 +40569,41 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyRecords(); + return (new Client(prot)).recv_findKeyOperatorstrValues(); } } - public void countKeyRecordsTime(String key, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void findKeyOperatorstrValuesOrder(String key, String operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyRecordsTime_call method_call = new countKeyRecordsTime_call( - key, records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + findKeyOperatorstrValuesOrder_call method_call = new findKeyOperatorstrValuesOrder_call( + key, operator, values, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyRecordsTime_call + public static class findKeyOperatorstrValuesOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; - private long timestamp; + private String operator; + private List values; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyRecordsTime_call(String key, List records, - long timestamp, + public findKeyOperatorstrValuesOrder_call(String key, + String operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35411,8 +40614,9 @@ public countKeyRecordsTime_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; - this.timestamp = timestamp; + this.operator = operator; + this.values = values; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -35421,12 +40625,13 @@ public countKeyRecordsTime_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyRecordsTime", + "findKeyOperatorstrValuesOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyRecordsTime_args args = new countKeyRecordsTime_args(); + findKeyOperatorstrValuesOrder_args args = new findKeyOperatorstrValuesOrder_args(); args.setKey(key); - args.setRecords(records); - args.setTimestamp(timestamp); + args.setOperator(operator); + args.setValues(values); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -35434,9 +40639,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -35447,36 +40653,40 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyRecordsTime(); + return (new Client(prot)).recv_findKeyOperatorstrValuesOrder(); } } - public void countKeyRecordsTimestr(String key, List records, - String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void findKeyOperatorstrValuesTime(String key, String operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyRecordsTimestr_call method_call = new countKeyRecordsTimestr_call( - key, records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + findKeyOperatorstrValuesTime_call method_call = new findKeyOperatorstrValuesTime_call( + key, operator, values, timestamp, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyRecordsTimestr_call + public static class findKeyOperatorstrValuesTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; - private String timestamp; + private String operator; + private List values; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyRecordsTimestr_call(String key, List records, - String timestamp, + public findKeyOperatorstrValuesTime_call(String key, + String operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35487,7 +40697,8 @@ public countKeyRecordsTimestr_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.operator = operator; + this.values = values; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -35497,11 +40708,12 @@ public countKeyRecordsTimestr_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyRecordsTimestr", + "findKeyOperatorstrValuesTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyRecordsTimestr_args args = new countKeyRecordsTimestr_args(); + findKeyOperatorstrValuesTime_args args = new findKeyOperatorstrValuesTime_args(); args.setKey(key); - args.setRecords(records); + args.setOperator(operator); + args.setValues(values); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -35510,7 +40722,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -35524,32 +40736,43 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyRecordsTimestr(); + return (new Client(prot)).recv_findKeyOperatorstrValuesTime(); } } - public void countKey(String key, + public void findKeyOperatorstrValuesTimeOrder(String key, + String operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKey_call method_call = new countKey_call(key, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + findKeyOperatorstrValuesTimeOrder_call method_call = new findKeyOperatorstrValuesTimeOrder_call( + key, operator, values, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKey_call + public static class findKeyOperatorstrValuesTimeOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; + private String operator; + private List values; + private long timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKey_call(String key, + public findKeyOperatorstrValuesTimeOrder_call(String key, + String operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35560,6 +40783,10 @@ public countKey_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; + this.operator = operator; + this.values = values; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -35568,10 +40795,14 @@ public countKey_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKey", + "findKeyOperatorstrValuesTimeOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKey_args args = new countKey_args(); + findKeyOperatorstrValuesTimeOrder_args args = new findKeyOperatorstrValuesTimeOrder_args(); args.setKey(key); + args.setOperator(operator); + args.setValues(values); + args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -35579,9 +40810,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -35592,33 +40824,42 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKey(); + return (new Client(prot)) + .recv_findKeyOperatorstrValuesTimeOrder(); } } - public void countKeyTime(String key, long timestamp, + public void findKeyOperatorstrValuesTimestr(String key, String operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyTime_call method_call = new countKeyTime_call(key, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + findKeyOperatorstrValuesTimestr_call method_call = new findKeyOperatorstrValuesTimestr_call( + key, operator, values, timestamp, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyTime_call + public static class findKeyOperatorstrValuesTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long timestamp; + private String operator; + private List values; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyTime_call(String key, long timestamp, + public findKeyOperatorstrValuesTimestr_call(String key, + String operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35629,6 +40870,8 @@ public countKeyTime_call(String key, long timestamp, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; + this.operator = operator; + this.values = values; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -35638,10 +40881,12 @@ public countKeyTime_call(String key, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyTime", + "findKeyOperatorstrValuesTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyTime_args args = new countKeyTime_args(); + findKeyOperatorstrValuesTimestr_args args = new findKeyOperatorstrValuesTimestr_args(); args.setKey(key); + args.setOperator(operator); + args.setValues(values); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -35650,9 +40895,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -35663,33 +40909,45 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyTime(); + return (new Client(prot)) + .recv_findKeyOperatorstrValuesTimestr(); } } - public void countKeyTimestr(String key, String timestamp, + public void findKeyOperatorstrValuesTimestrOrder(String key, + String operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyTimestr_call method_call = new countKeyTimestr_call(key, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + findKeyOperatorstrValuesTimestrOrder_call method_call = new findKeyOperatorstrValuesTimestrOrder_call( + key, operator, values, timestamp, order, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyTimestr_call + public static class findKeyOperatorstrValuesTimestrOrder_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; + private String operator; + private List values; private String timestamp; + private com.cinchapi.concourse.thrift.TOrder order; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyTimestr_call(String key, String timestamp, + public findKeyOperatorstrValuesTimestrOrder_call(String key, + String operator, + List values, + String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35700,7 +40958,10 @@ public countKeyTimestr_call(String key, String timestamp, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; + this.operator = operator; + this.values = values; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -35709,11 +40970,14 @@ public countKeyTimestr_call(String key, String timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyTimestr", + "findKeyOperatorstrValuesTimestrOrder", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyTimestr_args args = new countKeyTimestr_args(); + findKeyOperatorstrValuesTimestrOrder_args args = new findKeyOperatorstrValuesTimestrOrder_args(); args.setKey(key); + args.setOperator(operator); + args.setValues(values); args.setTimestamp(timestamp); + args.setOrder(order); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -35721,7 +40985,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -35735,35 +40999,34 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyTimestr(); + return (new Client(prot)) + .recv_findKeyOperatorstrValuesTimestrOrder(); } } - public void countKeyCriteria(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public void search(String key, String query, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyCriteria_call method_call = new countKeyCriteria_call(key, - criteria, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + search_call method_call = new search_call(key, query, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyCriteria_call + public static class search_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private String query; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyCriteria_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public search_call(String key, String query, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35774,7 +41037,7 @@ public countKeyCriteria_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.criteria = criteria; + this.query = query; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -35783,11 +41046,11 @@ public countKeyCriteria_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyCriteria", - org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyCriteria_args args = new countKeyCriteria_args(); + "search", org.apache.thrift.protocol.TMessageType.CALL, + 0)); + search_args args = new search_args(); args.setKey(key); - args.setCriteria(criteria); + args.setQuery(query); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -35795,7 +41058,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public Set getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -35808,37 +41071,35 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyCriteria(); + return (new Client(prot)).recv_search(); } } - public void countKeyCriteriaTime(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public void revertKeysRecordsTime(List keys, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyCriteriaTime_call method_call = new countKeyCriteriaTime_call( - key, criteria, timestamp, creds, transaction, environment, + revertKeysRecordsTime_call method_call = new revertKeysRecordsTime_call( + keys, records, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyCriteriaTime_call + public static class revertKeysRecordsTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private List keys; + private List records; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyCriteriaTime_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, + public revertKeysRecordsTime_call(List keys, + List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35848,8 +41109,8 @@ public countKeyCriteriaTime_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.criteria = criteria; + this.keys = keys; + this.records = records; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -35859,11 +41120,11 @@ public countKeyCriteriaTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyCriteriaTime", + "revertKeysRecordsTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyCriteriaTime_args args = new countKeyCriteriaTime_args(); - args.setKey(key); - args.setCriteria(criteria); + revertKeysRecordsTime_args args = new revertKeysRecordsTime_args(); + args.setKeys(keys); + args.setRecords(records); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -35872,10 +41133,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public void getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -35886,38 +41146,36 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyCriteriaTime(); + (new Client(prot)).recv_revertKeysRecordsTime(); } } - public void countKeyCriteriaTimestr(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public void revertKeysRecordsTimestr(List keys, + List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyCriteriaTimestr_call method_call = new countKeyCriteriaTimestr_call( - key, criteria, timestamp, creds, transaction, environment, + revertKeysRecordsTimestr_call method_call = new revertKeysRecordsTimestr_call( + keys, records, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyCriteriaTimestr_call + public static class revertKeysRecordsTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private List keys; + private List records; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyCriteriaTimestr_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public revertKeysRecordsTimestr_call(List keys, + List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -35927,8 +41185,8 @@ public countKeyCriteriaTimestr_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.criteria = criteria; + this.keys = keys; + this.records = records; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -35938,11 +41196,11 @@ public countKeyCriteriaTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyCriteriaTimestr", + "revertKeysRecordsTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyCriteriaTimestr_args args = new countKeyCriteriaTimestr_args(); - args.setKey(key); - args.setCriteria(criteria); + revertKeysRecordsTimestr_args args = new revertKeysRecordsTimestr_args(); + args.setKeys(keys); + args.setRecords(records); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -35951,7 +41209,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public void getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -35965,33 +41223,35 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyCriteriaTimestr(); + (new Client(prot)).recv_revertKeysRecordsTimestr(); } } - public void countKeyCcl(String key, String ccl, - com.cinchapi.concourse.thrift.AccessToken creds, + public void revertKeysRecordTime(List keys, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyCcl_call method_call = new countKeyCcl_call(key, ccl, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + revertKeysRecordTime_call method_call = new revertKeysRecordTime_call( + keys, record, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyCcl_call + public static class revertKeysRecordTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private String ccl; + private List keys; + private long record; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyCcl_call(String key, String ccl, + public revertKeysRecordTime_call(List keys, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36001,8 +41261,9 @@ public countKeyCcl_call(String key, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.ccl = ccl; + this.keys = keys; + this.record = record; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -36011,11 +41272,12 @@ public countKeyCcl_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyCcl", + "revertKeysRecordTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyCcl_args args = new countKeyCcl_args(); - args.setKey(key); - args.setCcl(ccl); + revertKeysRecordTime_args args = new revertKeysRecordTime_args(); + args.setKeys(keys); + args.setRecord(record); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -36023,10 +41285,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public void getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -36037,34 +41298,36 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyCcl(); + (new Client(prot)).recv_revertKeysRecordTime(); } } - public void countKeyCclTime(String key, String ccl, long timestamp, + public void revertKeysRecordTimestr(List keys, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyCclTime_call method_call = new countKeyCclTime_call(key, - ccl, timestamp, creds, transaction, environment, + revertKeysRecordTimestr_call method_call = new revertKeysRecordTimestr_call( + keys, record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyCclTime_call + public static class revertKeysRecordTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private String ccl; - private long timestamp; + private List keys; + private long record; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyCclTime_call(String key, String ccl, long timestamp, + public revertKeysRecordTimestr_call(List keys, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36074,8 +41337,8 @@ public countKeyCclTime_call(String key, String ccl, long timestamp, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.ccl = ccl; + this.keys = keys; + this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -36085,11 +41348,11 @@ public countKeyCclTime_call(String key, String ccl, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyCclTime", + "revertKeysRecordTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyCclTime_args args = new countKeyCclTime_args(); - args.setKey(key); - args.setCcl(ccl); + revertKeysRecordTimestr_args args = new revertKeysRecordTimestr_args(); + args.setKeys(keys); + args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -36098,7 +41361,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public void getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -36112,35 +41375,35 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyCclTime(); + (new Client(prot)).recv_revertKeysRecordTimestr(); } } - public void countKeyCclTimestr(String key, String ccl, String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void revertKeyRecordsTime(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - countKeyCclTimestr_call method_call = new countKeyCclTimestr_call( - key, ccl, timestamp, creds, transaction, environment, + revertKeyRecordsTime_call method_call = new revertKeyRecordsTime_call( + key, records, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class countKeyCclTimestr_call + public static class revertKeyRecordsTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; - private String timestamp; + private List records; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public countKeyCclTimestr_call(String key, String ccl, - String timestamp, + public revertKeyRecordsTime_call(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36151,7 +41414,7 @@ public countKeyCclTimestr_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.records = records; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -36161,11 +41424,11 @@ public countKeyCclTimestr_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "countKeyCclTimestr", + "revertKeyRecordsTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - countKeyCclTimestr_args args = new countKeyCclTimestr_args(); + revertKeyRecordsTime_args args = new revertKeyRecordsTime_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecords(records); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -36174,10 +41437,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public long getResult() + public void getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -36188,33 +41450,36 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_countKeyCclTimestr(); + (new Client(prot)).recv_revertKeyRecordsTime(); } } - public void maxKeyRecord(String key, long record, + public void revertKeyRecordsTimestr(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyRecord_call method_call = new maxKeyRecord_call(key, record, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + revertKeyRecordsTimestr_call method_call = new revertKeyRecordsTimestr_call( + key, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyRecord_call + public static class revertKeyRecordsTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; + private List records; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyRecord_call(String key, long record, + public revertKeyRecordsTimestr_call(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36225,7 +41490,8 @@ public maxKeyRecord_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; + this.records = records; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -36234,11 +41500,12 @@ public maxKeyRecord_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyRecord", + "revertKeyRecordsTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyRecord_args args = new maxKeyRecord_args(); + revertKeyRecordsTimestr_args args = new revertKeyRecordsTimestr_args(); args.setKey(key); - args.setRecord(record); + args.setRecords(records); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -36246,9 +41513,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public void getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -36259,25 +41527,25 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyRecord(); + (new Client(prot)).recv_revertKeyRecordsTimestr(); } } - public void maxKeyRecordTime(String key, long record, long timestamp, + public void revertKeyRecordTime(String key, long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyRecordTime_call method_call = new maxKeyRecordTime_call(key, - record, timestamp, creds, transaction, environment, + revertKeyRecordTime_call method_call = new revertKeyRecordTime_call( + key, record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyRecordTime_call + public static class revertKeyRecordTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; private long record; @@ -36286,7 +41554,7 @@ public static class maxKeyRecordTime_call private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyRecordTime_call(String key, long record, + public revertKeyRecordTime_call(String key, long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -36308,9 +41576,9 @@ public maxKeyRecordTime_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyRecordTime", + "revertKeyRecordTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyRecordTime_args args = new maxKeyRecordTime_args(); + revertKeyRecordTime_args args = new revertKeyRecordTime_args(); args.setKey(key); args.setRecord(record); args.setTimestamp(timestamp); @@ -36321,7 +41589,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public void getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -36334,11 +41602,11 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyRecordTime(); + (new Client(prot)).recv_revertKeyRecordTime(); } } - public void maxKeyRecordTimestr(String key, long record, + public void revertKeyRecordTimestr(String key, long record, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -36346,14 +41614,14 @@ public void maxKeyRecordTimestr(String key, long record, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyRecordTimestr_call method_call = new maxKeyRecordTimestr_call( + revertKeyRecordTimestr_call method_call = new revertKeyRecordTimestr_call( key, record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyRecordTimestr_call + public static class revertKeyRecordTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; private long record; @@ -36362,7 +41630,7 @@ public static class maxKeyRecordTimestr_call private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyRecordTimestr_call(String key, long record, + public revertKeyRecordTimestr_call(String key, long record, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -36384,9 +41652,9 @@ public maxKeyRecordTimestr_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyRecordTimestr", + "revertKeyRecordTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyRecordTimestr_args args = new maxKeyRecordTimestr_args(); + revertKeyRecordTimestr_args args = new revertKeyRecordTimestr_args(); args.setKey(key); args.setRecord(record); args.setTimestamp(timestamp); @@ -36397,7 +41665,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public void getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -36411,33 +41679,32 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyRecordTimestr(); + (new Client(prot)).recv_revertKeyRecordTimestr(); } } - public void maxKeyRecords(String key, List records, + public void pingRecords(List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyRecords_call method_call = new maxKeyRecords_call(key, - records, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + pingRecords_call method_call = new pingRecords_call(records, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyRecords_call + public static class pingRecords_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; private List records; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyRecords_call(String key, List records, + public pingRecords_call(List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36447,7 +41714,6 @@ public maxKeyRecords_call(String key, List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; this.records = records; this.creds = creds; this.transaction = transaction; @@ -36457,10 +41723,9 @@ public maxKeyRecords_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyRecords", + "pingRecords", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyRecords_args args = new maxKeyRecords_args(); - args.setKey(key); + pingRecords_args args = new pingRecords_args(); args.setRecords(records); args.setCreds(creds); args.setTransaction(transaction); @@ -36469,7 +41734,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public Map getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -36482,35 +41747,32 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyRecords(); + return (new Client(prot)).recv_pingRecords(); } } - public void maxKeyRecordsTime(String key, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void pingRecord(long record, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyRecordsTime_call method_call = new maxKeyRecordsTime_call(key, - records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + pingRecord_call method_call = new pingRecord_call(record, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyRecordsTime_call + public static class pingRecord_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; - private List records; - private long timestamp; + private long record; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyRecordsTime_call(String key, List records, - long timestamp, + public pingRecord_call(long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36520,9 +41782,7 @@ public maxKeyRecordsTime_call(String key, List records, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; - this.records = records; - this.timestamp = timestamp; + this.record = record; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -36531,12 +41791,10 @@ public maxKeyRecordsTime_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyRecordsTime", + "pingRecord", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyRecordsTime_args args = new maxKeyRecordsTime_args(); - args.setKey(key); - args.setRecords(records); - args.setTimestamp(timestamp); + pingRecord_args args = new pingRecord_args(); + args.setRecord(record); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -36544,7 +41802,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public boolean getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -36557,36 +41815,40 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyRecordsTime(); + return (new Client(prot)).recv_pingRecord(); } } - public void maxKeyRecordsTimestr(String key, List records, - String timestamp, + public void verifyAndSwap(String key, + com.cinchapi.concourse.thrift.TObject expected, long record, + com.cinchapi.concourse.thrift.TObject replacement, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyRecordsTimestr_call method_call = new maxKeyRecordsTimestr_call( - key, records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + verifyAndSwap_call method_call = new verifyAndSwap_call(key, + expected, record, replacement, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyRecordsTimestr_call + public static class verifyAndSwap_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; - private String timestamp; + private com.cinchapi.concourse.thrift.TObject expected; + private long record; + private com.cinchapi.concourse.thrift.TObject replacement; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyRecordsTimestr_call(String key, List records, - String timestamp, + public verifyAndSwap_call(String key, + com.cinchapi.concourse.thrift.TObject expected, long record, + com.cinchapi.concourse.thrift.TObject replacement, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36597,8 +41859,9 @@ public maxKeyRecordsTimestr_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; - this.timestamp = timestamp; + this.expected = expected; + this.record = record; + this.replacement = replacement; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -36607,12 +41870,13 @@ public maxKeyRecordsTimestr_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyRecordsTimestr", + "verifyAndSwap", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyRecordsTimestr_args args = new maxKeyRecordsTimestr_args(); + verifyAndSwap_args args = new verifyAndSwap_args(); args.setKey(key); - args.setRecords(records); - args.setTimestamp(timestamp); + args.setExpected(expected); + args.setRecord(record); + args.setReplacement(replacement); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -36620,10 +41884,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public boolean getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -36634,35 +41897,36 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyRecordsTimestr(); + return (new Client(prot)).recv_verifyAndSwap(); } } - public void maxKeyCriteria(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public void verifyOrSet(String key, + com.cinchapi.concourse.thrift.TObject value, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyCriteria_call method_call = new maxKeyCriteria_call(key, - criteria, creds, transaction, environment, resultHandler, + verifyOrSet_call method_call = new verifyOrSet_call(key, value, + record, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyCriteria_call + public static class verifyOrSet_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.TObject value; + private long record; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyCriteria_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public verifyOrSet_call(String key, + com.cinchapi.concourse.thrift.TObject value, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36673,7 +41937,8 @@ public maxKeyCriteria_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.criteria = criteria; + this.value = value; + this.record = record; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -36682,11 +41947,12 @@ public maxKeyCriteria_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyCriteria", + "verifyOrSet", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyCriteria_args args = new maxKeyCriteria_args(); + verifyOrSet_args args = new verifyOrSet_args(); args.setKey(key); - args.setCriteria(criteria); + args.setValue(value); + args.setRecord(record); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -36694,9 +41960,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public void getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.InvalidArgumentException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -36707,37 +41974,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyCriteria(); + (new Client(prot)).recv_verifyOrSet(); } } - public void maxKeyCriteriaTime(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void findOrAddKeyValue(String key, + com.cinchapi.concourse.thrift.TObject value, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyCriteriaTime_call method_call = new maxKeyCriteriaTime_call( - key, criteria, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + findOrAddKeyValue_call method_call = new findOrAddKeyValue_call(key, + value, creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyCriteriaTime_call + public static class findOrAddKeyValue_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; - private long timestamp; + private com.cinchapi.concourse.thrift.TObject value; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyCriteriaTime_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, + public findOrAddKeyValue_call(String key, + com.cinchapi.concourse.thrift.TObject value, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36748,8 +42013,7 @@ public maxKeyCriteriaTime_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.criteria = criteria; - this.timestamp = timestamp; + this.value = value; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -36758,12 +42022,11 @@ public maxKeyCriteriaTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyCriteriaTime", + "findOrAddKeyValue", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyCriteriaTime_args args = new maxKeyCriteriaTime_args(); + findOrAddKeyValue_args args = new findOrAddKeyValue_args(); args.setKey(key); - args.setCriteria(criteria); - args.setTimestamp(timestamp); + args.setValue(value); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -36771,9 +42034,11 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.DuplicateEntryException, + com.cinchapi.concourse.thrift.InvalidArgumentException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -36784,38 +42049,36 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyCriteriaTime(); + return (new Client(prot)).recv_findOrAddKeyValue(); } } - public void maxKeyCriteriaTimestr(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public void findOrInsertCriteriaJson( + com.cinchapi.concourse.thrift.TCriteria criteria, String json, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyCriteriaTimestr_call method_call = new maxKeyCriteriaTimestr_call( - key, criteria, timestamp, creds, transaction, environment, + findOrInsertCriteriaJson_call method_call = new findOrInsertCriteriaJson_call( + criteria, json, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyCriteriaTimestr_call + public static class findOrInsertCriteriaJson_call extends org.apache.thrift.async.TAsyncMethodCall { - private String key; private com.cinchapi.concourse.thrift.TCriteria criteria; - private String timestamp; + private String json; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyCriteriaTimestr_call(String key, + public findOrInsertCriteriaJson_call( com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + String json, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36825,9 +42088,8 @@ public maxKeyCriteriaTimestr_call(String key, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.key = key; this.criteria = criteria; - this.timestamp = timestamp; + this.json = json; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -36836,12 +42098,11 @@ public maxKeyCriteriaTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyCriteriaTimestr", + "findOrInsertCriteriaJson", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyCriteriaTimestr_args args = new maxKeyCriteriaTimestr_args(); - args.setKey(key); + findOrInsertCriteriaJson_args args = new findOrInsertCriteriaJson_args(); args.setCriteria(criteria); - args.setTimestamp(timestamp); + args.setJson(json); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -36849,10 +42110,83 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.TObject getResult() + public long getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.DuplicateEntryException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_findOrInsertCriteriaJson(); + } + } + + public void findOrInsertCclJson(String ccl, String json, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + findOrInsertCclJson_call method_call = new findOrInsertCclJson_call( + ccl, json, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class findOrInsertCclJson_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String ccl; + private String json; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public findOrInsertCclJson_call(String ccl, String json, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.ccl = ccl; + this.json = json; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "findOrInsertCclJson", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + findOrInsertCclJson_args args = new findOrInsertCclJson_args(); + args.setCcl(ccl); + args.setJson(json); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.DuplicateEntryException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -36863,33 +42197,33 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyCriteriaTimestr(); + return (new Client(prot)).recv_findOrInsertCclJson(); } } - public void maxKeyCcl(String key, String ccl, + public void sumKeyRecord(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyCcl_call method_call = new maxKeyCcl_call(key, ccl, creds, - transaction, environment, resultHandler, this, + sumKeyRecord_call method_call = new sumKeyRecord_call(key, record, + creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyCcl_call + public static class sumKeyRecord_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; + private long record; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyCcl_call(String key, String ccl, + public sumKeyRecord_call(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36900,7 +42234,7 @@ public maxKeyCcl_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.record = record; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -36909,11 +42243,11 @@ public maxKeyCcl_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyCcl", + "sumKeyRecord", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyCcl_args args = new maxKeyCcl_args(); + sumKeyRecord_args args = new sumKeyRecord_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecord(record); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -36924,7 +42258,6 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -36935,34 +42268,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyCcl(); + return (new Client(prot)).recv_sumKeyRecord(); } } - public void maxKeyCclTime(String key, String ccl, long timestamp, + public void sumKeyRecordTime(String key, long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyCclTime_call method_call = new maxKeyCclTime_call(key, ccl, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + sumKeyRecordTime_call method_call = new sumKeyRecordTime_call(key, + record, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyCclTime_call + public static class sumKeyRecordTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; + private long record; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyCclTime_call(String key, String ccl, long timestamp, + public sumKeyRecordTime_call(String key, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -36973,7 +42307,7 @@ public maxKeyCclTime_call(String key, String ccl, long timestamp, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -36983,11 +42317,11 @@ public maxKeyCclTime_call(String key, String ccl, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyCclTime", + "sumKeyRecordTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyCclTime_args args = new maxKeyCclTime_args(); + sumKeyRecordTime_args args = new sumKeyRecordTime_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -36999,7 +42333,6 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -37010,34 +42343,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyCclTime(); + return (new Client(prot)).recv_sumKeyRecordTime(); } } - public void maxKeyCclTimestr(String key, String ccl, String timestamp, + public void sumKeyRecordTimestr(String key, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyCclTimestr_call method_call = new maxKeyCclTimestr_call(key, - ccl, timestamp, creds, transaction, environment, + sumKeyRecordTimestr_call method_call = new sumKeyRecordTimestr_call( + key, record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyCclTimestr_call + public static class sumKeyRecordTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; + private long record; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyCclTimestr_call(String key, String ccl, + public sumKeyRecordTimestr_call(String key, long record, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -37049,7 +42383,7 @@ public maxKeyCclTimestr_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -37059,11 +42393,11 @@ public maxKeyCclTimestr_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyCclTimestr", + "sumKeyRecordTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyCclTimestr_args args = new maxKeyCclTimestr_args(); + sumKeyRecordTimestr_args args = new sumKeyRecordTimestr_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -37086,32 +42420,33 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyCclTimestr(); + return (new Client(prot)).recv_sumKeyRecordTimestr(); } } - public void maxKey(String key, + public void sumKeyRecords(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKey_call method_call = new maxKey_call(key, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + sumKeyRecords_call method_call = new sumKeyRecords_call(key, + records, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKey_call + public static class sumKeyRecords_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; + private List records; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKey_call(String key, + public sumKeyRecords_call(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -37122,6 +42457,7 @@ public maxKey_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -37130,10 +42466,11 @@ public maxKey_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKey", org.apache.thrift.protocol.TMessageType.CALL, - 0)); - maxKey_args args = new maxKey_args(); + "sumKeyRecords", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + sumKeyRecords_args args = new sumKeyRecords_args(); args.setKey(key); + args.setRecords(records); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -37154,33 +42491,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKey(); + return (new Client(prot)).recv_sumKeyRecords(); } } - public void maxKeyTime(String key, long timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void sumKeyRecordsTime(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyTime_call method_call = new maxKeyTime_call(key, timestamp, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + sumKeyRecordsTime_call method_call = new sumKeyRecordsTime_call(key, + records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyTime_call + public static class sumKeyRecordsTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; + private List records; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyTime_call(String key, long timestamp, + public sumKeyRecordsTime_call(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -37191,6 +42530,7 @@ public maxKeyTime_call(String key, long timestamp, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; + this.records = records; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -37200,10 +42540,11 @@ public maxKeyTime_call(String key, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyTime", + "sumKeyRecordsTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyTime_args args = new maxKeyTime_args(); + sumKeyRecordsTime_args args = new sumKeyRecordsTime_args(); args.setKey(key); + args.setRecords(records); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -37225,33 +42566,36 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyTime(); + return (new Client(prot)).recv_sumKeyRecordsTime(); } } - public void maxKeyTimestr(String key, String timestamp, + public void sumKeyRecordsTimestr(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - maxKeyTimestr_call method_call = new maxKeyTimestr_call(key, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + sumKeyRecordsTimestr_call method_call = new sumKeyRecordsTimestr_call( + key, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class maxKeyTimestr_call + public static class sumKeyRecordsTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; + private List records; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public maxKeyTimestr_call(String key, String timestamp, + public sumKeyRecordsTimestr_call(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -37262,6 +42606,7 @@ public maxKeyTimestr_call(String key, String timestamp, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; + this.records = records; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -37271,10 +42616,11 @@ public maxKeyTimestr_call(String key, String timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "maxKeyTimestr", + "sumKeyRecordsTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - maxKeyTimestr_args args = new maxKeyTimestr_args(); + sumKeyRecordsTimestr_args args = new sumKeyRecordsTimestr_args(); args.setKey(key); + args.setRecords(records); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -37297,33 +42643,32 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_maxKeyTimestr(); + return (new Client(prot)).recv_sumKeyRecordsTimestr(); } } - public void minKeyRecord(String key, long record, + public void sumKey(String key, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyRecord_call method_call = new minKeyRecord_call(key, record, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + sumKey_call method_call = new sumKey_call(key, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyRecord_call + public static class sumKey_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyRecord_call(String key, long record, + public sumKey_call(String key, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -37334,7 +42679,6 @@ public minKeyRecord_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -37343,11 +42687,10 @@ public minKeyRecord_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyRecord", - org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyRecord_args args = new minKeyRecord_args(); + "sumKey", org.apache.thrift.protocol.TMessageType.CALL, + 0)); + sumKey_args args = new sumKey_args(); args.setKey(key); - args.setRecord(record); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -37368,35 +42711,33 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyRecord(); + return (new Client(prot)).recv_sumKey(); } } - public void minKeyRecordTime(String key, long record, long timestamp, + public void sumKeyTime(String key, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyRecordTime_call method_call = new minKeyRecordTime_call(key, - record, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + sumKeyTime_call method_call = new sumKeyTime_call(key, timestamp, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyRecordTime_call + public static class sumKeyTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyRecordTime_call(String key, long record, - long timestamp, + public sumKeyTime_call(String key, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -37407,7 +42748,6 @@ public minKeyRecordTime_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -37417,11 +42757,10 @@ public minKeyRecordTime_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyRecordTime", + "sumKeyTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyRecordTime_args args = new minKeyRecordTime_args(); + sumKeyTime_args args = new sumKeyTime_args(); args.setKey(key); - args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -37443,36 +42782,33 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyRecordTime(); + return (new Client(prot)).recv_sumKeyTime(); } } - public void minKeyRecordTimestr(String key, long record, - String timestamp, + public void sumKeyTimestr(String key, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyRecordTimestr_call method_call = new minKeyRecordTimestr_call( - key, record, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + sumKeyTimestr_call method_call = new sumKeyTimestr_call(key, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyRecordTimestr_call + public static class sumKeyTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyRecordTimestr_call(String key, long record, - String timestamp, + public sumKeyTimestr_call(String key, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -37483,7 +42819,6 @@ public minKeyRecordTimestr_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -37493,11 +42828,10 @@ public minKeyRecordTimestr_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyRecordTimestr", + "sumKeyTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyRecordTimestr_args args = new minKeyRecordTimestr_args(); + sumKeyTimestr_args args = new sumKeyTimestr_args(); args.setKey(key); - args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -37520,32 +42854,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyRecordTimestr(); + return (new Client(prot)).recv_sumKeyTimestr(); } } - public void minKey(String key, + public void sumKeyCriteria(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKey_call method_call = new minKey_call(key, creds, transaction, - environment, resultHandler, this, ___protocolFactory, - ___transport); + sumKeyCriteria_call method_call = new sumKeyCriteria_call(key, + criteria, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKey_call + public static class sumKeyCriteria_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKey_call(String key, + public sumKeyCriteria_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -37556,6 +42893,7 @@ public minKey_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -37564,10 +42902,11 @@ public minKey_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKey", org.apache.thrift.protocol.TMessageType.CALL, - 0)); - minKey_args args = new minKey_args(); + "sumKeyCriteria", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + sumKeyCriteria_args args = new sumKeyCriteria_args(); args.setKey(key); + args.setCriteria(criteria); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -37588,34 +42927,36 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKey(); + return (new Client(prot)).recv_sumKeyCriteria(); } } - public void minKeyRecordsTime(String key, List records, + public void sumKeyCriteriaTime(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyRecordsTime_call method_call = new minKeyRecordsTime_call(key, - records, timestamp, creds, transaction, environment, + sumKeyCriteriaTime_call method_call = new sumKeyCriteriaTime_call( + key, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyRecordsTime_call + public static class sumKeyCriteriaTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; + private com.cinchapi.concourse.thrift.TCriteria criteria; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyRecordsTime_call(String key, List records, + public sumKeyCriteriaTime_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -37627,7 +42968,7 @@ public minKeyRecordsTime_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -37637,11 +42978,11 @@ public minKeyRecordsTime_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyRecordsTime", + "sumKeyCriteriaTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyRecordsTime_args args = new minKeyRecordsTime_args(); + sumKeyCriteriaTime_args args = new sumKeyCriteriaTime_args(); args.setKey(key); - args.setRecords(records); + args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -37663,11 +43004,12 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyRecordsTime(); + return (new Client(prot)).recv_sumKeyCriteriaTime(); } } - public void minKeyRecordsTimestr(String key, List records, + public void sumKeyCriteriaTimestr(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -37675,23 +43017,24 @@ public void minKeyRecordsTimestr(String key, List records, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyRecordsTimestr_call method_call = new minKeyRecordsTimestr_call( - key, records, timestamp, creds, transaction, environment, + sumKeyCriteriaTimestr_call method_call = new sumKeyCriteriaTimestr_call( + key, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyRecordsTimestr_call + public static class sumKeyCriteriaTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; + private com.cinchapi.concourse.thrift.TCriteria criteria; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyRecordsTimestr_call(String key, List records, + public sumKeyCriteriaTimestr_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -37703,7 +43046,7 @@ public minKeyRecordsTimestr_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -37713,11 +43056,11 @@ public minKeyRecordsTimestr_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyRecordsTimestr", + "sumKeyCriteriaTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyRecordsTimestr_args args = new minKeyRecordsTimestr_args(); + sumKeyCriteriaTimestr_args args = new sumKeyCriteriaTimestr_args(); args.setKey(key); - args.setRecords(records); + args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -37740,35 +43083,33 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyRecordsTimestr(); + return (new Client(prot)).recv_sumKeyCriteriaTimestr(); } } - public void minKeyCriteria(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public void sumKeyCcl(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyCriteria_call method_call = new minKeyCriteria_call(key, - criteria, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + sumKeyCcl_call method_call = new sumKeyCcl_call(key, ccl, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyCriteria_call + public static class sumKeyCcl_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private String ccl; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyCriteria_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public sumKeyCcl_call(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -37779,7 +43120,7 @@ public minKeyCriteria_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.criteria = criteria; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -37788,11 +43129,11 @@ public minKeyCriteria_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyCriteria", + "sumKeyCcl", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyCriteria_args args = new minKeyCriteria_args(); + sumKeyCcl_args args = new sumKeyCcl_args(); args.setKey(key); - args.setCriteria(criteria); + args.setCcl(ccl); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -37803,6 +43144,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -37813,37 +43155,34 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyCriteria(); + return (new Client(prot)).recv_sumKeyCcl(); } } - public void minKeyCriteriaTime(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void sumKeyCclTime(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyCriteriaTime_call method_call = new minKeyCriteriaTime_call( - key, criteria, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + sumKeyCclTime_call method_call = new sumKeyCclTime_call(key, ccl, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyCriteriaTime_call + public static class sumKeyCclTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private String ccl; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyCriteriaTime_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, + public sumKeyCclTime_call(String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -37854,7 +43193,7 @@ public minKeyCriteriaTime_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.criteria = criteria; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -37864,11 +43203,11 @@ public minKeyCriteriaTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyCriteriaTime", + "sumKeyCclTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyCriteriaTime_args args = new minKeyCriteriaTime_args(); + sumKeyCclTime_args args = new sumKeyCclTime_args(); args.setKey(key); - args.setCriteria(criteria); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -37880,6 +43219,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -37890,37 +43230,34 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyCriteriaTime(); + return (new Client(prot)).recv_sumKeyCclTime(); } } - public void minKeyCriteriaTimestr(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public void sumKeyCclTimestr(String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyCriteriaTimestr_call method_call = new minKeyCriteriaTimestr_call( - key, criteria, timestamp, creds, transaction, environment, + sumKeyCclTimestr_call method_call = new sumKeyCclTimestr_call(key, + ccl, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyCriteriaTimestr_call + public static class sumKeyCclTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private String ccl; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyCriteriaTimestr_call(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public sumKeyCclTimestr_call(String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -37932,7 +43269,7 @@ public minKeyCriteriaTimestr_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.criteria = criteria; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -37942,11 +43279,11 @@ public minKeyCriteriaTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyCriteriaTimestr", + "sumKeyCclTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyCriteriaTimestr_args args = new minKeyCriteriaTimestr_args(); + sumKeyCclTimestr_args args = new sumKeyCclTimestr_args(); args.setKey(key); - args.setCriteria(criteria); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -37969,33 +43306,33 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyCriteriaTimestr(); + return (new Client(prot)).recv_sumKeyCclTimestr(); } } - public void minKeyCcl(String key, String ccl, + public void averageKeyRecord(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyCcl_call method_call = new minKeyCcl_call(key, ccl, creds, - transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + averageKeyRecord_call method_call = new averageKeyRecord_call(key, + record, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyCcl_call + public static class averageKeyRecord_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; + private long record; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyCcl_call(String key, String ccl, + public averageKeyRecord_call(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38006,7 +43343,7 @@ public minKeyCcl_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.record = record; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -38015,11 +43352,11 @@ public minKeyCcl_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyCcl", + "averageKeyRecord", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyCcl_args args = new minKeyCcl_args(); + averageKeyRecord_args args = new averageKeyRecord_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecord(record); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -38030,7 +43367,6 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -38041,34 +43377,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyCcl(); + return (new Client(prot)).recv_averageKeyRecord(); } } - public void minKeyCclTime(String key, String ccl, long timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void averageKeyRecordTime(String key, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyCclTime_call method_call = new minKeyCclTime_call(key, ccl, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + averageKeyRecordTime_call method_call = new averageKeyRecordTime_call( + key, record, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyCclTime_call + public static class averageKeyRecordTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; + private long record; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyCclTime_call(String key, String ccl, long timestamp, + public averageKeyRecordTime_call(String key, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38079,7 +43416,7 @@ public minKeyCclTime_call(String key, String ccl, long timestamp, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -38089,11 +43426,11 @@ public minKeyCclTime_call(String key, String ccl, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyCclTime", + "averageKeyRecordTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyCclTime_args args = new minKeyCclTime_args(); + averageKeyRecordTime_args args = new averageKeyRecordTime_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -38105,7 +43442,6 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -38116,34 +43452,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyCclTime(); + return (new Client(prot)).recv_averageKeyRecordTime(); } } - public void minKeyCclTimestr(String key, String ccl, String timestamp, + public void averageKeyRecordTimestr(String key, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyCclTimestr_call method_call = new minKeyCclTimestr_call(key, - ccl, timestamp, creds, transaction, environment, + averageKeyRecordTimestr_call method_call = new averageKeyRecordTimestr_call( + key, record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyCclTimestr_call + public static class averageKeyRecordTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; + private long record; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyCclTimestr_call(String key, String ccl, + public averageKeyRecordTimestr_call(String key, long record, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -38155,7 +43492,7 @@ public minKeyCclTimestr_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -38165,11 +43502,11 @@ public minKeyCclTimestr_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyCclTimestr", + "averageKeyRecordTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyCclTimestr_args args = new minKeyCclTimestr_args(); + averageKeyRecordTimestr_args args = new averageKeyRecordTimestr_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -38192,33 +43529,33 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyCclTimestr(); + return (new Client(prot)).recv_averageKeyRecordTimestr(); } } - public void minKeyTime(String key, long timestamp, + public void averageKeyRecords(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyTime_call method_call = new minKeyTime_call(key, timestamp, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + averageKeyRecords_call method_call = new averageKeyRecords_call(key, + records, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyTime_call + public static class averageKeyRecords_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long timestamp; + private List records; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyTime_call(String key, long timestamp, + public averageKeyRecords_call(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38229,7 +43566,7 @@ public minKeyTime_call(String key, long timestamp, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.timestamp = timestamp; + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -38238,11 +43575,11 @@ public minKeyTime_call(String key, long timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyTime", + "averageKeyRecords", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyTime_args args = new minKeyTime_args(); + averageKeyRecords_args args = new averageKeyRecords_args(); args.setKey(key); - args.setTimestamp(timestamp); + args.setRecords(records); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -38263,33 +43600,35 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyTime(); + return (new Client(prot)).recv_averageKeyRecords(); } } - public void minKeyTimestr(String key, String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void averageKeyRecordsTime(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyTimestr_call method_call = new minKeyTimestr_call(key, - timestamp, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + averageKeyRecordsTime_call method_call = new averageKeyRecordsTime_call( + key, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyTimestr_call + public static class averageKeyRecordsTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String timestamp; + private List records; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyTimestr_call(String key, String timestamp, + public averageKeyRecordsTime_call(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38300,6 +43639,7 @@ public minKeyTimestr_call(String key, String timestamp, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; + this.records = records; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -38309,10 +43649,11 @@ public minKeyTimestr_call(String key, String timestamp, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyTimestr", + "averageKeyRecordsTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyTimestr_args args = new minKeyTimestr_args(); + averageKeyRecordsTime_args args = new averageKeyRecordsTime_args(); args.setKey(key); + args.setRecords(records); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -38324,7 +43665,6 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -38335,33 +43675,36 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyTimestr(); + return (new Client(prot)).recv_averageKeyRecordsTime(); } } - public void minKeyRecords(String key, List records, + public void averageKeyRecordsTimestr(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - minKeyRecords_call method_call = new minKeyRecords_call(key, - records, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + averageKeyRecordsTimestr_call method_call = new averageKeyRecordsTimestr_call( + key, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class minKeyRecords_call + public static class averageKeyRecordsTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; private List records; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public minKeyRecords_call(String key, List records, + public averageKeyRecordsTimestr_call(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38373,6 +43716,7 @@ public minKeyRecords_call(String key, List records, super(client, protocolFactory, transport, resultHandler, false); this.key = key; this.records = records; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -38381,11 +43725,12 @@ public minKeyRecords_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "minKeyRecords", + "averageKeyRecordsTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - minKeyRecords_args args = new minKeyRecords_args(); + averageKeyRecordsTimestr_args args = new averageKeyRecordsTimestr_args(); args.setKey(key); args.setRecords(records); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -38396,6 +43741,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -38406,33 +43752,32 @@ public com.cinchapi.concourse.thrift.TObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_minKeyRecords(); + return (new Client(prot)).recv_averageKeyRecordsTimestr(); } } - public void navigateKeyRecord(String key, long record, + public void averageKey(String key, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyRecord_call method_call = new navigateKeyRecord_call(key, - record, creds, transaction, environment, resultHandler, - this, ___protocolFactory, ___transport); + averageKey_call method_call = new averageKey_call(key, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyRecord_call + public static class averageKey_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyRecord_call(String key, long record, + public averageKey_call(String key, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38443,7 +43788,6 @@ public navigateKeyRecord_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -38452,11 +43796,10 @@ public navigateKeyRecord_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyRecord", + "averageKey", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyRecord_args args = new navigateKeyRecord_args(); + averageKey_args args = new averageKey_args(); args.setKey(key); - args.setRecord(record); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -38464,7 +43807,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -38477,35 +43820,33 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyRecord(); + return (new Client(prot)).recv_averageKey(); } } - public void navigateKeyRecordTime(String key, long record, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void averageKeyTime(String key, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyRecordTime_call method_call = new navigateKeyRecordTime_call( - key, record, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + averageKeyTime_call method_call = new averageKeyTime_call(key, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyRecordTime_call + public static class averageKeyTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyRecordTime_call(String key, long record, - long timestamp, + public averageKeyTime_call(String key, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38516,7 +43857,6 @@ public navigateKeyRecordTime_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -38526,11 +43866,10 @@ public navigateKeyRecordTime_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyRecordTime", + "averageKeyTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyRecordTime_args args = new navigateKeyRecordTime_args(); + averageKeyTime_args args = new averageKeyTime_args(); args.setKey(key); - args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -38539,7 +43878,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -38552,36 +43891,33 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyRecordTime(); + return (new Client(prot)).recv_averageKeyTime(); } } - public void navigateKeyRecordTimestr(String key, long record, - String timestamp, + public void averageKeyTimestr(String key, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyRecordTimestr_call method_call = new navigateKeyRecordTimestr_call( - key, record, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + averageKeyTimestr_call method_call = new averageKeyTimestr_call(key, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyRecordTimestr_call + public static class averageKeyTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private long record; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyRecordTimestr_call(String key, long record, - String timestamp, + public averageKeyTimestr_call(String key, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38592,7 +43928,6 @@ public navigateKeyRecordTimestr_call(String key, long record, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -38602,11 +43937,10 @@ public navigateKeyRecordTimestr_call(String key, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyRecordTimestr", + "averageKeyTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyRecordTimestr_args args = new navigateKeyRecordTimestr_args(); + averageKeyTimestr_args args = new averageKeyTimestr_args(); args.setKey(key); - args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -38615,7 +43949,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -38629,33 +43963,35 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyRecordTimestr(); + return (new Client(prot)).recv_averageKeyTimestr(); } } - public void navigateKeysRecord(List keys, long record, + public void averageKeyCriteria(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysRecord_call method_call = new navigateKeysRecord_call( - keys, record, creds, transaction, environment, + averageKeyCriteria_call method_call = new averageKeyCriteria_call( + key, criteria, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysRecord_call + public static class averageKeyCriteria_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private long record; + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysRecord_call(List keys, long record, + public averageKeyCriteria_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38665,8 +44001,8 @@ public navigateKeysRecord_call(List keys, long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.record = record; + this.key = key; + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -38675,11 +44011,11 @@ public navigateKeysRecord_call(List keys, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysRecord", + "averageKeyCriteria", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysRecord_args args = new navigateKeysRecord_args(); - args.setKeys(keys); - args.setRecord(record); + averageKeyCriteria_args args = new averageKeyCriteria_args(); + args.setKey(key); + args.setCriteria(criteria); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -38687,7 +44023,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -38700,34 +44036,36 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysRecord(); + return (new Client(prot)).recv_averageKeyCriteria(); } } - public void navigateKeysRecordTime(List keys, long record, + public void averageKeyCriteriaTime(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysRecordTime_call method_call = new navigateKeysRecordTime_call( - keys, record, timestamp, creds, transaction, environment, + averageKeyCriteriaTime_call method_call = new averageKeyCriteriaTime_call( + key, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysRecordTime_call + public static class averageKeyCriteriaTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private long record; + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysRecordTime_call(List keys, long record, + public averageKeyCriteriaTime_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -38738,8 +44076,8 @@ public navigateKeysRecordTime_call(List keys, long record, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.record = record; + this.key = key; + this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -38749,11 +44087,11 @@ public navigateKeysRecordTime_call(List keys, long record, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysRecordTime", + "averageKeyCriteriaTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysRecordTime_args args = new navigateKeysRecordTime_args(); - args.setKeys(keys); - args.setRecord(record); + averageKeyCriteriaTime_args args = new averageKeyCriteriaTime_args(); + args.setKey(key); + args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -38762,7 +44100,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -38775,11 +44113,12 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysRecordTime(); + return (new Client(prot)).recv_averageKeyCriteriaTime(); } } - public void navigateKeysRecordTimestr(List keys, long record, + public void averageKeyCriteriaTimestr(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -38787,24 +44126,25 @@ public void navigateKeysRecordTimestr(List keys, long record, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysRecordTimestr_call method_call = new navigateKeysRecordTimestr_call( - keys, record, timestamp, creds, transaction, environment, + averageKeyCriteriaTimestr_call method_call = new averageKeyCriteriaTimestr_call( + key, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysRecordTimestr_call + public static class averageKeyCriteriaTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private long record; + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysRecordTimestr_call(List keys, - long record, String timestamp, + public averageKeyCriteriaTimestr_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38814,8 +44154,8 @@ public navigateKeysRecordTimestr_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.record = record; + this.key = key; + this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -38825,11 +44165,11 @@ public navigateKeysRecordTimestr_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysRecordTimestr", + "averageKeyCriteriaTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysRecordTimestr_args args = new navigateKeysRecordTimestr_args(); - args.setKeys(keys); - args.setRecord(record); + averageKeyCriteriaTimestr_args args = new averageKeyCriteriaTimestr_args(); + args.setKey(key); + args.setCriteria(criteria); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -38838,7 +44178,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -38852,34 +44192,33 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysRecordTimestr(); + return (new Client(prot)).recv_averageKeyCriteriaTimestr(); } } - public void navigateKeysRecords(List keys, List records, + public void averageKeyCcl(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysRecords_call method_call = new navigateKeysRecords_call( - keys, records, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + averageKeyCcl_call method_call = new averageKeyCcl_call(key, ccl, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysRecords_call + public static class averageKeyCcl_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private List records; + private String key; + private String ccl; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysRecords_call(List keys, - List records, + public averageKeyCcl_call(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38889,8 +44228,8 @@ public navigateKeysRecords_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.records = records; + this.key = key; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -38899,11 +44238,11 @@ public navigateKeysRecords_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysRecords", + "averageKeyCcl", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysRecords_args args = new navigateKeysRecords_args(); - args.setKeys(keys); - args.setRecords(records); + averageKeyCcl_args args = new averageKeyCcl_args(); + args.setKey(key); + args.setCcl(ccl); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -38911,9 +44250,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -38924,33 +44264,35 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysRecords(); + return (new Client(prot)).recv_averageKeyCcl(); } } - public void navigateKeyRecords(String key, List records, + public void averageKeyCclTime(String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyRecords_call method_call = new navigateKeyRecords_call( - key, records, creds, transaction, environment, + averageKeyCclTime_call method_call = new averageKeyCclTime_call(key, + ccl, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyRecords_call + public static class averageKeyCclTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; + private String ccl; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyRecords_call(String key, List records, + public averageKeyCclTime_call(String key, String ccl, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -38961,7 +44303,8 @@ public navigateKeyRecords_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.ccl = ccl; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -38970,11 +44313,12 @@ public navigateKeyRecords_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyRecords", + "averageKeyCclTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyRecords_args args = new navigateKeyRecords_args(); + averageKeyCclTime_args args = new averageKeyCclTime_args(); args.setKey(key); - args.setRecords(records); + args.setCcl(ccl); + args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -38982,9 +44326,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -38995,35 +44340,36 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyRecords(); + return (new Client(prot)).recv_averageKeyCclTime(); } } - public void navigateKeyRecordsTime(String key, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void averageKeyCclTimestr(String key, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyRecordsTime_call method_call = new navigateKeyRecordsTime_call( - key, records, timestamp, creds, transaction, environment, + averageKeyCclTimestr_call method_call = new averageKeyCclTimestr_call( + key, ccl, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyRecordsTime_call + public static class averageKeyCclTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; - private long timestamp; + private String ccl; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyRecordsTime_call(String key, List records, - long timestamp, + public averageKeyCclTimestr_call(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -39034,7 +44380,7 @@ public navigateKeyRecordsTime_call(String key, List records, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -39044,11 +44390,11 @@ public navigateKeyRecordsTime_call(String key, List records, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyRecordsTime", + "averageKeyCclTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyRecordsTime_args args = new navigateKeyRecordsTime_args(); + averageKeyCclTimestr_args args = new averageKeyCclTimestr_args(); args.setKey(key); - args.setRecords(records); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -39057,9 +44403,10 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -39070,36 +44417,33 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyRecordsTime(); + return (new Client(prot)).recv_averageKeyCclTimestr(); } } - public void navigateKeyRecordsTimestr(String key, List records, - String timestamp, + public void countKeyRecord(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyRecordsTimestr_call method_call = new navigateKeyRecordsTimestr_call( - key, records, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + countKeyRecord_call method_call = new countKeyRecord_call(key, + record, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyRecordsTimestr_call + public static class countKeyRecord_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private List records; - private String timestamp; + private long record; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyRecordsTimestr_call(String key, - List records, String timestamp, + public countKeyRecord_call(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -39110,8 +44454,7 @@ public navigateKeyRecordsTimestr_call(String key, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.records = records; - this.timestamp = timestamp; + this.record = record; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -39120,12 +44463,11 @@ public navigateKeyRecordsTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyRecordsTimestr", + "countKeyRecord", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyRecordsTimestr_args args = new navigateKeyRecordsTimestr_args(); + countKeyRecord_args args = new countKeyRecord_args(); args.setKey(key); - args.setRecords(records); - args.setTimestamp(timestamp); + args.setRecord(record); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -39133,10 +44475,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -39147,36 +44488,35 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyRecordsTimestr(); + return (new Client(prot)).recv_countKeyRecord(); } } - public void navigateKeysRecordsTime(List keys, - List records, long timestamp, + public void countKeyRecordTime(String key, long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysRecordsTime_call method_call = new navigateKeysRecordsTime_call( - keys, records, timestamp, creds, transaction, environment, + countKeyRecordTime_call method_call = new countKeyRecordTime_call( + key, record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysRecordsTime_call + public static class countKeyRecordTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private List records; + private String key; + private long record; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysRecordsTime_call(List keys, - List records, long timestamp, + public countKeyRecordTime_call(String key, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -39186,8 +44526,8 @@ public navigateKeysRecordsTime_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.records = records; + this.key = key; + this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -39197,11 +44537,11 @@ public navigateKeysRecordsTime_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysRecordsTime", + "countKeyRecordTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysRecordsTime_args args = new navigateKeysRecordsTime_args(); - args.setKeys(keys); - args.setRecords(records); + countKeyRecordTime_args args = new countKeyRecordTime_args(); + args.setKey(key); + args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -39210,7 +44550,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -39223,36 +44563,36 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysRecordsTime(); + return (new Client(prot)).recv_countKeyRecordTime(); } } - public void navigateKeysRecordsTimestr(List keys, - List records, String timestamp, + public void countKeyRecordTimestr(String key, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysRecordsTimestr_call method_call = new navigateKeysRecordsTimestr_call( - keys, records, timestamp, creds, transaction, environment, + countKeyRecordTimestr_call method_call = new countKeyRecordTimestr_call( + key, record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysRecordsTimestr_call + public static class countKeyRecordTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private List records; + private String key; + private long record; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysRecordsTimestr_call(List keys, - List records, String timestamp, + public countKeyRecordTimestr_call(String key, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -39262,8 +44602,8 @@ public navigateKeysRecordsTimestr_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.records = records; + this.key = key; + this.record = record; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -39273,11 +44613,11 @@ public navigateKeysRecordsTimestr_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysRecordsTimestr", + "countKeyRecordTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysRecordsTimestr_args args = new navigateKeysRecordsTimestr_args(); - args.setKeys(keys); - args.setRecords(records); + countKeyRecordTimestr_args args = new countKeyRecordTimestr_args(); + args.setKey(key); + args.setRecord(record); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -39286,7 +44626,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -39300,33 +44640,33 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysRecordsTimestr(); + return (new Client(prot)).recv_countKeyRecordTimestr(); } } - public void navigateKeyCcl(String key, String ccl, + public void countKeyRecords(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyCcl_call method_call = new navigateKeyCcl_call(key, ccl, - creds, transaction, environment, resultHandler, this, - ___protocolFactory, ___transport); + countKeyRecords_call method_call = new countKeyRecords_call(key, + records, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyCcl_call + public static class countKeyRecords_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; + private List records; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyCcl_call(String key, String ccl, + public countKeyRecords_call(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -39337,7 +44677,7 @@ public navigateKeyCcl_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -39346,11 +44686,11 @@ public navigateKeyCcl_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyCcl", + "countKeyRecords", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyCcl_args args = new navigateKeyCcl_args(); + countKeyRecords_args args = new countKeyRecords_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecords(records); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -39358,10 +44698,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -39372,34 +44711,34 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyCcl(); + return (new Client(prot)).recv_countKeyRecords(); } } - public void navigateKeyCclTime(String key, String ccl, long timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public void countKeyRecordsTime(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyCclTime_call method_call = new navigateKeyCclTime_call( - key, ccl, timestamp, creds, transaction, environment, + countKeyRecordsTime_call method_call = new countKeyRecordsTime_call( + key, records, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyCclTime_call + public static class countKeyRecordsTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; + private List records; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyCclTime_call(String key, String ccl, + public countKeyRecordsTime_call(String key, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -39411,7 +44750,7 @@ public navigateKeyCclTime_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.records = records; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -39421,11 +44760,11 @@ public navigateKeyCclTime_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyCclTime", + "countKeyRecordsTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyCclTime_args args = new navigateKeyCclTime_args(); + countKeyRecordsTime_args args = new countKeyRecordsTime_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecords(records); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -39434,10 +44773,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -39448,11 +44786,11 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyCclTime(); + return (new Client(prot)).recv_countKeyRecordsTime(); } } - public void navigateKeyCclTimestr(String key, String ccl, + public void countKeyRecordsTimestr(String key, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -39460,23 +44798,23 @@ public void navigateKeyCclTimestr(String key, String ccl, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyCclTimestr_call method_call = new navigateKeyCclTimestr_call( - key, ccl, timestamp, creds, transaction, environment, + countKeyRecordsTimestr_call method_call = new countKeyRecordsTimestr_call( + key, records, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyCclTimestr_call + public static class countKeyRecordsTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; - private String ccl; + private List records; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyCclTimestr_call(String key, String ccl, + public countKeyRecordsTimestr_call(String key, List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -39488,7 +44826,7 @@ public navigateKeyCclTimestr_call(String key, String ccl, throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); this.key = key; - this.ccl = ccl; + this.records = records; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -39498,11 +44836,11 @@ public navigateKeyCclTimestr_call(String key, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyCclTimestr", + "countKeyRecordsTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyCclTimestr_args args = new navigateKeyCclTimestr_args(); + countKeyRecordsTimestr_args args = new countKeyRecordsTimestr_args(); args.setKey(key); - args.setCcl(ccl); + args.setRecords(records); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -39511,7 +44849,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -39525,33 +44863,32 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyCclTimestr(); + return (new Client(prot)).recv_countKeyRecordsTimestr(); } } - public void navigateKeysCcl(List keys, String ccl, + public void countKey(String key, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysCcl_call method_call = new navigateKeysCcl_call(keys, - ccl, creds, transaction, environment, resultHandler, this, + countKey_call method_call = new countKey_call(key, creds, + transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysCcl_call + public static class countKey_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private String ccl; + private String key; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysCcl_call(List keys, String ccl, + public countKey_call(String key, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -39561,8 +44898,7 @@ public navigateKeysCcl_call(List keys, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.ccl = ccl; + this.key = key; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -39571,11 +44907,10 @@ public navigateKeysCcl_call(List keys, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysCcl", + "countKey", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysCcl_args args = new navigateKeysCcl_args(); - args.setKeys(keys); - args.setCcl(ccl); + countKey_args args = new countKey_args(); + args.setKey(key); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -39583,10 +44918,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -39597,35 +44931,33 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysCcl(); + return (new Client(prot)).recv_countKey(); } } - public void navigateKeysCclTime(List keys, String ccl, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void countKeyTime(String key, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysCclTime_call method_call = new navigateKeysCclTime_call( - keys, ccl, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + countKeyTime_call method_call = new countKeyTime_call(key, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysCclTime_call + public static class countKeyTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private String ccl; + private String key; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysCclTime_call(List keys, String ccl, - long timestamp, + public countKeyTime_call(String key, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -39635,8 +44967,7 @@ public navigateKeysCclTime_call(List keys, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.ccl = ccl; + this.key = key; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -39646,11 +44977,10 @@ public navigateKeysCclTime_call(List keys, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysCclTime", + "countKeyTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysCclTime_args args = new navigateKeysCclTime_args(); - args.setKeys(keys); - args.setCcl(ccl); + countKeyTime_args args = new countKeyTime_args(); + args.setKey(key); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -39659,10 +44989,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -39673,36 +45002,33 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysCclTime(); + return (new Client(prot)).recv_countKeyTime(); } } - public void navigateKeysCclTimestr(List keys, String ccl, - String timestamp, + public void countKeyTimestr(String key, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysCclTimestr_call method_call = new navigateKeysCclTimestr_call( - keys, ccl, timestamp, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + countKeyTimestr_call method_call = new countKeyTimestr_call(key, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysCclTimestr_call + public static class countKeyTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private String ccl; + private String key; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysCclTimestr_call(List keys, String ccl, - String timestamp, + public countKeyTimestr_call(String key, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -39712,8 +45038,7 @@ public navigateKeysCclTimestr_call(List keys, String ccl, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.ccl = ccl; + this.key = key; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -39723,11 +45048,10 @@ public navigateKeysCclTimestr_call(List keys, String ccl, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysCclTimestr", + "countKeyTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysCclTimestr_args args = new navigateKeysCclTimestr_args(); - args.setKeys(keys); - args.setCcl(ccl); + countKeyTimestr_args args = new countKeyTimestr_args(); + args.setKey(key); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -39736,7 +45060,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -39750,11 +45074,11 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysCclTimestr(); + return (new Client(prot)).recv_countKeyTimestr(); } } - public void navigateKeyCriteria(String key, + public void countKeyCriteria(String key, com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -39762,14 +45086,14 @@ public void navigateKeyCriteria(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyCriteria_call method_call = new navigateKeyCriteria_call( - key, criteria, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + countKeyCriteria_call method_call = new countKeyCriteria_call(key, + criteria, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyCriteria_call + public static class countKeyCriteria_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; private com.cinchapi.concourse.thrift.TCriteria criteria; @@ -39777,7 +45101,7 @@ public static class navigateKeyCriteria_call private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyCriteria_call(String key, + public countKeyCriteria_call(String key, com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -39798,9 +45122,9 @@ public navigateKeyCriteria_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyCriteria", + "countKeyCriteria", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyCriteria_args args = new navigateKeyCriteria_args(); + countKeyCriteria_args args = new countKeyCriteria_args(); args.setKey(key); args.setCriteria(criteria); args.setCreds(creds); @@ -39810,10 +45134,9 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -39824,11 +45147,11 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyCriteria(); + return (new Client(prot)).recv_countKeyCriteria(); } } - public void navigateKeyCriteriaTime(String key, + public void countKeyCriteriaTime(String key, com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -39836,14 +45159,14 @@ public void navigateKeyCriteriaTime(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyCriteriaTime_call method_call = new navigateKeyCriteriaTime_call( + countKeyCriteriaTime_call method_call = new countKeyCriteriaTime_call( key, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyCriteriaTime_call + public static class countKeyCriteriaTime_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; private com.cinchapi.concourse.thrift.TCriteria criteria; @@ -39852,7 +45175,7 @@ public static class navigateKeyCriteriaTime_call private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyCriteriaTime_call(String key, + public countKeyCriteriaTime_call(String key, com.cinchapi.concourse.thrift.TCriteria criteria, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -39875,9 +45198,9 @@ public navigateKeyCriteriaTime_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyCriteriaTime", + "countKeyCriteriaTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyCriteriaTime_args args = new navigateKeyCriteriaTime_args(); + countKeyCriteriaTime_args args = new countKeyCriteriaTime_args(); args.setKey(key); args.setCriteria(criteria); args.setTimestamp(timestamp); @@ -39888,7 +45211,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -39902,11 +45225,11 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyCriteriaTime(); + return (new Client(prot)).recv_countKeyCriteriaTime(); } } - public void navigateKeyCriteriaTimestr(String key, + public void countKeyCriteriaTimestr(String key, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -39915,14 +45238,14 @@ public void navigateKeyCriteriaTimestr(String key, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeyCriteriaTimestr_call method_call = new navigateKeyCriteriaTimestr_call( + countKeyCriteriaTimestr_call method_call = new countKeyCriteriaTimestr_call( key, criteria, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeyCriteriaTimestr_call + public static class countKeyCriteriaTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { private String key; private com.cinchapi.concourse.thrift.TCriteria criteria; @@ -39931,7 +45254,7 @@ public static class navigateKeyCriteriaTimestr_call private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeyCriteriaTimestr_call(String key, + public countKeyCriteriaTimestr_call(String key, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, @@ -39954,9 +45277,9 @@ public navigateKeyCriteriaTimestr_call(String key, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeyCriteriaTimestr", + "countKeyCriteriaTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeyCriteriaTimestr_args args = new navigateKeyCriteriaTimestr_args(); + countKeyCriteriaTimestr_args args = new countKeyCriteriaTimestr_args(); args.setKey(key); args.setCriteria(criteria); args.setTimestamp(timestamp); @@ -39967,7 +45290,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -39981,35 +45304,33 @@ public Map> getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeyCriteriaTimestr(); + return (new Client(prot)).recv_countKeyCriteriaTimestr(); } } - public void navigateKeysCriteria(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public void countKeyCcl(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysCriteria_call method_call = new navigateKeysCriteria_call( - keys, criteria, creds, transaction, environment, - resultHandler, this, ___protocolFactory, ___transport); + countKeyCcl_call method_call = new countKeyCcl_call(key, ccl, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysCriteria_call + public static class countKeyCcl_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private String key; + private String ccl; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysCriteria_call(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public countKeyCcl_call(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -40019,8 +45340,8 @@ public navigateKeysCriteria_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.criteria = criteria; + this.key = key; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -40029,11 +45350,11 @@ public navigateKeysCriteria_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysCriteria", + "countKeyCcl", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysCriteria_args args = new navigateKeysCriteria_args(); - args.setKeys(keys); - args.setCriteria(criteria); + countKeyCcl_args args = new countKeyCcl_args(); + args.setKey(key); + args.setCcl(ccl); args.setCreds(creds); args.setTransaction(transaction); args.setEnvironment(environment); @@ -40041,7 +45362,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -40055,37 +45376,34 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysCriteria(); + return (new Client(prot)).recv_countKeyCcl(); } } - public void navigateKeysCriteriaTime(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public void countKeyCclTime(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysCriteriaTime_call method_call = new navigateKeysCriteriaTime_call( - keys, criteria, timestamp, creds, transaction, environment, + countKeyCclTime_call method_call = new countKeyCclTime_call(key, + ccl, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysCriteriaTime_call + public static class countKeyCclTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private String key; + private String ccl; private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysCriteriaTime_call(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, + public countKeyCclTime_call(String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, @@ -40095,8 +45413,8 @@ public navigateKeysCriteriaTime_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.criteria = criteria; + this.key = key; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -40106,11 +45424,11 @@ public navigateKeysCriteriaTime_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysCriteriaTime", + "countKeyCclTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysCriteriaTime_args args = new navigateKeysCriteriaTime_args(); - args.setKeys(keys); - args.setCriteria(criteria); + countKeyCclTime_args args = new countKeyCclTime_args(); + args.setKey(key); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -40119,7 +45437,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -40133,37 +45451,34 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysCriteriaTime(); + return (new Client(prot)).recv_countKeyCclTime(); } } - public void navigateKeysCriteriaTimestr(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public void countKeyCclTimestr(String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - navigateKeysCriteriaTimestr_call method_call = new navigateKeysCriteriaTimestr_call( - keys, criteria, timestamp, creds, transaction, environment, + countKeyCclTimestr_call method_call = new countKeyCclTimestr_call( + key, ccl, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class navigateKeysCriteriaTimestr_call + public static class countKeyCclTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { - private List keys; - private com.cinchapi.concourse.thrift.TCriteria criteria; + private String key; + private String ccl; private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public navigateKeysCriteriaTimestr_call(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public countKeyCclTimestr_call(String key, String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -40174,8 +45489,8 @@ public navigateKeysCriteriaTimestr_call(List keys, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.keys = keys; - this.criteria = criteria; + this.key = key; + this.ccl = ccl; this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -40185,11 +45500,11 @@ public navigateKeysCriteriaTimestr_call(List keys, public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "navigateKeysCriteriaTimestr", + "countKeyCclTimestr", org.apache.thrift.protocol.TMessageType.CALL, 0)); - navigateKeysCriteriaTimestr_args args = new navigateKeysCriteriaTimestr_args(); - args.setKeys(keys); - args.setCriteria(criteria); + countKeyCclTimestr_args args = new countKeyCclTimestr_args(); + args.setKey(key); + args.setCcl(ccl); args.setTimestamp(timestamp); args.setCreds(creds); args.setTransaction(transaction); @@ -40198,7 +45513,7 @@ public void write_args(org.apache.thrift.protocol.TProtocol prot) prot.writeMessageEnd(); } - public Map>> getResult() + public long getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.ParseException, @@ -40212,33 +45527,35 @@ public Map>> getRes getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_navigateKeysCriteriaTimestr(); + return (new Client(prot)).recv_countKeyCclTimestr(); } } - public void getServerEnvironment( + public void maxKeyRecord(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, - com.cinchapi.concourse.thrift.TransactionToken token, + com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getServerEnvironment_call method_call = new getServerEnvironment_call( - creds, token, environment, resultHandler, this, + maxKeyRecord_call method_call = new maxKeyRecord_call(key, record, + creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getServerEnvironment_call + public static class maxKeyRecord_call extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private long record; private com.cinchapi.concourse.thrift.AccessToken creds; - private com.cinchapi.concourse.thrift.TransactionToken token; + private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public getServerEnvironment_call( + public maxKeyRecord_call(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, - com.cinchapi.concourse.thrift.TransactionToken token, + com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, @@ -40246,25 +45563,29 @@ public getServerEnvironment_call( org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.record = record; this.creds = creds; - this.token = token; + this.transaction = transaction; this.environment = environment; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getServerEnvironment", + "maxKeyRecord", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getServerEnvironment_args args = new getServerEnvironment_args(); + maxKeyRecord_args args = new maxKeyRecord_args(); + args.setKey(key); + args.setRecord(record); args.setCreds(creds); - args.setToken(token); + args.setTransaction(transaction); args.setEnvironment(environment); args.write(prot); prot.writeMessageEnd(); } - public String getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -40277,42 +45598,69 @@ public String getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getServerEnvironment(); + return (new Client(prot)).recv_maxKeyRecord(); } } - public void getServerVersion( + public void maxKeyRecordTime(String key, long record, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - getServerVersion_call method_call = new getServerVersion_call( + maxKeyRecordTime_call method_call = new maxKeyRecordTime_call(key, + record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class getServerVersion_call + public static class maxKeyRecordTime_call extends org.apache.thrift.async.TAsyncMethodCall { - public getServerVersion_call( + private String key; + private long record; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public maxKeyRecordTime_call(String key, long record, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.record = record; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "getServerVersion", + "maxKeyRecordTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - getServerVersion_args args = new getServerVersion_args(); + maxKeyRecordTime_args args = new maxKeyRecordTime_args(); + args.setKey(key); + args.setRecord(record); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); args.write(prot); prot.writeMessageEnd(); } - public String getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, com.cinchapi.concourse.thrift.PermissionException, @@ -40325,30 +45673,38 @@ public String getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_getServerVersion(); + return (new Client(prot)).recv_maxKeyRecordTime(); } } - public void time(com.cinchapi.concourse.thrift.AccessToken creds, - com.cinchapi.concourse.thrift.TransactionToken token, + public void maxKeyRecordTimestr(String key, long record, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - time_call method_call = new time_call(creds, token, environment, + maxKeyRecordTimestr_call method_call = new maxKeyRecordTimestr_call( + key, record, timestamp, creds, transaction, environment, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class time_call + public static class maxKeyRecordTimestr_call extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private long record; + private String timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; - private com.cinchapi.concourse.thrift.TransactionToken token; + private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public time_call(com.cinchapi.concourse.thrift.AccessToken creds, - com.cinchapi.concourse.thrift.TransactionToken token, + public maxKeyRecordTimestr_call(String key, long record, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, @@ -40356,27 +45712,34 @@ public time_call(com.cinchapi.concourse.thrift.AccessToken creds, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.record = record; + this.timestamp = timestamp; this.creds = creds; - this.token = token; + this.transaction = transaction; this.environment = environment; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "time", org.apache.thrift.protocol.TMessageType.CALL, - 0)); - time_args args = new time_args(); + "maxKeyRecordTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + maxKeyRecordTimestr_args args = new maxKeyRecordTimestr_args(); + args.setKey(key); + args.setRecord(record); + args.setTimestamp(timestamp); args.setCreds(creds); - args.setToken(token); + args.setTransaction(transaction); args.setEnvironment(environment); args.write(prot); prot.writeMessageEnd(); } - public long getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -40387,34 +45750,35 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_time(); + return (new Client(prot)).recv_maxKeyRecordTimestr(); } } - public void timePhrase(String phrase, + public void maxKeyRecords(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, - com.cinchapi.concourse.thrift.TransactionToken token, + com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - timePhrase_call method_call = new timePhrase_call(phrase, creds, - token, environment, resultHandler, this, ___protocolFactory, - ___transport); + maxKeyRecords_call method_call = new maxKeyRecords_call(key, + records, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class timePhrase_call + public static class maxKeyRecords_call extends org.apache.thrift.async.TAsyncMethodCall { - private String phrase; + private String key; + private List records; private com.cinchapi.concourse.thrift.AccessToken creds; - private com.cinchapi.concourse.thrift.TransactionToken token; + private com.cinchapi.concourse.thrift.TransactionToken transaction; private String environment; - public timePhrase_call(String phrase, + public maxKeyRecords_call(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, - com.cinchapi.concourse.thrift.TransactionToken token, + com.cinchapi.concourse.thrift.TransactionToken transaction, String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, @@ -40422,30 +45786,31 @@ public timePhrase_call(String phrase, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.phrase = phrase; + this.key = key; + this.records = records; this.creds = creds; - this.token = token; + this.transaction = transaction; this.environment = environment; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "timePhrase", + "maxKeyRecords", org.apache.thrift.protocol.TMessageType.CALL, 0)); - timePhrase_args args = new timePhrase_args(); - args.setPhrase(phrase); + maxKeyRecords_args args = new maxKeyRecords_args(); + args.setKey(key); + args.setRecords(records); args.setCreds(creds); - args.setToken(token); + args.setTransaction(transaction); args.setEnvironment(environment); args.write(prot); prot.writeMessageEnd(); } - public long getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, com.cinchapi.concourse.thrift.TransactionException, - com.cinchapi.concourse.thrift.ParseException, com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { @@ -40456,59 +45821,72 @@ public long getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_timePhrase(); + return (new Client(prot)).recv_maxKeyRecords(); } } - public void invokeManagement(String method, - List params, - com.cinchapi.concourse.thrift.AccessToken creds, + public void maxKeyRecordsTime(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - invokeManagement_call method_call = new invokeManagement_call( - method, params, creds, resultHandler, this, - ___protocolFactory, ___transport); + maxKeyRecordsTime_call method_call = new maxKeyRecordsTime_call(key, + records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class invokeManagement_call + public static class maxKeyRecordsTime_call extends org.apache.thrift.async.TAsyncMethodCall { - private String method; - private List params; + private String key; + private List records; + private long timestamp; private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - public invokeManagement_call(String method, - List params, + public maxKeyRecordsTime_call(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { super(client, protocolFactory, transport, resultHandler, false); - this.method = method; - this.params = params; + this.key = key; + this.records = records; + this.timestamp = timestamp; this.creds = creds; + this.transaction = transaction; + this.environment = environment; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( - "invokeManagement", + "maxKeyRecordsTime", org.apache.thrift.protocol.TMessageType.CALL, 0)); - invokeManagement_args args = new invokeManagement_args(); - args.setMethod(method); - args.setParams(params); + maxKeyRecordsTime_args args = new maxKeyRecordsTime_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); args.write(prot); prot.writeMessageEnd(); } - public com.cinchapi.concourse.thrift.ComplexTObject getResult() + public com.cinchapi.concourse.thrift.TObject getResult() throws com.cinchapi.concourse.thrift.SecurityException, - com.cinchapi.concourse.thrift.ManagementException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, org.apache.thrift.TException { if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException( @@ -40518,1882 +45896,4477 @@ public com.cinchapi.concourse.thrift.ComplexTObject getResult() getFrameBuffer().array()); org.apache.thrift.protocol.TProtocol prot = client .getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_invokeManagement(); + return (new Client(prot)).recv_maxKeyRecordsTime(); } } - } - - public static class Processor - extends org.apache.thrift.TBaseProcessor - implements org.apache.thrift.TProcessor { - private static final Logger LOGGER = LoggerFactory - .getLogger(Processor.class.getName()); - - public Processor(I iface) { - super(iface, getProcessMap( - new LinkedHashMap>())); - } - - protected Processor(I iface, - Map> processMap) { - super(iface, getProcessMap(processMap)); - } - - private static Map> getProcessMap( - Map> processMap) { - processMap.put("abort", new abort()); - processMap.put("addKeyValue", new addKeyValue()); - processMap.put("addKeyValueRecord", new addKeyValueRecord()); - processMap.put("addKeyValueRecords", new addKeyValueRecords()); - processMap.put("auditRecord", new auditRecord()); - processMap.put("auditRecordStart", new auditRecordStart()); - processMap.put("auditRecordStartstr", new auditRecordStartstr()); - processMap.put("auditRecordStartEnd", new auditRecordStartEnd()); - processMap.put("auditRecordStartstrEndstr", - new auditRecordStartstrEndstr()); - processMap.put("auditKeyRecord", new auditKeyRecord()); - processMap.put("auditKeyRecordStart", new auditKeyRecordStart()); - processMap.put("auditKeyRecordStartstr", - new auditKeyRecordStartstr()); - processMap.put("auditKeyRecordStartEnd", - new auditKeyRecordStartEnd()); - processMap.put("auditKeyRecordStartstrEndstr", - new auditKeyRecordStartstrEndstr()); - processMap.put("browseKey", new browseKey()); - processMap.put("browseKeys", new browseKeys()); - processMap.put("browseKeyTime", new browseKeyTime()); - processMap.put("browseKeyTimestr", new browseKeyTimestr()); - processMap.put("browseKeysTime", new browseKeysTime()); - processMap.put("browseKeysTimestr", new browseKeysTimestr()); - processMap.put("chronologizeKeyRecord", - new chronologizeKeyRecord()); - processMap.put("chronologizeKeyRecordStart", - new chronologizeKeyRecordStart()); - processMap.put("chronologizeKeyRecordStartstr", - new chronologizeKeyRecordStartstr()); - processMap.put("chronologizeKeyRecordStartEnd", - new chronologizeKeyRecordStartEnd()); - processMap.put("chronologizeKeyRecordStartstrEndstr", - new chronologizeKeyRecordStartstrEndstr()); - processMap.put("clearRecord", new clearRecord()); - processMap.put("clearRecords", new clearRecords()); - processMap.put("clearKeyRecord", new clearKeyRecord()); - processMap.put("clearKeysRecord", new clearKeysRecord()); - processMap.put("clearKeyRecords", new clearKeyRecords()); - processMap.put("clearKeysRecords", new clearKeysRecords()); - processMap.put("commit", new commit()); - processMap.put("describe", new describe()); - processMap.put("describeTime", new describeTime()); - processMap.put("describeTimestr", new describeTimestr()); - processMap.put("describeRecord", new describeRecord()); - processMap.put("describeRecordTime", new describeRecordTime()); - processMap.put("describeRecordTimestr", - new describeRecordTimestr()); - processMap.put("describeRecords", new describeRecords()); - processMap.put("describeRecordsTime", new describeRecordsTime()); - processMap.put("describeRecordsTimestr", - new describeRecordsTimestr()); - processMap.put("diffRecordStart", new diffRecordStart()); - processMap.put("diffRecordStartstr", new diffRecordStartstr()); - processMap.put("diffRecordStartEnd", new diffRecordStartEnd()); - processMap.put("diffRecordStartstrEndstr", - new diffRecordStartstrEndstr()); - processMap.put("diffKeyRecordStart", new diffKeyRecordStart()); - processMap.put("diffKeyRecordStartstr", - new diffKeyRecordStartstr()); - processMap.put("diffKeyRecordStartEnd", - new diffKeyRecordStartEnd()); - processMap.put("diffKeyRecordStartstrEndstr", - new diffKeyRecordStartstrEndstr()); - processMap.put("diffKeyStart", new diffKeyStart()); - processMap.put("diffKeyStartstr", new diffKeyStartstr()); - processMap.put("diffKeyStartEnd", new diffKeyStartEnd()); - processMap.put("diffKeyStartstrEndstr", - new diffKeyStartstrEndstr()); - processMap.put("invokePlugin", new invokePlugin()); - processMap.put("login", new login()); - processMap.put("logout", new logout()); - processMap.put("stage", new stage()); - processMap.put("insertJson", new insertJson()); - processMap.put("insertJsonRecord", new insertJsonRecord()); - processMap.put("insertJsonRecords", new insertJsonRecords()); - processMap.put("removeKeyValueRecord", new removeKeyValueRecord()); - processMap.put("removeKeyValueRecords", - new removeKeyValueRecords()); - processMap.put("setKeyValueRecord", new setKeyValueRecord()); - processMap.put("setKeyValue", new setKeyValue()); - processMap.put("setKeyValueRecords", new setKeyValueRecords()); - processMap.put("reconcileKeyRecordValues", - new reconcileKeyRecordValues()); - processMap.put("inventory", new inventory()); - processMap.put("selectRecord", new selectRecord()); - processMap.put("selectRecords", new selectRecords()); - processMap.put("selectRecordTime", new selectRecordTime()); - processMap.put("selectRecordTimestr", new selectRecordTimestr()); - processMap.put("selectRecordsTime", new selectRecordsTime()); - processMap.put("selectRecordsTimestr", new selectRecordsTimestr()); - processMap.put("selectKeyRecord", new selectKeyRecord()); - processMap.put("selectKeyRecordTime", new selectKeyRecordTime()); - processMap.put("selectKeyRecordTimestr", - new selectKeyRecordTimestr()); - processMap.put("selectKeysRecord", new selectKeysRecord()); - processMap.put("selectKeysRecordTime", new selectKeysRecordTime()); - processMap.put("selectKeysRecordTimestr", - new selectKeysRecordTimestr()); - processMap.put("selectKeysRecords", new selectKeysRecords()); - processMap.put("selectKeyRecords", new selectKeyRecords()); - processMap.put("selectKeyRecordsTime", new selectKeyRecordsTime()); - processMap.put("selectKeyRecordsTimestr", - new selectKeyRecordsTimestr()); - processMap.put("selectKeysRecordsTime", - new selectKeysRecordsTime()); - processMap.put("selectKeysRecordsTimestr", - new selectKeysRecordsTimestr()); - processMap.put("selectCriteria", new selectCriteria()); - processMap.put("selectCcl", new selectCcl()); - processMap.put("selectCriteriaTime", new selectCriteriaTime()); - processMap.put("selectCriteriaTimestr", - new selectCriteriaTimestr()); - processMap.put("selectCclTime", new selectCclTime()); - processMap.put("selectCclTimestr", new selectCclTimestr()); - processMap.put("selectKeyCriteria", new selectKeyCriteria()); - processMap.put("selectKeyCcl", new selectKeyCcl()); - processMap.put("selectKeyCriteriaTime", - new selectKeyCriteriaTime()); - processMap.put("selectKeyCriteriaTimestr", - new selectKeyCriteriaTimestr()); - processMap.put("selectKeyCclTime", new selectKeyCclTime()); - processMap.put("selectKeyCclTimestr", new selectKeyCclTimestr()); - processMap.put("selectKeysCriteria", new selectKeysCriteria()); - processMap.put("selectKeysCcl", new selectKeysCcl()); - processMap.put("selectKeysCriteriaTime", - new selectKeysCriteriaTime()); - processMap.put("selectKeysCriteriaTimestr", - new selectKeysCriteriaTimestr()); - processMap.put("selectKeysCclTime", new selectKeysCclTime()); - processMap.put("selectKeysCclTimestr", new selectKeysCclTimestr()); - processMap.put("getKeyRecord", new getKeyRecord()); - processMap.put("getKeyRecordTime", new getKeyRecordTime()); - processMap.put("getKeyRecordTimestr", new getKeyRecordTimestr()); - processMap.put("getKeysRecord", new getKeysRecord()); - processMap.put("getKeysRecordTime", new getKeysRecordTime()); - processMap.put("getKeysRecordTimestr", new getKeysRecordTimestr()); - processMap.put("getKeysRecords", new getKeysRecords()); - processMap.put("getKeyRecords", new getKeyRecords()); - processMap.put("getKeyRecordsTime", new getKeyRecordsTime()); - processMap.put("getKeyRecordsTimestr", new getKeyRecordsTimestr()); - processMap.put("getKeysRecordsTime", new getKeysRecordsTime()); - processMap.put("getKeysRecordsTimestr", - new getKeysRecordsTimestr()); - processMap.put("getKeyCriteria", new getKeyCriteria()); - processMap.put("getCriteria", new getCriteria()); - processMap.put("getCcl", new getCcl()); - processMap.put("getCriteriaTime", new getCriteriaTime()); - processMap.put("getCriteriaTimestr", new getCriteriaTimestr()); - processMap.put("getCclTime", new getCclTime()); - processMap.put("getCclTimestr", new getCclTimestr()); - processMap.put("getKeyCcl", new getKeyCcl()); - processMap.put("getKeyCriteriaTime", new getKeyCriteriaTime()); - processMap.put("getKeyCriteriaTimestr", - new getKeyCriteriaTimestr()); - processMap.put("getKeyCclTime", new getKeyCclTime()); - processMap.put("getKeyCclTimestr", new getKeyCclTimestr()); - processMap.put("getKeysCriteria", new getKeysCriteria()); - processMap.put("getKeysCcl", new getKeysCcl()); - processMap.put("getKeysCriteriaTime", new getKeysCriteriaTime()); - processMap.put("getKeysCriteriaTimestr", - new getKeysCriteriaTimestr()); - processMap.put("getKeysCclTime", new getKeysCclTime()); - processMap.put("getKeysCclTimestr", new getKeysCclTimestr()); - processMap.put("verifyKeyValueRecord", new verifyKeyValueRecord()); - processMap.put("verifyKeyValueRecordTime", - new verifyKeyValueRecordTime()); - processMap.put("verifyKeyValueRecordTimestr", - new verifyKeyValueRecordTimestr()); - processMap.put("jsonifyRecords", new jsonifyRecords()); - processMap.put("jsonifyRecordsTime", new jsonifyRecordsTime()); - processMap.put("jsonifyRecordsTimestr", - new jsonifyRecordsTimestr()); - processMap.put("findCriteria", new findCriteria()); - processMap.put("findCcl", new findCcl()); - processMap.put("findKeyOperatorValues", - new findKeyOperatorValues()); - processMap.put("findKeyOperatorValuesTime", - new findKeyOperatorValuesTime()); - processMap.put("findKeyOperatorValuesTimestr", - new findKeyOperatorValuesTimestr()); - processMap.put("findKeyOperatorstrValues", - new findKeyOperatorstrValues()); - processMap.put("findKeyOperatorstrValuesTime", - new findKeyOperatorstrValuesTime()); - processMap.put("findKeyOperatorstrValuesTimestr", - new findKeyOperatorstrValuesTimestr()); - processMap.put("search", new search()); - processMap.put("revertKeysRecordsTime", - new revertKeysRecordsTime()); - processMap.put("revertKeysRecordsTimestr", - new revertKeysRecordsTimestr()); - processMap.put("revertKeysRecordTime", new revertKeysRecordTime()); - processMap.put("revertKeysRecordTimestr", - new revertKeysRecordTimestr()); - processMap.put("revertKeyRecordsTime", new revertKeyRecordsTime()); - processMap.put("revertKeyRecordsTimestr", - new revertKeyRecordsTimestr()); - processMap.put("revertKeyRecordTime", new revertKeyRecordTime()); - processMap.put("revertKeyRecordTimestr", - new revertKeyRecordTimestr()); - processMap.put("pingRecords", new pingRecords()); - processMap.put("pingRecord", new pingRecord()); - processMap.put("verifyAndSwap", new verifyAndSwap()); - processMap.put("verifyOrSet", new verifyOrSet()); - processMap.put("findOrAddKeyValue", new findOrAddKeyValue()); - processMap.put("findOrInsertCriteriaJson", - new findOrInsertCriteriaJson()); - processMap.put("findOrInsertCclJson", new findOrInsertCclJson()); - processMap.put("sumKeyRecord", new sumKeyRecord()); - processMap.put("sumKeyRecordTime", new sumKeyRecordTime()); - processMap.put("sumKeyRecordTimestr", new sumKeyRecordTimestr()); - processMap.put("sumKeyRecords", new sumKeyRecords()); - processMap.put("sumKeyRecordsTime", new sumKeyRecordsTime()); - processMap.put("sumKeyRecordsTimestr", new sumKeyRecordsTimestr()); - processMap.put("sumKey", new sumKey()); - processMap.put("sumKeyTime", new sumKeyTime()); - processMap.put("sumKeyTimestr", new sumKeyTimestr()); - processMap.put("sumKeyCriteria", new sumKeyCriteria()); - processMap.put("sumKeyCriteriaTime", new sumKeyCriteriaTime()); - processMap.put("sumKeyCriteriaTimestr", - new sumKeyCriteriaTimestr()); - processMap.put("sumKeyCcl", new sumKeyCcl()); - processMap.put("sumKeyCclTime", new sumKeyCclTime()); - processMap.put("sumKeyCclTimestr", new sumKeyCclTimestr()); - processMap.put("averageKeyRecord", new averageKeyRecord()); - processMap.put("averageKeyRecordTime", new averageKeyRecordTime()); - processMap.put("averageKeyRecordTimestr", - new averageKeyRecordTimestr()); - processMap.put("averageKeyRecords", new averageKeyRecords()); - processMap.put("averageKeyRecordsTime", - new averageKeyRecordsTime()); - processMap.put("averageKeyRecordsTimestr", - new averageKeyRecordsTimestr()); - processMap.put("averageKey", new averageKey()); - processMap.put("averageKeyTime", new averageKeyTime()); - processMap.put("averageKeyTimestr", new averageKeyTimestr()); - processMap.put("averageKeyCriteria", new averageKeyCriteria()); - processMap.put("averageKeyCriteriaTime", - new averageKeyCriteriaTime()); - processMap.put("averageKeyCriteriaTimestr", - new averageKeyCriteriaTimestr()); - processMap.put("averageKeyCcl", new averageKeyCcl()); - processMap.put("averageKeyCclTime", new averageKeyCclTime()); - processMap.put("averageKeyCclTimestr", new averageKeyCclTimestr()); - processMap.put("countKeyRecord", new countKeyRecord()); - processMap.put("countKeyRecordTime", new countKeyRecordTime()); - processMap.put("countKeyRecordTimestr", - new countKeyRecordTimestr()); - processMap.put("countKeyRecords", new countKeyRecords()); - processMap.put("countKeyRecordsTime", new countKeyRecordsTime()); - processMap.put("countKeyRecordsTimestr", - new countKeyRecordsTimestr()); - processMap.put("countKey", new countKey()); - processMap.put("countKeyTime", new countKeyTime()); - processMap.put("countKeyTimestr", new countKeyTimestr()); - processMap.put("countKeyCriteria", new countKeyCriteria()); - processMap.put("countKeyCriteriaTime", new countKeyCriteriaTime()); - processMap.put("countKeyCriteriaTimestr", - new countKeyCriteriaTimestr()); - processMap.put("countKeyCcl", new countKeyCcl()); - processMap.put("countKeyCclTime", new countKeyCclTime()); - processMap.put("countKeyCclTimestr", new countKeyCclTimestr()); - processMap.put("maxKeyRecord", new maxKeyRecord()); - processMap.put("maxKeyRecordTime", new maxKeyRecordTime()); - processMap.put("maxKeyRecordTimestr", new maxKeyRecordTimestr()); - processMap.put("maxKeyRecords", new maxKeyRecords()); - processMap.put("maxKeyRecordsTime", new maxKeyRecordsTime()); - processMap.put("maxKeyRecordsTimestr", new maxKeyRecordsTimestr()); - processMap.put("maxKeyCriteria", new maxKeyCriteria()); - processMap.put("maxKeyCriteriaTime", new maxKeyCriteriaTime()); - processMap.put("maxKeyCriteriaTimestr", - new maxKeyCriteriaTimestr()); - processMap.put("maxKeyCcl", new maxKeyCcl()); - processMap.put("maxKeyCclTime", new maxKeyCclTime()); - processMap.put("maxKeyCclTimestr", new maxKeyCclTimestr()); - processMap.put("maxKey", new maxKey()); - processMap.put("maxKeyTime", new maxKeyTime()); - processMap.put("maxKeyTimestr", new maxKeyTimestr()); - processMap.put("minKeyRecord", new minKeyRecord()); - processMap.put("minKeyRecordTime", new minKeyRecordTime()); - processMap.put("minKeyRecordTimestr", new minKeyRecordTimestr()); - processMap.put("minKey", new minKey()); - processMap.put("minKeyRecordsTime", new minKeyRecordsTime()); - processMap.put("minKeyRecordsTimestr", new minKeyRecordsTimestr()); - processMap.put("minKeyCriteria", new minKeyCriteria()); - processMap.put("minKeyCriteriaTime", new minKeyCriteriaTime()); - processMap.put("minKeyCriteriaTimestr", - new minKeyCriteriaTimestr()); - processMap.put("minKeyCcl", new minKeyCcl()); - processMap.put("minKeyCclTime", new minKeyCclTime()); - processMap.put("minKeyCclTimestr", new minKeyCclTimestr()); - processMap.put("minKeyTime", new minKeyTime()); - processMap.put("minKeyTimestr", new minKeyTimestr()); - processMap.put("minKeyRecords", new minKeyRecords()); - processMap.put("navigateKeyRecord", new navigateKeyRecord()); - processMap.put("navigateKeyRecordTime", - new navigateKeyRecordTime()); - processMap.put("navigateKeyRecordTimestr", - new navigateKeyRecordTimestr()); - processMap.put("navigateKeysRecord", new navigateKeysRecord()); - processMap.put("navigateKeysRecordTime", - new navigateKeysRecordTime()); - processMap.put("navigateKeysRecordTimestr", - new navigateKeysRecordTimestr()); - processMap.put("navigateKeysRecords", new navigateKeysRecords()); - processMap.put("navigateKeyRecords", new navigateKeyRecords()); - processMap.put("navigateKeyRecordsTime", - new navigateKeyRecordsTime()); - processMap.put("navigateKeyRecordsTimestr", - new navigateKeyRecordsTimestr()); - processMap.put("navigateKeysRecordsTime", - new navigateKeysRecordsTime()); - processMap.put("navigateKeysRecordsTimestr", - new navigateKeysRecordsTimestr()); - processMap.put("navigateKeyCcl", new navigateKeyCcl()); - processMap.put("navigateKeyCclTime", new navigateKeyCclTime()); - processMap.put("navigateKeyCclTimestr", - new navigateKeyCclTimestr()); - processMap.put("navigateKeysCcl", new navigateKeysCcl()); - processMap.put("navigateKeysCclTime", new navigateKeysCclTime()); - processMap.put("navigateKeysCclTimestr", - new navigateKeysCclTimestr()); - processMap.put("navigateKeyCriteria", new navigateKeyCriteria()); - processMap.put("navigateKeyCriteriaTime", - new navigateKeyCriteriaTime()); - processMap.put("navigateKeyCriteriaTimestr", - new navigateKeyCriteriaTimestr()); - processMap.put("navigateKeysCriteria", new navigateKeysCriteria()); - processMap.put("navigateKeysCriteriaTime", - new navigateKeysCriteriaTime()); - processMap.put("navigateKeysCriteriaTimestr", - new navigateKeysCriteriaTimestr()); - processMap.put("getServerEnvironment", new getServerEnvironment()); - processMap.put("getServerVersion", new getServerVersion()); - processMap.put("time", new time()); - processMap.put("timePhrase", new timePhrase()); - processMap.put("invokeManagement", new invokeManagement()); - return processMap; + public void maxKeyRecordsTimestr(String key, List records, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + maxKeyRecordsTimestr_call method_call = new maxKeyRecordsTimestr_call( + key, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); } - public static class abort - extends org.apache.thrift.ProcessFunction { - public abort() { - super("abort"); - } + public static class maxKeyRecordsTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private List records; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - public abort_args getEmptyArgsInstance() { - return new abort_args(); + public maxKeyRecordsTimestr_call(String key, List records, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.records = records; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - protected boolean isOneway() { - return false; + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "maxKeyRecordsTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + maxKeyRecordsTimestr_args args = new maxKeyRecordsTimestr_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); } - public abort_result getResult(I iface, abort_args args) - throws org.apache.thrift.TException { - abort_result result = new abort_result(); - try { - iface.abort(args.creds, args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_maxKeyRecordsTimestr(); } } - public static class addKeyValue - extends org.apache.thrift.ProcessFunction { - public addKeyValue() { - super("addKeyValue"); - } + public void maxKeyCriteria(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + maxKeyCriteria_call method_call = new maxKeyCriteria_call(key, + criteria, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public addKeyValue_args getEmptyArgsInstance() { - return new addKeyValue_args(); - } + public static class maxKeyCriteria_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public maxKeyCriteria_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.criteria = criteria; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public addKeyValue_result getResult(I iface, addKeyValue_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - addKeyValue_result result = new addKeyValue_result(); - try { - result.success = iface.addKeyValue(args.key, args.value, - args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "maxKeyCriteria", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + maxKeyCriteria_args args = new maxKeyCriteria_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_maxKeyCriteria(); } } - public static class addKeyValueRecord extends - org.apache.thrift.ProcessFunction { - public addKeyValueRecord() { - super("addKeyValueRecord"); - } + public void maxKeyCriteriaTime(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + maxKeyCriteriaTime_call method_call = new maxKeyCriteriaTime_call( + key, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public addKeyValueRecord_args getEmptyArgsInstance() { - return new addKeyValueRecord_args(); - } + public static class maxKeyCriteriaTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public maxKeyCriteriaTime_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public addKeyValueRecord_result getResult(I iface, - addKeyValueRecord_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - addKeyValueRecord_result result = new addKeyValueRecord_result(); - try { - result.success = iface.addKeyValueRecord(args.key, - args.value, args.record, args.creds, - args.transaction, args.environment); - result.setSuccessIsSet(true); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "maxKeyCriteriaTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + maxKeyCriteriaTime_args args = new maxKeyCriteriaTime_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_maxKeyCriteriaTime(); } } - public static class addKeyValueRecords extends - org.apache.thrift.ProcessFunction { - public addKeyValueRecords() { - super("addKeyValueRecords"); - } + public void maxKeyCriteriaTimestr(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + maxKeyCriteriaTimestr_call method_call = new maxKeyCriteriaTimestr_call( + key, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public addKeyValueRecords_args getEmptyArgsInstance() { - return new addKeyValueRecords_args(); - } + public static class maxKeyCriteriaTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public maxKeyCriteriaTimestr_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public addKeyValueRecords_result getResult(I iface, - addKeyValueRecords_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - addKeyValueRecords_result result = new addKeyValueRecords_result(); - try { - result.success = iface.addKeyValueRecords(args.key, - args.value, args.records, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "maxKeyCriteriaTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + maxKeyCriteriaTimestr_args args = new maxKeyCriteriaTimestr_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_maxKeyCriteriaTimestr(); } } - public static class auditRecord - extends org.apache.thrift.ProcessFunction { - public auditRecord() { - super("auditRecord"); - } + public void maxKeyCcl(String key, String ccl, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + maxKeyCcl_call method_call = new maxKeyCcl_call(key, ccl, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public auditRecord_args getEmptyArgsInstance() { - return new auditRecord_args(); - } + public static class maxKeyCcl_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String ccl; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public maxKeyCcl_call(String key, String ccl, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.ccl = ccl; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public auditRecord_result getResult(I iface, auditRecord_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - auditRecord_result result = new auditRecord_result(); - try { - result.success = iface.auditRecord(args.record, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "maxKeyCcl", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + maxKeyCcl_args args = new maxKeyCcl_args(); + args.setKey(key); + args.setCcl(ccl); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_maxKeyCcl(); } } - public static class auditRecordStart extends - org.apache.thrift.ProcessFunction { - public auditRecordStart() { - super("auditRecordStart"); - } + public void maxKeyCclTime(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + maxKeyCclTime_call method_call = new maxKeyCclTime_call(key, ccl, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public auditRecordStart_args getEmptyArgsInstance() { - return new auditRecordStart_args(); - } + public static class maxKeyCclTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String ccl; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public maxKeyCclTime_call(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public auditRecordStart_result getResult(I iface, - auditRecordStart_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - auditRecordStart_result result = new auditRecordStart_result(); - try { - result.success = iface.auditRecordStart(args.record, - args.start, args.creds, args.transaction, - args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "maxKeyCclTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + maxKeyCclTime_args args = new maxKeyCclTime_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_maxKeyCclTime(); } } - public static class auditRecordStartstr extends - org.apache.thrift.ProcessFunction { - public auditRecordStartstr() { - super("auditRecordStartstr"); - } + public void maxKeyCclTimestr(String key, String ccl, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + maxKeyCclTimestr_call method_call = new maxKeyCclTimestr_call(key, + ccl, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public auditRecordStartstr_args getEmptyArgsInstance() { - return new auditRecordStartstr_args(); - } + public static class maxKeyCclTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String ccl; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public maxKeyCclTimestr_call(String key, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public auditRecordStartstr_result getResult(I iface, - auditRecordStartstr_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - auditRecordStartstr_result result = new auditRecordStartstr_result(); - try { - result.success = iface.auditRecordStartstr(args.record, - args.start, args.creds, args.transaction, - args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "maxKeyCclTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + maxKeyCclTimestr_args args = new maxKeyCclTimestr_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_maxKeyCclTimestr(); } } - public static class auditRecordStartEnd extends - org.apache.thrift.ProcessFunction { - public auditRecordStartEnd() { - super("auditRecordStartEnd"); - } + public void maxKey(String key, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + maxKey_call method_call = new maxKey_call(key, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public auditRecordStartEnd_args getEmptyArgsInstance() { - return new auditRecordStartEnd_args(); - } + public static class maxKey_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public maxKey_call(String key, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public auditRecordStartEnd_result getResult(I iface, - auditRecordStartEnd_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - auditRecordStartEnd_result result = new auditRecordStartEnd_result(); - try { - result.success = iface.auditRecordStartEnd(args.record, - args.start, args.tend, args.creds, args.transaction, - args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "maxKey", org.apache.thrift.protocol.TMessageType.CALL, + 0)); + maxKey_args args = new maxKey_args(); + args.setKey(key); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_maxKey(); } } - public static class auditRecordStartstrEndstr extends - org.apache.thrift.ProcessFunction { - public auditRecordStartstrEndstr() { - super("auditRecordStartstrEndstr"); - } + public void maxKeyTime(String key, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + maxKeyTime_call method_call = new maxKeyTime_call(key, timestamp, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public auditRecordStartstrEndstr_args getEmptyArgsInstance() { - return new auditRecordStartstrEndstr_args(); - } + public static class maxKeyTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public maxKeyTime_call(String key, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public auditRecordStartstrEndstr_result getResult(I iface, - auditRecordStartstrEndstr_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - auditRecordStartstrEndstr_result result = new auditRecordStartstrEndstr_result(); - try { - result.success = iface.auditRecordStartstrEndstr( - args.record, args.start, args.tend, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "maxKeyTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + maxKeyTime_args args = new maxKeyTime_args(); + args.setKey(key); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_maxKeyTime(); } } - public static class auditKeyRecord extends - org.apache.thrift.ProcessFunction { - public auditKeyRecord() { - super("auditKeyRecord"); - } + public void maxKeyTimestr(String key, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + maxKeyTimestr_call method_call = new maxKeyTimestr_call(key, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public auditKeyRecord_args getEmptyArgsInstance() { - return new auditKeyRecord_args(); - } + public static class maxKeyTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public maxKeyTimestr_call(String key, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public auditKeyRecord_result getResult(I iface, - auditKeyRecord_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - auditKeyRecord_result result = new auditKeyRecord_result(); - try { - result.success = iface.auditKeyRecord(args.key, args.record, - args.creds, args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "maxKeyTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + maxKeyTimestr_args args = new maxKeyTimestr_args(); + args.setKey(key); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_maxKeyTimestr(); } } - public static class auditKeyRecordStart extends - org.apache.thrift.ProcessFunction { - public auditKeyRecordStart() { - super("auditKeyRecordStart"); - } + public void minKeyRecord(String key, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyRecord_call method_call = new minKeyRecord_call(key, record, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public auditKeyRecordStart_args getEmptyArgsInstance() { - return new auditKeyRecordStart_args(); - } + public static class minKeyRecord_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private long record; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyRecord_call(String key, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.record = record; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public auditKeyRecordStart_result getResult(I iface, - auditKeyRecordStart_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - auditKeyRecordStart_result result = new auditKeyRecordStart_result(); - try { - result.success = iface.auditKeyRecordStart(args.key, - args.record, args.start, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyRecord", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyRecord_args args = new minKeyRecord_args(); + args.setKey(key); + args.setRecord(record); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyRecord(); } } - public static class auditKeyRecordStartstr extends - org.apache.thrift.ProcessFunction { - public auditKeyRecordStartstr() { - super("auditKeyRecordStartstr"); - } + public void minKeyRecordTime(String key, long record, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyRecordTime_call method_call = new minKeyRecordTime_call(key, + record, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public auditKeyRecordStartstr_args getEmptyArgsInstance() { - return new auditKeyRecordStartstr_args(); - } + public static class minKeyRecordTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private long record; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyRecordTime_call(String key, long record, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.record = record; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public auditKeyRecordStartstr_result getResult(I iface, - auditKeyRecordStartstr_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - auditKeyRecordStartstr_result result = new auditKeyRecordStartstr_result(); - try { - result.success = iface.auditKeyRecordStartstr(args.key, - args.record, args.start, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyRecordTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyRecordTime_args args = new minKeyRecordTime_args(); + args.setKey(key); + args.setRecord(record); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyRecordTime(); } } - public static class auditKeyRecordStartEnd extends - org.apache.thrift.ProcessFunction { - public auditKeyRecordStartEnd() { - super("auditKeyRecordStartEnd"); - } + public void minKeyRecordTimestr(String key, long record, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyRecordTimestr_call method_call = new minKeyRecordTimestr_call( + key, record, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public auditKeyRecordStartEnd_args getEmptyArgsInstance() { - return new auditKeyRecordStartEnd_args(); - } + public static class minKeyRecordTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private long record; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyRecordTimestr_call(String key, long record, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.record = record; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public auditKeyRecordStartEnd_result getResult(I iface, - auditKeyRecordStartEnd_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - auditKeyRecordStartEnd_result result = new auditKeyRecordStartEnd_result(); - try { - result.success = iface.auditKeyRecordStartEnd(args.key, - args.record, args.start, args.tend, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyRecordTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyRecordTimestr_args args = new minKeyRecordTimestr_args(); + args.setKey(key); + args.setRecord(record); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyRecordTimestr(); } } - public static class auditKeyRecordStartstrEndstr - extends - org.apache.thrift.ProcessFunction { - public auditKeyRecordStartstrEndstr() { - super("auditKeyRecordStartstrEndstr"); - } + public void minKey(String key, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKey_call method_call = new minKey_call(key, creds, transaction, + environment, resultHandler, this, ___protocolFactory, + ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public auditKeyRecordStartstrEndstr_args getEmptyArgsInstance() { - return new auditKeyRecordStartstrEndstr_args(); - } + public static class minKey_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKey_call(String key, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public auditKeyRecordStartstrEndstr_result getResult(I iface, - auditKeyRecordStartstrEndstr_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - auditKeyRecordStartstrEndstr_result result = new auditKeyRecordStartstrEndstr_result(); - try { - result.success = iface.auditKeyRecordStartstrEndstr( - args.key, args.record, args.start, args.tend, - args.creds, args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKey", org.apache.thrift.protocol.TMessageType.CALL, + 0)); + minKey_args args = new minKey_args(); + args.setKey(key); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKey(); } } - public static class browseKey - extends org.apache.thrift.ProcessFunction { - public browseKey() { - super("browseKey"); - } + public void minKeyRecordsTime(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyRecordsTime_call method_call = new minKeyRecordsTime_call(key, + records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public browseKey_args getEmptyArgsInstance() { - return new browseKey_args(); - } + public static class minKeyRecordsTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private List records; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyRecordsTime_call(String key, List records, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.records = records; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public browseKey_result getResult(I iface, browseKey_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - browseKey_result result = new browseKey_result(); - try { - result.success = iface.browseKey(args.key, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; - } - return result; - } - } - - public static class browseKeys - extends org.apache.thrift.ProcessFunction { - public browseKeys() { - super("browseKeys"); - } - - public browseKeys_args getEmptyArgsInstance() { - return new browseKeys_args(); - } - - protected boolean isOneway() { - return false; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyRecordsTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyRecordsTime_args args = new minKeyRecordsTime_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); } - public browseKeys_result getResult(I iface, browseKeys_args args) - throws org.apache.thrift.TException { - browseKeys_result result = new browseKeys_result(); - try { - result.success = iface.browseKeys(args.keys, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyRecordsTime(); } } - public static class browseKeyTime extends - org.apache.thrift.ProcessFunction { - public browseKeyTime() { - super("browseKeyTime"); - } + public void minKeyRecordsTimestr(String key, List records, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyRecordsTimestr_call method_call = new minKeyRecordsTimestr_call( + key, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public browseKeyTime_args getEmptyArgsInstance() { - return new browseKeyTime_args(); - } + public static class minKeyRecordsTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private List records; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyRecordsTimestr_call(String key, List records, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.records = records; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public browseKeyTime_result getResult(I iface, - browseKeyTime_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - browseKeyTime_result result = new browseKeyTime_result(); - try { - result.success = iface.browseKeyTime(args.key, - args.timestamp, args.creds, args.transaction, - args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyRecordsTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyRecordsTimestr_args args = new minKeyRecordsTimestr_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyRecordsTimestr(); } } - public static class browseKeyTimestr extends - org.apache.thrift.ProcessFunction { - public browseKeyTimestr() { - super("browseKeyTimestr"); - } + public void minKeyCriteria(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyCriteria_call method_call = new minKeyCriteria_call(key, + criteria, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public browseKeyTimestr_args getEmptyArgsInstance() { - return new browseKeyTimestr_args(); - } + public static class minKeyCriteria_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyCriteria_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.criteria = criteria; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public browseKeyTimestr_result getResult(I iface, - browseKeyTimestr_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - browseKeyTimestr_result result = new browseKeyTimestr_result(); - try { - result.success = iface.browseKeyTimestr(args.key, - args.timestamp, args.creds, args.transaction, - args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyCriteria", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyCriteria_args args = new minKeyCriteria_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyCriteria(); } } - public static class browseKeysTime extends - org.apache.thrift.ProcessFunction { - public browseKeysTime() { - super("browseKeysTime"); - } + public void minKeyCriteriaTime(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyCriteriaTime_call method_call = new minKeyCriteriaTime_call( + key, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public browseKeysTime_args getEmptyArgsInstance() { - return new browseKeysTime_args(); - } + public static class minKeyCriteriaTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyCriteriaTime_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public browseKeysTime_result getResult(I iface, - browseKeysTime_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - browseKeysTime_result result = new browseKeysTime_result(); - try { - result.success = iface.browseKeysTime(args.keys, - args.timestamp, args.creds, args.transaction, - args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyCriteriaTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyCriteriaTime_args args = new minKeyCriteriaTime_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyCriteriaTime(); } } - public static class browseKeysTimestr extends - org.apache.thrift.ProcessFunction { - public browseKeysTimestr() { - super("browseKeysTimestr"); - } + public void minKeyCriteriaTimestr(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyCriteriaTimestr_call method_call = new minKeyCriteriaTimestr_call( + key, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public browseKeysTimestr_args getEmptyArgsInstance() { - return new browseKeysTimestr_args(); - } + public static class minKeyCriteriaTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyCriteriaTimestr_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public browseKeysTimestr_result getResult(I iface, - browseKeysTimestr_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - browseKeysTimestr_result result = new browseKeysTimestr_result(); - try { - result.success = iface.browseKeysTimestr(args.keys, - args.timestamp, args.creds, args.transaction, - args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyCriteriaTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyCriteriaTimestr_args args = new minKeyCriteriaTimestr_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyCriteriaTimestr(); } } - public static class chronologizeKeyRecord extends - org.apache.thrift.ProcessFunction { - public chronologizeKeyRecord() { - super("chronologizeKeyRecord"); - } + public void minKeyCcl(String key, String ccl, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyCcl_call method_call = new minKeyCcl_call(key, ccl, creds, + transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public chronologizeKeyRecord_args getEmptyArgsInstance() { - return new chronologizeKeyRecord_args(); - } + public static class minKeyCcl_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String ccl; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyCcl_call(String key, String ccl, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.ccl = ccl; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public chronologizeKeyRecord_result getResult(I iface, - chronologizeKeyRecord_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - chronologizeKeyRecord_result result = new chronologizeKeyRecord_result(); - try { - result.success = iface.chronologizeKeyRecord(args.key, - args.record, args.creds, args.transaction, - args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyCcl", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyCcl_args args = new minKeyCcl_args(); + args.setKey(key); + args.setCcl(ccl); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyCcl(); } } - public static class chronologizeKeyRecordStart extends - org.apache.thrift.ProcessFunction { - public chronologizeKeyRecordStart() { - super("chronologizeKeyRecordStart"); - } + public void minKeyCclTime(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyCclTime_call method_call = new minKeyCclTime_call(key, ccl, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public chronologizeKeyRecordStart_args getEmptyArgsInstance() { - return new chronologizeKeyRecordStart_args(); - } + public static class minKeyCclTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String ccl; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyCclTime_call(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public chronologizeKeyRecordStart_result getResult(I iface, - chronologizeKeyRecordStart_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - chronologizeKeyRecordStart_result result = new chronologizeKeyRecordStart_result(); - try { - result.success = iface.chronologizeKeyRecordStart(args.key, - args.record, args.start, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyCclTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyCclTime_args args = new minKeyCclTime_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyCclTime(); } } - public static class chronologizeKeyRecordStartstr - extends - org.apache.thrift.ProcessFunction { - public chronologizeKeyRecordStartstr() { - super("chronologizeKeyRecordStartstr"); - } + public void minKeyCclTimestr(String key, String ccl, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyCclTimestr_call method_call = new minKeyCclTimestr_call(key, + ccl, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public chronologizeKeyRecordStartstr_args getEmptyArgsInstance() { - return new chronologizeKeyRecordStartstr_args(); - } + public static class minKeyCclTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String ccl; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyCclTimestr_call(String key, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public chronologizeKeyRecordStartstr_result getResult(I iface, - chronologizeKeyRecordStartstr_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - chronologizeKeyRecordStartstr_result result = new chronologizeKeyRecordStartstr_result(); - try { - result.success = iface.chronologizeKeyRecordStartstr( - args.key, args.record, args.start, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyCclTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyCclTimestr_args args = new minKeyCclTimestr_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyCclTimestr(); } } - public static class chronologizeKeyRecordStartEnd - extends - org.apache.thrift.ProcessFunction { - public chronologizeKeyRecordStartEnd() { - super("chronologizeKeyRecordStartEnd"); - } + public void minKeyTime(String key, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyTime_call method_call = new minKeyTime_call(key, timestamp, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public chronologizeKeyRecordStartEnd_args getEmptyArgsInstance() { - return new chronologizeKeyRecordStartEnd_args(); - } + public static class minKeyTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyTime_call(String key, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public chronologizeKeyRecordStartEnd_result getResult(I iface, - chronologizeKeyRecordStartEnd_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - chronologizeKeyRecordStartEnd_result result = new chronologizeKeyRecordStartEnd_result(); - try { - result.success = iface.chronologizeKeyRecordStartEnd( - args.key, args.record, args.start, args.tend, - args.creds, args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyTime_args args = new minKeyTime_args(); + args.setKey(key); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyTime(); } } - public static class chronologizeKeyRecordStartstrEndstr - extends - org.apache.thrift.ProcessFunction { - public chronologizeKeyRecordStartstrEndstr() { - super("chronologizeKeyRecordStartstrEndstr"); - } + public void minKeyTimestr(String key, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyTimestr_call method_call = new minKeyTimestr_call(key, + timestamp, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public chronologizeKeyRecordStartstrEndstr_args getEmptyArgsInstance() { - return new chronologizeKeyRecordStartstrEndstr_args(); - } + public static class minKeyTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyTimestr_call(String key, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public chronologizeKeyRecordStartstrEndstr_result getResult(I iface, - chronologizeKeyRecordStartstrEndstr_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - chronologizeKeyRecordStartstrEndstr_result result = new chronologizeKeyRecordStartstrEndstr_result(); - try { - result.success = iface.chronologizeKeyRecordStartstrEndstr( - args.key, args.record, args.start, args.tend, - args.creds, args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyTimestr_args args = new minKeyTimestr_args(); + args.setKey(key); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyTimestr(); } } - public static class clearRecord - extends org.apache.thrift.ProcessFunction { - public clearRecord() { - super("clearRecord"); - } + public void minKeyRecords(String key, List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + minKeyRecords_call method_call = new minKeyRecords_call(key, + records, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public clearRecord_args getEmptyArgsInstance() { - return new clearRecord_args(); - } + public static class minKeyRecords_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private List records; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public minKeyRecords_call(String key, List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.records = records; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public clearRecord_result getResult(I iface, clearRecord_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - clearRecord_result result = new clearRecord_result(); - try { - iface.clearRecord(args.record, args.creds, args.transaction, - args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "minKeyRecords", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + minKeyRecords_args args = new minKeyRecords_args(); + args.setKey(key); + args.setRecords(records); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.TObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_minKeyRecords(); } } - public static class clearRecords extends - org.apache.thrift.ProcessFunction { - public clearRecords() { - super("clearRecords"); - } + public void navigateKeyRecord(String key, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyRecord_call method_call = new navigateKeyRecord_call(key, + record, creds, transaction, environment, resultHandler, + this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public clearRecords_args getEmptyArgsInstance() { - return new clearRecords_args(); - } + public static class navigateKeyRecord_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private long record; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeyRecord_call(String key, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.record = record; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public clearRecords_result getResult(I iface, - clearRecords_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - clearRecords_result result = new clearRecords_result(); - try { - iface.clearRecords(args.records, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyRecord", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyRecord_args args = new navigateKeyRecord_args(); + args.setKey(key); + args.setRecord(record); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyRecord(); } } - public static class clearKeyRecord extends - org.apache.thrift.ProcessFunction { - public clearKeyRecord() { - super("clearKeyRecord"); - } + public void navigateKeyRecordTime(String key, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyRecordTime_call method_call = new navigateKeyRecordTime_call( + key, record, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public clearKeyRecord_args getEmptyArgsInstance() { - return new clearKeyRecord_args(); - } + public static class navigateKeyRecordTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private long record; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeyRecordTime_call(String key, long record, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.record = record; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public clearKeyRecord_result getResult(I iface, - clearKeyRecord_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - clearKeyRecord_result result = new clearKeyRecord_result(); - try { - iface.clearKeyRecord(args.key, args.record, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyRecordTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyRecordTime_args args = new navigateKeyRecordTime_args(); + args.setKey(key); + args.setRecord(record); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyRecordTime(); } } - public static class clearKeysRecord extends - org.apache.thrift.ProcessFunction { - public clearKeysRecord() { - super("clearKeysRecord"); - } + public void navigateKeyRecordTimestr(String key, long record, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyRecordTimestr_call method_call = new navigateKeyRecordTimestr_call( + key, record, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public clearKeysRecord_args getEmptyArgsInstance() { - return new clearKeysRecord_args(); - } + public static class navigateKeyRecordTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private long record; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeyRecordTimestr_call(String key, long record, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.record = record; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public clearKeysRecord_result getResult(I iface, - clearKeysRecord_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - clearKeysRecord_result result = new clearKeysRecord_result(); - try { - iface.clearKeysRecord(args.keys, args.record, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyRecordTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyRecordTimestr_args args = new navigateKeyRecordTimestr_args(); + args.setKey(key); + args.setRecord(record); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyRecordTimestr(); } } - public static class clearKeyRecords extends - org.apache.thrift.ProcessFunction { - public clearKeyRecords() { - super("clearKeyRecords"); - } + public void navigateKeysRecord(List keys, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysRecord_call method_call = new navigateKeysRecord_call( + keys, record, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public clearKeyRecords_args getEmptyArgsInstance() { - return new clearKeyRecords_args(); - } + public static class navigateKeysRecord_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private long record; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeysRecord_call(List keys, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.record = record; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public clearKeyRecords_result getResult(I iface, - clearKeyRecords_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - clearKeyRecords_result result = new clearKeyRecords_result(); - try { - iface.clearKeyRecords(args.key, args.records, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysRecord", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysRecord_args args = new navigateKeysRecord_args(); + args.setKeys(keys); + args.setRecord(record); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysRecord(); } } - public static class clearKeysRecords extends - org.apache.thrift.ProcessFunction { - public clearKeysRecords() { - super("clearKeysRecords"); - } + public void navigateKeysRecordTime(List keys, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysRecordTime_call method_call = new navigateKeysRecordTime_call( + keys, record, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public clearKeysRecords_args getEmptyArgsInstance() { - return new clearKeysRecords_args(); - } + public static class navigateKeysRecordTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private long record; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeysRecordTime_call(List keys, long record, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.record = record; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public clearKeysRecords_result getResult(I iface, - clearKeysRecords_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - clearKeysRecords_result result = new clearKeysRecords_result(); - try { - iface.clearKeysRecords(args.keys, args.records, args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysRecordTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysRecordTime_args args = new navigateKeysRecordTime_args(); + args.setKeys(keys); + args.setRecord(record); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysRecordTime(); } } - public static class commit - extends org.apache.thrift.ProcessFunction { - public commit() { - super("commit"); - } + public void navigateKeysRecordTimestr(List keys, long record, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysRecordTimestr_call method_call = new navigateKeysRecordTimestr_call( + keys, record, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public commit_args getEmptyArgsInstance() { - return new commit_args(); - } + public static class navigateKeysRecordTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private long record; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeysRecordTimestr_call(List keys, + long record, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.record = record; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public commit_result getResult(I iface, commit_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - commit_result result = new commit_result(); - try { - result.success = iface.commit(args.creds, args.transaction, - args.environment); - result.setSuccessIsSet(true); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysRecordTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysRecordTimestr_args args = new navigateKeysRecordTimestr_args(); + args.setKeys(keys); + args.setRecord(record); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysRecordTimestr(); } } - public static class describe - extends org.apache.thrift.ProcessFunction { - public describe() { - super("describe"); - } + public void navigateKeysRecords(List keys, List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysRecords_call method_call = new navigateKeysRecords_call( + keys, records, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public describe_args getEmptyArgsInstance() { - return new describe_args(); - } + public static class navigateKeysRecords_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private List records; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeysRecords_call(List keys, + List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.records = records; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public describe_result getResult(I iface, describe_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - describe_result result = new describe_result(); - try { - result.success = iface.describe(args.creds, - args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysRecords", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysRecords_args args = new navigateKeysRecords_args(); + args.setKeys(keys); + args.setRecords(records); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysRecords(); } } - public static class describeTime extends - org.apache.thrift.ProcessFunction { - public describeTime() { - super("describeTime"); - } + public void navigateKeyRecords(String key, List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyRecords_call method_call = new navigateKeyRecords_call( + key, records, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public describeTime_args getEmptyArgsInstance() { - return new describeTime_args(); - } + public static class navigateKeyRecords_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private List records; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeyRecords_call(String key, List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.records = records; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public describeTime_result getResult(I iface, - describeTime_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - describeTime_result result = new describeTime_result(); - try { - result.success = iface.describeTime(args.timestamp, - args.creds, args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyRecords", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyRecords_args args = new navigateKeyRecords_args(); + args.setKey(key); + args.setRecords(records); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyRecords(); } } - public static class describeTimestr extends - org.apache.thrift.ProcessFunction { - public describeTimestr() { - super("describeTimestr"); - } + public void navigateKeyRecordsTime(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyRecordsTime_call method_call = new navigateKeyRecordsTime_call( + key, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public describeTimestr_args getEmptyArgsInstance() { - return new describeTimestr_args(); - } + public static class navigateKeyRecordsTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private List records; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeyRecordsTime_call(String key, List records, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.records = records; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public describeTimestr_result getResult(I iface, - describeTimestr_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - describeTimestr_result result = new describeTimestr_result(); - try { - result.success = iface.describeTimestr(args.timestamp, - args.creds, args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyRecordsTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyRecordsTime_args args = new navigateKeyRecordsTime_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyRecordsTime(); } } - public static class describeRecord extends - org.apache.thrift.ProcessFunction { - public describeRecord() { - super("describeRecord"); - } + public void navigateKeyRecordsTimestr(String key, List records, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyRecordsTimestr_call method_call = new navigateKeyRecordsTimestr_call( + key, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public describeRecord_args getEmptyArgsInstance() { - return new describeRecord_args(); - } + public static class navigateKeyRecordsTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private List records; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeyRecordsTimestr_call(String key, + List records, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.records = records; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public describeRecord_result getResult(I iface, - describeRecord_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - describeRecord_result result = new describeRecord_result(); - try { - result.success = iface.describeRecord(args.record, - args.creds, args.transaction, args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyRecordsTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyRecordsTimestr_args args = new navigateKeyRecordsTimestr_args(); + args.setKey(key); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyRecordsTimestr(); } } - public static class describeRecordTime extends - org.apache.thrift.ProcessFunction { - public describeRecordTime() { - super("describeRecordTime"); - } + public void navigateKeysRecordsTime(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysRecordsTime_call method_call = new navigateKeysRecordsTime_call( + keys, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - public describeRecordTime_args getEmptyArgsInstance() { - return new describeRecordTime_args(); - } + public static class navigateKeysRecordsTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private List records; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - protected boolean isOneway() { - return false; + public navigateKeysRecordsTime_call(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.records = records; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public describeRecordTime_result getResult(I iface, - describeRecordTime_args args) + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - describeRecordTime_result result = new describeRecordTime_result(); - try { - result.success = iface.describeRecordTime(args.record, - args.timestamp, args.creds, args.transaction, - args.environment); - } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; - } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; - } - return result; + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysRecordsTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysRecordsTime_args args = new navigateKeysRecordsTime_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); } - } - public static class describeRecordTimestr extends - org.apache.thrift.ProcessFunction { - public describeRecordTimestr() { - super("describeRecordTimestr"); + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysRecordsTime(); } + } - public describeRecordTimestr_args getEmptyArgsInstance() { - return new describeRecordTimestr_args(); - } + public void navigateKeysRecordsTimestr(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysRecordsTimestr_call method_call = new navigateKeysRecordsTimestr_call( + keys, records, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } - protected boolean isOneway() { - return false; - } + public static class navigateKeysRecordsTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private List records; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; - public describeRecordTimestr_result getResult(I iface, - describeRecordTimestr_args args) + public navigateKeysRecordsTimestr_call(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { - describeRecordTimestr_result result = new describeRecordTimestr_result(); - try { - result.success = iface.describeRecordTimestr(args.record, - args.timestamp, args.creds, args.transaction, - args.environment); + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.records = records; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysRecordsTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysRecordsTimestr_args args = new navigateKeysRecordsTimestr_args(); + args.setKeys(keys); + args.setRecords(records); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysRecordsTimestr(); + } + } + + public void navigateKeyCcl(String key, String ccl, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyCcl_call method_call = new navigateKeyCcl_call(key, ccl, + creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeyCcl_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String ccl; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeyCcl_call(String key, String ccl, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.ccl = ccl; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyCcl", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyCcl_args args = new navigateKeyCcl_args(); + args.setKey(key); + args.setCcl(ccl); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyCcl(); + } + } + + public void navigateKeyCclTime(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyCclTime_call method_call = new navigateKeyCclTime_call( + key, ccl, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeyCclTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String ccl; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeyCclTime_call(String key, String ccl, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyCclTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyCclTime_args args = new navigateKeyCclTime_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyCclTime(); + } + } + + public void navigateKeyCclTimestr(String key, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyCclTimestr_call method_call = new navigateKeyCclTimestr_call( + key, ccl, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeyCclTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private String ccl; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeyCclTimestr_call(String key, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyCclTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyCclTimestr_args args = new navigateKeyCclTimestr_args(); + args.setKey(key); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyCclTimestr(); + } + } + + public void navigateKeysCcl(List keys, String ccl, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysCcl_call method_call = new navigateKeysCcl_call(keys, + ccl, creds, transaction, environment, resultHandler, this, + ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeysCcl_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private String ccl; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeysCcl_call(List keys, String ccl, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.ccl = ccl; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysCcl", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysCcl_args args = new navigateKeysCcl_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysCcl(); } } - public static class describeRecords extends - org.apache.thrift.ProcessFunction { - public describeRecords() { - super("describeRecords"); + public void navigateKeysCclTime(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysCclTime_call method_call = new navigateKeysCclTime_call( + keys, ccl, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeysCclTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private String ccl; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeysCclTime_call(List keys, String ccl, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.ccl = ccl; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public describeRecords_args getEmptyArgsInstance() { - return new describeRecords_args(); + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysCclTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysCclTime_args args = new navigateKeysCclTime_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); } - protected boolean isOneway() { - return false; + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysCclTime(); } + } - public describeRecords_result getResult(I iface, - describeRecords_args args) + public void navigateKeysCclTimestr(List keys, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysCclTimestr_call method_call = new navigateKeysCclTimestr_call( + keys, ccl, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeysCclTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private String ccl; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeysCclTimestr_call(List keys, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { - describeRecords_result result = new describeRecords_result(); - try { - result.success = iface.describeRecords(args.records, - args.creds, args.transaction, args.environment); + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.ccl = ccl; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysCclTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysCclTimestr_args args = new navigateKeysCclTimestr_args(); + args.setKeys(keys); + args.setCcl(ccl); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysCclTimestr(); + } + } + + public void navigateKeyCriteria(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyCriteria_call method_call = new navigateKeyCriteria_call( + key, criteria, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeyCriteria_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeyCriteria_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.criteria = criteria; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyCriteria", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyCriteria_args args = new navigateKeyCriteria_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyCriteria(); + } + } + + public void navigateKeyCriteriaTime(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyCriteriaTime_call method_call = new navigateKeyCriteriaTime_call( + key, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeyCriteriaTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeyCriteriaTime_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyCriteriaTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyCriteriaTime_args args = new navigateKeyCriteriaTime_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyCriteriaTime(); + } + } + + public void navigateKeyCriteriaTimestr(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeyCriteriaTimestr_call method_call = new navigateKeyCriteriaTimestr_call( + key, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeyCriteriaTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String key; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeyCriteriaTimestr_call(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeyCriteriaTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeyCriteriaTimestr_args args = new navigateKeyCriteriaTimestr_args(); + args.setKey(key); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeyCriteriaTimestr(); } } - public static class describeRecordsTime extends - org.apache.thrift.ProcessFunction { - public describeRecordsTime() { - super("describeRecordsTime"); + public void navigateKeysCriteria(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysCriteria_call method_call = new navigateKeysCriteria_call( + keys, criteria, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeysCriteria_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeysCriteria_call(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.criteria = criteria; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; } - public describeRecordsTime_args getEmptyArgsInstance() { - return new describeRecordsTime_args(); + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysCriteria", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysCriteria_args args = new navigateKeysCriteria_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); } - protected boolean isOneway() { - return false; + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysCriteria(); } + } - public describeRecordsTime_result getResult(I iface, - describeRecordsTime_args args) + public void navigateKeysCriteriaTime(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysCriteriaTime_call method_call = new navigateKeysCriteriaTime_call( + keys, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeysCriteriaTime_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private long timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeysCriteriaTime_call(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { - describeRecordsTime_result result = new describeRecordsTime_result(); - try { - result.success = iface.describeRecordsTime(args.records, - args.timestamp, args.creds, args.transaction, - args.environment); + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.criteria = criteria; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysCriteriaTime", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysCriteriaTime_args args = new navigateKeysCriteriaTime_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - catch (com.cinchapi.concourse.thrift.SecurityException ex) { - result.ex = ex; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysCriteriaTime(); + } + } + + public void navigateKeysCriteriaTimestr(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + navigateKeysCriteriaTimestr_call method_call = new navigateKeysCriteriaTimestr_call( + keys, criteria, timestamp, creds, transaction, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class navigateKeysCriteriaTimestr_call + extends org.apache.thrift.async.TAsyncMethodCall { + private List keys; + private com.cinchapi.concourse.thrift.TCriteria criteria; + private String timestamp; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken transaction; + private String environment; + + public navigateKeysCriteriaTimestr_call(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.keys = keys; + this.criteria = criteria; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "navigateKeysCriteriaTimestr", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + navigateKeysCriteriaTimestr_args args = new navigateKeysCriteriaTimestr_args(); + args.setKeys(keys); + args.setCriteria(criteria); + args.setTimestamp(timestamp); + args.setCreds(creds); + args.setTransaction(transaction); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public Map>> getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_navigateKeysCriteriaTimestr(); + } + } + + public void getServerEnvironment( + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken token, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + getServerEnvironment_call method_call = new getServerEnvironment_call( + creds, token, environment, resultHandler, this, + ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class getServerEnvironment_call + extends org.apache.thrift.async.TAsyncMethodCall { + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken token; + private String environment; + + public getServerEnvironment_call( + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken token, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.creds = creds; + this.token = token; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "getServerEnvironment", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + getServerEnvironment_args args = new getServerEnvironment_args(); + args.setCreds(creds); + args.setToken(token); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public String getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { - result.ex3 = ex3; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_getServerEnvironment(); + } + } + + public void getServerVersion( + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + getServerVersion_call method_call = new getServerVersion_call( + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class getServerVersion_call + extends org.apache.thrift.async.TAsyncMethodCall { + public getServerVersion_call( + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "getServerVersion", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + getServerVersion_args args = new getServerVersion_args(); + args.write(prot); + prot.writeMessageEnd(); + } + + public String getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); } - return result; + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_getServerVersion(); } } - public static class describeRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public describeRecordsTimestr() { - super("describeRecordsTimestr"); + public void time(com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken token, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + time_call method_call = new time_call(creds, token, environment, + resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class time_call + extends org.apache.thrift.async.TAsyncMethodCall { + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken token; + private String environment; + + public time_call(com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken token, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.creds = creds; + this.token = token; + this.environment = environment; } - public describeRecordsTimestr_args getEmptyArgsInstance() { - return new describeRecordsTimestr_args(); + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "time", org.apache.thrift.protocol.TMessageType.CALL, + 0)); + time_args args = new time_args(); + args.setCreds(creds); + args.setToken(token); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public long getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_time(); + } + } + + public void timePhrase(String phrase, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken token, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + timePhrase_call method_call = new timePhrase_call(phrase, creds, + token, environment, resultHandler, this, ___protocolFactory, + ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class timePhrase_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String phrase; + private com.cinchapi.concourse.thrift.AccessToken creds; + private com.cinchapi.concourse.thrift.TransactionToken token; + private String environment; + + public timePhrase_call(String phrase, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken token, + String environment, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.phrase = phrase; + this.creds = creds; + this.token = token; + this.environment = environment; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "timePhrase", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + timePhrase_args args = new timePhrase_args(); + args.setPhrase(phrase); + args.setCreds(creds); + args.setToken(token); + args.setEnvironment(environment); + args.write(prot); + prot.writeMessageEnd(); + } + + public long getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.TransactionException, + com.cinchapi.concourse.thrift.ParseException, + com.cinchapi.concourse.thrift.PermissionException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_timePhrase(); + } + } + + public void invokeManagement(String method, + List params, + com.cinchapi.concourse.thrift.AccessToken creds, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws org.apache.thrift.TException { + checkReady(); + invokeManagement_call method_call = new invokeManagement_call( + method, params, creds, resultHandler, this, + ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + public static class invokeManagement_call + extends org.apache.thrift.async.TAsyncMethodCall { + private String method; + private List params; + private com.cinchapi.concourse.thrift.AccessToken creds; + + public invokeManagement_call(String method, + List params, + com.cinchapi.concourse.thrift.AccessToken creds, + org.apache.thrift.async.AsyncMethodCallback resultHandler, + org.apache.thrift.async.TAsyncClient client, + org.apache.thrift.protocol.TProtocolFactory protocolFactory, + org.apache.thrift.transport.TNonblockingTransport transport) + throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.method = method; + this.params = params; + this.creds = creds; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) + throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage( + "invokeManagement", + org.apache.thrift.protocol.TMessageType.CALL, 0)); + invokeManagement_args args = new invokeManagement_args(); + args.setMethod(method); + args.setParams(params); + args.setCreds(creds); + args.write(prot); + prot.writeMessageEnd(); + } + + public com.cinchapi.concourse.thrift.ComplexTObject getResult() + throws com.cinchapi.concourse.thrift.SecurityException, + com.cinchapi.concourse.thrift.ManagementException, + org.apache.thrift.TException { + if(getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException( + "Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport( + getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client + .getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_invokeManagement(); + } + } + + } + + public static class Processor + extends org.apache.thrift.TBaseProcessor + implements org.apache.thrift.TProcessor { + private static final Logger LOGGER = LoggerFactory + .getLogger(Processor.class.getName()); + + public Processor(I iface) { + super(iface, getProcessMap( + new LinkedHashMap>())); + } + + protected Processor(I iface, + Map> processMap) { + super(iface, getProcessMap(processMap)); + } + + private static Map> getProcessMap( + Map> processMap) { + processMap.put("abort", new abort()); + processMap.put("addKeyValue", new addKeyValue()); + processMap.put("addKeyValueRecord", new addKeyValueRecord()); + processMap.put("addKeyValueRecords", new addKeyValueRecords()); + processMap.put("auditRecord", new auditRecord()); + processMap.put("auditRecordStart", new auditRecordStart()); + processMap.put("auditRecordStartstr", new auditRecordStartstr()); + processMap.put("auditRecordStartEnd", new auditRecordStartEnd()); + processMap.put("auditRecordStartstrEndstr", + new auditRecordStartstrEndstr()); + processMap.put("auditKeyRecord", new auditKeyRecord()); + processMap.put("auditKeyRecordStart", new auditKeyRecordStart()); + processMap.put("auditKeyRecordStartstr", + new auditKeyRecordStartstr()); + processMap.put("auditKeyRecordStartEnd", + new auditKeyRecordStartEnd()); + processMap.put("auditKeyRecordStartstrEndstr", + new auditKeyRecordStartstrEndstr()); + processMap.put("browseKey", new browseKey()); + processMap.put("browseKeys", new browseKeys()); + processMap.put("browseKeyTime", new browseKeyTime()); + processMap.put("browseKeyTimestr", new browseKeyTimestr()); + processMap.put("browseKeysTime", new browseKeysTime()); + processMap.put("browseKeysTimestr", new browseKeysTimestr()); + processMap.put("chronologizeKeyRecord", + new chronologizeKeyRecord()); + processMap.put("chronologizeKeyRecordStart", + new chronologizeKeyRecordStart()); + processMap.put("chronologizeKeyRecordStartstr", + new chronologizeKeyRecordStartstr()); + processMap.put("chronologizeKeyRecordStartEnd", + new chronologizeKeyRecordStartEnd()); + processMap.put("chronologizeKeyRecordStartstrEndstr", + new chronologizeKeyRecordStartstrEndstr()); + processMap.put("clearRecord", new clearRecord()); + processMap.put("clearRecords", new clearRecords()); + processMap.put("clearKeyRecord", new clearKeyRecord()); + processMap.put("clearKeysRecord", new clearKeysRecord()); + processMap.put("clearKeyRecords", new clearKeyRecords()); + processMap.put("clearKeysRecords", new clearKeysRecords()); + processMap.put("commit", new commit()); + processMap.put("describe", new describe()); + processMap.put("describeTime", new describeTime()); + processMap.put("describeTimestr", new describeTimestr()); + processMap.put("describeRecord", new describeRecord()); + processMap.put("describeRecordTime", new describeRecordTime()); + processMap.put("describeRecordTimestr", + new describeRecordTimestr()); + processMap.put("describeRecords", new describeRecords()); + processMap.put("describeRecordsTime", new describeRecordsTime()); + processMap.put("describeRecordsTimestr", + new describeRecordsTimestr()); + processMap.put("diffRecordStart", new diffRecordStart()); + processMap.put("diffRecordStartstr", new diffRecordStartstr()); + processMap.put("diffRecordStartEnd", new diffRecordStartEnd()); + processMap.put("diffRecordStartstrEndstr", + new diffRecordStartstrEndstr()); + processMap.put("diffKeyRecordStart", new diffKeyRecordStart()); + processMap.put("diffKeyRecordStartstr", + new diffKeyRecordStartstr()); + processMap.put("diffKeyRecordStartEnd", + new diffKeyRecordStartEnd()); + processMap.put("diffKeyRecordStartstrEndstr", + new diffKeyRecordStartstrEndstr()); + processMap.put("diffKeyStart", new diffKeyStart()); + processMap.put("diffKeyStartstr", new diffKeyStartstr()); + processMap.put("diffKeyStartEnd", new diffKeyStartEnd()); + processMap.put("diffKeyStartstrEndstr", + new diffKeyStartstrEndstr()); + processMap.put("invokePlugin", new invokePlugin()); + processMap.put("login", new login()); + processMap.put("logout", new logout()); + processMap.put("stage", new stage()); + processMap.put("insertJson", new insertJson()); + processMap.put("insertJsonRecord", new insertJsonRecord()); + processMap.put("insertJsonRecords", new insertJsonRecords()); + processMap.put("removeKeyValueRecord", new removeKeyValueRecord()); + processMap.put("removeKeyValueRecords", + new removeKeyValueRecords()); + processMap.put("setKeyValueRecord", new setKeyValueRecord()); + processMap.put("setKeyValue", new setKeyValue()); + processMap.put("setKeyValueRecords", new setKeyValueRecords()); + processMap.put("reconcileKeyRecordValues", + new reconcileKeyRecordValues()); + processMap.put("inventory", new inventory()); + processMap.put("selectRecord", new selectRecord()); + processMap.put("selectRecords", new selectRecords()); + processMap.put("selectRecordsOrder", new selectRecordsOrder()); + processMap.put("selectRecordTime", new selectRecordTime()); + processMap.put("selectRecordTimestr", new selectRecordTimestr()); + processMap.put("selectRecordsTime", new selectRecordsTime()); + processMap.put("selectRecordsTimeOrder", + new selectRecordsTimeOrder()); + processMap.put("selectRecordsTimestr", new selectRecordsTimestr()); + processMap.put("selectRecordsTimestrOrder", + new selectRecordsTimestrOrder()); + processMap.put("selectKeyRecord", new selectKeyRecord()); + processMap.put("selectKeyRecordTime", new selectKeyRecordTime()); + processMap.put("selectKeyRecordTimestr", + new selectKeyRecordTimestr()); + processMap.put("selectKeysRecord", new selectKeysRecord()); + processMap.put("selectKeysRecordTime", new selectKeysRecordTime()); + processMap.put("selectKeysRecordTimestr", + new selectKeysRecordTimestr()); + processMap.put("selectKeysRecords", new selectKeysRecords()); + processMap.put("selectKeysRecordsOrder", + new selectKeysRecordsOrder()); + processMap.put("selectKeyRecords", new selectKeyRecords()); + processMap.put("selectKeyRecordsOrder", + new selectKeyRecordsOrder()); + processMap.put("selectKeyRecordsTime", new selectKeyRecordsTime()); + processMap.put("selectKeyRecordsTimeOrder", + new selectKeyRecordsTimeOrder()); + processMap.put("selectKeyRecordsTimestr", + new selectKeyRecordsTimestr()); + processMap.put("selectKeyRecordsTimestrOrder", + new selectKeyRecordsTimestrOrder()); + processMap.put("selectKeysRecordsTime", + new selectKeysRecordsTime()); + processMap.put("selectKeysRecordsTimeOrder", + new selectKeysRecordsTimeOrder()); + processMap.put("selectKeysRecordsTimestr", + new selectKeysRecordsTimestr()); + processMap.put("selectKeysRecordsTimestrOrder", + new selectKeysRecordsTimestrOrder()); + processMap.put("selectCriteria", new selectCriteria()); + processMap.put("selectCriteriaOrder", new selectCriteriaOrder()); + processMap.put("selectCcl", new selectCcl()); + processMap.put("selectCclOrder", new selectCclOrder()); + processMap.put("selectCriteriaTime", new selectCriteriaTime()); + processMap.put("selectCriteriaTimeOrder", + new selectCriteriaTimeOrder()); + processMap.put("selectCriteriaTimestr", + new selectCriteriaTimestr()); + processMap.put("selectCriteriaTimestrOrder", + new selectCriteriaTimestrOrder()); + processMap.put("selectCclTime", new selectCclTime()); + processMap.put("selectCclTimeOrder", new selectCclTimeOrder()); + processMap.put("selectCclTimestr", new selectCclTimestr()); + processMap.put("selectCclTimestrOrder", + new selectCclTimestrOrder()); + processMap.put("selectKeyCriteria", new selectKeyCriteria()); + processMap.put("selectKeyCriteriaOrder", + new selectKeyCriteriaOrder()); + processMap.put("selectKeyCcl", new selectKeyCcl()); + processMap.put("selectKeyCclOrder", new selectKeyCclOrder()); + processMap.put("selectKeyCriteriaTime", + new selectKeyCriteriaTime()); + processMap.put("selectKeyCriteriaTimeOrder", + new selectKeyCriteriaTimeOrder()); + processMap.put("selectKeyCriteriaTimestr", + new selectKeyCriteriaTimestr()); + processMap.put("selectKeyCriteriaTimestrOrder", + new selectKeyCriteriaTimestrOrder()); + processMap.put("selectKeyCclTime", new selectKeyCclTime()); + processMap.put("selectKeyCclTimeOrder", + new selectKeyCclTimeOrder()); + processMap.put("selectKeyCclTimestr", new selectKeyCclTimestr()); + processMap.put("selectKeyCclTimestrOrder", + new selectKeyCclTimestrOrder()); + processMap.put("selectKeysCriteria", new selectKeysCriteria()); + processMap.put("selectKeysCriteriaOrder", + new selectKeysCriteriaOrder()); + processMap.put("selectKeysCcl", new selectKeysCcl()); + processMap.put("selectKeysCclOrder", new selectKeysCclOrder()); + processMap.put("selectKeysCriteriaTime", + new selectKeysCriteriaTime()); + processMap.put("selectKeysCriteriaTimeOrder", + new selectKeysCriteriaTimeOrder()); + processMap.put("selectKeysCriteriaTimestr", + new selectKeysCriteriaTimestr()); + processMap.put("selectKeysCriteriaTimestrOrder", + new selectKeysCriteriaTimestrOrder()); + processMap.put("selectKeysCclTime", new selectKeysCclTime()); + processMap.put("selectKeysCclTimeOrder", + new selectKeysCclTimeOrder()); + processMap.put("selectKeysCclTimestr", new selectKeysCclTimestr()); + processMap.put("selectKeysCclTimestrOrder", + new selectKeysCclTimestrOrder()); + processMap.put("getKeyRecord", new getKeyRecord()); + processMap.put("getKeyRecordTime", new getKeyRecordTime()); + processMap.put("getKeyRecordTimestr", new getKeyRecordTimestr()); + processMap.put("getKeysRecord", new getKeysRecord()); + processMap.put("getKeysRecordTime", new getKeysRecordTime()); + processMap.put("getKeysRecordTimestr", new getKeysRecordTimestr()); + processMap.put("getKeysRecords", new getKeysRecords()); + processMap.put("getKeysRecordsOrder", new getKeysRecordsOrder()); + processMap.put("getKeyRecords", new getKeyRecords()); + processMap.put("getKeyRecordsOrder", new getKeyRecordsOrder()); + processMap.put("getKeyRecordsTime", new getKeyRecordsTime()); + processMap.put("getKeyRecordsTimeOrder", + new getKeyRecordsTimeOrder()); + processMap.put("getKeyRecordsTimestr", new getKeyRecordsTimestr()); + processMap.put("getKeyRecordsTimestrOrder", + new getKeyRecordsTimestrOrder()); + processMap.put("getKeysRecordsTime", new getKeysRecordsTime()); + processMap.put("getKeysRecordsTimeOrder", + new getKeysRecordsTimeOrder()); + processMap.put("getKeysRecordsTimestr", + new getKeysRecordsTimestr()); + processMap.put("getKeysRecordsTimestrOrder", + new getKeysRecordsTimestrOrder()); + processMap.put("getKeyCriteria", new getKeyCriteria()); + processMap.put("getKeyCriteriaOrder", new getKeyCriteriaOrder()); + processMap.put("getCriteria", new getCriteria()); + processMap.put("getCriteriaOrder", new getCriteriaOrder()); + processMap.put("getCcl", new getCcl()); + processMap.put("getCclOrder", new getCclOrder()); + processMap.put("getCriteriaTime", new getCriteriaTime()); + processMap.put("getCriteriaTimeOrder", new getCriteriaTimeOrder()); + processMap.put("getCriteriaTimestr", new getCriteriaTimestr()); + processMap.put("getCriteriaTimestrOrder", + new getCriteriaTimestrOrder()); + processMap.put("getCclTime", new getCclTime()); + processMap.put("getCclTimeOrder", new getCclTimeOrder()); + processMap.put("getCclTimestr", new getCclTimestr()); + processMap.put("getCclTimestrOrder", new getCclTimestrOrder()); + processMap.put("getKeyCcl", new getKeyCcl()); + processMap.put("getKeyCclOrder", new getKeyCclOrder()); + processMap.put("getKeyCriteriaTime", new getKeyCriteriaTime()); + processMap.put("getKeyCriteriaTimeOrder", + new getKeyCriteriaTimeOrder()); + processMap.put("getKeyCriteriaTimestr", + new getKeyCriteriaTimestr()); + processMap.put("getKeyCriteriaTimestrOrder", + new getKeyCriteriaTimestrOrder()); + processMap.put("getKeyCclTime", new getKeyCclTime()); + processMap.put("getKeyCclTimeOrder", new getKeyCclTimeOrder()); + processMap.put("getKeyCclTimestr", new getKeyCclTimestr()); + processMap.put("getKeyCclTimestrOrder", + new getKeyCclTimestrOrder()); + processMap.put("getKeysCriteria", new getKeysCriteria()); + processMap.put("getKeysCriteriaOrder", new getKeysCriteriaOrder()); + processMap.put("getKeysCcl", new getKeysCcl()); + processMap.put("getKeysCclOrder", new getKeysCclOrder()); + processMap.put("getKeysCriteriaTime", new getKeysCriteriaTime()); + processMap.put("getKeysCriteriaTimeOrder", + new getKeysCriteriaTimeOrder()); + processMap.put("getKeysCriteriaTimestr", + new getKeysCriteriaTimestr()); + processMap.put("getKeysCriteriaTimestrOrder", + new getKeysCriteriaTimestrOrder()); + processMap.put("getKeysCclTime", new getKeysCclTime()); + processMap.put("getKeysCclTimeOrder", new getKeysCclTimeOrder()); + processMap.put("getKeysCclTimestr", new getKeysCclTimestr()); + processMap.put("getKeysCclTimestrOrder", + new getKeysCclTimestrOrder()); + processMap.put("verifyKeyValueRecord", new verifyKeyValueRecord()); + processMap.put("verifyKeyValueRecordTime", + new verifyKeyValueRecordTime()); + processMap.put("verifyKeyValueRecordTimestr", + new verifyKeyValueRecordTimestr()); + processMap.put("jsonifyRecords", new jsonifyRecords()); + processMap.put("jsonifyRecordsTime", new jsonifyRecordsTime()); + processMap.put("jsonifyRecordsTimestr", + new jsonifyRecordsTimestr()); + processMap.put("findCriteria", new findCriteria()); + processMap.put("findCriteriaOrder", new findCriteriaOrder()); + processMap.put("findCcl", new findCcl()); + processMap.put("findCclOrder", new findCclOrder()); + processMap.put("findKeyOperatorValues", + new findKeyOperatorValues()); + processMap.put("findKeyOperatorValuesOrder", + new findKeyOperatorValuesOrder()); + processMap.put("findKeyOperatorValuesTime", + new findKeyOperatorValuesTime()); + processMap.put("findKeyOperatorValuesTimeOrder", + new findKeyOperatorValuesTimeOrder()); + processMap.put("findKeyOperatorValuesTimestr", + new findKeyOperatorValuesTimestr()); + processMap.put("findKeyOperatorValuesTimestrOrder", + new findKeyOperatorValuesTimestrOrder()); + processMap.put("findKeyOperatorstrValues", + new findKeyOperatorstrValues()); + processMap.put("findKeyOperatorstrValuesOrder", + new findKeyOperatorstrValuesOrder()); + processMap.put("findKeyOperatorstrValuesTime", + new findKeyOperatorstrValuesTime()); + processMap.put("findKeyOperatorstrValuesTimeOrder", + new findKeyOperatorstrValuesTimeOrder()); + processMap.put("findKeyOperatorstrValuesTimestr", + new findKeyOperatorstrValuesTimestr()); + processMap.put("findKeyOperatorstrValuesTimestrOrder", + new findKeyOperatorstrValuesTimestrOrder()); + processMap.put("search", new search()); + processMap.put("revertKeysRecordsTime", + new revertKeysRecordsTime()); + processMap.put("revertKeysRecordsTimestr", + new revertKeysRecordsTimestr()); + processMap.put("revertKeysRecordTime", new revertKeysRecordTime()); + processMap.put("revertKeysRecordTimestr", + new revertKeysRecordTimestr()); + processMap.put("revertKeyRecordsTime", new revertKeyRecordsTime()); + processMap.put("revertKeyRecordsTimestr", + new revertKeyRecordsTimestr()); + processMap.put("revertKeyRecordTime", new revertKeyRecordTime()); + processMap.put("revertKeyRecordTimestr", + new revertKeyRecordTimestr()); + processMap.put("pingRecords", new pingRecords()); + processMap.put("pingRecord", new pingRecord()); + processMap.put("verifyAndSwap", new verifyAndSwap()); + processMap.put("verifyOrSet", new verifyOrSet()); + processMap.put("findOrAddKeyValue", new findOrAddKeyValue()); + processMap.put("findOrInsertCriteriaJson", + new findOrInsertCriteriaJson()); + processMap.put("findOrInsertCclJson", new findOrInsertCclJson()); + processMap.put("sumKeyRecord", new sumKeyRecord()); + processMap.put("sumKeyRecordTime", new sumKeyRecordTime()); + processMap.put("sumKeyRecordTimestr", new sumKeyRecordTimestr()); + processMap.put("sumKeyRecords", new sumKeyRecords()); + processMap.put("sumKeyRecordsTime", new sumKeyRecordsTime()); + processMap.put("sumKeyRecordsTimestr", new sumKeyRecordsTimestr()); + processMap.put("sumKey", new sumKey()); + processMap.put("sumKeyTime", new sumKeyTime()); + processMap.put("sumKeyTimestr", new sumKeyTimestr()); + processMap.put("sumKeyCriteria", new sumKeyCriteria()); + processMap.put("sumKeyCriteriaTime", new sumKeyCriteriaTime()); + processMap.put("sumKeyCriteriaTimestr", + new sumKeyCriteriaTimestr()); + processMap.put("sumKeyCcl", new sumKeyCcl()); + processMap.put("sumKeyCclTime", new sumKeyCclTime()); + processMap.put("sumKeyCclTimestr", new sumKeyCclTimestr()); + processMap.put("averageKeyRecord", new averageKeyRecord()); + processMap.put("averageKeyRecordTime", new averageKeyRecordTime()); + processMap.put("averageKeyRecordTimestr", + new averageKeyRecordTimestr()); + processMap.put("averageKeyRecords", new averageKeyRecords()); + processMap.put("averageKeyRecordsTime", + new averageKeyRecordsTime()); + processMap.put("averageKeyRecordsTimestr", + new averageKeyRecordsTimestr()); + processMap.put("averageKey", new averageKey()); + processMap.put("averageKeyTime", new averageKeyTime()); + processMap.put("averageKeyTimestr", new averageKeyTimestr()); + processMap.put("averageKeyCriteria", new averageKeyCriteria()); + processMap.put("averageKeyCriteriaTime", + new averageKeyCriteriaTime()); + processMap.put("averageKeyCriteriaTimestr", + new averageKeyCriteriaTimestr()); + processMap.put("averageKeyCcl", new averageKeyCcl()); + processMap.put("averageKeyCclTime", new averageKeyCclTime()); + processMap.put("averageKeyCclTimestr", new averageKeyCclTimestr()); + processMap.put("countKeyRecord", new countKeyRecord()); + processMap.put("countKeyRecordTime", new countKeyRecordTime()); + processMap.put("countKeyRecordTimestr", + new countKeyRecordTimestr()); + processMap.put("countKeyRecords", new countKeyRecords()); + processMap.put("countKeyRecordsTime", new countKeyRecordsTime()); + processMap.put("countKeyRecordsTimestr", + new countKeyRecordsTimestr()); + processMap.put("countKey", new countKey()); + processMap.put("countKeyTime", new countKeyTime()); + processMap.put("countKeyTimestr", new countKeyTimestr()); + processMap.put("countKeyCriteria", new countKeyCriteria()); + processMap.put("countKeyCriteriaTime", new countKeyCriteriaTime()); + processMap.put("countKeyCriteriaTimestr", + new countKeyCriteriaTimestr()); + processMap.put("countKeyCcl", new countKeyCcl()); + processMap.put("countKeyCclTime", new countKeyCclTime()); + processMap.put("countKeyCclTimestr", new countKeyCclTimestr()); + processMap.put("maxKeyRecord", new maxKeyRecord()); + processMap.put("maxKeyRecordTime", new maxKeyRecordTime()); + processMap.put("maxKeyRecordTimestr", new maxKeyRecordTimestr()); + processMap.put("maxKeyRecords", new maxKeyRecords()); + processMap.put("maxKeyRecordsTime", new maxKeyRecordsTime()); + processMap.put("maxKeyRecordsTimestr", new maxKeyRecordsTimestr()); + processMap.put("maxKeyCriteria", new maxKeyCriteria()); + processMap.put("maxKeyCriteriaTime", new maxKeyCriteriaTime()); + processMap.put("maxKeyCriteriaTimestr", + new maxKeyCriteriaTimestr()); + processMap.put("maxKeyCcl", new maxKeyCcl()); + processMap.put("maxKeyCclTime", new maxKeyCclTime()); + processMap.put("maxKeyCclTimestr", new maxKeyCclTimestr()); + processMap.put("maxKey", new maxKey()); + processMap.put("maxKeyTime", new maxKeyTime()); + processMap.put("maxKeyTimestr", new maxKeyTimestr()); + processMap.put("minKeyRecord", new minKeyRecord()); + processMap.put("minKeyRecordTime", new minKeyRecordTime()); + processMap.put("minKeyRecordTimestr", new minKeyRecordTimestr()); + processMap.put("minKey", new minKey()); + processMap.put("minKeyRecordsTime", new minKeyRecordsTime()); + processMap.put("minKeyRecordsTimestr", new minKeyRecordsTimestr()); + processMap.put("minKeyCriteria", new minKeyCriteria()); + processMap.put("minKeyCriteriaTime", new minKeyCriteriaTime()); + processMap.put("minKeyCriteriaTimestr", + new minKeyCriteriaTimestr()); + processMap.put("minKeyCcl", new minKeyCcl()); + processMap.put("minKeyCclTime", new minKeyCclTime()); + processMap.put("minKeyCclTimestr", new minKeyCclTimestr()); + processMap.put("minKeyTime", new minKeyTime()); + processMap.put("minKeyTimestr", new minKeyTimestr()); + processMap.put("minKeyRecords", new minKeyRecords()); + processMap.put("navigateKeyRecord", new navigateKeyRecord()); + processMap.put("navigateKeyRecordTime", + new navigateKeyRecordTime()); + processMap.put("navigateKeyRecordTimestr", + new navigateKeyRecordTimestr()); + processMap.put("navigateKeysRecord", new navigateKeysRecord()); + processMap.put("navigateKeysRecordTime", + new navigateKeysRecordTime()); + processMap.put("navigateKeysRecordTimestr", + new navigateKeysRecordTimestr()); + processMap.put("navigateKeysRecords", new navigateKeysRecords()); + processMap.put("navigateKeyRecords", new navigateKeyRecords()); + processMap.put("navigateKeyRecordsTime", + new navigateKeyRecordsTime()); + processMap.put("navigateKeyRecordsTimestr", + new navigateKeyRecordsTimestr()); + processMap.put("navigateKeysRecordsTime", + new navigateKeysRecordsTime()); + processMap.put("navigateKeysRecordsTimestr", + new navigateKeysRecordsTimestr()); + processMap.put("navigateKeyCcl", new navigateKeyCcl()); + processMap.put("navigateKeyCclTime", new navigateKeyCclTime()); + processMap.put("navigateKeyCclTimestr", + new navigateKeyCclTimestr()); + processMap.put("navigateKeysCcl", new navigateKeysCcl()); + processMap.put("navigateKeysCclTime", new navigateKeysCclTime()); + processMap.put("navigateKeysCclTimestr", + new navigateKeysCclTimestr()); + processMap.put("navigateKeyCriteria", new navigateKeyCriteria()); + processMap.put("navigateKeyCriteriaTime", + new navigateKeyCriteriaTime()); + processMap.put("navigateKeyCriteriaTimestr", + new navigateKeyCriteriaTimestr()); + processMap.put("navigateKeysCriteria", new navigateKeysCriteria()); + processMap.put("navigateKeysCriteriaTime", + new navigateKeysCriteriaTime()); + processMap.put("navigateKeysCriteriaTimestr", + new navigateKeysCriteriaTimestr()); + processMap.put("getServerEnvironment", new getServerEnvironment()); + processMap.put("getServerVersion", new getServerVersion()); + processMap.put("time", new time()); + processMap.put("timePhrase", new timePhrase()); + processMap.put("invokeManagement", new invokeManagement()); + return processMap; + } + + public static class abort + extends org.apache.thrift.ProcessFunction { + public abort() { + super("abort"); + } + + public abort_args getEmptyArgsInstance() { + return new abort_args(); } protected boolean isOneway() { return false; } - public describeRecordsTimestr_result getResult(I iface, - describeRecordsTimestr_args args) + public abort_result getResult(I iface, abort_args args) throws org.apache.thrift.TException { - describeRecordsTimestr_result result = new describeRecordsTimestr_result(); + abort_result result = new abort_result(); try { - result.success = iface.describeRecordsTimestr(args.records, - args.timestamp, args.creds, args.transaction, - args.environment); + iface.abort(args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { - result.ex2 = ex2; - } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class diffRecordStart extends - org.apache.thrift.ProcessFunction { - public diffRecordStart() { - super("diffRecordStart"); + public static class addKeyValue + extends org.apache.thrift.ProcessFunction { + public addKeyValue() { + super("addKeyValue"); } - public diffRecordStart_args getEmptyArgsInstance() { - return new diffRecordStart_args(); + public addKeyValue_args getEmptyArgsInstance() { + return new addKeyValue_args(); } protected boolean isOneway() { return false; } - public diffRecordStart_result getResult(I iface, - diffRecordStart_args args) + public addKeyValue_result getResult(I iface, addKeyValue_args args) throws org.apache.thrift.TException { - diffRecordStart_result result = new diffRecordStart_result(); + addKeyValue_result result = new addKeyValue_result(); try { - result.success = iface.diffRecordStart(args.record, - args.start, args.creds, args.transaction, - args.environment); + result.success = iface.addKeyValue(args.key, args.value, + args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42401,35 +50374,39 @@ public diffRecordStart_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class diffRecordStartstr extends - org.apache.thrift.ProcessFunction { - public diffRecordStartstr() { - super("diffRecordStartstr"); + public static class addKeyValueRecord extends + org.apache.thrift.ProcessFunction { + public addKeyValueRecord() { + super("addKeyValueRecord"); } - public diffRecordStartstr_args getEmptyArgsInstance() { - return new diffRecordStartstr_args(); + public addKeyValueRecord_args getEmptyArgsInstance() { + return new addKeyValueRecord_args(); } protected boolean isOneway() { return false; } - public diffRecordStartstr_result getResult(I iface, - diffRecordStartstr_args args) + public addKeyValueRecord_result getResult(I iface, + addKeyValueRecord_args args) throws org.apache.thrift.TException { - diffRecordStartstr_result result = new diffRecordStartstr_result(); + addKeyValueRecord_result result = new addKeyValueRecord_result(); try { - result.success = iface.diffRecordStartstr(args.record, - args.start, args.creds, args.transaction, - args.environment); + result.success = iface.addKeyValueRecord(args.key, + args.value, args.record, args.creds, + args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42437,7 +50414,7 @@ public diffRecordStartstr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } catch (com.cinchapi.concourse.thrift.PermissionException ex4) { @@ -42447,28 +50424,28 @@ public diffRecordStartstr_result getResult(I iface, } } - public static class diffRecordStartEnd extends - org.apache.thrift.ProcessFunction { - public diffRecordStartEnd() { - super("diffRecordStartEnd"); + public static class addKeyValueRecords extends + org.apache.thrift.ProcessFunction { + public addKeyValueRecords() { + super("addKeyValueRecords"); } - public diffRecordStartEnd_args getEmptyArgsInstance() { - return new diffRecordStartEnd_args(); + public addKeyValueRecords_args getEmptyArgsInstance() { + return new addKeyValueRecords_args(); } protected boolean isOneway() { return false; } - public diffRecordStartEnd_result getResult(I iface, - diffRecordStartEnd_args args) + public addKeyValueRecords_result getResult(I iface, + addKeyValueRecords_args args) throws org.apache.thrift.TException { - diffRecordStartEnd_result result = new diffRecordStartEnd_result(); + addKeyValueRecords_result result = new addKeyValueRecords_result(); try { - result.success = iface.diffRecordStartEnd(args.record, - args.start, args.tend, args.creds, args.transaction, - args.environment); + result.success = iface.addKeyValueRecords(args.key, + args.value, args.records, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42476,35 +50453,36 @@ public diffRecordStartEnd_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class diffRecordStartstrEndstr extends - org.apache.thrift.ProcessFunction { - public diffRecordStartstrEndstr() { - super("diffRecordStartstrEndstr"); + public static class auditRecord + extends org.apache.thrift.ProcessFunction { + public auditRecord() { + super("auditRecord"); } - public diffRecordStartstrEndstr_args getEmptyArgsInstance() { - return new diffRecordStartstrEndstr_args(); + public auditRecord_args getEmptyArgsInstance() { + return new auditRecord_args(); } protected boolean isOneway() { return false; } - public diffRecordStartstrEndstr_result getResult(I iface, - diffRecordStartstrEndstr_args args) + public auditRecord_result getResult(I iface, auditRecord_args args) throws org.apache.thrift.TException { - diffRecordStartstrEndstr_result result = new diffRecordStartstrEndstr_result(); + auditRecord_result result = new auditRecord_result(); try { - result.success = iface.diffRecordStartstrEndstr(args.record, - args.start, args.tend, args.creds, args.transaction, - args.environment); + result.success = iface.auditRecord(args.record, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42512,38 +50490,35 @@ public diffRecordStartstrEndstr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class diffKeyRecordStart extends - org.apache.thrift.ProcessFunction { - public diffKeyRecordStart() { - super("diffKeyRecordStart"); + public static class auditRecordStart extends + org.apache.thrift.ProcessFunction { + public auditRecordStart() { + super("auditRecordStart"); } - public diffKeyRecordStart_args getEmptyArgsInstance() { - return new diffKeyRecordStart_args(); + public auditRecordStart_args getEmptyArgsInstance() { + return new auditRecordStart_args(); } protected boolean isOneway() { return false; } - public diffKeyRecordStart_result getResult(I iface, - diffKeyRecordStart_args args) + public auditRecordStart_result getResult(I iface, + auditRecordStart_args args) throws org.apache.thrift.TException { - diffKeyRecordStart_result result = new diffKeyRecordStart_result(); + auditRecordStart_result result = new auditRecordStart_result(); try { - result.success = iface.diffKeyRecordStart(args.key, - args.record, args.start, args.creds, - args.transaction, args.environment); + result.success = iface.auditRecordStart(args.record, + args.start, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42558,28 +50533,28 @@ public diffKeyRecordStart_result getResult(I iface, } } - public static class diffKeyRecordStartstr extends - org.apache.thrift.ProcessFunction { - public diffKeyRecordStartstr() { - super("diffKeyRecordStartstr"); + public static class auditRecordStartstr extends + org.apache.thrift.ProcessFunction { + public auditRecordStartstr() { + super("auditRecordStartstr"); } - public diffKeyRecordStartstr_args getEmptyArgsInstance() { - return new diffKeyRecordStartstr_args(); + public auditRecordStartstr_args getEmptyArgsInstance() { + return new auditRecordStartstr_args(); } protected boolean isOneway() { return false; } - public diffKeyRecordStartstr_result getResult(I iface, - diffKeyRecordStartstr_args args) + public auditRecordStartstr_result getResult(I iface, + auditRecordStartstr_args args) throws org.apache.thrift.TException { - diffKeyRecordStartstr_result result = new diffKeyRecordStartstr_result(); + auditRecordStartstr_result result = new auditRecordStartstr_result(); try { - result.success = iface.diffKeyRecordStartstr(args.key, - args.record, args.start, args.creds, - args.transaction, args.environment); + result.success = iface.auditRecordStartstr(args.record, + args.start, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42597,28 +50572,28 @@ public diffKeyRecordStartstr_result getResult(I iface, } } - public static class diffKeyRecordStartEnd extends - org.apache.thrift.ProcessFunction { - public diffKeyRecordStartEnd() { - super("diffKeyRecordStartEnd"); + public static class auditRecordStartEnd extends + org.apache.thrift.ProcessFunction { + public auditRecordStartEnd() { + super("auditRecordStartEnd"); } - public diffKeyRecordStartEnd_args getEmptyArgsInstance() { - return new diffKeyRecordStartEnd_args(); + public auditRecordStartEnd_args getEmptyArgsInstance() { + return new auditRecordStartEnd_args(); } protected boolean isOneway() { return false; } - public diffKeyRecordStartEnd_result getResult(I iface, - diffKeyRecordStartEnd_args args) + public auditRecordStartEnd_result getResult(I iface, + auditRecordStartEnd_args args) throws org.apache.thrift.TException { - diffKeyRecordStartEnd_result result = new diffKeyRecordStartEnd_result(); + auditRecordStartEnd_result result = new auditRecordStartEnd_result(); try { - result.success = iface.diffKeyRecordStartEnd(args.key, - args.record, args.start, args.tend, args.creds, - args.transaction, args.environment); + result.success = iface.auditRecordStartEnd(args.record, + args.start, args.tend, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42633,26 +50608,26 @@ public diffKeyRecordStartEnd_result getResult(I iface, } } - public static class diffKeyRecordStartstrEndstr extends - org.apache.thrift.ProcessFunction { - public diffKeyRecordStartstrEndstr() { - super("diffKeyRecordStartstrEndstr"); + public static class auditRecordStartstrEndstr extends + org.apache.thrift.ProcessFunction { + public auditRecordStartstrEndstr() { + super("auditRecordStartstrEndstr"); } - public diffKeyRecordStartstrEndstr_args getEmptyArgsInstance() { - return new diffKeyRecordStartstrEndstr_args(); + public auditRecordStartstrEndstr_args getEmptyArgsInstance() { + return new auditRecordStartstrEndstr_args(); } protected boolean isOneway() { return false; } - public diffKeyRecordStartstrEndstr_result getResult(I iface, - diffKeyRecordStartstrEndstr_args args) + public auditRecordStartstrEndstr_result getResult(I iface, + auditRecordStartstrEndstr_args args) throws org.apache.thrift.TException { - diffKeyRecordStartstrEndstr_result result = new diffKeyRecordStartstrEndstr_result(); + auditRecordStartstrEndstr_result result = new auditRecordStartstrEndstr_result(); try { - result.success = iface.diffKeyRecordStartstrEndstr(args.key, + result.success = iface.auditRecordStartstrEndstr( args.record, args.start, args.tend, args.creds, args.transaction, args.environment); } @@ -42672,26 +50647,26 @@ public diffKeyRecordStartstrEndstr_result getResult(I iface, } } - public static class diffKeyStart extends - org.apache.thrift.ProcessFunction { - public diffKeyStart() { - super("diffKeyStart"); + public static class auditKeyRecord extends + org.apache.thrift.ProcessFunction { + public auditKeyRecord() { + super("auditKeyRecord"); } - public diffKeyStart_args getEmptyArgsInstance() { - return new diffKeyStart_args(); + public auditKeyRecord_args getEmptyArgsInstance() { + return new auditKeyRecord_args(); } protected boolean isOneway() { return false; } - public diffKeyStart_result getResult(I iface, - diffKeyStart_args args) + public auditKeyRecord_result getResult(I iface, + auditKeyRecord_args args) throws org.apache.thrift.TException { - diffKeyStart_result result = new diffKeyStart_result(); + auditKeyRecord_result result = new auditKeyRecord_result(); try { - result.success = iface.diffKeyStart(args.key, args.start, + result.success = iface.auditKeyRecord(args.key, args.record, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -42707,27 +50682,28 @@ public diffKeyStart_result getResult(I iface, } } - public static class diffKeyStartstr extends - org.apache.thrift.ProcessFunction { - public diffKeyStartstr() { - super("diffKeyStartstr"); + public static class auditKeyRecordStart extends + org.apache.thrift.ProcessFunction { + public auditKeyRecordStart() { + super("auditKeyRecordStart"); } - public diffKeyStartstr_args getEmptyArgsInstance() { - return new diffKeyStartstr_args(); + public auditKeyRecordStart_args getEmptyArgsInstance() { + return new auditKeyRecordStart_args(); } protected boolean isOneway() { return false; } - public diffKeyStartstr_result getResult(I iface, - diffKeyStartstr_args args) + public auditKeyRecordStart_result getResult(I iface, + auditKeyRecordStart_args args) throws org.apache.thrift.TException { - diffKeyStartstr_result result = new diffKeyStartstr_result(); + auditKeyRecordStart_result result = new auditKeyRecordStart_result(); try { - result.success = iface.diffKeyStartstr(args.key, args.start, - args.creds, args.transaction, args.environment); + result.success = iface.auditKeyRecordStart(args.key, + args.record, args.start, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42735,38 +50711,35 @@ public diffKeyStartstr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class diffKeyStartEnd extends - org.apache.thrift.ProcessFunction { - public diffKeyStartEnd() { - super("diffKeyStartEnd"); + public static class auditKeyRecordStartstr extends + org.apache.thrift.ProcessFunction { + public auditKeyRecordStartstr() { + super("auditKeyRecordStartstr"); } - public diffKeyStartEnd_args getEmptyArgsInstance() { - return new diffKeyStartEnd_args(); + public auditKeyRecordStartstr_args getEmptyArgsInstance() { + return new auditKeyRecordStartstr_args(); } protected boolean isOneway() { return false; } - public diffKeyStartEnd_result getResult(I iface, - diffKeyStartEnd_args args) + public auditKeyRecordStartstr_result getResult(I iface, + auditKeyRecordStartstr_args args) throws org.apache.thrift.TException { - diffKeyStartEnd_result result = new diffKeyStartEnd_result(); + auditKeyRecordStartstr_result result = new auditKeyRecordStartstr_result(); try { - result.success = iface.diffKeyStartEnd(args.key, args.start, - args.tend, args.creds, args.transaction, - args.environment); + result.success = iface.auditKeyRecordStartstr(args.key, + args.record, args.start, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42774,35 +50747,38 @@ public diffKeyStartEnd_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class diffKeyStartstrEndstr extends - org.apache.thrift.ProcessFunction { - public diffKeyStartstrEndstr() { - super("diffKeyStartstrEndstr"); + public static class auditKeyRecordStartEnd extends + org.apache.thrift.ProcessFunction { + public auditKeyRecordStartEnd() { + super("auditKeyRecordStartEnd"); } - public diffKeyStartstrEndstr_args getEmptyArgsInstance() { - return new diffKeyStartstrEndstr_args(); + public auditKeyRecordStartEnd_args getEmptyArgsInstance() { + return new auditKeyRecordStartEnd_args(); } protected boolean isOneway() { return false; } - public diffKeyStartstrEndstr_result getResult(I iface, - diffKeyStartstrEndstr_args args) + public auditKeyRecordStartEnd_result getResult(I iface, + auditKeyRecordStartEnd_args args) throws org.apache.thrift.TException { - diffKeyStartstrEndstr_result result = new diffKeyStartstrEndstr_result(); + auditKeyRecordStartEnd_result result = new auditKeyRecordStartEnd_result(); try { - result.success = iface.diffKeyStartstrEndstr(args.key, - args.start, args.tend, args.creds, args.transaction, - args.environment); + result.success = iface.auditKeyRecordStartEnd(args.key, + args.record, args.start, args.tend, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42810,38 +50786,36 @@ public diffKeyStartstrEndstr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class invokePlugin extends - org.apache.thrift.ProcessFunction { - public invokePlugin() { - super("invokePlugin"); + public static class auditKeyRecordStartstrEndstr + extends + org.apache.thrift.ProcessFunction { + public auditKeyRecordStartstrEndstr() { + super("auditKeyRecordStartstrEndstr"); } - public invokePlugin_args getEmptyArgsInstance() { - return new invokePlugin_args(); + public auditKeyRecordStartstrEndstr_args getEmptyArgsInstance() { + return new auditKeyRecordStartstrEndstr_args(); } protected boolean isOneway() { return false; } - public invokePlugin_result getResult(I iface, - invokePlugin_args args) + public auditKeyRecordStartstrEndstr_result getResult(I iface, + auditKeyRecordStartstrEndstr_args args) throws org.apache.thrift.TException { - invokePlugin_result result = new invokePlugin_result(); + auditKeyRecordStartstrEndstr_result result = new auditKeyRecordStartstrEndstr_result(); try { - result.success = iface.invokePlugin(args.id, args.method, - args.params, args.creds, args.transaction, - args.environment); + result.success = iface.auditKeyRecordStartstrEndstr( + args.key, args.record, args.start, args.tend, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42849,7 +50823,7 @@ public invokePlugin_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } catch (com.cinchapi.concourse.thrift.PermissionException ex4) { @@ -42859,117 +50833,132 @@ public invokePlugin_result getResult(I iface, } } - public static class login - extends org.apache.thrift.ProcessFunction { - public login() { - super("login"); + public static class browseKey + extends org.apache.thrift.ProcessFunction { + public browseKey() { + super("browseKey"); } - public login_args getEmptyArgsInstance() { - return new login_args(); + public browseKey_args getEmptyArgsInstance() { + return new browseKey_args(); } protected boolean isOneway() { return false; } - public login_result getResult(I iface, login_args args) + public browseKey_result getResult(I iface, browseKey_args args) throws org.apache.thrift.TException { - login_result result = new login_result(); + browseKey_result result = new browseKey_result(); try { - result.success = iface.login(args.username, args.password, - args.environment); + result.success = iface.browseKey(args.key, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; } - catch (com.cinchapi.concourse.thrift.PermissionException ex2) { + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } return result; } } - public static class logout - extends org.apache.thrift.ProcessFunction { - public logout() { - super("logout"); + public static class browseKeys + extends org.apache.thrift.ProcessFunction { + public browseKeys() { + super("browseKeys"); } - public logout_args getEmptyArgsInstance() { - return new logout_args(); + public browseKeys_args getEmptyArgsInstance() { + return new browseKeys_args(); } protected boolean isOneway() { return false; } - public logout_result getResult(I iface, logout_args args) + public browseKeys_result getResult(I iface, browseKeys_args args) throws org.apache.thrift.TException { - logout_result result = new logout_result(); + browseKeys_result result = new browseKeys_result(); try { - iface.logout(args.token, args.environment); + result.success = iface.browseKeys(args.keys, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; } - catch (com.cinchapi.concourse.thrift.PermissionException ex2) { + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } return result; } } - public static class stage - extends org.apache.thrift.ProcessFunction { - public stage() { - super("stage"); + public static class browseKeyTime extends + org.apache.thrift.ProcessFunction { + public browseKeyTime() { + super("browseKeyTime"); } - public stage_args getEmptyArgsInstance() { - return new stage_args(); + public browseKeyTime_args getEmptyArgsInstance() { + return new browseKeyTime_args(); } protected boolean isOneway() { return false; } - public stage_result getResult(I iface, stage_args args) + public browseKeyTime_result getResult(I iface, + browseKeyTime_args args) throws org.apache.thrift.TException { - stage_result result = new stage_result(); + browseKeyTime_result result = new browseKeyTime_result(); try { - result.success = iface.stage(args.token, args.environment); + result.success = iface.browseKeyTime(args.key, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; } - catch (com.cinchapi.concourse.thrift.PermissionException ex2) { + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } return result; } } - public static class insertJson - extends org.apache.thrift.ProcessFunction { - public insertJson() { - super("insertJson"); + public static class browseKeyTimestr extends + org.apache.thrift.ProcessFunction { + public browseKeyTimestr() { + super("browseKeyTimestr"); } - public insertJson_args getEmptyArgsInstance() { - return new insertJson_args(); + public browseKeyTimestr_args getEmptyArgsInstance() { + return new browseKeyTimestr_args(); } protected boolean isOneway() { return false; } - public insertJson_result getResult(I iface, insertJson_args args) + public browseKeyTimestr_result getResult(I iface, + browseKeyTimestr_args args) throws org.apache.thrift.TException { - insertJson_result result = new insertJson_result(); + browseKeyTimestr_result result = new browseKeyTimestr_result(); try { - result.success = iface.insertJson(args.json, args.creds, - args.transaction, args.environment); + result.success = iface.browseKeyTimestr(args.key, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -42980,39 +50969,35 @@ public insertJson_result getResult(I iface, insertJson_args args) catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { result.ex4 = ex4; } - catch (com.cinchapi.concourse.thrift.PermissionException ex5) { - result.ex5 = ex5; - } return result; } } - public static class insertJsonRecord extends - org.apache.thrift.ProcessFunction { - public insertJsonRecord() { - super("insertJsonRecord"); + public static class browseKeysTime extends + org.apache.thrift.ProcessFunction { + public browseKeysTime() { + super("browseKeysTime"); } - public insertJsonRecord_args getEmptyArgsInstance() { - return new insertJsonRecord_args(); + public browseKeysTime_args getEmptyArgsInstance() { + return new browseKeysTime_args(); } protected boolean isOneway() { return false; } - public insertJsonRecord_result getResult(I iface, - insertJsonRecord_args args) + public browseKeysTime_result getResult(I iface, + browseKeysTime_args args) throws org.apache.thrift.TException { - insertJsonRecord_result result = new insertJsonRecord_result(); + browseKeysTime_result result = new browseKeysTime_result(); try { - result.success = iface.insertJsonRecord(args.json, - args.record, args.creds, args.transaction, + result.success = iface.browseKeysTime(args.keys, + args.timestamp, args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43020,40 +51005,34 @@ public insertJsonRecord_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { - result.ex4 = ex4; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex5) { - result.ex5 = ex5; - } return result; } } - public static class insertJsonRecords extends - org.apache.thrift.ProcessFunction { - public insertJsonRecords() { - super("insertJsonRecords"); + public static class browseKeysTimestr extends + org.apache.thrift.ProcessFunction { + public browseKeysTimestr() { + super("browseKeysTimestr"); } - public insertJsonRecords_args getEmptyArgsInstance() { - return new insertJsonRecords_args(); + public browseKeysTimestr_args getEmptyArgsInstance() { + return new browseKeysTimestr_args(); } protected boolean isOneway() { return false; } - public insertJsonRecords_result getResult(I iface, - insertJsonRecords_args args) + public browseKeysTimestr_result getResult(I iface, + browseKeysTimestr_args args) throws org.apache.thrift.TException { - insertJsonRecords_result result = new insertJsonRecords_result(); + browseKeysTimestr_result result = new browseKeysTimestr_result(); try { - result.success = iface.insertJsonRecords(args.json, - args.records, args.creds, args.transaction, + result.success = iface.browseKeysTimestr(args.keys, + args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -43065,39 +51044,35 @@ public insertJsonRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { result.ex4 = ex4; } - catch (com.cinchapi.concourse.thrift.PermissionException ex5) { - result.ex5 = ex5; - } return result; } } - public static class removeKeyValueRecord extends - org.apache.thrift.ProcessFunction { - public removeKeyValueRecord() { - super("removeKeyValueRecord"); + public static class chronologizeKeyRecord extends + org.apache.thrift.ProcessFunction { + public chronologizeKeyRecord() { + super("chronologizeKeyRecord"); } - public removeKeyValueRecord_args getEmptyArgsInstance() { - return new removeKeyValueRecord_args(); + public chronologizeKeyRecord_args getEmptyArgsInstance() { + return new chronologizeKeyRecord_args(); } protected boolean isOneway() { return false; } - public removeKeyValueRecord_result getResult(I iface, - removeKeyValueRecord_args args) + public chronologizeKeyRecord_result getResult(I iface, + chronologizeKeyRecord_args args) throws org.apache.thrift.TException { - removeKeyValueRecord_result result = new removeKeyValueRecord_result(); + chronologizeKeyRecord_result result = new chronologizeKeyRecord_result(); try { - result.success = iface.removeKeyValueRecord(args.key, - args.value, args.record, args.creds, - args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.chronologizeKeyRecord(args.key, + args.record, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43105,37 +51080,34 @@ public removeKeyValueRecord_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class removeKeyValueRecords extends - org.apache.thrift.ProcessFunction { - public removeKeyValueRecords() { - super("removeKeyValueRecords"); + public static class chronologizeKeyRecordStart extends + org.apache.thrift.ProcessFunction { + public chronologizeKeyRecordStart() { + super("chronologizeKeyRecordStart"); } - public removeKeyValueRecords_args getEmptyArgsInstance() { - return new removeKeyValueRecords_args(); + public chronologizeKeyRecordStart_args getEmptyArgsInstance() { + return new chronologizeKeyRecordStart_args(); } protected boolean isOneway() { return false; } - public removeKeyValueRecords_result getResult(I iface, - removeKeyValueRecords_args args) + public chronologizeKeyRecordStart_result getResult(I iface, + chronologizeKeyRecordStart_args args) throws org.apache.thrift.TException { - removeKeyValueRecords_result result = new removeKeyValueRecords_result(); + chronologizeKeyRecordStart_result result = new chronologizeKeyRecordStart_result(); try { - result.success = iface.removeKeyValueRecords(args.key, - args.value, args.records, args.creds, + result.success = iface.chronologizeKeyRecordStart(args.key, + args.record, args.start, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -43144,37 +51116,36 @@ public removeKeyValueRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class setKeyValueRecord extends - org.apache.thrift.ProcessFunction { - public setKeyValueRecord() { - super("setKeyValueRecord"); + public static class chronologizeKeyRecordStartstr + extends + org.apache.thrift.ProcessFunction { + public chronologizeKeyRecordStartstr() { + super("chronologizeKeyRecordStartstr"); } - public setKeyValueRecord_args getEmptyArgsInstance() { - return new setKeyValueRecord_args(); + public chronologizeKeyRecordStartstr_args getEmptyArgsInstance() { + return new chronologizeKeyRecordStartstr_args(); } protected boolean isOneway() { return false; } - public setKeyValueRecord_result getResult(I iface, - setKeyValueRecord_args args) + public chronologizeKeyRecordStartstr_result getResult(I iface, + chronologizeKeyRecordStartstr_args args) throws org.apache.thrift.TException { - setKeyValueRecord_result result = new setKeyValueRecord_result(); + chronologizeKeyRecordStartstr_result result = new chronologizeKeyRecordStartstr_result(); try { - iface.setKeyValueRecord(args.key, args.value, args.record, - args.creds, args.transaction, args.environment); + result.success = iface.chronologizeKeyRecordStartstr( + args.key, args.record, args.start, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43182,7 +51153,7 @@ public setKeyValueRecord_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } catch (com.cinchapi.concourse.thrift.PermissionException ex4) { @@ -43192,27 +51163,29 @@ public setKeyValueRecord_result getResult(I iface, } } - public static class setKeyValue - extends org.apache.thrift.ProcessFunction { - public setKeyValue() { - super("setKeyValue"); + public static class chronologizeKeyRecordStartEnd + extends + org.apache.thrift.ProcessFunction { + public chronologizeKeyRecordStartEnd() { + super("chronologizeKeyRecordStartEnd"); } - public setKeyValue_args getEmptyArgsInstance() { - return new setKeyValue_args(); + public chronologizeKeyRecordStartEnd_args getEmptyArgsInstance() { + return new chronologizeKeyRecordStartEnd_args(); } protected boolean isOneway() { return false; } - public setKeyValue_result getResult(I iface, setKeyValue_args args) + public chronologizeKeyRecordStartEnd_result getResult(I iface, + chronologizeKeyRecordStartEnd_args args) throws org.apache.thrift.TException { - setKeyValue_result result = new setKeyValue_result(); + chronologizeKeyRecordStartEnd_result result = new chronologizeKeyRecordStartEnd_result(); try { - result.success = iface.setKeyValue(args.key, args.value, + result.success = iface.chronologizeKeyRecordStartEnd( + args.key, args.record, args.start, args.tend, args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43220,36 +51193,35 @@ public setKeyValue_result getResult(I iface, setKeyValue_args args) catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class setKeyValueRecords extends - org.apache.thrift.ProcessFunction { - public setKeyValueRecords() { - super("setKeyValueRecords"); + public static class chronologizeKeyRecordStartstrEndstr + extends + org.apache.thrift.ProcessFunction { + public chronologizeKeyRecordStartstrEndstr() { + super("chronologizeKeyRecordStartstrEndstr"); } - public setKeyValueRecords_args getEmptyArgsInstance() { - return new setKeyValueRecords_args(); + public chronologizeKeyRecordStartstrEndstr_args getEmptyArgsInstance() { + return new chronologizeKeyRecordStartstrEndstr_args(); } protected boolean isOneway() { return false; } - public setKeyValueRecords_result getResult(I iface, - setKeyValueRecords_args args) + public chronologizeKeyRecordStartstrEndstr_result getResult(I iface, + chronologizeKeyRecordStartstrEndstr_args args) throws org.apache.thrift.TException { - setKeyValueRecords_result result = new setKeyValueRecords_result(); + chronologizeKeyRecordStartstrEndstr_result result = new chronologizeKeyRecordStartstrEndstr_result(); try { - iface.setKeyValueRecords(args.key, args.value, args.records, + result.success = iface.chronologizeKeyRecordStartstrEndstr( + args.key, args.record, args.start, args.tend, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -43258,7 +51230,7 @@ public setKeyValueRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } catch (com.cinchapi.concourse.thrift.PermissionException ex4) { @@ -43268,27 +51240,25 @@ public setKeyValueRecords_result getResult(I iface, } } - public static class reconcileKeyRecordValues extends - org.apache.thrift.ProcessFunction { - public reconcileKeyRecordValues() { - super("reconcileKeyRecordValues"); + public static class clearRecord + extends org.apache.thrift.ProcessFunction { + public clearRecord() { + super("clearRecord"); } - public reconcileKeyRecordValues_args getEmptyArgsInstance() { - return new reconcileKeyRecordValues_args(); + public clearRecord_args getEmptyArgsInstance() { + return new clearRecord_args(); } protected boolean isOneway() { return false; } - public reconcileKeyRecordValues_result getResult(I iface, - reconcileKeyRecordValues_args args) + public clearRecord_result getResult(I iface, clearRecord_args args) throws org.apache.thrift.TException { - reconcileKeyRecordValues_result result = new reconcileKeyRecordValues_result(); + clearRecord_result result = new clearRecord_result(); try { - iface.reconcileKeyRecordValues(args.key, args.record, - args.values, args.creds, args.transaction, + iface.clearRecord(args.record, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -43297,35 +51267,33 @@ public reconcileKeyRecordValues_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class inventory - extends org.apache.thrift.ProcessFunction { - public inventory() { - super("inventory"); + public static class clearRecords extends + org.apache.thrift.ProcessFunction { + public clearRecords() { + super("clearRecords"); } - public inventory_args getEmptyArgsInstance() { - return new inventory_args(); + public clearRecords_args getEmptyArgsInstance() { + return new clearRecords_args(); } protected boolean isOneway() { return false; } - public inventory_result getResult(I iface, inventory_args args) + public clearRecords_result getResult(I iface, + clearRecords_args args) throws org.apache.thrift.TException { - inventory_result result = new inventory_result(); + clearRecords_result result = new clearRecords_result(); try { - result.success = iface.inventory(args.creds, + iface.clearRecords(args.records, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -43341,26 +51309,26 @@ public inventory_result getResult(I iface, inventory_args args) } } - public static class selectRecord extends - org.apache.thrift.ProcessFunction { - public selectRecord() { - super("selectRecord"); + public static class clearKeyRecord extends + org.apache.thrift.ProcessFunction { + public clearKeyRecord() { + super("clearKeyRecord"); } - public selectRecord_args getEmptyArgsInstance() { - return new selectRecord_args(); + public clearKeyRecord_args getEmptyArgsInstance() { + return new clearKeyRecord_args(); } protected boolean isOneway() { return false; } - public selectRecord_result getResult(I iface, - selectRecord_args args) + public clearKeyRecord_result getResult(I iface, + clearKeyRecord_args args) throws org.apache.thrift.TException { - selectRecord_result result = new selectRecord_result(); + clearKeyRecord_result result = new clearKeyRecord_result(); try { - result.success = iface.selectRecord(args.record, args.creds, + iface.clearKeyRecord(args.key, args.record, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -43376,27 +51344,27 @@ public selectRecord_result getResult(I iface, } } - public static class selectRecords extends - org.apache.thrift.ProcessFunction { - public selectRecords() { - super("selectRecords"); + public static class clearKeysRecord extends + org.apache.thrift.ProcessFunction { + public clearKeysRecord() { + super("clearKeysRecord"); } - public selectRecords_args getEmptyArgsInstance() { - return new selectRecords_args(); + public clearKeysRecord_args getEmptyArgsInstance() { + return new clearKeysRecord_args(); } protected boolean isOneway() { return false; } - public selectRecords_result getResult(I iface, - selectRecords_args args) + public clearKeysRecord_result getResult(I iface, + clearKeysRecord_args args) throws org.apache.thrift.TException { - selectRecords_result result = new selectRecords_result(); + clearKeysRecord_result result = new clearKeysRecord_result(); try { - result.success = iface.selectRecords(args.records, - args.creds, args.transaction, args.environment); + iface.clearKeysRecord(args.keys, args.record, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43411,28 +51379,27 @@ public selectRecords_result getResult(I iface, } } - public static class selectRecordTime extends - org.apache.thrift.ProcessFunction { - public selectRecordTime() { - super("selectRecordTime"); + public static class clearKeyRecords extends + org.apache.thrift.ProcessFunction { + public clearKeyRecords() { + super("clearKeyRecords"); } - public selectRecordTime_args getEmptyArgsInstance() { - return new selectRecordTime_args(); + public clearKeyRecords_args getEmptyArgsInstance() { + return new clearKeyRecords_args(); } protected boolean isOneway() { return false; } - public selectRecordTime_result getResult(I iface, - selectRecordTime_args args) + public clearKeyRecords_result getResult(I iface, + clearKeyRecords_args args) throws org.apache.thrift.TException { - selectRecordTime_result result = new selectRecordTime_result(); + clearKeyRecords_result result = new clearKeyRecords_result(); try { - result.success = iface.selectRecordTime(args.record, - args.timestamp, args.creds, args.transaction, - args.environment); + iface.clearKeyRecords(args.key, args.records, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43447,28 +51414,27 @@ public selectRecordTime_result getResult(I iface, } } - public static class selectRecordTimestr extends - org.apache.thrift.ProcessFunction { - public selectRecordTimestr() { - super("selectRecordTimestr"); + public static class clearKeysRecords extends + org.apache.thrift.ProcessFunction { + public clearKeysRecords() { + super("clearKeysRecords"); } - public selectRecordTimestr_args getEmptyArgsInstance() { - return new selectRecordTimestr_args(); + public clearKeysRecords_args getEmptyArgsInstance() { + return new clearKeysRecords_args(); } protected boolean isOneway() { return false; } - public selectRecordTimestr_result getResult(I iface, - selectRecordTimestr_args args) + public clearKeysRecords_result getResult(I iface, + clearKeysRecords_args args) throws org.apache.thrift.TException { - selectRecordTimestr_result result = new selectRecordTimestr_result(); + clearKeysRecords_result result = new clearKeysRecords_result(); try { - result.success = iface.selectRecordTimestr(args.record, - args.timestamp, args.creds, args.transaction, - args.environment); + iface.clearKeysRecords(args.keys, args.records, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43476,38 +51442,34 @@ public selectRecordTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class selectRecordsTime extends - org.apache.thrift.ProcessFunction { - public selectRecordsTime() { - super("selectRecordsTime"); + public static class commit + extends org.apache.thrift.ProcessFunction { + public commit() { + super("commit"); } - public selectRecordsTime_args getEmptyArgsInstance() { - return new selectRecordsTime_args(); + public commit_args getEmptyArgsInstance() { + return new commit_args(); } protected boolean isOneway() { return false; } - public selectRecordsTime_result getResult(I iface, - selectRecordsTime_args args) + public commit_result getResult(I iface, commit_args args) throws org.apache.thrift.TException { - selectRecordsTime_result result = new selectRecordsTime_result(); + commit_result result = new commit_result(); try { - result.success = iface.selectRecordsTime(args.records, - args.timestamp, args.creds, args.transaction, + result.success = iface.commit(args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43522,28 +51484,26 @@ public selectRecordsTime_result getResult(I iface, } } - public static class selectRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public selectRecordsTimestr() { - super("selectRecordsTimestr"); + public static class describe + extends org.apache.thrift.ProcessFunction { + public describe() { + super("describe"); } - public selectRecordsTimestr_args getEmptyArgsInstance() { - return new selectRecordsTimestr_args(); + public describe_args getEmptyArgsInstance() { + return new describe_args(); } protected boolean isOneway() { return false; } - public selectRecordsTimestr_result getResult(I iface, - selectRecordsTimestr_args args) + public describe_result getResult(I iface, describe_args args) throws org.apache.thrift.TException { - selectRecordsTimestr_result result = new selectRecordsTimestr_result(); + describe_result result = new describe_result(); try { - result.success = iface.selectRecordsTimestr(args.records, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.describe(args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43551,38 +51511,34 @@ public selectRecordsTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class selectKeyRecord extends - org.apache.thrift.ProcessFunction { - public selectKeyRecord() { - super("selectKeyRecord"); + public static class describeTime extends + org.apache.thrift.ProcessFunction { + public describeTime() { + super("describeTime"); } - public selectKeyRecord_args getEmptyArgsInstance() { - return new selectKeyRecord_args(); + public describeTime_args getEmptyArgsInstance() { + return new describeTime_args(); } protected boolean isOneway() { return false; } - public selectKeyRecord_result getResult(I iface, - selectKeyRecord_args args) + public describeTime_result getResult(I iface, + describeTime_args args) throws org.apache.thrift.TException { - selectKeyRecord_result result = new selectKeyRecord_result(); + describeTime_result result = new describeTime_result(); try { - result.success = iface.selectKeyRecord(args.key, - args.record, args.creds, args.transaction, - args.environment); + result.success = iface.describeTime(args.timestamp, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43597,28 +51553,27 @@ public selectKeyRecord_result getResult(I iface, } } - public static class selectKeyRecordTime extends - org.apache.thrift.ProcessFunction { - public selectKeyRecordTime() { - super("selectKeyRecordTime"); + public static class describeTimestr extends + org.apache.thrift.ProcessFunction { + public describeTimestr() { + super("describeTimestr"); } - public selectKeyRecordTime_args getEmptyArgsInstance() { - return new selectKeyRecordTime_args(); + public describeTimestr_args getEmptyArgsInstance() { + return new describeTimestr_args(); } protected boolean isOneway() { return false; } - public selectKeyRecordTime_result getResult(I iface, - selectKeyRecordTime_args args) + public describeTimestr_result getResult(I iface, + describeTimestr_args args) throws org.apache.thrift.TException { - selectKeyRecordTime_result result = new selectKeyRecordTime_result(); + describeTimestr_result result = new describeTimestr_result(); try { - result.success = iface.selectKeyRecordTime(args.key, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.describeTimestr(args.timestamp, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43633,28 +51588,27 @@ public selectKeyRecordTime_result getResult(I iface, } } - public static class selectKeyRecordTimestr extends - org.apache.thrift.ProcessFunction { - public selectKeyRecordTimestr() { - super("selectKeyRecordTimestr"); + public static class describeRecord extends + org.apache.thrift.ProcessFunction { + public describeRecord() { + super("describeRecord"); } - public selectKeyRecordTimestr_args getEmptyArgsInstance() { - return new selectKeyRecordTimestr_args(); + public describeRecord_args getEmptyArgsInstance() { + return new describeRecord_args(); } protected boolean isOneway() { return false; } - public selectKeyRecordTimestr_result getResult(I iface, - selectKeyRecordTimestr_args args) + public describeRecord_result getResult(I iface, + describeRecord_args args) throws org.apache.thrift.TException { - selectKeyRecordTimestr_result result = new selectKeyRecordTimestr_result(); + describeRecord_result result = new describeRecord_result(); try { - result.success = iface.selectKeyRecordTimestr(args.key, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.describeRecord(args.record, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43662,37 +51616,34 @@ public selectKeyRecordTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class selectKeysRecord extends - org.apache.thrift.ProcessFunction { - public selectKeysRecord() { - super("selectKeysRecord"); + public static class describeRecordTime extends + org.apache.thrift.ProcessFunction { + public describeRecordTime() { + super("describeRecordTime"); } - public selectKeysRecord_args getEmptyArgsInstance() { - return new selectKeysRecord_args(); + public describeRecordTime_args getEmptyArgsInstance() { + return new describeRecordTime_args(); } protected boolean isOneway() { return false; } - public selectKeysRecord_result getResult(I iface, - selectKeysRecord_args args) + public describeRecordTime_result getResult(I iface, + describeRecordTime_args args) throws org.apache.thrift.TException { - selectKeysRecord_result result = new selectKeysRecord_result(); + describeRecordTime_result result = new describeRecordTime_result(); try { - result.success = iface.selectKeysRecord(args.keys, - args.record, args.creds, args.transaction, + result.success = iface.describeRecordTime(args.record, + args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -43708,28 +51659,28 @@ public selectKeysRecord_result getResult(I iface, } } - public static class selectKeysRecordTime extends - org.apache.thrift.ProcessFunction { - public selectKeysRecordTime() { - super("selectKeysRecordTime"); + public static class describeRecordTimestr extends + org.apache.thrift.ProcessFunction { + public describeRecordTimestr() { + super("describeRecordTimestr"); } - public selectKeysRecordTime_args getEmptyArgsInstance() { - return new selectKeysRecordTime_args(); + public describeRecordTimestr_args getEmptyArgsInstance() { + return new describeRecordTimestr_args(); } protected boolean isOneway() { return false; } - public selectKeysRecordTime_result getResult(I iface, - selectKeysRecordTime_args args) + public describeRecordTimestr_result getResult(I iface, + describeRecordTimestr_args args) throws org.apache.thrift.TException { - selectKeysRecordTime_result result = new selectKeysRecordTime_result(); + describeRecordTimestr_result result = new describeRecordTimestr_result(); try { - result.success = iface.selectKeysRecordTime(args.keys, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.describeRecordTimestr(args.record, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43737,35 +51688,37 @@ public selectKeysRecordTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class selectKeysRecordTimestr extends - org.apache.thrift.ProcessFunction { - public selectKeysRecordTimestr() { - super("selectKeysRecordTimestr"); + public static class describeRecords extends + org.apache.thrift.ProcessFunction { + public describeRecords() { + super("describeRecords"); } - public selectKeysRecordTimestr_args getEmptyArgsInstance() { - return new selectKeysRecordTimestr_args(); + public describeRecords_args getEmptyArgsInstance() { + return new describeRecords_args(); } protected boolean isOneway() { return false; } - public selectKeysRecordTimestr_result getResult(I iface, - selectKeysRecordTimestr_args args) + public describeRecords_result getResult(I iface, + describeRecords_args args) throws org.apache.thrift.TException { - selectKeysRecordTimestr_result result = new selectKeysRecordTimestr_result(); + describeRecords_result result = new describeRecords_result(); try { - result.success = iface.selectKeysRecordTimestr(args.keys, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.describeRecords(args.records, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43773,37 +51726,34 @@ public selectKeysRecordTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class selectKeysRecords extends - org.apache.thrift.ProcessFunction { - public selectKeysRecords() { - super("selectKeysRecords"); + public static class describeRecordsTime extends + org.apache.thrift.ProcessFunction { + public describeRecordsTime() { + super("describeRecordsTime"); } - public selectKeysRecords_args getEmptyArgsInstance() { - return new selectKeysRecords_args(); + public describeRecordsTime_args getEmptyArgsInstance() { + return new describeRecordsTime_args(); } protected boolean isOneway() { return false; } - public selectKeysRecords_result getResult(I iface, - selectKeysRecords_args args) + public describeRecordsTime_result getResult(I iface, + describeRecordsTime_args args) throws org.apache.thrift.TException { - selectKeysRecords_result result = new selectKeysRecords_result(); + describeRecordsTime_result result = new describeRecordsTime_result(); try { - result.success = iface.selectKeysRecords(args.keys, - args.records, args.creds, args.transaction, + result.success = iface.describeRecordsTime(args.records, + args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -43819,27 +51769,27 @@ public selectKeysRecords_result getResult(I iface, } } - public static class selectKeyRecords extends - org.apache.thrift.ProcessFunction { - public selectKeyRecords() { - super("selectKeyRecords"); + public static class describeRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public describeRecordsTimestr() { + super("describeRecordsTimestr"); } - public selectKeyRecords_args getEmptyArgsInstance() { - return new selectKeyRecords_args(); + public describeRecordsTimestr_args getEmptyArgsInstance() { + return new describeRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public selectKeyRecords_result getResult(I iface, - selectKeyRecords_args args) + public describeRecordsTimestr_result getResult(I iface, + describeRecordsTimestr_args args) throws org.apache.thrift.TException { - selectKeyRecords_result result = new selectKeyRecords_result(); + describeRecordsTimestr_result result = new describeRecordsTimestr_result(); try { - result.success = iface.selectKeyRecords(args.key, - args.records, args.creds, args.transaction, + result.success = iface.describeRecordsTimestr(args.records, + args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -43848,35 +51798,38 @@ public selectKeyRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class selectKeyRecordsTime extends - org.apache.thrift.ProcessFunction { - public selectKeyRecordsTime() { - super("selectKeyRecordsTime"); + public static class diffRecordStart extends + org.apache.thrift.ProcessFunction { + public diffRecordStart() { + super("diffRecordStart"); } - public selectKeyRecordsTime_args getEmptyArgsInstance() { - return new selectKeyRecordsTime_args(); + public diffRecordStart_args getEmptyArgsInstance() { + return new diffRecordStart_args(); } protected boolean isOneway() { return false; } - public selectKeyRecordsTime_result getResult(I iface, - selectKeyRecordsTime_args args) + public diffRecordStart_result getResult(I iface, + diffRecordStart_args args) throws org.apache.thrift.TException { - selectKeyRecordsTime_result result = new selectKeyRecordsTime_result(); + diffRecordStart_result result = new diffRecordStart_result(); try { - result.success = iface.selectKeyRecordsTime(args.key, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.diffRecordStart(args.record, + args.start, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43891,28 +51844,28 @@ public selectKeyRecordsTime_result getResult(I iface, } } - public static class selectKeyRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public selectKeyRecordsTimestr() { - super("selectKeyRecordsTimestr"); + public static class diffRecordStartstr extends + org.apache.thrift.ProcessFunction { + public diffRecordStartstr() { + super("diffRecordStartstr"); } - public selectKeyRecordsTimestr_args getEmptyArgsInstance() { - return new selectKeyRecordsTimestr_args(); + public diffRecordStartstr_args getEmptyArgsInstance() { + return new diffRecordStartstr_args(); } protected boolean isOneway() { return false; } - public selectKeyRecordsTimestr_result getResult(I iface, - selectKeyRecordsTimestr_args args) + public diffRecordStartstr_result getResult(I iface, + diffRecordStartstr_args args) throws org.apache.thrift.TException { - selectKeyRecordsTimestr_result result = new selectKeyRecordsTimestr_result(); + diffRecordStartstr_result result = new diffRecordStartstr_result(); try { - result.success = iface.selectKeyRecordsTimestr(args.key, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.diffRecordStartstr(args.record, + args.start, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43930,28 +51883,28 @@ public selectKeyRecordsTimestr_result getResult(I iface, } } - public static class selectKeysRecordsTime extends - org.apache.thrift.ProcessFunction { - public selectKeysRecordsTime() { - super("selectKeysRecordsTime"); + public static class diffRecordStartEnd extends + org.apache.thrift.ProcessFunction { + public diffRecordStartEnd() { + super("diffRecordStartEnd"); } - public selectKeysRecordsTime_args getEmptyArgsInstance() { - return new selectKeysRecordsTime_args(); + public diffRecordStartEnd_args getEmptyArgsInstance() { + return new diffRecordStartEnd_args(); } protected boolean isOneway() { return false; } - public selectKeysRecordsTime_result getResult(I iface, - selectKeysRecordsTime_args args) + public diffRecordStartEnd_result getResult(I iface, + diffRecordStartEnd_args args) throws org.apache.thrift.TException { - selectKeysRecordsTime_result result = new selectKeysRecordsTime_result(); + diffRecordStartEnd_result result = new diffRecordStartEnd_result(); try { - result.success = iface.selectKeysRecordsTime(args.keys, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.diffRecordStartEnd(args.record, + args.start, args.tend, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -43966,28 +51919,28 @@ public selectKeysRecordsTime_result getResult(I iface, } } - public static class selectKeysRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public selectKeysRecordsTimestr() { - super("selectKeysRecordsTimestr"); + public static class diffRecordStartstrEndstr extends + org.apache.thrift.ProcessFunction { + public diffRecordStartstrEndstr() { + super("diffRecordStartstrEndstr"); } - public selectKeysRecordsTimestr_args getEmptyArgsInstance() { - return new selectKeysRecordsTimestr_args(); + public diffRecordStartstrEndstr_args getEmptyArgsInstance() { + return new diffRecordStartstrEndstr_args(); } protected boolean isOneway() { return false; } - public selectKeysRecordsTimestr_result getResult(I iface, - selectKeysRecordsTimestr_args args) + public diffRecordStartstrEndstr_result getResult(I iface, + diffRecordStartstrEndstr_args args) throws org.apache.thrift.TException { - selectKeysRecordsTimestr_result result = new selectKeysRecordsTimestr_result(); + diffRecordStartstrEndstr_result result = new diffRecordStartstrEndstr_result(); try { - result.success = iface.selectKeysRecordsTimestr(args.keys, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.diffRecordStartstrEndstr(args.record, + args.start, args.tend, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44005,27 +51958,28 @@ public selectKeysRecordsTimestr_result getResult(I iface, } } - public static class selectCriteria extends - org.apache.thrift.ProcessFunction { - public selectCriteria() { - super("selectCriteria"); + public static class diffKeyRecordStart extends + org.apache.thrift.ProcessFunction { + public diffKeyRecordStart() { + super("diffKeyRecordStart"); } - public selectCriteria_args getEmptyArgsInstance() { - return new selectCriteria_args(); + public diffKeyRecordStart_args getEmptyArgsInstance() { + return new diffKeyRecordStart_args(); } protected boolean isOneway() { return false; } - public selectCriteria_result getResult(I iface, - selectCriteria_args args) + public diffKeyRecordStart_result getResult(I iface, + diffKeyRecordStart_args args) throws org.apache.thrift.TException { - selectCriteria_result result = new selectCriteria_result(); + diffKeyRecordStart_result result = new diffKeyRecordStart_result(); try { - result.success = iface.selectCriteria(args.criteria, - args.creds, args.transaction, args.environment); + result.success = iface.diffKeyRecordStart(args.key, + args.record, args.start, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44040,25 +51994,27 @@ public selectCriteria_result getResult(I iface, } } - public static class selectCcl - extends org.apache.thrift.ProcessFunction { - public selectCcl() { - super("selectCcl"); + public static class diffKeyRecordStartstr extends + org.apache.thrift.ProcessFunction { + public diffKeyRecordStartstr() { + super("diffKeyRecordStartstr"); } - public selectCcl_args getEmptyArgsInstance() { - return new selectCcl_args(); + public diffKeyRecordStartstr_args getEmptyArgsInstance() { + return new diffKeyRecordStartstr_args(); } protected boolean isOneway() { return false; } - public selectCcl_result getResult(I iface, selectCcl_args args) + public diffKeyRecordStartstr_result getResult(I iface, + diffKeyRecordStartstr_args args) throws org.apache.thrift.TException { - selectCcl_result result = new selectCcl_result(); + diffKeyRecordStartstr_result result = new diffKeyRecordStartstr_result(); try { - result.success = iface.selectCcl(args.ccl, args.creds, + result.success = iface.diffKeyRecordStartstr(args.key, + args.record, args.start, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -44077,28 +52033,28 @@ public selectCcl_result getResult(I iface, selectCcl_args args) } } - public static class selectCriteriaTime extends - org.apache.thrift.ProcessFunction { - public selectCriteriaTime() { - super("selectCriteriaTime"); + public static class diffKeyRecordStartEnd extends + org.apache.thrift.ProcessFunction { + public diffKeyRecordStartEnd() { + super("diffKeyRecordStartEnd"); } - public selectCriteriaTime_args getEmptyArgsInstance() { - return new selectCriteriaTime_args(); + public diffKeyRecordStartEnd_args getEmptyArgsInstance() { + return new diffKeyRecordStartEnd_args(); } protected boolean isOneway() { return false; } - public selectCriteriaTime_result getResult(I iface, - selectCriteriaTime_args args) + public diffKeyRecordStartEnd_result getResult(I iface, + diffKeyRecordStartEnd_args args) throws org.apache.thrift.TException { - selectCriteriaTime_result result = new selectCriteriaTime_result(); + diffKeyRecordStartEnd_result result = new diffKeyRecordStartEnd_result(); try { - result.success = iface.selectCriteriaTime(args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.diffKeyRecordStartEnd(args.key, + args.record, args.start, args.tend, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44113,28 +52069,28 @@ public selectCriteriaTime_result getResult(I iface, } } - public static class selectCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public selectCriteriaTimestr() { - super("selectCriteriaTimestr"); + public static class diffKeyRecordStartstrEndstr extends + org.apache.thrift.ProcessFunction { + public diffKeyRecordStartstrEndstr() { + super("diffKeyRecordStartstrEndstr"); } - public selectCriteriaTimestr_args getEmptyArgsInstance() { - return new selectCriteriaTimestr_args(); + public diffKeyRecordStartstrEndstr_args getEmptyArgsInstance() { + return new diffKeyRecordStartstrEndstr_args(); } protected boolean isOneway() { return false; } - public selectCriteriaTimestr_result getResult(I iface, - selectCriteriaTimestr_args args) + public diffKeyRecordStartstrEndstr_result getResult(I iface, + diffKeyRecordStartstrEndstr_args args) throws org.apache.thrift.TException { - selectCriteriaTimestr_result result = new selectCriteriaTimestr_result(); + diffKeyRecordStartstrEndstr_result result = new diffKeyRecordStartstrEndstr_result(); try { - result.success = iface.selectCriteriaTimestr(args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.diffKeyRecordStartstrEndstr(args.key, + args.record, args.start, args.tend, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44152,28 +52108,27 @@ public selectCriteriaTimestr_result getResult(I iface, } } - public static class selectCclTime extends - org.apache.thrift.ProcessFunction { - public selectCclTime() { - super("selectCclTime"); + public static class diffKeyStart extends + org.apache.thrift.ProcessFunction { + public diffKeyStart() { + super("diffKeyStart"); } - public selectCclTime_args getEmptyArgsInstance() { - return new selectCclTime_args(); + public diffKeyStart_args getEmptyArgsInstance() { + return new diffKeyStart_args(); } protected boolean isOneway() { return false; } - public selectCclTime_result getResult(I iface, - selectCclTime_args args) + public diffKeyStart_result getResult(I iface, + diffKeyStart_args args) throws org.apache.thrift.TException { - selectCclTime_result result = new selectCclTime_result(); + diffKeyStart_result result = new diffKeyStart_result(); try { - result.success = iface.selectCclTime(args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.diffKeyStart(args.key, args.start, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44181,38 +52136,34 @@ public selectCclTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class selectCclTimestr extends - org.apache.thrift.ProcessFunction { - public selectCclTimestr() { - super("selectCclTimestr"); + public static class diffKeyStartstr extends + org.apache.thrift.ProcessFunction { + public diffKeyStartstr() { + super("diffKeyStartstr"); } - public selectCclTimestr_args getEmptyArgsInstance() { - return new selectCclTimestr_args(); + public diffKeyStartstr_args getEmptyArgsInstance() { + return new diffKeyStartstr_args(); } protected boolean isOneway() { return false; } - public selectCclTimestr_result getResult(I iface, - selectCclTimestr_args args) + public diffKeyStartstr_result getResult(I iface, + diffKeyStartstr_args args) throws org.apache.thrift.TException { - selectCclTimestr_result result = new selectCclTimestr_result(); + diffKeyStartstr_result result = new diffKeyStartstr_result(); try { - result.success = iface.selectCclTimestr(args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.diffKeyStartstr(args.key, args.start, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44230,27 +52181,27 @@ public selectCclTimestr_result getResult(I iface, } } - public static class selectKeyCriteria extends - org.apache.thrift.ProcessFunction { - public selectKeyCriteria() { - super("selectKeyCriteria"); + public static class diffKeyStartEnd extends + org.apache.thrift.ProcessFunction { + public diffKeyStartEnd() { + super("diffKeyStartEnd"); } - public selectKeyCriteria_args getEmptyArgsInstance() { - return new selectKeyCriteria_args(); + public diffKeyStartEnd_args getEmptyArgsInstance() { + return new diffKeyStartEnd_args(); } protected boolean isOneway() { return false; } - public selectKeyCriteria_result getResult(I iface, - selectKeyCriteria_args args) + public diffKeyStartEnd_result getResult(I iface, + diffKeyStartEnd_args args) throws org.apache.thrift.TException { - selectKeyCriteria_result result = new selectKeyCriteria_result(); + diffKeyStartEnd_result result = new diffKeyStartEnd_result(); try { - result.success = iface.selectKeyCriteria(args.key, - args.criteria, args.creds, args.transaction, + result.success = iface.diffKeyStartEnd(args.key, args.start, + args.tend, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -44266,27 +52217,28 @@ public selectKeyCriteria_result getResult(I iface, } } - public static class selectKeyCcl extends - org.apache.thrift.ProcessFunction { - public selectKeyCcl() { - super("selectKeyCcl"); + public static class diffKeyStartstrEndstr extends + org.apache.thrift.ProcessFunction { + public diffKeyStartstrEndstr() { + super("diffKeyStartstrEndstr"); } - public selectKeyCcl_args getEmptyArgsInstance() { - return new selectKeyCcl_args(); + public diffKeyStartstrEndstr_args getEmptyArgsInstance() { + return new diffKeyStartstrEndstr_args(); } protected boolean isOneway() { return false; } - public selectKeyCcl_result getResult(I iface, - selectKeyCcl_args args) + public diffKeyStartstrEndstr_result getResult(I iface, + diffKeyStartstrEndstr_args args) throws org.apache.thrift.TException { - selectKeyCcl_result result = new selectKeyCcl_result(); + diffKeyStartstrEndstr_result result = new diffKeyStartstrEndstr_result(); try { - result.success = iface.selectKeyCcl(args.key, args.ccl, - args.creds, args.transaction, args.environment); + result.success = iface.diffKeyStartstrEndstr(args.key, + args.start, args.tend, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44304,28 +52256,28 @@ public selectKeyCcl_result getResult(I iface, } } - public static class selectKeyCriteriaTime extends - org.apache.thrift.ProcessFunction { - public selectKeyCriteriaTime() { - super("selectKeyCriteriaTime"); + public static class invokePlugin extends + org.apache.thrift.ProcessFunction { + public invokePlugin() { + super("invokePlugin"); } - public selectKeyCriteriaTime_args getEmptyArgsInstance() { - return new selectKeyCriteriaTime_args(); + public invokePlugin_args getEmptyArgsInstance() { + return new invokePlugin_args(); } protected boolean isOneway() { return false; } - public selectKeyCriteriaTime_result getResult(I iface, - selectKeyCriteriaTime_args args) + public invokePlugin_result getResult(I iface, + invokePlugin_args args) throws org.apache.thrift.TException { - selectKeyCriteriaTime_result result = new selectKeyCriteriaTime_result(); + invokePlugin_result result = new invokePlugin_result(); try { - result.success = iface.selectKeyCriteriaTime(args.key, - args.criteria, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.invokePlugin(args.id, args.method, + args.params, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44333,112 +52285,126 @@ public selectKeyCriteriaTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class selectKeyCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public selectKeyCriteriaTimestr() { - super("selectKeyCriteriaTimestr"); + public static class login + extends org.apache.thrift.ProcessFunction { + public login() { + super("login"); } - public selectKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new selectKeyCriteriaTimestr_args(); + public login_args getEmptyArgsInstance() { + return new login_args(); } protected boolean isOneway() { return false; } - public selectKeyCriteriaTimestr_result getResult(I iface, - selectKeyCriteriaTimestr_args args) + public login_result getResult(I iface, login_args args) throws org.apache.thrift.TException { - selectKeyCriteriaTimestr_result result = new selectKeyCriteriaTimestr_result(); + login_result result = new login_result(); try { - result.success = iface.selectKeyCriteriaTimestr(args.key, - args.criteria, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.login(args.username, args.password, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + catch (com.cinchapi.concourse.thrift.PermissionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class selectKeyCclTime extends - org.apache.thrift.ProcessFunction { - public selectKeyCclTime() { - super("selectKeyCclTime"); + public static class logout + extends org.apache.thrift.ProcessFunction { + public logout() { + super("logout"); } - public selectKeyCclTime_args getEmptyArgsInstance() { - return new selectKeyCclTime_args(); + public logout_args getEmptyArgsInstance() { + return new logout_args(); } protected boolean isOneway() { return false; } - public selectKeyCclTime_result getResult(I iface, - selectKeyCclTime_args args) + public logout_result getResult(I iface, logout_args args) throws org.apache.thrift.TException { - selectKeyCclTime_result result = new selectKeyCclTime_result(); + logout_result result = new logout_result(); try { - result.success = iface.selectKeyCclTime(args.key, args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + iface.logout(args.token, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; } - catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + catch (com.cinchapi.concourse.thrift.PermissionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { - result.ex3 = ex3; + return result; + } + } + + public static class stage + extends org.apache.thrift.ProcessFunction { + public stage() { + super("stage"); + } + + public stage_args getEmptyArgsInstance() { + return new stage_args(); + } + + protected boolean isOneway() { + return false; + } + + public stage_result getResult(I iface, stage_args args) + throws org.apache.thrift.TException { + stage_result result = new stage_result(); + try { + result.success = iface.stage(args.token, args.environment); } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex2) { + result.ex2 = ex2; } return result; } } - public static class selectKeyCclTimestr extends - org.apache.thrift.ProcessFunction { - public selectKeyCclTimestr() { - super("selectKeyCclTimestr"); + public static class insertJson + extends org.apache.thrift.ProcessFunction { + public insertJson() { + super("insertJson"); } - public selectKeyCclTimestr_args getEmptyArgsInstance() { - return new selectKeyCclTimestr_args(); + public insertJson_args getEmptyArgsInstance() { + return new insertJson_args(); } protected boolean isOneway() { return false; } - public selectKeyCclTimestr_result getResult(I iface, - selectKeyCclTimestr_args args) + public insertJson_result getResult(I iface, insertJson_args args) throws org.apache.thrift.TException { - selectKeyCclTimestr_result result = new selectKeyCclTimestr_result(); + insertJson_result result = new insertJson_result(); try { - result.success = iface.selectKeyCclTimestr(args.key, - args.ccl, args.timestamp, args.creds, + result.success = iface.insertJson(args.json, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -44450,35 +52416,39 @@ public selectKeyCclTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { result.ex4 = ex4; } + catch (com.cinchapi.concourse.thrift.PermissionException ex5) { + result.ex5 = ex5; + } return result; } } - public static class selectKeysCriteria extends - org.apache.thrift.ProcessFunction { - public selectKeysCriteria() { - super("selectKeysCriteria"); + public static class insertJsonRecord extends + org.apache.thrift.ProcessFunction { + public insertJsonRecord() { + super("insertJsonRecord"); } - public selectKeysCriteria_args getEmptyArgsInstance() { - return new selectKeysCriteria_args(); + public insertJsonRecord_args getEmptyArgsInstance() { + return new insertJsonRecord_args(); } protected boolean isOneway() { return false; } - public selectKeysCriteria_result getResult(I iface, - selectKeysCriteria_args args) + public insertJsonRecord_result getResult(I iface, + insertJsonRecord_args args) throws org.apache.thrift.TException { - selectKeysCriteria_result result = new selectKeysCriteria_result(); + insertJsonRecord_result result = new insertJsonRecord_result(); try { - result.success = iface.selectKeysCriteria(args.keys, - args.criteria, args.creds, args.transaction, + result.success = iface.insertJsonRecord(args.json, + args.record, args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44486,34 +52456,41 @@ public selectKeysCriteria_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { + result.ex4 = ex4; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex5) { + result.ex5 = ex5; + } return result; } } - public static class selectKeysCcl extends - org.apache.thrift.ProcessFunction { - public selectKeysCcl() { - super("selectKeysCcl"); + public static class insertJsonRecords extends + org.apache.thrift.ProcessFunction { + public insertJsonRecords() { + super("insertJsonRecords"); } - public selectKeysCcl_args getEmptyArgsInstance() { - return new selectKeysCcl_args(); + public insertJsonRecords_args getEmptyArgsInstance() { + return new insertJsonRecords_args(); } protected boolean isOneway() { return false; } - public selectKeysCcl_result getResult(I iface, - selectKeysCcl_args args) + public insertJsonRecords_result getResult(I iface, + insertJsonRecords_args args) throws org.apache.thrift.TException { - selectKeysCcl_result result = new selectKeysCcl_result(); + insertJsonRecords_result result = new insertJsonRecords_result(); try { - result.success = iface.selectKeysCcl(args.keys, args.ccl, - args.creds, args.transaction, args.environment); + result.success = iface.insertJsonRecords(args.json, + args.records, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44524,35 +52501,39 @@ public selectKeysCcl_result getResult(I iface, catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { result.ex4 = ex4; } + catch (com.cinchapi.concourse.thrift.PermissionException ex5) { + result.ex5 = ex5; + } return result; } } - public static class selectKeysCriteriaTime extends - org.apache.thrift.ProcessFunction { - public selectKeysCriteriaTime() { - super("selectKeysCriteriaTime"); + public static class removeKeyValueRecord extends + org.apache.thrift.ProcessFunction { + public removeKeyValueRecord() { + super("removeKeyValueRecord"); } - public selectKeysCriteriaTime_args getEmptyArgsInstance() { - return new selectKeysCriteriaTime_args(); + public removeKeyValueRecord_args getEmptyArgsInstance() { + return new removeKeyValueRecord_args(); } protected boolean isOneway() { return false; } - public selectKeysCriteriaTime_result getResult(I iface, - selectKeysCriteriaTime_args args) + public removeKeyValueRecord_result getResult(I iface, + removeKeyValueRecord_args args) throws org.apache.thrift.TException { - selectKeysCriteriaTime_result result = new selectKeysCriteriaTime_result(); + removeKeyValueRecord_result result = new removeKeyValueRecord_result(); try { - result.success = iface.selectKeysCriteriaTime(args.keys, - args.criteria, args.timestamp, args.creds, + result.success = iface.removeKeyValueRecord(args.key, + args.value, args.record, args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44560,34 +52541,37 @@ public selectKeysCriteriaTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class selectKeysCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public selectKeysCriteriaTimestr() { - super("selectKeysCriteriaTimestr"); + public static class removeKeyValueRecords extends + org.apache.thrift.ProcessFunction { + public removeKeyValueRecords() { + super("removeKeyValueRecords"); } - public selectKeysCriteriaTimestr_args getEmptyArgsInstance() { - return new selectKeysCriteriaTimestr_args(); + public removeKeyValueRecords_args getEmptyArgsInstance() { + return new removeKeyValueRecords_args(); } protected boolean isOneway() { return false; } - public selectKeysCriteriaTimestr_result getResult(I iface, - selectKeysCriteriaTimestr_args args) + public removeKeyValueRecords_result getResult(I iface, + removeKeyValueRecords_args args) throws org.apache.thrift.TException { - selectKeysCriteriaTimestr_result result = new selectKeysCriteriaTimestr_result(); + removeKeyValueRecords_result result = new removeKeyValueRecords_result(); try { - result.success = iface.selectKeysCriteriaTimestr(args.keys, - args.criteria, args.timestamp, args.creds, + result.success = iface.removeKeyValueRecords(args.key, + args.value, args.records, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -44596,7 +52580,7 @@ public selectKeysCriteriaTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } catch (com.cinchapi.concourse.thrift.PermissionException ex4) { @@ -44606,28 +52590,27 @@ public selectKeysCriteriaTimestr_result getResult(I iface, } } - public static class selectKeysCclTime extends - org.apache.thrift.ProcessFunction { - public selectKeysCclTime() { - super("selectKeysCclTime"); + public static class setKeyValueRecord extends + org.apache.thrift.ProcessFunction { + public setKeyValueRecord() { + super("setKeyValueRecord"); } - public selectKeysCclTime_args getEmptyArgsInstance() { - return new selectKeysCclTime_args(); + public setKeyValueRecord_args getEmptyArgsInstance() { + return new setKeyValueRecord_args(); } protected boolean isOneway() { return false; } - public selectKeysCclTime_result getResult(I iface, - selectKeysCclTime_args args) + public setKeyValueRecord_result getResult(I iface, + setKeyValueRecord_args args) throws org.apache.thrift.TException { - selectKeysCclTime_result result = new selectKeysCclTime_result(); + setKeyValueRecord_result result = new setKeyValueRecord_result(); try { - result.success = iface.selectKeysCclTime(args.keys, - args.ccl, args.timestamp, args.creds, - args.transaction, args.environment); + iface.setKeyValueRecord(args.key, args.value, args.record, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44635,7 +52618,7 @@ public selectKeysCclTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } catch (com.cinchapi.concourse.thrift.PermissionException ex4) { @@ -44645,28 +52628,27 @@ public selectKeysCclTime_result getResult(I iface, } } - public static class selectKeysCclTimestr extends - org.apache.thrift.ProcessFunction { - public selectKeysCclTimestr() { - super("selectKeysCclTimestr"); + public static class setKeyValue + extends org.apache.thrift.ProcessFunction { + public setKeyValue() { + super("setKeyValue"); } - public selectKeysCclTimestr_args getEmptyArgsInstance() { - return new selectKeysCclTimestr_args(); + public setKeyValue_args getEmptyArgsInstance() { + return new setKeyValue_args(); } protected boolean isOneway() { return false; } - public selectKeysCclTimestr_result getResult(I iface, - selectKeysCclTimestr_args args) + public setKeyValue_result getResult(I iface, setKeyValue_args args) throws org.apache.thrift.TException { - selectKeysCclTimestr_result result = new selectKeysCclTimestr_result(); + setKeyValue_result result = new setKeyValue_result(); try { - result.success = iface.selectKeysCclTimestr(args.keys, - args.ccl, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.setKeyValue(args.key, args.value, + args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44674,7 +52656,7 @@ public selectKeysCclTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } catch (com.cinchapi.concourse.thrift.PermissionException ex4) { @@ -44684,26 +52666,26 @@ public selectKeysCclTimestr_result getResult(I iface, } } - public static class getKeyRecord extends - org.apache.thrift.ProcessFunction { - public getKeyRecord() { - super("getKeyRecord"); + public static class setKeyValueRecords extends + org.apache.thrift.ProcessFunction { + public setKeyValueRecords() { + super("setKeyValueRecords"); } - public getKeyRecord_args getEmptyArgsInstance() { - return new getKeyRecord_args(); + public setKeyValueRecords_args getEmptyArgsInstance() { + return new setKeyValueRecords_args(); } protected boolean isOneway() { return false; } - public getKeyRecord_result getResult(I iface, - getKeyRecord_args args) + public setKeyValueRecords_result getResult(I iface, + setKeyValueRecords_args args) throws org.apache.thrift.TException { - getKeyRecord_result result = new getKeyRecord_result(); + setKeyValueRecords_result result = new setKeyValueRecords_result(); try { - result.success = iface.getKeyRecord(args.key, args.record, + iface.setKeyValueRecords(args.key, args.value, args.records, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -44712,35 +52694,38 @@ public getKeyRecord_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class getKeyRecordTime extends - org.apache.thrift.ProcessFunction { - public getKeyRecordTime() { - super("getKeyRecordTime"); + public static class reconcileKeyRecordValues extends + org.apache.thrift.ProcessFunction { + public reconcileKeyRecordValues() { + super("reconcileKeyRecordValues"); } - public getKeyRecordTime_args getEmptyArgsInstance() { - return new getKeyRecordTime_args(); + public reconcileKeyRecordValues_args getEmptyArgsInstance() { + return new reconcileKeyRecordValues_args(); } protected boolean isOneway() { return false; } - public getKeyRecordTime_result getResult(I iface, - getKeyRecordTime_args args) + public reconcileKeyRecordValues_result getResult(I iface, + reconcileKeyRecordValues_args args) throws org.apache.thrift.TException { - getKeyRecordTime_result result = new getKeyRecordTime_result(); + reconcileKeyRecordValues_result result = new reconcileKeyRecordValues_result(); try { - result.success = iface.getKeyRecordTime(args.key, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + iface.reconcileKeyRecordValues(args.key, args.record, + args.values, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44748,34 +52733,35 @@ public getKeyRecordTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class getKeyRecordTimestr extends - org.apache.thrift.ProcessFunction { - public getKeyRecordTimestr() { - super("getKeyRecordTimestr"); + public static class inventory + extends org.apache.thrift.ProcessFunction { + public inventory() { + super("inventory"); } - public getKeyRecordTimestr_args getEmptyArgsInstance() { - return new getKeyRecordTimestr_args(); + public inventory_args getEmptyArgsInstance() { + return new inventory_args(); } protected boolean isOneway() { return false; } - public getKeyRecordTimestr_result getResult(I iface, - getKeyRecordTimestr_args args) + public inventory_result getResult(I iface, inventory_args args) throws org.apache.thrift.TException { - getKeyRecordTimestr_result result = new getKeyRecordTimestr_result(); + inventory_result result = new inventory_result(); try { - result.success = iface.getKeyRecordTimestr(args.key, - args.record, args.timestamp, args.creds, + result.success = iface.inventory(args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -44784,37 +52770,34 @@ public getKeyRecordTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getKeysRecord extends - org.apache.thrift.ProcessFunction { - public getKeysRecord() { - super("getKeysRecord"); + public static class selectRecord extends + org.apache.thrift.ProcessFunction { + public selectRecord() { + super("selectRecord"); } - public getKeysRecord_args getEmptyArgsInstance() { - return new getKeysRecord_args(); + public selectRecord_args getEmptyArgsInstance() { + return new selectRecord_args(); } protected boolean isOneway() { return false; } - public getKeysRecord_result getResult(I iface, - getKeysRecord_args args) + public selectRecord_result getResult(I iface, + selectRecord_args args) throws org.apache.thrift.TException { - getKeysRecord_result result = new getKeysRecord_result(); + selectRecord_result result = new selectRecord_result(); try { - result.success = iface.getKeysRecord(args.keys, args.record, - args.creds, args.transaction, args.environment); + result.success = iface.selectRecord(args.record, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44829,28 +52812,27 @@ public getKeysRecord_result getResult(I iface, } } - public static class getKeysRecordTime extends - org.apache.thrift.ProcessFunction { - public getKeysRecordTime() { - super("getKeysRecordTime"); + public static class selectRecords extends + org.apache.thrift.ProcessFunction { + public selectRecords() { + super("selectRecords"); } - public getKeysRecordTime_args getEmptyArgsInstance() { - return new getKeysRecordTime_args(); + public selectRecords_args getEmptyArgsInstance() { + return new selectRecords_args(); } protected boolean isOneway() { return false; } - public getKeysRecordTime_result getResult(I iface, - getKeysRecordTime_args args) + public selectRecords_result getResult(I iface, + selectRecords_args args) throws org.apache.thrift.TException { - getKeysRecordTime_result result = new getKeysRecordTime_result(); + selectRecords_result result = new selectRecords_result(); try { - result.success = iface.getKeysRecordTime(args.keys, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.selectRecords(args.records, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44865,28 +52847,28 @@ public getKeysRecordTime_result getResult(I iface, } } - public static class getKeysRecordTimestr extends - org.apache.thrift.ProcessFunction { - public getKeysRecordTimestr() { - super("getKeysRecordTimestr"); + public static class selectRecordsOrder extends + org.apache.thrift.ProcessFunction { + public selectRecordsOrder() { + super("selectRecordsOrder"); } - public getKeysRecordTimestr_args getEmptyArgsInstance() { - return new getKeysRecordTimestr_args(); + public selectRecordsOrder_args getEmptyArgsInstance() { + return new selectRecordsOrder_args(); } protected boolean isOneway() { return false; } - public getKeysRecordTimestr_result getResult(I iface, - getKeysRecordTimestr_args args) + public selectRecordsOrder_result getResult(I iface, + selectRecordsOrder_args args) throws org.apache.thrift.TException { - getKeysRecordTimestr_result result = new getKeysRecordTimestr_result(); + selectRecordsOrder_result result = new selectRecordsOrder_result(); try { - result.success = iface.getKeysRecordTimestr(args.keys, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.selectRecordsOrder(args.records, + args.order, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44894,37 +52876,34 @@ public getKeysRecordTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getKeysRecords extends - org.apache.thrift.ProcessFunction { - public getKeysRecords() { - super("getKeysRecords"); + public static class selectRecordTime extends + org.apache.thrift.ProcessFunction { + public selectRecordTime() { + super("selectRecordTime"); } - public getKeysRecords_args getEmptyArgsInstance() { - return new getKeysRecords_args(); + public selectRecordTime_args getEmptyArgsInstance() { + return new selectRecordTime_args(); } protected boolean isOneway() { return false; } - public getKeysRecords_result getResult(I iface, - getKeysRecords_args args) + public selectRecordTime_result getResult(I iface, + selectRecordTime_args args) throws org.apache.thrift.TException { - getKeysRecords_result result = new getKeysRecords_result(); + selectRecordTime_result result = new selectRecordTime_result(); try { - result.success = iface.getKeysRecords(args.keys, - args.records, args.creds, args.transaction, + result.success = iface.selectRecordTime(args.record, + args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -44940,27 +52919,28 @@ public getKeysRecords_result getResult(I iface, } } - public static class getKeyRecords extends - org.apache.thrift.ProcessFunction { - public getKeyRecords() { - super("getKeyRecords"); + public static class selectRecordTimestr extends + org.apache.thrift.ProcessFunction { + public selectRecordTimestr() { + super("selectRecordTimestr"); } - public getKeyRecords_args getEmptyArgsInstance() { - return new getKeyRecords_args(); + public selectRecordTimestr_args getEmptyArgsInstance() { + return new selectRecordTimestr_args(); } protected boolean isOneway() { return false; } - public getKeyRecords_result getResult(I iface, - getKeyRecords_args args) + public selectRecordTimestr_result getResult(I iface, + selectRecordTimestr_args args) throws org.apache.thrift.TException { - getKeyRecords_result result = new getKeyRecords_result(); + selectRecordTimestr_result result = new selectRecordTimestr_result(); try { - result.success = iface.getKeyRecords(args.key, args.records, - args.creds, args.transaction, args.environment); + result.success = iface.selectRecordTimestr(args.record, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -44968,35 +52948,38 @@ public getKeyRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class getKeyRecordsTime extends - org.apache.thrift.ProcessFunction { - public getKeyRecordsTime() { - super("getKeyRecordsTime"); + public static class selectRecordsTime extends + org.apache.thrift.ProcessFunction { + public selectRecordsTime() { + super("selectRecordsTime"); } - public getKeyRecordsTime_args getEmptyArgsInstance() { - return new getKeyRecordsTime_args(); + public selectRecordsTime_args getEmptyArgsInstance() { + return new selectRecordsTime_args(); } protected boolean isOneway() { return false; } - public getKeyRecordsTime_result getResult(I iface, - getKeyRecordsTime_args args) + public selectRecordsTime_result getResult(I iface, + selectRecordsTime_args args) throws org.apache.thrift.TException { - getKeyRecordsTime_result result = new getKeyRecordsTime_result(); + selectRecordsTime_result result = new selectRecordsTime_result(); try { - result.success = iface.getKeyRecordsTime(args.key, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.selectRecordsTime(args.records, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45011,27 +52994,27 @@ public getKeyRecordsTime_result getResult(I iface, } } - public static class getKeyRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public getKeyRecordsTimestr() { - super("getKeyRecordsTimestr"); + public static class selectRecordsTimeOrder extends + org.apache.thrift.ProcessFunction { + public selectRecordsTimeOrder() { + super("selectRecordsTimeOrder"); } - public getKeyRecordsTimestr_args getEmptyArgsInstance() { - return new getKeyRecordsTimestr_args(); + public selectRecordsTimeOrder_args getEmptyArgsInstance() { + return new selectRecordsTimeOrder_args(); } protected boolean isOneway() { return false; } - public getKeyRecordsTimestr_result getResult(I iface, - getKeyRecordsTimestr_args args) + public selectRecordsTimeOrder_result getResult(I iface, + selectRecordsTimeOrder_args args) throws org.apache.thrift.TException { - getKeyRecordsTimestr_result result = new getKeyRecordsTimestr_result(); + selectRecordsTimeOrder_result result = new selectRecordsTimeOrder_result(); try { - result.success = iface.getKeyRecordsTimestr(args.key, - args.records, args.timestamp, args.creds, + result.success = iface.selectRecordsTimeOrder(args.records, + args.timestamp, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -45040,38 +53023,35 @@ public getKeyRecordsTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getKeysRecordsTime extends - org.apache.thrift.ProcessFunction { - public getKeysRecordsTime() { - super("getKeysRecordsTime"); + public static class selectRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public selectRecordsTimestr() { + super("selectRecordsTimestr"); } - public getKeysRecordsTime_args getEmptyArgsInstance() { - return new getKeysRecordsTime_args(); + public selectRecordsTimestr_args getEmptyArgsInstance() { + return new selectRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public getKeysRecordsTime_result getResult(I iface, - getKeysRecordsTime_args args) + public selectRecordsTimestr_result getResult(I iface, + selectRecordsTimestr_args args) throws org.apache.thrift.TException { - getKeysRecordsTime_result result = new getKeysRecordsTime_result(); + selectRecordsTimestr_result result = new selectRecordsTimestr_result(); try { - result.success = iface.getKeysRecordsTime(args.keys, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.selectRecordsTimestr(args.records, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45079,35 +53059,38 @@ public getKeysRecordsTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class getKeysRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public getKeysRecordsTimestr() { - super("getKeysRecordsTimestr"); + public static class selectRecordsTimestrOrder extends + org.apache.thrift.ProcessFunction { + public selectRecordsTimestrOrder() { + super("selectRecordsTimestrOrder"); } - public getKeysRecordsTimestr_args getEmptyArgsInstance() { - return new getKeysRecordsTimestr_args(); + public selectRecordsTimestrOrder_args getEmptyArgsInstance() { + return new selectRecordsTimestrOrder_args(); } protected boolean isOneway() { return false; } - public getKeysRecordsTimestr_result getResult(I iface, - getKeysRecordsTimestr_args args) + public selectRecordsTimestrOrder_result getResult(I iface, + selectRecordsTimestrOrder_args args) throws org.apache.thrift.TException { - getKeysRecordsTimestr_result result = new getKeysRecordsTimestr_result(); + selectRecordsTimestrOrder_result result = new selectRecordsTimestrOrder_result(); try { - result.success = iface.getKeysRecordsTimestr(args.keys, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.selectRecordsTimestrOrder( + args.records, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45125,27 +53108,27 @@ public getKeysRecordsTimestr_result getResult(I iface, } } - public static class getKeyCriteria extends - org.apache.thrift.ProcessFunction { - public getKeyCriteria() { - super("getKeyCriteria"); + public static class selectKeyRecord extends + org.apache.thrift.ProcessFunction { + public selectKeyRecord() { + super("selectKeyRecord"); } - public getKeyCriteria_args getEmptyArgsInstance() { - return new getKeyCriteria_args(); + public selectKeyRecord_args getEmptyArgsInstance() { + return new selectKeyRecord_args(); } protected boolean isOneway() { return false; } - public getKeyCriteria_result getResult(I iface, - getKeyCriteria_args args) + public selectKeyRecord_result getResult(I iface, + selectKeyRecord_args args) throws org.apache.thrift.TException { - getKeyCriteria_result result = new getKeyCriteria_result(); + selectKeyRecord_result result = new selectKeyRecord_result(); try { - result.success = iface.getKeyCriteria(args.key, - args.criteria, args.creds, args.transaction, + result.success = iface.selectKeyRecord(args.key, + args.record, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -45161,26 +53144,28 @@ public getKeyCriteria_result getResult(I iface, } } - public static class getCriteria - extends org.apache.thrift.ProcessFunction { - public getCriteria() { - super("getCriteria"); + public static class selectKeyRecordTime extends + org.apache.thrift.ProcessFunction { + public selectKeyRecordTime() { + super("selectKeyRecordTime"); } - public getCriteria_args getEmptyArgsInstance() { - return new getCriteria_args(); + public selectKeyRecordTime_args getEmptyArgsInstance() { + return new selectKeyRecordTime_args(); } protected boolean isOneway() { return false; } - public getCriteria_result getResult(I iface, getCriteria_args args) + public selectKeyRecordTime_result getResult(I iface, + selectKeyRecordTime_args args) throws org.apache.thrift.TException { - getCriteria_result result = new getCriteria_result(); + selectKeyRecordTime_result result = new selectKeyRecordTime_result(); try { - result.success = iface.getCriteria(args.criteria, - args.creds, args.transaction, args.environment); + result.success = iface.selectKeyRecordTime(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45195,25 +53180,27 @@ public getCriteria_result getResult(I iface, getCriteria_args args) } } - public static class getCcl - extends org.apache.thrift.ProcessFunction { - public getCcl() { - super("getCcl"); + public static class selectKeyRecordTimestr extends + org.apache.thrift.ProcessFunction { + public selectKeyRecordTimestr() { + super("selectKeyRecordTimestr"); } - public getCcl_args getEmptyArgsInstance() { - return new getCcl_args(); + public selectKeyRecordTimestr_args getEmptyArgsInstance() { + return new selectKeyRecordTimestr_args(); } protected boolean isOneway() { return false; } - public getCcl_result getResult(I iface, getCcl_args args) + public selectKeyRecordTimestr_result getResult(I iface, + selectKeyRecordTimestr_args args) throws org.apache.thrift.TException { - getCcl_result result = new getCcl_result(); + selectKeyRecordTimestr_result result = new selectKeyRecordTimestr_result(); try { - result.success = iface.getCcl(args.ccl, args.creds, + result.success = iface.selectKeyRecordTimestr(args.key, + args.record, args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -45232,27 +53219,27 @@ public getCcl_result getResult(I iface, getCcl_args args) } } - public static class getCriteriaTime extends - org.apache.thrift.ProcessFunction { - public getCriteriaTime() { - super("getCriteriaTime"); + public static class selectKeysRecord extends + org.apache.thrift.ProcessFunction { + public selectKeysRecord() { + super("selectKeysRecord"); } - public getCriteriaTime_args getEmptyArgsInstance() { - return new getCriteriaTime_args(); + public selectKeysRecord_args getEmptyArgsInstance() { + return new selectKeysRecord_args(); } protected boolean isOneway() { return false; } - public getCriteriaTime_result getResult(I iface, - getCriteriaTime_args args) + public selectKeysRecord_result getResult(I iface, + selectKeysRecord_args args) throws org.apache.thrift.TException { - getCriteriaTime_result result = new getCriteriaTime_result(); + selectKeysRecord_result result = new selectKeysRecord_result(); try { - result.success = iface.getCriteriaTime(args.criteria, - args.timestamp, args.creds, args.transaction, + result.success = iface.selectKeysRecord(args.keys, + args.record, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -45268,28 +53255,28 @@ public getCriteriaTime_result getResult(I iface, } } - public static class getCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public getCriteriaTimestr() { - super("getCriteriaTimestr"); + public static class selectKeysRecordTime extends + org.apache.thrift.ProcessFunction { + public selectKeysRecordTime() { + super("selectKeysRecordTime"); } - public getCriteriaTimestr_args getEmptyArgsInstance() { - return new getCriteriaTimestr_args(); + public selectKeysRecordTime_args getEmptyArgsInstance() { + return new selectKeysRecordTime_args(); } protected boolean isOneway() { return false; } - public getCriteriaTimestr_result getResult(I iface, - getCriteriaTimestr_args args) + public selectKeysRecordTime_result getResult(I iface, + selectKeysRecordTime_args args) throws org.apache.thrift.TException { - getCriteriaTimestr_result result = new getCriteriaTimestr_result(); + selectKeysRecordTime_result result = new selectKeysRecordTime_result(); try { - result.success = iface.getCriteriaTimestr(args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeysRecordTime(args.keys, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45297,36 +53284,35 @@ public getCriteriaTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getCclTime - extends org.apache.thrift.ProcessFunction { - public getCclTime() { - super("getCclTime"); + public static class selectKeysRecordTimestr extends + org.apache.thrift.ProcessFunction { + public selectKeysRecordTimestr() { + super("selectKeysRecordTimestr"); } - public getCclTime_args getEmptyArgsInstance() { - return new getCclTime_args(); + public selectKeysRecordTimestr_args getEmptyArgsInstance() { + return new selectKeysRecordTimestr_args(); } protected boolean isOneway() { return false; } - public getCclTime_result getResult(I iface, getCclTime_args args) + public selectKeysRecordTimestr_result getResult(I iface, + selectKeysRecordTimestr_args args) throws org.apache.thrift.TException { - getCclTime_result result = new getCclTime_result(); + selectKeysRecordTimestr_result result = new selectKeysRecordTimestr_result(); try { - result.success = iface.getCclTime(args.ccl, args.timestamp, - args.creds, args.transaction, args.environment); + result.success = iface.selectKeysRecordTimestr(args.keys, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45344,27 +53330,27 @@ public getCclTime_result getResult(I iface, getCclTime_args args) } } - public static class getCclTimestr extends - org.apache.thrift.ProcessFunction { - public getCclTimestr() { - super("getCclTimestr"); + public static class selectKeysRecords extends + org.apache.thrift.ProcessFunction { + public selectKeysRecords() { + super("selectKeysRecords"); } - public getCclTimestr_args getEmptyArgsInstance() { - return new getCclTimestr_args(); + public selectKeysRecords_args getEmptyArgsInstance() { + return new selectKeysRecords_args(); } protected boolean isOneway() { return false; } - public getCclTimestr_result getResult(I iface, - getCclTimestr_args args) + public selectKeysRecords_result getResult(I iface, + selectKeysRecords_args args) throws org.apache.thrift.TException { - getCclTimestr_result result = new getCclTimestr_result(); + selectKeysRecords_result result = new selectKeysRecords_result(); try { - result.success = iface.getCclTimestr(args.ccl, - args.timestamp, args.creds, args.transaction, + result.success = iface.selectKeysRecords(args.keys, + args.records, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -45373,36 +53359,35 @@ public getCclTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getKeyCcl - extends org.apache.thrift.ProcessFunction { - public getKeyCcl() { - super("getKeyCcl"); + public static class selectKeysRecordsOrder extends + org.apache.thrift.ProcessFunction { + public selectKeysRecordsOrder() { + super("selectKeysRecordsOrder"); } - public getKeyCcl_args getEmptyArgsInstance() { - return new getKeyCcl_args(); + public selectKeysRecordsOrder_args getEmptyArgsInstance() { + return new selectKeysRecordsOrder_args(); } protected boolean isOneway() { return false; } - public getKeyCcl_result getResult(I iface, getKeyCcl_args args) + public selectKeysRecordsOrder_result getResult(I iface, + selectKeysRecordsOrder_args args) throws org.apache.thrift.TException { - getKeyCcl_result result = new getKeyCcl_result(); + selectKeysRecordsOrder_result result = new selectKeysRecordsOrder_result(); try { - result.success = iface.getKeyCcl(args.key, args.ccl, - args.creds, args.transaction, args.environment); + result.success = iface.selectKeysRecordsOrder(args.keys, + args.records, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45410,38 +53395,35 @@ public getKeyCcl_result getResult(I iface, getKeyCcl_args args) catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getKeyCriteriaTime extends - org.apache.thrift.ProcessFunction { - public getKeyCriteriaTime() { - super("getKeyCriteriaTime"); + public static class selectKeyRecords extends + org.apache.thrift.ProcessFunction { + public selectKeyRecords() { + super("selectKeyRecords"); } - public getKeyCriteriaTime_args getEmptyArgsInstance() { - return new getKeyCriteriaTime_args(); + public selectKeyRecords_args getEmptyArgsInstance() { + return new selectKeyRecords_args(); } protected boolean isOneway() { return false; } - public getKeyCriteriaTime_result getResult(I iface, - getKeyCriteriaTime_args args) + public selectKeyRecords_result getResult(I iface, + selectKeyRecords_args args) throws org.apache.thrift.TException { - getKeyCriteriaTime_result result = new getKeyCriteriaTime_result(); + selectKeyRecords_result result = new selectKeyRecords_result(); try { - result.success = iface.getKeyCriteriaTime(args.key, - args.criteria, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.selectKeyRecords(args.key, + args.records, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45456,27 +53438,27 @@ public getKeyCriteriaTime_result getResult(I iface, } } - public static class getKeyCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public getKeyCriteriaTimestr() { - super("getKeyCriteriaTimestr"); + public static class selectKeyRecordsOrder extends + org.apache.thrift.ProcessFunction { + public selectKeyRecordsOrder() { + super("selectKeyRecordsOrder"); } - public getKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new getKeyCriteriaTimestr_args(); + public selectKeyRecordsOrder_args getEmptyArgsInstance() { + return new selectKeyRecordsOrder_args(); } protected boolean isOneway() { return false; } - public getKeyCriteriaTimestr_result getResult(I iface, - getKeyCriteriaTimestr_args args) + public selectKeyRecordsOrder_result getResult(I iface, + selectKeyRecordsOrder_args args) throws org.apache.thrift.TException { - getKeyCriteriaTimestr_result result = new getKeyCriteriaTimestr_result(); + selectKeyRecordsOrder_result result = new selectKeyRecordsOrder_result(); try { - result.success = iface.getKeyCriteriaTimestr(args.key, - args.criteria, args.timestamp, args.creds, + result.success = iface.selectKeyRecordsOrder(args.key, + args.records, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -45485,38 +53467,35 @@ public getKeyCriteriaTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getKeyCclTime extends - org.apache.thrift.ProcessFunction { - public getKeyCclTime() { - super("getKeyCclTime"); + public static class selectKeyRecordsTime extends + org.apache.thrift.ProcessFunction { + public selectKeyRecordsTime() { + super("selectKeyRecordsTime"); } - public getKeyCclTime_args getEmptyArgsInstance() { - return new getKeyCclTime_args(); + public selectKeyRecordsTime_args getEmptyArgsInstance() { + return new selectKeyRecordsTime_args(); } protected boolean isOneway() { return false; } - public getKeyCclTime_result getResult(I iface, - getKeyCclTime_args args) + public selectKeyRecordsTime_result getResult(I iface, + selectKeyRecordsTime_args args) throws org.apache.thrift.TException { - getKeyCclTime_result result = new getKeyCclTime_result(); + selectKeyRecordsTime_result result = new selectKeyRecordsTime_result(); try { - result.success = iface.getKeyCclTime(args.key, args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeyRecordsTime(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45524,38 +53503,35 @@ public getKeyCclTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getKeyCclTimestr extends - org.apache.thrift.ProcessFunction { - public getKeyCclTimestr() { - super("getKeyCclTimestr"); + public static class selectKeyRecordsTimeOrder extends + org.apache.thrift.ProcessFunction { + public selectKeyRecordsTimeOrder() { + super("selectKeyRecordsTimeOrder"); } - public getKeyCclTimestr_args getEmptyArgsInstance() { - return new getKeyCclTimestr_args(); + public selectKeyRecordsTimeOrder_args getEmptyArgsInstance() { + return new selectKeyRecordsTimeOrder_args(); } protected boolean isOneway() { return false; } - public getKeyCclTimestr_result getResult(I iface, - getKeyCclTimestr_args args) + public selectKeyRecordsTimeOrder_result getResult(I iface, + selectKeyRecordsTimeOrder_args args) throws org.apache.thrift.TException { - getKeyCclTimestr_result result = new getKeyCclTimestr_result(); + selectKeyRecordsTimeOrder_result result = new selectKeyRecordsTimeOrder_result(); try { - result.success = iface.getKeyCclTimestr(args.key, args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeyRecordsTimeOrder(args.key, + args.records, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45563,38 +53539,35 @@ public getKeyCclTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getKeysCriteria extends - org.apache.thrift.ProcessFunction { - public getKeysCriteria() { - super("getKeysCriteria"); + public static class selectKeyRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public selectKeyRecordsTimestr() { + super("selectKeyRecordsTimestr"); } - public getKeysCriteria_args getEmptyArgsInstance() { - return new getKeysCriteria_args(); + public selectKeyRecordsTimestr_args getEmptyArgsInstance() { + return new selectKeyRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public getKeysCriteria_result getResult(I iface, - getKeysCriteria_args args) + public selectKeyRecordsTimestr_result getResult(I iface, + selectKeyRecordsTimestr_args args) throws org.apache.thrift.TException { - getKeysCriteria_result result = new getKeysCriteria_result(); + selectKeyRecordsTimestr_result result = new selectKeyRecordsTimestr_result(); try { - result.success = iface.getKeysCriteria(args.keys, - args.criteria, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeyRecordsTimestr(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45602,32 +53575,38 @@ public getKeysCriteria_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class getKeysCcl - extends org.apache.thrift.ProcessFunction { - public getKeysCcl() { - super("getKeysCcl"); + public static class selectKeyRecordsTimestrOrder + extends + org.apache.thrift.ProcessFunction { + public selectKeyRecordsTimestrOrder() { + super("selectKeyRecordsTimestrOrder"); } - public getKeysCcl_args getEmptyArgsInstance() { - return new getKeysCcl_args(); + public selectKeyRecordsTimestrOrder_args getEmptyArgsInstance() { + return new selectKeyRecordsTimestrOrder_args(); } protected boolean isOneway() { return false; } - public getKeysCcl_result getResult(I iface, getKeysCcl_args args) + public selectKeyRecordsTimestrOrder_result getResult(I iface, + selectKeyRecordsTimestrOrder_args args) throws org.apache.thrift.TException { - getKeysCcl_result result = new getKeysCcl_result(); + selectKeyRecordsTimestrOrder_result result = new selectKeyRecordsTimestrOrder_result(); try { - result.success = iface.getKeysCcl(args.keys, args.ccl, + result.success = iface.selectKeyRecordsTimestrOrder( + args.key, args.records, args.timestamp, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -45646,27 +53625,27 @@ public getKeysCcl_result getResult(I iface, getKeysCcl_args args) } } - public static class getKeysCriteriaTime extends - org.apache.thrift.ProcessFunction { - public getKeysCriteriaTime() { - super("getKeysCriteriaTime"); + public static class selectKeysRecordsTime extends + org.apache.thrift.ProcessFunction { + public selectKeysRecordsTime() { + super("selectKeysRecordsTime"); } - public getKeysCriteriaTime_args getEmptyArgsInstance() { - return new getKeysCriteriaTime_args(); + public selectKeysRecordsTime_args getEmptyArgsInstance() { + return new selectKeysRecordsTime_args(); } protected boolean isOneway() { return false; } - public getKeysCriteriaTime_result getResult(I iface, - getKeysCriteriaTime_args args) + public selectKeysRecordsTime_result getResult(I iface, + selectKeysRecordsTime_args args) throws org.apache.thrift.TException { - getKeysCriteriaTime_result result = new getKeysCriteriaTime_result(); + selectKeysRecordsTime_result result = new selectKeysRecordsTime_result(); try { - result.success = iface.getKeysCriteriaTime(args.keys, - args.criteria, args.timestamp, args.creds, + result.success = iface.selectKeysRecordsTime(args.keys, + args.records, args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -45682,28 +53661,28 @@ public getKeysCriteriaTime_result getResult(I iface, } } - public static class getKeysCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public getKeysCriteriaTimestr() { - super("getKeysCriteriaTimestr"); + public static class selectKeysRecordsTimeOrder extends + org.apache.thrift.ProcessFunction { + public selectKeysRecordsTimeOrder() { + super("selectKeysRecordsTimeOrder"); } - public getKeysCriteriaTimestr_args getEmptyArgsInstance() { - return new getKeysCriteriaTimestr_args(); + public selectKeysRecordsTimeOrder_args getEmptyArgsInstance() { + return new selectKeysRecordsTimeOrder_args(); } protected boolean isOneway() { return false; } - public getKeysCriteriaTimestr_result getResult(I iface, - getKeysCriteriaTimestr_args args) + public selectKeysRecordsTimeOrder_result getResult(I iface, + selectKeysRecordsTimeOrder_args args) throws org.apache.thrift.TException { - getKeysCriteriaTimestr_result result = new getKeysCriteriaTimestr_result(); + selectKeysRecordsTimeOrder_result result = new selectKeysRecordsTimeOrder_result(); try { - result.success = iface.getKeysCriteriaTimestr(args.keys, - args.criteria, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.selectKeysRecordsTimeOrder(args.keys, + args.records, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45711,38 +53690,35 @@ public getKeysCriteriaTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getKeysCclTime extends - org.apache.thrift.ProcessFunction { - public getKeysCclTime() { - super("getKeysCclTime"); + public static class selectKeysRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public selectKeysRecordsTimestr() { + super("selectKeysRecordsTimestr"); } - public getKeysCclTime_args getEmptyArgsInstance() { - return new getKeysCclTime_args(); + public selectKeysRecordsTimestr_args getEmptyArgsInstance() { + return new selectKeysRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public getKeysCclTime_result getResult(I iface, - getKeysCclTime_args args) + public selectKeysRecordsTimestr_result getResult(I iface, + selectKeysRecordsTimestr_args args) throws org.apache.thrift.TException { - getKeysCclTime_result result = new getKeysCclTime_result(); + selectKeysRecordsTimestr_result result = new selectKeysRecordsTimestr_result(); try { - result.success = iface.getKeysCclTime(args.keys, args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeysRecordsTimestr(args.keys, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45760,28 +53736,29 @@ public getKeysCclTime_result getResult(I iface, } } - public static class getKeysCclTimestr extends - org.apache.thrift.ProcessFunction { - public getKeysCclTimestr() { - super("getKeysCclTimestr"); + public static class selectKeysRecordsTimestrOrder + extends + org.apache.thrift.ProcessFunction { + public selectKeysRecordsTimestrOrder() { + super("selectKeysRecordsTimestrOrder"); } - public getKeysCclTimestr_args getEmptyArgsInstance() { - return new getKeysCclTimestr_args(); + public selectKeysRecordsTimestrOrder_args getEmptyArgsInstance() { + return new selectKeysRecordsTimestrOrder_args(); } protected boolean isOneway() { return false; } - public getKeysCclTimestr_result getResult(I iface, - getKeysCclTimestr_args args) + public selectKeysRecordsTimestrOrder_result getResult(I iface, + selectKeysRecordsTimestrOrder_args args) throws org.apache.thrift.TException { - getKeysCclTimestr_result result = new getKeysCclTimestr_result(); + selectKeysRecordsTimestrOrder_result result = new selectKeysRecordsTimestrOrder_result(); try { - result.success = iface.getKeysCclTimestr(args.keys, - args.ccl, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.selectKeysRecordsTimestrOrder( + args.keys, args.records, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45799,29 +53776,27 @@ public getKeysCclTimestr_result getResult(I iface, } } - public static class verifyKeyValueRecord extends - org.apache.thrift.ProcessFunction { - public verifyKeyValueRecord() { - super("verifyKeyValueRecord"); + public static class selectCriteria extends + org.apache.thrift.ProcessFunction { + public selectCriteria() { + super("selectCriteria"); } - public verifyKeyValueRecord_args getEmptyArgsInstance() { - return new verifyKeyValueRecord_args(); + public selectCriteria_args getEmptyArgsInstance() { + return new selectCriteria_args(); } protected boolean isOneway() { return false; } - public verifyKeyValueRecord_result getResult(I iface, - verifyKeyValueRecord_args args) + public selectCriteria_result getResult(I iface, + selectCriteria_args args) throws org.apache.thrift.TException { - verifyKeyValueRecord_result result = new verifyKeyValueRecord_result(); + selectCriteria_result result = new selectCriteria_result(); try { - result.success = iface.verifyKeyValueRecord(args.key, - args.value, args.record, args.creds, - args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.selectCriteria(args.criteria, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45836,29 +53811,28 @@ public verifyKeyValueRecord_result getResult(I iface, } } - public static class verifyKeyValueRecordTime extends - org.apache.thrift.ProcessFunction { - public verifyKeyValueRecordTime() { - super("verifyKeyValueRecordTime"); + public static class selectCriteriaOrder extends + org.apache.thrift.ProcessFunction { + public selectCriteriaOrder() { + super("selectCriteriaOrder"); } - public verifyKeyValueRecordTime_args getEmptyArgsInstance() { - return new verifyKeyValueRecordTime_args(); + public selectCriteriaOrder_args getEmptyArgsInstance() { + return new selectCriteriaOrder_args(); } protected boolean isOneway() { return false; } - public verifyKeyValueRecordTime_result getResult(I iface, - verifyKeyValueRecordTime_args args) + public selectCriteriaOrder_result getResult(I iface, + selectCriteriaOrder_args args) throws org.apache.thrift.TException { - verifyKeyValueRecordTime_result result = new verifyKeyValueRecordTime_result(); + selectCriteriaOrder_result result = new selectCriteriaOrder_result(); try { - result.success = iface.verifyKeyValueRecordTime(args.key, - args.value, args.record, args.timestamp, args.creds, - args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.selectCriteriaOrder(args.criteria, + args.order, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45873,29 +53847,26 @@ public verifyKeyValueRecordTime_result getResult(I iface, } } - public static class verifyKeyValueRecordTimestr extends - org.apache.thrift.ProcessFunction { - public verifyKeyValueRecordTimestr() { - super("verifyKeyValueRecordTimestr"); + public static class selectCcl + extends org.apache.thrift.ProcessFunction { + public selectCcl() { + super("selectCcl"); } - public verifyKeyValueRecordTimestr_args getEmptyArgsInstance() { - return new verifyKeyValueRecordTimestr_args(); + public selectCcl_args getEmptyArgsInstance() { + return new selectCcl_args(); } protected boolean isOneway() { return false; } - public verifyKeyValueRecordTimestr_result getResult(I iface, - verifyKeyValueRecordTimestr_args args) + public selectCcl_result getResult(I iface, selectCcl_args args) throws org.apache.thrift.TException { - verifyKeyValueRecordTimestr_result result = new verifyKeyValueRecordTimestr_result(); + selectCcl_result result = new selectCcl_result(); try { - result.success = iface.verifyKeyValueRecordTimestr(args.key, - args.value, args.record, args.timestamp, args.creds, + result.success = iface.selectCcl(args.ccl, args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45913,28 +53884,27 @@ public verifyKeyValueRecordTimestr_result getResult(I iface, } } - public static class jsonifyRecords extends - org.apache.thrift.ProcessFunction { - public jsonifyRecords() { - super("jsonifyRecords"); + public static class selectCclOrder extends + org.apache.thrift.ProcessFunction { + public selectCclOrder() { + super("selectCclOrder"); } - public jsonifyRecords_args getEmptyArgsInstance() { - return new jsonifyRecords_args(); + public selectCclOrder_args getEmptyArgsInstance() { + return new selectCclOrder_args(); } protected boolean isOneway() { return false; } - public jsonifyRecords_result getResult(I iface, - jsonifyRecords_args args) + public selectCclOrder_result getResult(I iface, + selectCclOrder_args args) throws org.apache.thrift.TException { - jsonifyRecords_result result = new jsonifyRecords_result(); + selectCclOrder_result result = new selectCclOrder_result(); try { - result.success = iface.jsonifyRecords(args.records, - args.identifier, args.creds, args.transaction, - args.environment); + result.success = iface.selectCclOrder(args.ccl, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45942,35 +53912,38 @@ public jsonifyRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class jsonifyRecordsTime extends - org.apache.thrift.ProcessFunction { - public jsonifyRecordsTime() { - super("jsonifyRecordsTime"); + public static class selectCriteriaTime extends + org.apache.thrift.ProcessFunction { + public selectCriteriaTime() { + super("selectCriteriaTime"); } - public jsonifyRecordsTime_args getEmptyArgsInstance() { - return new jsonifyRecordsTime_args(); + public selectCriteriaTime_args getEmptyArgsInstance() { + return new selectCriteriaTime_args(); } protected boolean isOneway() { return false; } - public jsonifyRecordsTime_result getResult(I iface, - jsonifyRecordsTime_args args) + public selectCriteriaTime_result getResult(I iface, + selectCriteriaTime_args args) throws org.apache.thrift.TException { - jsonifyRecordsTime_result result = new jsonifyRecordsTime_result(); + selectCriteriaTime_result result = new selectCriteriaTime_result(); try { - result.success = iface.jsonifyRecordsTime(args.records, - args.timestamp, args.identifier, args.creds, - args.transaction, args.environment); + result.success = iface.selectCriteriaTime(args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -45985,28 +53958,28 @@ public jsonifyRecordsTime_result getResult(I iface, } } - public static class jsonifyRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public jsonifyRecordsTimestr() { - super("jsonifyRecordsTimestr"); + public static class selectCriteriaTimeOrder extends + org.apache.thrift.ProcessFunction { + public selectCriteriaTimeOrder() { + super("selectCriteriaTimeOrder"); } - public jsonifyRecordsTimestr_args getEmptyArgsInstance() { - return new jsonifyRecordsTimestr_args(); + public selectCriteriaTimeOrder_args getEmptyArgsInstance() { + return new selectCriteriaTimeOrder_args(); } protected boolean isOneway() { return false; } - public jsonifyRecordsTimestr_result getResult(I iface, - jsonifyRecordsTimestr_args args) + public selectCriteriaTimeOrder_result getResult(I iface, + selectCriteriaTimeOrder_args args) throws org.apache.thrift.TException { - jsonifyRecordsTimestr_result result = new jsonifyRecordsTimestr_result(); + selectCriteriaTimeOrder_result result = new selectCriteriaTimeOrder_result(); try { - result.success = iface.jsonifyRecordsTimestr(args.records, - args.timestamp, args.identifier, args.creds, - args.transaction, args.environment); + result.success = iface.selectCriteriaTimeOrder( + args.criteria, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46014,37 +53987,35 @@ public jsonifyRecordsTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class findCriteria extends - org.apache.thrift.ProcessFunction { - public findCriteria() { - super("findCriteria"); + public static class selectCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public selectCriteriaTimestr() { + super("selectCriteriaTimestr"); } - public findCriteria_args getEmptyArgsInstance() { - return new findCriteria_args(); + public selectCriteriaTimestr_args getEmptyArgsInstance() { + return new selectCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public findCriteria_result getResult(I iface, - findCriteria_args args) + public selectCriteriaTimestr_result getResult(I iface, + selectCriteriaTimestr_args args) throws org.apache.thrift.TException { - findCriteria_result result = new findCriteria_result(); + selectCriteriaTimestr_result result = new selectCriteriaTimestr_result(); try { - result.success = iface.findCriteria(args.criteria, - args.creds, args.transaction, args.environment); + result.success = iface.selectCriteriaTimestr(args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46052,33 +54023,38 @@ public findCriteria_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class findCcl - extends org.apache.thrift.ProcessFunction { - public findCcl() { - super("findCcl"); + public static class selectCriteriaTimestrOrder extends + org.apache.thrift.ProcessFunction { + public selectCriteriaTimestrOrder() { + super("selectCriteriaTimestrOrder"); } - public findCcl_args getEmptyArgsInstance() { - return new findCcl_args(); + public selectCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new selectCriteriaTimestrOrder_args(); } protected boolean isOneway() { return false; } - public findCcl_result getResult(I iface, findCcl_args args) + public selectCriteriaTimestrOrder_result getResult(I iface, + selectCriteriaTimestrOrder_args args) throws org.apache.thrift.TException { - findCcl_result result = new findCcl_result(); + selectCriteriaTimestrOrder_result result = new selectCriteriaTimestrOrder_result(); try { - result.success = iface.findCcl(args.ccl, args.creds, - args.transaction, args.environment); + result.success = iface.selectCriteriaTimestrOrder( + args.criteria, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46096,28 +54072,28 @@ public findCcl_result getResult(I iface, findCcl_args args) } } - public static class findKeyOperatorValues extends - org.apache.thrift.ProcessFunction { - public findKeyOperatorValues() { - super("findKeyOperatorValues"); + public static class selectCclTime extends + org.apache.thrift.ProcessFunction { + public selectCclTime() { + super("selectCclTime"); } - public findKeyOperatorValues_args getEmptyArgsInstance() { - return new findKeyOperatorValues_args(); + public selectCclTime_args getEmptyArgsInstance() { + return new selectCclTime_args(); } protected boolean isOneway() { return false; } - public findKeyOperatorValues_result getResult(I iface, - findKeyOperatorValues_args args) + public selectCclTime_result getResult(I iface, + selectCclTime_args args) throws org.apache.thrift.TException { - findKeyOperatorValues_result result = new findKeyOperatorValues_result(); + selectCclTime_result result = new selectCclTime_result(); try { - result.success = iface.findKeyOperatorValues(args.key, - args.operator, args.values, args.creds, - args.transaction, args.environment); + result.success = iface.selectCclTime(args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46125,35 +54101,38 @@ public findKeyOperatorValues_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class findKeyOperatorValuesTime extends - org.apache.thrift.ProcessFunction { - public findKeyOperatorValuesTime() { - super("findKeyOperatorValuesTime"); + public static class selectCclTimeOrder extends + org.apache.thrift.ProcessFunction { + public selectCclTimeOrder() { + super("selectCclTimeOrder"); } - public findKeyOperatorValuesTime_args getEmptyArgsInstance() { - return new findKeyOperatorValuesTime_args(); + public selectCclTimeOrder_args getEmptyArgsInstance() { + return new selectCclTimeOrder_args(); } protected boolean isOneway() { return false; } - public findKeyOperatorValuesTime_result getResult(I iface, - findKeyOperatorValuesTime_args args) + public selectCclTimeOrder_result getResult(I iface, + selectCclTimeOrder_args args) throws org.apache.thrift.TException { - findKeyOperatorValuesTime_result result = new findKeyOperatorValuesTime_result(); + selectCclTimeOrder_result result = new selectCclTimeOrder_result(); try { - result.success = iface.findKeyOperatorValuesTime(args.key, - args.operator, args.values, args.timestamp, - args.creds, args.transaction, args.environment); + result.success = iface.selectCclTimeOrder(args.ccl, + args.timestamp, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46161,35 +54140,36 @@ public findKeyOperatorValuesTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class findKeyOperatorValuesTimestr - extends - org.apache.thrift.ProcessFunction { - public findKeyOperatorValuesTimestr() { - super("findKeyOperatorValuesTimestr"); + public static class selectCclTimestr extends + org.apache.thrift.ProcessFunction { + public selectCclTimestr() { + super("selectCclTimestr"); } - public findKeyOperatorValuesTimestr_args getEmptyArgsInstance() { - return new findKeyOperatorValuesTimestr_args(); + public selectCclTimestr_args getEmptyArgsInstance() { + return new selectCclTimestr_args(); } protected boolean isOneway() { return false; } - public findKeyOperatorValuesTimestr_result getResult(I iface, - findKeyOperatorValuesTimestr_args args) + public selectCclTimestr_result getResult(I iface, + selectCclTimestr_args args) throws org.apache.thrift.TException { - findKeyOperatorValuesTimestr_result result = new findKeyOperatorValuesTimestr_result(); + selectCclTimestr_result result = new selectCclTimestr_result(); try { - result.success = iface.findKeyOperatorValuesTimestr( - args.key, args.operator, args.values, + result.success = iface.selectCclTimestr(args.ccl, args.timestamp, args.creds, args.transaction, args.environment); } @@ -46209,27 +54189,27 @@ public findKeyOperatorValuesTimestr_result getResult(I iface, } } - public static class findKeyOperatorstrValues extends - org.apache.thrift.ProcessFunction { - public findKeyOperatorstrValues() { - super("findKeyOperatorstrValues"); + public static class selectCclTimestrOrder extends + org.apache.thrift.ProcessFunction { + public selectCclTimestrOrder() { + super("selectCclTimestrOrder"); } - public findKeyOperatorstrValues_args getEmptyArgsInstance() { - return new findKeyOperatorstrValues_args(); + public selectCclTimestrOrder_args getEmptyArgsInstance() { + return new selectCclTimestrOrder_args(); } protected boolean isOneway() { return false; } - public findKeyOperatorstrValues_result getResult(I iface, - findKeyOperatorstrValues_args args) + public selectCclTimestrOrder_result getResult(I iface, + selectCclTimestrOrder_args args) throws org.apache.thrift.TException { - findKeyOperatorstrValues_result result = new findKeyOperatorstrValues_result(); + selectCclTimestrOrder_result result = new selectCclTimestrOrder_result(); try { - result.success = iface.findKeyOperatorstrValues(args.key, - args.operator, args.values, args.creds, + result.success = iface.selectCclTimestrOrder(args.ccl, + args.timestamp, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -46248,29 +54228,27 @@ public findKeyOperatorstrValues_result getResult(I iface, } } - public static class findKeyOperatorstrValuesTime - extends - org.apache.thrift.ProcessFunction { - public findKeyOperatorstrValuesTime() { - super("findKeyOperatorstrValuesTime"); + public static class selectKeyCriteria extends + org.apache.thrift.ProcessFunction { + public selectKeyCriteria() { + super("selectKeyCriteria"); } - public findKeyOperatorstrValuesTime_args getEmptyArgsInstance() { - return new findKeyOperatorstrValuesTime_args(); + public selectKeyCriteria_args getEmptyArgsInstance() { + return new selectKeyCriteria_args(); } protected boolean isOneway() { return false; } - public findKeyOperatorstrValuesTime_result getResult(I iface, - findKeyOperatorstrValuesTime_args args) + public selectKeyCriteria_result getResult(I iface, + selectKeyCriteria_args args) throws org.apache.thrift.TException { - findKeyOperatorstrValuesTime_result result = new findKeyOperatorstrValuesTime_result(); + selectKeyCriteria_result result = new selectKeyCriteria_result(); try { - result.success = iface.findKeyOperatorstrValuesTime( - args.key, args.operator, args.values, - args.timestamp, args.creds, args.transaction, + result.success = iface.selectKeyCriteria(args.key, + args.criteria, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -46279,40 +54257,35 @@ public findKeyOperatorstrValuesTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class findKeyOperatorstrValuesTimestr - extends - org.apache.thrift.ProcessFunction { - public findKeyOperatorstrValuesTimestr() { - super("findKeyOperatorstrValuesTimestr"); + public static class selectKeyCriteriaOrder extends + org.apache.thrift.ProcessFunction { + public selectKeyCriteriaOrder() { + super("selectKeyCriteriaOrder"); } - public findKeyOperatorstrValuesTimestr_args getEmptyArgsInstance() { - return new findKeyOperatorstrValuesTimestr_args(); + public selectKeyCriteriaOrder_args getEmptyArgsInstance() { + return new selectKeyCriteriaOrder_args(); } protected boolean isOneway() { return false; } - public findKeyOperatorstrValuesTimestr_result getResult(I iface, - findKeyOperatorstrValuesTimestr_args args) + public selectKeyCriteriaOrder_result getResult(I iface, + selectKeyCriteriaOrder_args args) throws org.apache.thrift.TException { - findKeyOperatorstrValuesTimestr_result result = new findKeyOperatorstrValuesTimestr_result(); + selectKeyCriteriaOrder_result result = new selectKeyCriteriaOrder_result(); try { - result.success = iface.findKeyOperatorstrValuesTimestr( - args.key, args.operator, args.values, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeyCriteriaOrder(args.key, + args.criteria, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46320,35 +54293,33 @@ public findKeyOperatorstrValuesTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class search - extends org.apache.thrift.ProcessFunction { - public search() { - super("search"); + public static class selectKeyCcl extends + org.apache.thrift.ProcessFunction { + public selectKeyCcl() { + super("selectKeyCcl"); } - public search_args getEmptyArgsInstance() { - return new search_args(); + public selectKeyCcl_args getEmptyArgsInstance() { + return new selectKeyCcl_args(); } protected boolean isOneway() { return false; } - public search_result getResult(I iface, search_args args) + public selectKeyCcl_result getResult(I iface, + selectKeyCcl_args args) throws org.apache.thrift.TException { - search_result result = new search_result(); + selectKeyCcl_result result = new selectKeyCcl_result(); try { - result.success = iface.search(args.key, args.query, + result.success = iface.selectKeyCcl(args.key, args.ccl, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -46357,34 +54328,37 @@ public search_result getResult(I iface, search_args args) catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class revertKeysRecordsTime extends - org.apache.thrift.ProcessFunction { - public revertKeysRecordsTime() { - super("revertKeysRecordsTime"); + public static class selectKeyCclOrder extends + org.apache.thrift.ProcessFunction { + public selectKeyCclOrder() { + super("selectKeyCclOrder"); } - public revertKeysRecordsTime_args getEmptyArgsInstance() { - return new revertKeysRecordsTime_args(); + public selectKeyCclOrder_args getEmptyArgsInstance() { + return new selectKeyCclOrder_args(); } protected boolean isOneway() { return false; } - public revertKeysRecordsTime_result getResult(I iface, - revertKeysRecordsTime_args args) + public selectKeyCclOrder_result getResult(I iface, + selectKeyCclOrder_args args) throws org.apache.thrift.TException { - revertKeysRecordsTime_result result = new revertKeysRecordsTime_result(); + selectKeyCclOrder_result result = new selectKeyCclOrder_result(); try { - iface.revertKeysRecordsTime(args.keys, args.records, - args.timestamp, args.creds, args.transaction, + result.success = iface.selectKeyCclOrder(args.key, args.ccl, + args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -46393,35 +54367,38 @@ public revertKeysRecordsTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class revertKeysRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public revertKeysRecordsTimestr() { - super("revertKeysRecordsTimestr"); + public static class selectKeyCriteriaTime extends + org.apache.thrift.ProcessFunction { + public selectKeyCriteriaTime() { + super("selectKeyCriteriaTime"); } - public revertKeysRecordsTimestr_args getEmptyArgsInstance() { - return new revertKeysRecordsTimestr_args(); + public selectKeyCriteriaTime_args getEmptyArgsInstance() { + return new selectKeyCriteriaTime_args(); } protected boolean isOneway() { return false; } - public revertKeysRecordsTimestr_result getResult(I iface, - revertKeysRecordsTimestr_args args) + public selectKeyCriteriaTime_result getResult(I iface, + selectKeyCriteriaTime_args args) throws org.apache.thrift.TException { - revertKeysRecordsTimestr_result result = new revertKeysRecordsTimestr_result(); + selectKeyCriteriaTime_result result = new selectKeyCriteriaTime_result(); try { - iface.revertKeysRecordsTimestr(args.keys, args.records, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeyCriteriaTime(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46429,38 +54406,35 @@ public revertKeysRecordsTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class revertKeysRecordTime extends - org.apache.thrift.ProcessFunction { - public revertKeysRecordTime() { - super("revertKeysRecordTime"); + public static class selectKeyCriteriaTimeOrder extends + org.apache.thrift.ProcessFunction { + public selectKeyCriteriaTimeOrder() { + super("selectKeyCriteriaTimeOrder"); } - public revertKeysRecordTime_args getEmptyArgsInstance() { - return new revertKeysRecordTime_args(); + public selectKeyCriteriaTimeOrder_args getEmptyArgsInstance() { + return new selectKeyCriteriaTimeOrder_args(); } protected boolean isOneway() { return false; } - public revertKeysRecordTime_result getResult(I iface, - revertKeysRecordTime_args args) + public selectKeyCriteriaTimeOrder_result getResult(I iface, + selectKeyCriteriaTimeOrder_args args) throws org.apache.thrift.TException { - revertKeysRecordTime_result result = new revertKeysRecordTime_result(); + selectKeyCriteriaTimeOrder_result result = new selectKeyCriteriaTimeOrder_result(); try { - iface.revertKeysRecordTime(args.keys, args.record, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeyCriteriaTimeOrder(args.key, + args.criteria, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46475,28 +54449,28 @@ public revertKeysRecordTime_result getResult(I iface, } } - public static class revertKeysRecordTimestr extends - org.apache.thrift.ProcessFunction { - public revertKeysRecordTimestr() { - super("revertKeysRecordTimestr"); + public static class selectKeyCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public selectKeyCriteriaTimestr() { + super("selectKeyCriteriaTimestr"); } - public revertKeysRecordTimestr_args getEmptyArgsInstance() { - return new revertKeysRecordTimestr_args(); + public selectKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new selectKeyCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public revertKeysRecordTimestr_result getResult(I iface, - revertKeysRecordTimestr_args args) + public selectKeyCriteriaTimestr_result getResult(I iface, + selectKeyCriteriaTimestr_args args) throws org.apache.thrift.TException { - revertKeysRecordTimestr_result result = new revertKeysRecordTimestr_result(); + selectKeyCriteriaTimestr_result result = new selectKeyCriteriaTimestr_result(); try { - iface.revertKeysRecordTimestr(args.keys, args.record, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeyCriteriaTimestr(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46514,28 +54488,29 @@ public revertKeysRecordTimestr_result getResult(I iface, } } - public static class revertKeyRecordsTime extends - org.apache.thrift.ProcessFunction { - public revertKeyRecordsTime() { - super("revertKeyRecordsTime"); + public static class selectKeyCriteriaTimestrOrder + extends + org.apache.thrift.ProcessFunction { + public selectKeyCriteriaTimestrOrder() { + super("selectKeyCriteriaTimestrOrder"); } - public revertKeyRecordsTime_args getEmptyArgsInstance() { - return new revertKeyRecordsTime_args(); + public selectKeyCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new selectKeyCriteriaTimestrOrder_args(); } protected boolean isOneway() { return false; } - public revertKeyRecordsTime_result getResult(I iface, - revertKeyRecordsTime_args args) + public selectKeyCriteriaTimestrOrder_result getResult(I iface, + selectKeyCriteriaTimestrOrder_args args) throws org.apache.thrift.TException { - revertKeyRecordsTime_result result = new revertKeyRecordsTime_result(); + selectKeyCriteriaTimestrOrder_result result = new selectKeyCriteriaTimestrOrder_result(); try { - iface.revertKeyRecordsTime(args.key, args.records, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeyCriteriaTimestrOrder( + args.key, args.criteria, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46543,33 +54518,36 @@ public revertKeyRecordsTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class revertKeyRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public revertKeyRecordsTimestr() { - super("revertKeyRecordsTimestr"); + public static class selectKeyCclTime extends + org.apache.thrift.ProcessFunction { + public selectKeyCclTime() { + super("selectKeyCclTime"); } - public revertKeyRecordsTimestr_args getEmptyArgsInstance() { - return new revertKeyRecordsTimestr_args(); + public selectKeyCclTime_args getEmptyArgsInstance() { + return new selectKeyCclTime_args(); } protected boolean isOneway() { return false; } - public revertKeyRecordsTimestr_result getResult(I iface, - revertKeyRecordsTimestr_args args) + public selectKeyCclTime_result getResult(I iface, + selectKeyCclTime_args args) throws org.apache.thrift.TException { - revertKeyRecordsTimestr_result result = new revertKeyRecordsTimestr_result(); + selectKeyCclTime_result result = new selectKeyCclTime_result(); try { - iface.revertKeyRecordsTimestr(args.key, args.records, + result.success = iface.selectKeyCclTime(args.key, args.ccl, args.timestamp, args.creds, args.transaction, args.environment); } @@ -46589,28 +54567,28 @@ public revertKeyRecordsTimestr_result getResult(I iface, } } - public static class revertKeyRecordTime extends - org.apache.thrift.ProcessFunction { - public revertKeyRecordTime() { - super("revertKeyRecordTime"); + public static class selectKeyCclTimeOrder extends + org.apache.thrift.ProcessFunction { + public selectKeyCclTimeOrder() { + super("selectKeyCclTimeOrder"); } - public revertKeyRecordTime_args getEmptyArgsInstance() { - return new revertKeyRecordTime_args(); + public selectKeyCclTimeOrder_args getEmptyArgsInstance() { + return new selectKeyCclTimeOrder_args(); } protected boolean isOneway() { return false; } - public revertKeyRecordTime_result getResult(I iface, - revertKeyRecordTime_args args) + public selectKeyCclTimeOrder_result getResult(I iface, + selectKeyCclTimeOrder_args args) throws org.apache.thrift.TException { - revertKeyRecordTime_result result = new revertKeyRecordTime_result(); + selectKeyCclTimeOrder_result result = new selectKeyCclTimeOrder_result(); try { - iface.revertKeyRecordTime(args.key, args.record, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeyCclTimeOrder(args.key, + args.ccl, args.timestamp, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46618,35 +54596,38 @@ public revertKeyRecordTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class revertKeyRecordTimestr extends - org.apache.thrift.ProcessFunction { - public revertKeyRecordTimestr() { - super("revertKeyRecordTimestr"); + public static class selectKeyCclTimestr extends + org.apache.thrift.ProcessFunction { + public selectKeyCclTimestr() { + super("selectKeyCclTimestr"); } - public revertKeyRecordTimestr_args getEmptyArgsInstance() { - return new revertKeyRecordTimestr_args(); + public selectKeyCclTimestr_args getEmptyArgsInstance() { + return new selectKeyCclTimestr_args(); } protected boolean isOneway() { return false; } - public revertKeyRecordTimestr_result getResult(I iface, - revertKeyRecordTimestr_args args) + public selectKeyCclTimestr_result getResult(I iface, + selectKeyCclTimestr_args args) throws org.apache.thrift.TException { - revertKeyRecordTimestr_result result = new revertKeyRecordTimestr_result(); + selectKeyCclTimestr_result result = new selectKeyCclTimestr_result(); try { - iface.revertKeyRecordTimestr(args.key, args.record, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.selectKeyCclTimestr(args.key, + args.ccl, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46664,25 +54645,27 @@ public revertKeyRecordTimestr_result getResult(I iface, } } - public static class pingRecords - extends org.apache.thrift.ProcessFunction { - public pingRecords() { - super("pingRecords"); + public static class selectKeyCclTimestrOrder extends + org.apache.thrift.ProcessFunction { + public selectKeyCclTimestrOrder() { + super("selectKeyCclTimestrOrder"); } - public pingRecords_args getEmptyArgsInstance() { - return new pingRecords_args(); + public selectKeyCclTimestrOrder_args getEmptyArgsInstance() { + return new selectKeyCclTimestrOrder_args(); } protected boolean isOneway() { return false; } - public pingRecords_result getResult(I iface, pingRecords_args args) + public selectKeyCclTimestrOrder_result getResult(I iface, + selectKeyCclTimestrOrder_args args) throws org.apache.thrift.TException { - pingRecords_result result = new pingRecords_result(); + selectKeyCclTimestrOrder_result result = new selectKeyCclTimestrOrder_result(); try { - result.success = iface.pingRecords(args.records, args.creds, + result.success = iface.selectKeyCclTimestrOrder(args.key, + args.ccl, args.timestamp, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -46691,34 +54674,38 @@ public pingRecords_result getResult(I iface, pingRecords_args args) catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class pingRecord - extends org.apache.thrift.ProcessFunction { - public pingRecord() { - super("pingRecord"); + public static class selectKeysCriteria extends + org.apache.thrift.ProcessFunction { + public selectKeysCriteria() { + super("selectKeysCriteria"); } - public pingRecord_args getEmptyArgsInstance() { - return new pingRecord_args(); + public selectKeysCriteria_args getEmptyArgsInstance() { + return new selectKeysCriteria_args(); } protected boolean isOneway() { return false; } - public pingRecord_result getResult(I iface, pingRecord_args args) + public selectKeysCriteria_result getResult(I iface, + selectKeysCriteria_args args) throws org.apache.thrift.TException { - pingRecord_result result = new pingRecord_result(); + selectKeysCriteria_result result = new selectKeysCriteria_result(); try { - result.success = iface.pingRecord(args.record, args.creds, - args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.selectKeysCriteria(args.keys, + args.criteria, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46733,29 +54720,28 @@ public pingRecord_result getResult(I iface, pingRecord_args args) } } - public static class verifyAndSwap extends - org.apache.thrift.ProcessFunction { - public verifyAndSwap() { - super("verifyAndSwap"); + public static class selectKeysCriteriaOrder extends + org.apache.thrift.ProcessFunction { + public selectKeysCriteriaOrder() { + super("selectKeysCriteriaOrder"); } - public verifyAndSwap_args getEmptyArgsInstance() { - return new verifyAndSwap_args(); + public selectKeysCriteriaOrder_args getEmptyArgsInstance() { + return new selectKeysCriteriaOrder_args(); } protected boolean isOneway() { return false; } - public verifyAndSwap_result getResult(I iface, - verifyAndSwap_args args) + public selectKeysCriteriaOrder_result getResult(I iface, + selectKeysCriteriaOrder_args args) throws org.apache.thrift.TException { - verifyAndSwap_result result = new verifyAndSwap_result(); + selectKeysCriteriaOrder_result result = new selectKeysCriteriaOrder_result(); try { - result.success = iface.verifyAndSwap(args.key, - args.expected, args.record, args.replacement, - args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.selectKeysCriteriaOrder(args.keys, + args.criteria, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46770,25 +54756,26 @@ public verifyAndSwap_result getResult(I iface, } } - public static class verifyOrSet - extends org.apache.thrift.ProcessFunction { - public verifyOrSet() { - super("verifyOrSet"); + public static class selectKeysCcl extends + org.apache.thrift.ProcessFunction { + public selectKeysCcl() { + super("selectKeysCcl"); } - public verifyOrSet_args getEmptyArgsInstance() { - return new verifyOrSet_args(); + public selectKeysCcl_args getEmptyArgsInstance() { + return new selectKeysCcl_args(); } protected boolean isOneway() { return false; } - public verifyOrSet_result getResult(I iface, verifyOrSet_args args) + public selectKeysCcl_result getResult(I iface, + selectKeysCcl_args args) throws org.apache.thrift.TException { - verifyOrSet_result result = new verifyOrSet_result(); + selectKeysCcl_result result = new selectKeysCcl_result(); try { - iface.verifyOrSet(args.key, args.value, args.record, + result.success = iface.selectKeysCcl(args.keys, args.ccl, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -46797,7 +54784,7 @@ public verifyOrSet_result getResult(I iface, verifyOrSet_args args) catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } catch (com.cinchapi.concourse.thrift.PermissionException ex4) { @@ -46807,29 +54794,28 @@ public verifyOrSet_result getResult(I iface, verifyOrSet_args args) } } - public static class findOrAddKeyValue extends - org.apache.thrift.ProcessFunction { - public findOrAddKeyValue() { - super("findOrAddKeyValue"); + public static class selectKeysCclOrder extends + org.apache.thrift.ProcessFunction { + public selectKeysCclOrder() { + super("selectKeysCclOrder"); } - public findOrAddKeyValue_args getEmptyArgsInstance() { - return new findOrAddKeyValue_args(); + public selectKeysCclOrder_args getEmptyArgsInstance() { + return new selectKeysCclOrder_args(); } protected boolean isOneway() { return false; } - public findOrAddKeyValue_result getResult(I iface, - findOrAddKeyValue_args args) + public selectKeysCclOrder_result getResult(I iface, + selectKeysCclOrder_args args) throws org.apache.thrift.TException { - findOrAddKeyValue_result result = new findOrAddKeyValue_result(); + selectKeysCclOrder_result result = new selectKeysCclOrder_result(); try { - result.success = iface.findOrAddKeyValue(args.key, - args.value, args.creds, args.transaction, + result.success = iface.selectKeysCclOrder(args.keys, + args.ccl, args.order, args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46837,42 +54823,38 @@ public findOrAddKeyValue_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.DuplicateEntryException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { result.ex4 = ex4; } - catch (com.cinchapi.concourse.thrift.PermissionException ex5) { - result.ex5 = ex5; - } return result; } } - public static class findOrInsertCriteriaJson extends - org.apache.thrift.ProcessFunction { - public findOrInsertCriteriaJson() { - super("findOrInsertCriteriaJson"); + public static class selectKeysCriteriaTime extends + org.apache.thrift.ProcessFunction { + public selectKeysCriteriaTime() { + super("selectKeysCriteriaTime"); } - public findOrInsertCriteriaJson_args getEmptyArgsInstance() { - return new findOrInsertCriteriaJson_args(); + public selectKeysCriteriaTime_args getEmptyArgsInstance() { + return new selectKeysCriteriaTime_args(); } protected boolean isOneway() { return false; } - public findOrInsertCriteriaJson_result getResult(I iface, - findOrInsertCriteriaJson_args args) + public selectKeysCriteriaTime_result getResult(I iface, + selectKeysCriteriaTime_args args) throws org.apache.thrift.TException { - findOrInsertCriteriaJson_result result = new findOrInsertCriteriaJson_result(); + selectKeysCriteriaTime_result result = new selectKeysCriteriaTime_result(); try { - result.success = iface.findOrInsertCriteriaJson( - args.criteria, args.json, args.creds, + result.success = iface.selectKeysCriteriaTime(args.keys, + args.criteria, args.timestamp, args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46880,39 +54862,36 @@ public findOrInsertCriteriaJson_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.DuplicateEntryException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class findOrInsertCclJson extends - org.apache.thrift.ProcessFunction { - public findOrInsertCclJson() { - super("findOrInsertCclJson"); + public static class selectKeysCriteriaTimeOrder extends + org.apache.thrift.ProcessFunction { + public selectKeysCriteriaTimeOrder() { + super("selectKeysCriteriaTimeOrder"); } - public findOrInsertCclJson_args getEmptyArgsInstance() { - return new findOrInsertCclJson_args(); + public selectKeysCriteriaTimeOrder_args getEmptyArgsInstance() { + return new selectKeysCriteriaTimeOrder_args(); } protected boolean isOneway() { return false; } - public findOrInsertCclJson_result getResult(I iface, - findOrInsertCclJson_args args) + public selectKeysCriteriaTimeOrder_result getResult(I iface, + selectKeysCriteriaTimeOrder_args args) throws org.apache.thrift.TException { - findOrInsertCclJson_result result = new findOrInsertCclJson_result(); + selectKeysCriteriaTimeOrder_result result = new selectKeysCriteriaTimeOrder_result(); try { - result.success = iface.findOrInsertCclJson(args.ccl, - args.json, args.creds, args.transaction, + result.success = iface.selectKeysCriteriaTimeOrder( + args.keys, args.criteria, args.timestamp, + args.order, args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46920,40 +54899,35 @@ public findOrInsertCclJson_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.DuplicateEntryException ex4) { - result.ex4 = ex4; - } - catch (com.cinchapi.concourse.thrift.PermissionException ex5) { - result.ex5 = ex5; - } return result; } } - public static class sumKeyRecord extends - org.apache.thrift.ProcessFunction { - public sumKeyRecord() { - super("sumKeyRecord"); + public static class selectKeysCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public selectKeysCriteriaTimestr() { + super("selectKeysCriteriaTimestr"); } - public sumKeyRecord_args getEmptyArgsInstance() { - return new sumKeyRecord_args(); + public selectKeysCriteriaTimestr_args getEmptyArgsInstance() { + return new selectKeysCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public sumKeyRecord_result getResult(I iface, - sumKeyRecord_args args) + public selectKeysCriteriaTimestr_result getResult(I iface, + selectKeysCriteriaTimestr_args args) throws org.apache.thrift.TException { - sumKeyRecord_result result = new sumKeyRecord_result(); + selectKeysCriteriaTimestr_result result = new selectKeysCriteriaTimestr_result(); try { - result.success = iface.sumKeyRecord(args.key, args.record, - args.creds, args.transaction, args.environment); + result.success = iface.selectKeysCriteriaTimestr(args.keys, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46961,35 +54935,40 @@ public sumKeyRecord_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class sumKeyRecordTime extends - org.apache.thrift.ProcessFunction { - public sumKeyRecordTime() { - super("sumKeyRecordTime"); + public static class selectKeysCriteriaTimestrOrder + extends + org.apache.thrift.ProcessFunction { + public selectKeysCriteriaTimestrOrder() { + super("selectKeysCriteriaTimestrOrder"); } - public sumKeyRecordTime_args getEmptyArgsInstance() { - return new sumKeyRecordTime_args(); + public selectKeysCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new selectKeysCriteriaTimestrOrder_args(); } protected boolean isOneway() { return false; } - public sumKeyRecordTime_result getResult(I iface, - sumKeyRecordTime_args args) + public selectKeysCriteriaTimestrOrder_result getResult(I iface, + selectKeysCriteriaTimestrOrder_args args) throws org.apache.thrift.TException { - sumKeyRecordTime_result result = new sumKeyRecordTime_result(); + selectKeysCriteriaTimestrOrder_result result = new selectKeysCriteriaTimestrOrder_result(); try { - result.success = iface.sumKeyRecordTime(args.key, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.selectKeysCriteriaTimestrOrder( + args.keys, args.criteria, args.timestamp, + args.order, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -46997,34 +54976,37 @@ public sumKeyRecordTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class sumKeyRecordTimestr extends - org.apache.thrift.ProcessFunction { - public sumKeyRecordTimestr() { - super("sumKeyRecordTimestr"); + public static class selectKeysCclTime extends + org.apache.thrift.ProcessFunction { + public selectKeysCclTime() { + super("selectKeysCclTime"); } - public sumKeyRecordTimestr_args getEmptyArgsInstance() { - return new sumKeyRecordTimestr_args(); + public selectKeysCclTime_args getEmptyArgsInstance() { + return new selectKeysCclTime_args(); } protected boolean isOneway() { return false; } - public sumKeyRecordTimestr_result getResult(I iface, - sumKeyRecordTimestr_args args) + public selectKeysCclTime_result getResult(I iface, + selectKeysCclTime_args args) throws org.apache.thrift.TException { - sumKeyRecordTimestr_result result = new sumKeyRecordTimestr_result(); + selectKeysCclTime_result result = new selectKeysCclTime_result(); try { - result.success = iface.sumKeyRecordTimestr(args.key, - args.record, args.timestamp, args.creds, + result.success = iface.selectKeysCclTime(args.keys, + args.ccl, args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -47043,27 +55025,28 @@ public sumKeyRecordTimestr_result getResult(I iface, } } - public static class sumKeyRecords extends - org.apache.thrift.ProcessFunction { - public sumKeyRecords() { - super("sumKeyRecords"); + public static class selectKeysCclTimeOrder extends + org.apache.thrift.ProcessFunction { + public selectKeysCclTimeOrder() { + super("selectKeysCclTimeOrder"); } - public sumKeyRecords_args getEmptyArgsInstance() { - return new sumKeyRecords_args(); + public selectKeysCclTimeOrder_args getEmptyArgsInstance() { + return new selectKeysCclTimeOrder_args(); } protected boolean isOneway() { return false; } - public sumKeyRecords_result getResult(I iface, - sumKeyRecords_args args) + public selectKeysCclTimeOrder_result getResult(I iface, + selectKeysCclTimeOrder_args args) throws org.apache.thrift.TException { - sumKeyRecords_result result = new sumKeyRecords_result(); + selectKeysCclTimeOrder_result result = new selectKeysCclTimeOrder_result(); try { - result.success = iface.sumKeyRecords(args.key, args.records, - args.creds, args.transaction, args.environment); + result.success = iface.selectKeysCclTimeOrder(args.keys, + args.ccl, args.timestamp, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47071,34 +55054,37 @@ public sumKeyRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class sumKeyRecordsTime extends - org.apache.thrift.ProcessFunction { - public sumKeyRecordsTime() { - super("sumKeyRecordsTime"); + public static class selectKeysCclTimestr extends + org.apache.thrift.ProcessFunction { + public selectKeysCclTimestr() { + super("selectKeysCclTimestr"); } - public sumKeyRecordsTime_args getEmptyArgsInstance() { - return new sumKeyRecordsTime_args(); + public selectKeysCclTimestr_args getEmptyArgsInstance() { + return new selectKeysCclTimestr_args(); } protected boolean isOneway() { return false; } - public sumKeyRecordsTime_result getResult(I iface, - sumKeyRecordsTime_args args) + public selectKeysCclTimestr_result getResult(I iface, + selectKeysCclTimestr_args args) throws org.apache.thrift.TException { - sumKeyRecordsTime_result result = new sumKeyRecordsTime_result(); + selectKeysCclTimestr_result result = new selectKeysCclTimestr_result(); try { - result.success = iface.sumKeyRecordsTime(args.key, - args.records, args.timestamp, args.creds, + result.success = iface.selectKeysCclTimestr(args.keys, + args.ccl, args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -47107,34 +55093,37 @@ public sumKeyRecordsTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class sumKeyRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public sumKeyRecordsTimestr() { - super("sumKeyRecordsTimestr"); + public static class selectKeysCclTimestrOrder extends + org.apache.thrift.ProcessFunction { + public selectKeysCclTimestrOrder() { + super("selectKeysCclTimestrOrder"); } - public sumKeyRecordsTimestr_args getEmptyArgsInstance() { - return new sumKeyRecordsTimestr_args(); + public selectKeysCclTimestrOrder_args getEmptyArgsInstance() { + return new selectKeysCclTimestrOrder_args(); } protected boolean isOneway() { return false; } - public sumKeyRecordsTimestr_result getResult(I iface, - sumKeyRecordsTimestr_args args) + public selectKeysCclTimestrOrder_result getResult(I iface, + selectKeysCclTimestrOrder_args args) throws org.apache.thrift.TException { - sumKeyRecordsTimestr_result result = new sumKeyRecordsTimestr_result(); + selectKeysCclTimestrOrder_result result = new selectKeysCclTimestrOrder_result(); try { - result.success = iface.sumKeyRecordsTimestr(args.key, - args.records, args.timestamp, args.creds, + result.success = iface.selectKeysCclTimestrOrder(args.keys, + args.ccl, args.timestamp, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -47153,26 +55142,27 @@ public sumKeyRecordsTimestr_result getResult(I iface, } } - public static class sumKey - extends org.apache.thrift.ProcessFunction { - public sumKey() { - super("sumKey"); + public static class getKeyRecord extends + org.apache.thrift.ProcessFunction { + public getKeyRecord() { + super("getKeyRecord"); } - public sumKey_args getEmptyArgsInstance() { - return new sumKey_args(); + public getKeyRecord_args getEmptyArgsInstance() { + return new getKeyRecord_args(); } protected boolean isOneway() { return false; } - public sumKey_result getResult(I iface, sumKey_args args) + public getKeyRecord_result getResult(I iface, + getKeyRecord_args args) throws org.apache.thrift.TException { - sumKey_result result = new sumKey_result(); + getKeyRecord_result result = new getKeyRecord_result(); try { - result.success = iface.sumKey(args.key, args.creds, - args.transaction, args.environment); + result.success = iface.getKeyRecord(args.key, args.record, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47187,26 +55177,28 @@ public sumKey_result getResult(I iface, sumKey_args args) } } - public static class sumKeyTime - extends org.apache.thrift.ProcessFunction { - public sumKeyTime() { - super("sumKeyTime"); + public static class getKeyRecordTime extends + org.apache.thrift.ProcessFunction { + public getKeyRecordTime() { + super("getKeyRecordTime"); } - public sumKeyTime_args getEmptyArgsInstance() { - return new sumKeyTime_args(); + public getKeyRecordTime_args getEmptyArgsInstance() { + return new getKeyRecordTime_args(); } protected boolean isOneway() { return false; } - public sumKeyTime_result getResult(I iface, sumKeyTime_args args) + public getKeyRecordTime_result getResult(I iface, + getKeyRecordTime_args args) throws org.apache.thrift.TException { - sumKeyTime_result result = new sumKeyTime_result(); + getKeyRecordTime_result result = new getKeyRecordTime_result(); try { - result.success = iface.sumKeyTime(args.key, args.timestamp, - args.creds, args.transaction, args.environment); + result.success = iface.getKeyRecordTime(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47221,28 +55213,28 @@ public sumKeyTime_result getResult(I iface, sumKeyTime_args args) } } - public static class sumKeyTimestr extends - org.apache.thrift.ProcessFunction { - public sumKeyTimestr() { - super("sumKeyTimestr"); + public static class getKeyRecordTimestr extends + org.apache.thrift.ProcessFunction { + public getKeyRecordTimestr() { + super("getKeyRecordTimestr"); } - public sumKeyTimestr_args getEmptyArgsInstance() { - return new sumKeyTimestr_args(); + public getKeyRecordTimestr_args getEmptyArgsInstance() { + return new getKeyRecordTimestr_args(); } protected boolean isOneway() { return false; } - public sumKeyTimestr_result getResult(I iface, - sumKeyTimestr_args args) + public getKeyRecordTimestr_result getResult(I iface, + getKeyRecordTimestr_args args) throws org.apache.thrift.TException { - sumKeyTimestr_result result = new sumKeyTimestr_result(); + getKeyRecordTimestr_result result = new getKeyRecordTimestr_result(); try { - result.success = iface.sumKeyTimestr(args.key, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.getKeyRecordTimestr(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47260,28 +55252,27 @@ public sumKeyTimestr_result getResult(I iface, } } - public static class sumKeyCriteria extends - org.apache.thrift.ProcessFunction { - public sumKeyCriteria() { - super("sumKeyCriteria"); + public static class getKeysRecord extends + org.apache.thrift.ProcessFunction { + public getKeysRecord() { + super("getKeysRecord"); } - public sumKeyCriteria_args getEmptyArgsInstance() { - return new sumKeyCriteria_args(); + public getKeysRecord_args getEmptyArgsInstance() { + return new getKeysRecord_args(); } protected boolean isOneway() { return false; } - public sumKeyCriteria_result getResult(I iface, - sumKeyCriteria_args args) + public getKeysRecord_result getResult(I iface, + getKeysRecord_args args) throws org.apache.thrift.TException { - sumKeyCriteria_result result = new sumKeyCriteria_result(); + getKeysRecord_result result = new getKeysRecord_result(); try { - result.success = iface.sumKeyCriteria(args.key, - args.criteria, args.creds, args.transaction, - args.environment); + result.success = iface.getKeysRecord(args.keys, args.record, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47296,27 +55287,27 @@ public sumKeyCriteria_result getResult(I iface, } } - public static class sumKeyCriteriaTime extends - org.apache.thrift.ProcessFunction { - public sumKeyCriteriaTime() { - super("sumKeyCriteriaTime"); + public static class getKeysRecordTime extends + org.apache.thrift.ProcessFunction { + public getKeysRecordTime() { + super("getKeysRecordTime"); } - public sumKeyCriteriaTime_args getEmptyArgsInstance() { - return new sumKeyCriteriaTime_args(); + public getKeysRecordTime_args getEmptyArgsInstance() { + return new getKeysRecordTime_args(); } protected boolean isOneway() { return false; } - public sumKeyCriteriaTime_result getResult(I iface, - sumKeyCriteriaTime_args args) + public getKeysRecordTime_result getResult(I iface, + getKeysRecordTime_args args) throws org.apache.thrift.TException { - sumKeyCriteriaTime_result result = new sumKeyCriteriaTime_result(); + getKeysRecordTime_result result = new getKeysRecordTime_result(); try { - result.success = iface.sumKeyCriteriaTime(args.key, - args.criteria, args.timestamp, args.creds, + result.success = iface.getKeysRecordTime(args.keys, + args.record, args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -47332,27 +55323,27 @@ public sumKeyCriteriaTime_result getResult(I iface, } } - public static class sumKeyCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public sumKeyCriteriaTimestr() { - super("sumKeyCriteriaTimestr"); + public static class getKeysRecordTimestr extends + org.apache.thrift.ProcessFunction { + public getKeysRecordTimestr() { + super("getKeysRecordTimestr"); } - public sumKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new sumKeyCriteriaTimestr_args(); + public getKeysRecordTimestr_args getEmptyArgsInstance() { + return new getKeysRecordTimestr_args(); } protected boolean isOneway() { return false; } - public sumKeyCriteriaTimestr_result getResult(I iface, - sumKeyCriteriaTimestr_args args) + public getKeysRecordTimestr_result getResult(I iface, + getKeysRecordTimestr_args args) throws org.apache.thrift.TException { - sumKeyCriteriaTimestr_result result = new sumKeyCriteriaTimestr_result(); + getKeysRecordTimestr_result result = new getKeysRecordTimestr_result(); try { - result.success = iface.sumKeyCriteriaTimestr(args.key, - args.criteria, args.timestamp, args.creds, + result.success = iface.getKeysRecordTimestr(args.keys, + args.record, args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -47371,26 +55362,28 @@ public sumKeyCriteriaTimestr_result getResult(I iface, } } - public static class sumKeyCcl - extends org.apache.thrift.ProcessFunction { - public sumKeyCcl() { - super("sumKeyCcl"); + public static class getKeysRecords extends + org.apache.thrift.ProcessFunction { + public getKeysRecords() { + super("getKeysRecords"); } - public sumKeyCcl_args getEmptyArgsInstance() { - return new sumKeyCcl_args(); + public getKeysRecords_args getEmptyArgsInstance() { + return new getKeysRecords_args(); } protected boolean isOneway() { return false; } - public sumKeyCcl_result getResult(I iface, sumKeyCcl_args args) + public getKeysRecords_result getResult(I iface, + getKeysRecords_args args) throws org.apache.thrift.TException { - sumKeyCcl_result result = new sumKeyCcl_result(); + getKeysRecords_result result = new getKeysRecords_result(); try { - result.success = iface.sumKeyCcl(args.key, args.ccl, - args.creds, args.transaction, args.environment); + result.success = iface.getKeysRecords(args.keys, + args.records, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47398,38 +55391,35 @@ public sumKeyCcl_result getResult(I iface, sumKeyCcl_args args) catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class sumKeyCclTime extends - org.apache.thrift.ProcessFunction { - public sumKeyCclTime() { - super("sumKeyCclTime"); + public static class getKeysRecordsOrder extends + org.apache.thrift.ProcessFunction { + public getKeysRecordsOrder() { + super("getKeysRecordsOrder"); } - public sumKeyCclTime_args getEmptyArgsInstance() { - return new sumKeyCclTime_args(); + public getKeysRecordsOrder_args getEmptyArgsInstance() { + return new getKeysRecordsOrder_args(); } protected boolean isOneway() { return false; } - public sumKeyCclTime_result getResult(I iface, - sumKeyCclTime_args args) + public getKeysRecordsOrder_result getResult(I iface, + getKeysRecordsOrder_args args) throws org.apache.thrift.TException { - sumKeyCclTime_result result = new sumKeyCclTime_result(); + getKeysRecordsOrder_result result = new getKeysRecordsOrder_result(); try { - result.success = iface.sumKeyCclTime(args.key, args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.getKeysRecordsOrder(args.keys, + args.records, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47437,38 +55427,34 @@ public sumKeyCclTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class sumKeyCclTimestr extends - org.apache.thrift.ProcessFunction { - public sumKeyCclTimestr() { - super("sumKeyCclTimestr"); + public static class getKeyRecords extends + org.apache.thrift.ProcessFunction { + public getKeyRecords() { + super("getKeyRecords"); } - public sumKeyCclTimestr_args getEmptyArgsInstance() { - return new sumKeyCclTimestr_args(); + public getKeyRecords_args getEmptyArgsInstance() { + return new getKeyRecords_args(); } protected boolean isOneway() { return false; } - public sumKeyCclTimestr_result getResult(I iface, - sumKeyCclTimestr_args args) + public getKeyRecords_result getResult(I iface, + getKeyRecords_args args) throws org.apache.thrift.TException { - sumKeyCclTimestr_result result = new sumKeyCclTimestr_result(); + getKeyRecords_result result = new getKeyRecords_result(); try { - result.success = iface.sumKeyCclTimestr(args.key, args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.getKeyRecords(args.key, args.records, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47476,38 +55462,35 @@ public sumKeyCclTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class averageKeyRecord extends - org.apache.thrift.ProcessFunction { - public averageKeyRecord() { - super("averageKeyRecord"); + public static class getKeyRecordsOrder extends + org.apache.thrift.ProcessFunction { + public getKeyRecordsOrder() { + super("getKeyRecordsOrder"); } - public averageKeyRecord_args getEmptyArgsInstance() { - return new averageKeyRecord_args(); + public getKeyRecordsOrder_args getEmptyArgsInstance() { + return new getKeyRecordsOrder_args(); } protected boolean isOneway() { return false; } - public averageKeyRecord_result getResult(I iface, - averageKeyRecord_args args) + public getKeyRecordsOrder_result getResult(I iface, + getKeyRecordsOrder_args args) throws org.apache.thrift.TException { - averageKeyRecord_result result = new averageKeyRecord_result(); + getKeyRecordsOrder_result result = new getKeyRecordsOrder_result(); try { - result.success = iface.averageKeyRecord(args.key, - args.record, args.creds, args.transaction, - args.environment); + result.success = iface.getKeyRecordsOrder(args.key, + args.records, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47522,27 +55505,27 @@ public averageKeyRecord_result getResult(I iface, } } - public static class averageKeyRecordTime extends - org.apache.thrift.ProcessFunction { - public averageKeyRecordTime() { - super("averageKeyRecordTime"); + public static class getKeyRecordsTime extends + org.apache.thrift.ProcessFunction { + public getKeyRecordsTime() { + super("getKeyRecordsTime"); } - public averageKeyRecordTime_args getEmptyArgsInstance() { - return new averageKeyRecordTime_args(); + public getKeyRecordsTime_args getEmptyArgsInstance() { + return new getKeyRecordsTime_args(); } protected boolean isOneway() { return false; } - public averageKeyRecordTime_result getResult(I iface, - averageKeyRecordTime_args args) + public getKeyRecordsTime_result getResult(I iface, + getKeyRecordsTime_args args) throws org.apache.thrift.TException { - averageKeyRecordTime_result result = new averageKeyRecordTime_result(); + getKeyRecordsTime_result result = new getKeyRecordsTime_result(); try { - result.success = iface.averageKeyRecordTime(args.key, - args.record, args.timestamp, args.creds, + result.success = iface.getKeyRecordsTime(args.key, + args.records, args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -47558,28 +55541,28 @@ public averageKeyRecordTime_result getResult(I iface, } } - public static class averageKeyRecordTimestr extends - org.apache.thrift.ProcessFunction { - public averageKeyRecordTimestr() { - super("averageKeyRecordTimestr"); + public static class getKeyRecordsTimeOrder extends + org.apache.thrift.ProcessFunction { + public getKeyRecordsTimeOrder() { + super("getKeyRecordsTimeOrder"); } - public averageKeyRecordTimestr_args getEmptyArgsInstance() { - return new averageKeyRecordTimestr_args(); + public getKeyRecordsTimeOrder_args getEmptyArgsInstance() { + return new getKeyRecordsTimeOrder_args(); } protected boolean isOneway() { return false; } - public averageKeyRecordTimestr_result getResult(I iface, - averageKeyRecordTimestr_args args) + public getKeyRecordsTimeOrder_result getResult(I iface, + getKeyRecordsTimeOrder_args args) throws org.apache.thrift.TException { - averageKeyRecordTimestr_result result = new averageKeyRecordTimestr_result(); + getKeyRecordsTimeOrder_result result = new getKeyRecordsTimeOrder_result(); try { - result.success = iface.averageKeyRecordTimestr(args.key, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.getKeyRecordsTimeOrder(args.key, + args.records, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47587,38 +55570,35 @@ public averageKeyRecordTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class averageKeyRecords extends - org.apache.thrift.ProcessFunction { - public averageKeyRecords() { - super("averageKeyRecords"); + public static class getKeyRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public getKeyRecordsTimestr() { + super("getKeyRecordsTimestr"); } - public averageKeyRecords_args getEmptyArgsInstance() { - return new averageKeyRecords_args(); + public getKeyRecordsTimestr_args getEmptyArgsInstance() { + return new getKeyRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public averageKeyRecords_result getResult(I iface, - averageKeyRecords_args args) + public getKeyRecordsTimestr_result getResult(I iface, + getKeyRecordsTimestr_args args) throws org.apache.thrift.TException { - averageKeyRecords_result result = new averageKeyRecords_result(); + getKeyRecordsTimestr_result result = new getKeyRecordsTimestr_result(); try { - result.success = iface.averageKeyRecords(args.key, - args.records, args.creds, args.transaction, - args.environment); + result.success = iface.getKeyRecordsTimestr(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47626,35 +55606,38 @@ public averageKeyRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class averageKeyRecordsTime extends - org.apache.thrift.ProcessFunction { - public averageKeyRecordsTime() { - super("averageKeyRecordsTime"); + public static class getKeyRecordsTimestrOrder extends + org.apache.thrift.ProcessFunction { + public getKeyRecordsTimestrOrder() { + super("getKeyRecordsTimestrOrder"); } - public averageKeyRecordsTime_args getEmptyArgsInstance() { - return new averageKeyRecordsTime_args(); + public getKeyRecordsTimestrOrder_args getEmptyArgsInstance() { + return new getKeyRecordsTimestrOrder_args(); } protected boolean isOneway() { return false; } - public averageKeyRecordsTime_result getResult(I iface, - averageKeyRecordsTime_args args) + public getKeyRecordsTimestrOrder_result getResult(I iface, + getKeyRecordsTimestrOrder_args args) throws org.apache.thrift.TException { - averageKeyRecordsTime_result result = new averageKeyRecordsTime_result(); + getKeyRecordsTimestrOrder_result result = new getKeyRecordsTimestrOrder_result(); try { - result.success = iface.averageKeyRecordsTime(args.key, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.getKeyRecordsTimestrOrder(args.key, + args.records, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47662,33 +55645,36 @@ public averageKeyRecordsTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class averageKeyRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public averageKeyRecordsTimestr() { - super("averageKeyRecordsTimestr"); + public static class getKeysRecordsTime extends + org.apache.thrift.ProcessFunction { + public getKeysRecordsTime() { + super("getKeysRecordsTime"); } - public averageKeyRecordsTimestr_args getEmptyArgsInstance() { - return new averageKeyRecordsTimestr_args(); + public getKeysRecordsTime_args getEmptyArgsInstance() { + return new getKeysRecordsTime_args(); } protected boolean isOneway() { return false; } - public averageKeyRecordsTimestr_result getResult(I iface, - averageKeyRecordsTimestr_args args) + public getKeysRecordsTime_result getResult(I iface, + getKeysRecordsTime_args args) throws org.apache.thrift.TException { - averageKeyRecordsTimestr_result result = new averageKeyRecordsTimestr_result(); + getKeysRecordsTime_result result = new getKeysRecordsTime_result(); try { - result.success = iface.averageKeyRecordsTimestr(args.key, + result.success = iface.getKeysRecordsTime(args.keys, args.records, args.timestamp, args.creds, args.transaction, args.environment); } @@ -47698,36 +55684,35 @@ public averageKeyRecordsTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class averageKey - extends org.apache.thrift.ProcessFunction { - public averageKey() { - super("averageKey"); + public static class getKeysRecordsTimeOrder extends + org.apache.thrift.ProcessFunction { + public getKeysRecordsTimeOrder() { + super("getKeysRecordsTimeOrder"); } - public averageKey_args getEmptyArgsInstance() { - return new averageKey_args(); + public getKeysRecordsTimeOrder_args getEmptyArgsInstance() { + return new getKeysRecordsTimeOrder_args(); } protected boolean isOneway() { return false; } - public averageKey_result getResult(I iface, averageKey_args args) + public getKeysRecordsTimeOrder_result getResult(I iface, + getKeysRecordsTimeOrder_args args) throws org.apache.thrift.TException { - averageKey_result result = new averageKey_result(); + getKeysRecordsTimeOrder_result result = new getKeysRecordsTimeOrder_result(); try { - result.success = iface.averageKey(args.key, args.creds, - args.transaction, args.environment); + result.success = iface.getKeysRecordsTimeOrder(args.keys, + args.records, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47742,28 +55727,28 @@ public averageKey_result getResult(I iface, averageKey_args args) } } - public static class averageKeyTime extends - org.apache.thrift.ProcessFunction { - public averageKeyTime() { - super("averageKeyTime"); + public static class getKeysRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public getKeysRecordsTimestr() { + super("getKeysRecordsTimestr"); } - public averageKeyTime_args getEmptyArgsInstance() { - return new averageKeyTime_args(); + public getKeysRecordsTimestr_args getEmptyArgsInstance() { + return new getKeysRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public averageKeyTime_result getResult(I iface, - averageKeyTime_args args) + public getKeysRecordsTimestr_result getResult(I iface, + getKeysRecordsTimestr_args args) throws org.apache.thrift.TException { - averageKeyTime_result result = new averageKeyTime_result(); + getKeysRecordsTimestr_result result = new getKeysRecordsTimestr_result(); try { - result.success = iface.averageKeyTime(args.key, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.getKeysRecordsTimestr(args.keys, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47771,35 +55756,38 @@ public averageKeyTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class averageKeyTimestr extends - org.apache.thrift.ProcessFunction { - public averageKeyTimestr() { - super("averageKeyTimestr"); + public static class getKeysRecordsTimestrOrder extends + org.apache.thrift.ProcessFunction { + public getKeysRecordsTimestrOrder() { + super("getKeysRecordsTimestrOrder"); } - public averageKeyTimestr_args getEmptyArgsInstance() { - return new averageKeyTimestr_args(); + public getKeysRecordsTimestrOrder_args getEmptyArgsInstance() { + return new getKeysRecordsTimestrOrder_args(); } protected boolean isOneway() { return false; } - public averageKeyTimestr_result getResult(I iface, - averageKeyTimestr_args args) + public getKeysRecordsTimestrOrder_result getResult(I iface, + getKeysRecordsTimestrOrder_args args) throws org.apache.thrift.TException { - averageKeyTimestr_result result = new averageKeyTimestr_result(); + getKeysRecordsTimestrOrder_result result = new getKeysRecordsTimestrOrder_result(); try { - result.success = iface.averageKeyTimestr(args.key, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.getKeysRecordsTimestrOrder(args.keys, + args.records, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47817,26 +55805,26 @@ public averageKeyTimestr_result getResult(I iface, } } - public static class averageKeyCriteria extends - org.apache.thrift.ProcessFunction { - public averageKeyCriteria() { - super("averageKeyCriteria"); + public static class getKeyCriteria extends + org.apache.thrift.ProcessFunction { + public getKeyCriteria() { + super("getKeyCriteria"); } - public averageKeyCriteria_args getEmptyArgsInstance() { - return new averageKeyCriteria_args(); + public getKeyCriteria_args getEmptyArgsInstance() { + return new getKeyCriteria_args(); } protected boolean isOneway() { return false; } - public averageKeyCriteria_result getResult(I iface, - averageKeyCriteria_args args) + public getKeyCriteria_result getResult(I iface, + getKeyCriteria_args args) throws org.apache.thrift.TException { - averageKeyCriteria_result result = new averageKeyCriteria_result(); + getKeyCriteria_result result = new getKeyCriteria_result(); try { - result.success = iface.averageKeyCriteria(args.key, + result.success = iface.getKeyCriteria(args.key, args.criteria, args.creds, args.transaction, args.environment); } @@ -47853,27 +55841,27 @@ public averageKeyCriteria_result getResult(I iface, } } - public static class averageKeyCriteriaTime extends - org.apache.thrift.ProcessFunction { - public averageKeyCriteriaTime() { - super("averageKeyCriteriaTime"); + public static class getKeyCriteriaOrder extends + org.apache.thrift.ProcessFunction { + public getKeyCriteriaOrder() { + super("getKeyCriteriaOrder"); } - public averageKeyCriteriaTime_args getEmptyArgsInstance() { - return new averageKeyCriteriaTime_args(); + public getKeyCriteriaOrder_args getEmptyArgsInstance() { + return new getKeyCriteriaOrder_args(); } protected boolean isOneway() { return false; } - public averageKeyCriteriaTime_result getResult(I iface, - averageKeyCriteriaTime_args args) + public getKeyCriteriaOrder_result getResult(I iface, + getKeyCriteriaOrder_args args) throws org.apache.thrift.TException { - averageKeyCriteriaTime_result result = new averageKeyCriteriaTime_result(); + getKeyCriteriaOrder_result result = new getKeyCriteriaOrder_result(); try { - result.success = iface.averageKeyCriteriaTime(args.key, - args.criteria, args.timestamp, args.creds, + result.success = iface.getKeyCriteriaOrder(args.key, + args.criteria, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -47889,28 +55877,26 @@ public averageKeyCriteriaTime_result getResult(I iface, } } - public static class averageKeyCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public averageKeyCriteriaTimestr() { - super("averageKeyCriteriaTimestr"); + public static class getCriteria + extends org.apache.thrift.ProcessFunction { + public getCriteria() { + super("getCriteria"); } - public averageKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new averageKeyCriteriaTimestr_args(); + public getCriteria_args getEmptyArgsInstance() { + return new getCriteria_args(); } protected boolean isOneway() { return false; } - public averageKeyCriteriaTimestr_result getResult(I iface, - averageKeyCriteriaTimestr_args args) + public getCriteria_result getResult(I iface, getCriteria_args args) throws org.apache.thrift.TException { - averageKeyCriteriaTimestr_result result = new averageKeyCriteriaTimestr_result(); + getCriteria_result result = new getCriteria_result(); try { - result.success = iface.averageKeyCriteriaTimestr(args.key, - args.criteria, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.getCriteria(args.criteria, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47918,37 +55904,35 @@ public averageKeyCriteriaTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class averageKeyCcl extends - org.apache.thrift.ProcessFunction { - public averageKeyCcl() { - super("averageKeyCcl"); + public static class getCriteriaOrder extends + org.apache.thrift.ProcessFunction { + public getCriteriaOrder() { + super("getCriteriaOrder"); } - public averageKeyCcl_args getEmptyArgsInstance() { - return new averageKeyCcl_args(); + public getCriteriaOrder_args getEmptyArgsInstance() { + return new getCriteriaOrder_args(); } protected boolean isOneway() { return false; } - public averageKeyCcl_result getResult(I iface, - averageKeyCcl_args args) + public getCriteriaOrder_result getResult(I iface, + getCriteriaOrder_args args) throws org.apache.thrift.TException { - averageKeyCcl_result result = new averageKeyCcl_result(); + getCriteriaOrder_result result = new getCriteriaOrder_result(); try { - result.success = iface.averageKeyCcl(args.key, args.ccl, - args.creds, args.transaction, args.environment); + result.success = iface.getCriteriaOrder(args.criteria, + args.order, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -47956,38 +55940,33 @@ public averageKeyCcl_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class averageKeyCclTime extends - org.apache.thrift.ProcessFunction { - public averageKeyCclTime() { - super("averageKeyCclTime"); + public static class getCcl + extends org.apache.thrift.ProcessFunction { + public getCcl() { + super("getCcl"); } - public averageKeyCclTime_args getEmptyArgsInstance() { - return new averageKeyCclTime_args(); + public getCcl_args getEmptyArgsInstance() { + return new getCcl_args(); } protected boolean isOneway() { return false; } - public averageKeyCclTime_result getResult(I iface, - averageKeyCclTime_args args) + public getCcl_result getResult(I iface, getCcl_args args) throws org.apache.thrift.TException { - averageKeyCclTime_result result = new averageKeyCclTime_result(); + getCcl_result result = new getCcl_result(); try { - result.success = iface.averageKeyCclTime(args.key, args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.getCcl(args.ccl, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48005,28 +55984,26 @@ public averageKeyCclTime_result getResult(I iface, } } - public static class averageKeyCclTimestr extends - org.apache.thrift.ProcessFunction { - public averageKeyCclTimestr() { - super("averageKeyCclTimestr"); + public static class getCclOrder + extends org.apache.thrift.ProcessFunction { + public getCclOrder() { + super("getCclOrder"); } - public averageKeyCclTimestr_args getEmptyArgsInstance() { - return new averageKeyCclTimestr_args(); + public getCclOrder_args getEmptyArgsInstance() { + return new getCclOrder_args(); } protected boolean isOneway() { return false; } - public averageKeyCclTimestr_result getResult(I iface, - averageKeyCclTimestr_args args) + public getCclOrder_result getResult(I iface, getCclOrder_args args) throws org.apache.thrift.TException { - averageKeyCclTimestr_result result = new averageKeyCclTimestr_result(); + getCclOrder_result result = new getCclOrder_result(); try { - result.success = iface.averageKeyCclTimestr(args.key, - args.ccl, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.getCclOrder(args.ccl, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48044,28 +56021,28 @@ public averageKeyCclTimestr_result getResult(I iface, } } - public static class countKeyRecord extends - org.apache.thrift.ProcessFunction { - public countKeyRecord() { - super("countKeyRecord"); + public static class getCriteriaTime extends + org.apache.thrift.ProcessFunction { + public getCriteriaTime() { + super("getCriteriaTime"); } - public countKeyRecord_args getEmptyArgsInstance() { - return new countKeyRecord_args(); + public getCriteriaTime_args getEmptyArgsInstance() { + return new getCriteriaTime_args(); } protected boolean isOneway() { return false; } - public countKeyRecord_result getResult(I iface, - countKeyRecord_args args) + public getCriteriaTime_result getResult(I iface, + getCriteriaTime_args args) throws org.apache.thrift.TException { - countKeyRecord_result result = new countKeyRecord_result(); + getCriteriaTime_result result = new getCriteriaTime_result(); try { - result.success = iface.countKeyRecord(args.key, args.record, - args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.getCriteriaTime(args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48080,29 +56057,28 @@ public countKeyRecord_result getResult(I iface, } } - public static class countKeyRecordTime extends - org.apache.thrift.ProcessFunction { - public countKeyRecordTime() { - super("countKeyRecordTime"); + public static class getCriteriaTimeOrder extends + org.apache.thrift.ProcessFunction { + public getCriteriaTimeOrder() { + super("getCriteriaTimeOrder"); } - public countKeyRecordTime_args getEmptyArgsInstance() { - return new countKeyRecordTime_args(); + public getCriteriaTimeOrder_args getEmptyArgsInstance() { + return new getCriteriaTimeOrder_args(); } protected boolean isOneway() { return false; } - public countKeyRecordTime_result getResult(I iface, - countKeyRecordTime_args args) + public getCriteriaTimeOrder_result getResult(I iface, + getCriteriaTimeOrder_args args) throws org.apache.thrift.TException { - countKeyRecordTime_result result = new countKeyRecordTime_result(); + getCriteriaTimeOrder_result result = new getCriteriaTimeOrder_result(); try { - result.success = iface.countKeyRecordTime(args.key, - args.record, args.timestamp, args.creds, + result.success = iface.getCriteriaTimeOrder(args.criteria, + args.timestamp, args.order, args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48117,29 +56093,28 @@ public countKeyRecordTime_result getResult(I iface, } } - public static class countKeyRecordTimestr extends - org.apache.thrift.ProcessFunction { - public countKeyRecordTimestr() { - super("countKeyRecordTimestr"); + public static class getCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public getCriteriaTimestr() { + super("getCriteriaTimestr"); } - public countKeyRecordTimestr_args getEmptyArgsInstance() { - return new countKeyRecordTimestr_args(); + public getCriteriaTimestr_args getEmptyArgsInstance() { + return new getCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public countKeyRecordTimestr_result getResult(I iface, - countKeyRecordTimestr_args args) + public getCriteriaTimestr_result getResult(I iface, + getCriteriaTimestr_args args) throws org.apache.thrift.TException { - countKeyRecordTimestr_result result = new countKeyRecordTimestr_result(); + getCriteriaTimestr_result result = new getCriteriaTimestr_result(); try { - result.success = iface.countKeyRecordTimestr(args.key, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.getCriteriaTimestr(args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48157,29 +56132,28 @@ public countKeyRecordTimestr_result getResult(I iface, } } - public static class countKeyRecords extends - org.apache.thrift.ProcessFunction { - public countKeyRecords() { - super("countKeyRecords"); + public static class getCriteriaTimestrOrder extends + org.apache.thrift.ProcessFunction { + public getCriteriaTimestrOrder() { + super("getCriteriaTimestrOrder"); } - public countKeyRecords_args getEmptyArgsInstance() { - return new countKeyRecords_args(); + public getCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new getCriteriaTimestrOrder_args(); } protected boolean isOneway() { return false; } - public countKeyRecords_result getResult(I iface, - countKeyRecords_args args) + public getCriteriaTimestrOrder_result getResult(I iface, + getCriteriaTimestrOrder_args args) throws org.apache.thrift.TException { - countKeyRecords_result result = new countKeyRecords_result(); + getCriteriaTimestrOrder_result result = new getCriteriaTimestrOrder_result(); try { - result.success = iface.countKeyRecords(args.key, - args.records, args.creds, args.transaction, - args.environment); - result.setSuccessIsSet(true); + result.success = iface.getCriteriaTimestrOrder( + args.criteria, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48187,36 +56161,36 @@ public countKeyRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class countKeyRecordsTime extends - org.apache.thrift.ProcessFunction { - public countKeyRecordsTime() { - super("countKeyRecordsTime"); + public static class getCclTime + extends org.apache.thrift.ProcessFunction { + public getCclTime() { + super("getCclTime"); } - public countKeyRecordsTime_args getEmptyArgsInstance() { - return new countKeyRecordsTime_args(); + public getCclTime_args getEmptyArgsInstance() { + return new getCclTime_args(); } protected boolean isOneway() { return false; } - public countKeyRecordsTime_result getResult(I iface, - countKeyRecordsTime_args args) + public getCclTime_result getResult(I iface, getCclTime_args args) throws org.apache.thrift.TException { - countKeyRecordsTime_result result = new countKeyRecordsTime_result(); + getCclTime_result result = new getCclTime_result(); try { - result.success = iface.countKeyRecordsTime(args.key, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.getCclTime(args.ccl, args.timestamp, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48224,36 +56198,38 @@ public countKeyRecordsTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class countKeyRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public countKeyRecordsTimestr() { - super("countKeyRecordsTimestr"); + public static class getCclTimeOrder extends + org.apache.thrift.ProcessFunction { + public getCclTimeOrder() { + super("getCclTimeOrder"); } - public countKeyRecordsTimestr_args getEmptyArgsInstance() { - return new countKeyRecordsTimestr_args(); + public getCclTimeOrder_args getEmptyArgsInstance() { + return new getCclTimeOrder_args(); } protected boolean isOneway() { return false; } - public countKeyRecordsTimestr_result getResult(I iface, - countKeyRecordsTimestr_args args) + public getCclTimeOrder_result getResult(I iface, + getCclTimeOrder_args args) throws org.apache.thrift.TException { - countKeyRecordsTimestr_result result = new countKeyRecordsTimestr_result(); + getCclTimeOrder_result result = new getCclTimeOrder_result(); try { - result.success = iface.countKeyRecordsTimestr(args.key, - args.records, args.timestamp, args.creds, + result.success = iface.getCclTimeOrder(args.ccl, + args.timestamp, args.order, args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48271,27 +56247,28 @@ public countKeyRecordsTimestr_result getResult(I iface, } } - public static class countKey - extends org.apache.thrift.ProcessFunction { - public countKey() { - super("countKey"); + public static class getCclTimestr extends + org.apache.thrift.ProcessFunction { + public getCclTimestr() { + super("getCclTimestr"); } - public countKey_args getEmptyArgsInstance() { - return new countKey_args(); + public getCclTimestr_args getEmptyArgsInstance() { + return new getCclTimestr_args(); } protected boolean isOneway() { return false; } - public countKey_result getResult(I iface, countKey_args args) + public getCclTimestr_result getResult(I iface, + getCclTimestr_args args) throws org.apache.thrift.TException { - countKey_result result = new countKey_result(); + getCclTimestr_result result = new getCclTimestr_result(); try { - result.success = iface.countKey(args.key, args.creds, - args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.getCclTimestr(args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48299,36 +56276,38 @@ public countKey_result getResult(I iface, countKey_args args) catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class countKeyTime extends - org.apache.thrift.ProcessFunction { - public countKeyTime() { - super("countKeyTime"); + public static class getCclTimestrOrder extends + org.apache.thrift.ProcessFunction { + public getCclTimestrOrder() { + super("getCclTimestrOrder"); } - public countKeyTime_args getEmptyArgsInstance() { - return new countKeyTime_args(); + public getCclTimestrOrder_args getEmptyArgsInstance() { + return new getCclTimestrOrder_args(); } protected boolean isOneway() { return false; } - public countKeyTime_result getResult(I iface, - countKeyTime_args args) + public getCclTimestrOrder_result getResult(I iface, + getCclTimestrOrder_args args) throws org.apache.thrift.TException { - countKeyTime_result result = new countKeyTime_result(); + getCclTimestrOrder_result result = new getCclTimestrOrder_result(); try { - result.success = iface.countKeyTime(args.key, - args.timestamp, args.creds, args.transaction, - args.environment); - result.setSuccessIsSet(true); + result.success = iface.getCclTimestrOrder(args.ccl, + args.timestamp, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48336,36 +56315,36 @@ public countKeyTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class countKeyTimestr extends - org.apache.thrift.ProcessFunction { - public countKeyTimestr() { - super("countKeyTimestr"); + public static class getKeyCcl + extends org.apache.thrift.ProcessFunction { + public getKeyCcl() { + super("getKeyCcl"); } - public countKeyTimestr_args getEmptyArgsInstance() { - return new countKeyTimestr_args(); + public getKeyCcl_args getEmptyArgsInstance() { + return new getKeyCcl_args(); } protected boolean isOneway() { return false; } - public countKeyTimestr_result getResult(I iface, - countKeyTimestr_args args) + public getKeyCcl_result getResult(I iface, getKeyCcl_args args) throws org.apache.thrift.TException { - countKeyTimestr_result result = new countKeyTimestr_result(); + getKeyCcl_result result = new getKeyCcl_result(); try { - result.success = iface.countKeyTimestr(args.key, - args.timestamp, args.creds, args.transaction, - args.environment); - result.setSuccessIsSet(true); + result.success = iface.getKeyCcl(args.key, args.ccl, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48383,29 +56362,28 @@ public countKeyTimestr_result getResult(I iface, } } - public static class countKeyCriteria extends - org.apache.thrift.ProcessFunction { - public countKeyCriteria() { - super("countKeyCriteria"); + public static class getKeyCclOrder extends + org.apache.thrift.ProcessFunction { + public getKeyCclOrder() { + super("getKeyCclOrder"); } - public countKeyCriteria_args getEmptyArgsInstance() { - return new countKeyCriteria_args(); + public getKeyCclOrder_args getEmptyArgsInstance() { + return new getKeyCclOrder_args(); } protected boolean isOneway() { return false; } - public countKeyCriteria_result getResult(I iface, - countKeyCriteria_args args) + public getKeyCclOrder_result getResult(I iface, + getKeyCclOrder_args args) throws org.apache.thrift.TException { - countKeyCriteria_result result = new countKeyCriteria_result(); + getKeyCclOrder_result result = new getKeyCclOrder_result(); try { - result.success = iface.countKeyCriteria(args.key, - args.criteria, args.creds, args.transaction, + result.success = iface.getKeyCclOrder(args.key, args.ccl, + args.order, args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48413,36 +56391,38 @@ public countKeyCriteria_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class countKeyCriteriaTime extends - org.apache.thrift.ProcessFunction { - public countKeyCriteriaTime() { - super("countKeyCriteriaTime"); + public static class getKeyCriteriaTime extends + org.apache.thrift.ProcessFunction { + public getKeyCriteriaTime() { + super("getKeyCriteriaTime"); } - public countKeyCriteriaTime_args getEmptyArgsInstance() { - return new countKeyCriteriaTime_args(); + public getKeyCriteriaTime_args getEmptyArgsInstance() { + return new getKeyCriteriaTime_args(); } protected boolean isOneway() { return false; } - public countKeyCriteriaTime_result getResult(I iface, - countKeyCriteriaTime_args args) + public getKeyCriteriaTime_result getResult(I iface, + getKeyCriteriaTime_args args) throws org.apache.thrift.TException { - countKeyCriteriaTime_result result = new countKeyCriteriaTime_result(); + getKeyCriteriaTime_result result = new getKeyCriteriaTime_result(); try { - result.success = iface.countKeyCriteriaTime(args.key, + result.success = iface.getKeyCriteriaTime(args.key, args.criteria, args.timestamp, args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48450,39 +56430,35 @@ public countKeyCriteriaTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class countKeyCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public countKeyCriteriaTimestr() { - super("countKeyCriteriaTimestr"); + public static class getKeyCriteriaTimeOrder extends + org.apache.thrift.ProcessFunction { + public getKeyCriteriaTimeOrder() { + super("getKeyCriteriaTimeOrder"); } - public countKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new countKeyCriteriaTimestr_args(); + public getKeyCriteriaTimeOrder_args getEmptyArgsInstance() { + return new getKeyCriteriaTimeOrder_args(); } protected boolean isOneway() { return false; } - public countKeyCriteriaTimestr_result getResult(I iface, - countKeyCriteriaTimestr_args args) + public getKeyCriteriaTimeOrder_result getResult(I iface, + getKeyCriteriaTimeOrder_args args) throws org.apache.thrift.TException { - countKeyCriteriaTimestr_result result = new countKeyCriteriaTimestr_result(); + getKeyCriteriaTimeOrder_result result = new getKeyCriteriaTimeOrder_result(); try { - result.success = iface.countKeyCriteriaTimestr(args.key, - args.criteria, args.timestamp, args.creds, - args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.getKeyCriteriaTimeOrder(args.key, + args.criteria, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48490,37 +56466,35 @@ public countKeyCriteriaTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class countKeyCcl - extends org.apache.thrift.ProcessFunction { - public countKeyCcl() { - super("countKeyCcl"); + public static class getKeyCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public getKeyCriteriaTimestr() { + super("getKeyCriteriaTimestr"); } - public countKeyCcl_args getEmptyArgsInstance() { - return new countKeyCcl_args(); + public getKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new getKeyCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public countKeyCcl_result getResult(I iface, countKeyCcl_args args) + public getKeyCriteriaTimestr_result getResult(I iface, + getKeyCriteriaTimestr_args args) throws org.apache.thrift.TException { - countKeyCcl_result result = new countKeyCcl_result(); + getKeyCriteriaTimestr_result result = new getKeyCriteriaTimestr_result(); try { - result.success = iface.countKeyCcl(args.key, args.ccl, - args.creds, args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.getKeyCriteriaTimestr(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48538,29 +56512,28 @@ public countKeyCcl_result getResult(I iface, countKeyCcl_args args) } } - public static class countKeyCclTime extends - org.apache.thrift.ProcessFunction { - public countKeyCclTime() { - super("countKeyCclTime"); + public static class getKeyCriteriaTimestrOrder extends + org.apache.thrift.ProcessFunction { + public getKeyCriteriaTimestrOrder() { + super("getKeyCriteriaTimestrOrder"); } - public countKeyCclTime_args getEmptyArgsInstance() { - return new countKeyCclTime_args(); + public getKeyCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new getKeyCriteriaTimestrOrder_args(); } protected boolean isOneway() { return false; } - public countKeyCclTime_result getResult(I iface, - countKeyCclTime_args args) + public getKeyCriteriaTimestrOrder_result getResult(I iface, + getKeyCriteriaTimestrOrder_args args) throws org.apache.thrift.TException { - countKeyCclTime_result result = new countKeyCclTime_result(); + getKeyCriteriaTimestrOrder_result result = new getKeyCriteriaTimestrOrder_result(); try { - result.success = iface.countKeyCclTime(args.key, args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); - result.setSuccessIsSet(true); + result.success = iface.getKeyCriteriaTimestrOrder(args.key, + args.criteria, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48578,29 +56551,28 @@ public countKeyCclTime_result getResult(I iface, } } - public static class countKeyCclTimestr extends - org.apache.thrift.ProcessFunction { - public countKeyCclTimestr() { - super("countKeyCclTimestr"); + public static class getKeyCclTime extends + org.apache.thrift.ProcessFunction { + public getKeyCclTime() { + super("getKeyCclTime"); } - public countKeyCclTimestr_args getEmptyArgsInstance() { - return new countKeyCclTimestr_args(); + public getKeyCclTime_args getEmptyArgsInstance() { + return new getKeyCclTime_args(); } protected boolean isOneway() { return false; } - public countKeyCclTimestr_result getResult(I iface, - countKeyCclTimestr_args args) + public getKeyCclTime_result getResult(I iface, + getKeyCclTime_args args) throws org.apache.thrift.TException { - countKeyCclTimestr_result result = new countKeyCclTimestr_result(); + getKeyCclTime_result result = new getKeyCclTime_result(); try { - result.success = iface.countKeyCclTimestr(args.key, - args.ccl, args.timestamp, args.creds, - args.transaction, args.environment); - result.setSuccessIsSet(true); + result.success = iface.getKeyCclTime(args.key, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48618,27 +56590,28 @@ public countKeyCclTimestr_result getResult(I iface, } } - public static class maxKeyRecord extends - org.apache.thrift.ProcessFunction { - public maxKeyRecord() { - super("maxKeyRecord"); + public static class getKeyCclTimeOrder extends + org.apache.thrift.ProcessFunction { + public getKeyCclTimeOrder() { + super("getKeyCclTimeOrder"); } - public maxKeyRecord_args getEmptyArgsInstance() { - return new maxKeyRecord_args(); + public getKeyCclTimeOrder_args getEmptyArgsInstance() { + return new getKeyCclTimeOrder_args(); } protected boolean isOneway() { return false; } - public maxKeyRecord_result getResult(I iface, - maxKeyRecord_args args) + public getKeyCclTimeOrder_result getResult(I iface, + getKeyCclTimeOrder_args args) throws org.apache.thrift.TException { - maxKeyRecord_result result = new maxKeyRecord_result(); + getKeyCclTimeOrder_result result = new getKeyCclTimeOrder_result(); try { - result.success = iface.maxKeyRecord(args.key, args.record, - args.creds, args.transaction, args.environment); + result.success = iface.getKeyCclTimeOrder(args.key, + args.ccl, args.timestamp, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48646,35 +56619,38 @@ public maxKeyRecord_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class maxKeyRecordTime extends - org.apache.thrift.ProcessFunction { - public maxKeyRecordTime() { - super("maxKeyRecordTime"); + public static class getKeyCclTimestr extends + org.apache.thrift.ProcessFunction { + public getKeyCclTimestr() { + super("getKeyCclTimestr"); } - public maxKeyRecordTime_args getEmptyArgsInstance() { - return new maxKeyRecordTime_args(); + public getKeyCclTimestr_args getEmptyArgsInstance() { + return new getKeyCclTimestr_args(); } protected boolean isOneway() { return false; } - public maxKeyRecordTime_result getResult(I iface, - maxKeyRecordTime_args args) + public getKeyCclTimestr_result getResult(I iface, + getKeyCclTimestr_args args) throws org.apache.thrift.TException { - maxKeyRecordTime_result result = new maxKeyRecordTime_result(); + getKeyCclTimestr_result result = new getKeyCclTimestr_result(); try { - result.success = iface.maxKeyRecordTime(args.key, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.getKeyCclTimestr(args.key, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48682,34 +56658,37 @@ public maxKeyRecordTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class maxKeyRecordTimestr extends - org.apache.thrift.ProcessFunction { - public maxKeyRecordTimestr() { - super("maxKeyRecordTimestr"); + public static class getKeyCclTimestrOrder extends + org.apache.thrift.ProcessFunction { + public getKeyCclTimestrOrder() { + super("getKeyCclTimestrOrder"); } - public maxKeyRecordTimestr_args getEmptyArgsInstance() { - return new maxKeyRecordTimestr_args(); + public getKeyCclTimestrOrder_args getEmptyArgsInstance() { + return new getKeyCclTimestrOrder_args(); } protected boolean isOneway() { return false; } - public maxKeyRecordTimestr_result getResult(I iface, - maxKeyRecordTimestr_args args) + public getKeyCclTimestrOrder_result getResult(I iface, + getKeyCclTimestrOrder_args args) throws org.apache.thrift.TException { - maxKeyRecordTimestr_result result = new maxKeyRecordTimestr_result(); + getKeyCclTimestrOrder_result result = new getKeyCclTimestrOrder_result(); try { - result.success = iface.maxKeyRecordTimestr(args.key, - args.record, args.timestamp, args.creds, + result.success = iface.getKeyCclTimestrOrder(args.key, + args.ccl, args.timestamp, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -48728,27 +56707,28 @@ public maxKeyRecordTimestr_result getResult(I iface, } } - public static class maxKeyRecords extends - org.apache.thrift.ProcessFunction { - public maxKeyRecords() { - super("maxKeyRecords"); + public static class getKeysCriteria extends + org.apache.thrift.ProcessFunction { + public getKeysCriteria() { + super("getKeysCriteria"); } - public maxKeyRecords_args getEmptyArgsInstance() { - return new maxKeyRecords_args(); + public getKeysCriteria_args getEmptyArgsInstance() { + return new getKeysCriteria_args(); } protected boolean isOneway() { return false; } - public maxKeyRecords_result getResult(I iface, - maxKeyRecords_args args) + public getKeysCriteria_result getResult(I iface, + getKeysCriteria_args args) throws org.apache.thrift.TException { - maxKeyRecords_result result = new maxKeyRecords_result(); + getKeysCriteria_result result = new getKeysCriteria_result(); try { - result.success = iface.maxKeyRecords(args.key, args.records, - args.creds, args.transaction, args.environment); + result.success = iface.getKeysCriteria(args.keys, + args.criteria, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48763,27 +56743,27 @@ public maxKeyRecords_result getResult(I iface, } } - public static class maxKeyRecordsTime extends - org.apache.thrift.ProcessFunction { - public maxKeyRecordsTime() { - super("maxKeyRecordsTime"); + public static class getKeysCriteriaOrder extends + org.apache.thrift.ProcessFunction { + public getKeysCriteriaOrder() { + super("getKeysCriteriaOrder"); } - public maxKeyRecordsTime_args getEmptyArgsInstance() { - return new maxKeyRecordsTime_args(); + public getKeysCriteriaOrder_args getEmptyArgsInstance() { + return new getKeysCriteriaOrder_args(); } protected boolean isOneway() { return false; } - public maxKeyRecordsTime_result getResult(I iface, - maxKeyRecordsTime_args args) + public getKeysCriteriaOrder_result getResult(I iface, + getKeysCriteriaOrder_args args) throws org.apache.thrift.TException { - maxKeyRecordsTime_result result = new maxKeyRecordsTime_result(); + getKeysCriteriaOrder_result result = new getKeysCriteriaOrder_result(); try { - result.success = iface.maxKeyRecordsTime(args.key, - args.records, args.timestamp, args.creds, + result.success = iface.getKeysCriteriaOrder(args.keys, + args.criteria, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -48799,28 +56779,26 @@ public maxKeyRecordsTime_result getResult(I iface, } } - public static class maxKeyRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public maxKeyRecordsTimestr() { - super("maxKeyRecordsTimestr"); + public static class getKeysCcl + extends org.apache.thrift.ProcessFunction { + public getKeysCcl() { + super("getKeysCcl"); } - public maxKeyRecordsTimestr_args getEmptyArgsInstance() { - return new maxKeyRecordsTimestr_args(); + public getKeysCcl_args getEmptyArgsInstance() { + return new getKeysCcl_args(); } protected boolean isOneway() { return false; } - public maxKeyRecordsTimestr_result getResult(I iface, - maxKeyRecordsTimestr_args args) + public getKeysCcl_result getResult(I iface, getKeysCcl_args args) throws org.apache.thrift.TException { - maxKeyRecordsTimestr_result result = new maxKeyRecordsTimestr_result(); + getKeysCcl_result result = new getKeysCcl_result(); try { - result.success = iface.maxKeyRecordsTimestr(args.key, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.getKeysCcl(args.keys, args.ccl, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48838,27 +56816,27 @@ public maxKeyRecordsTimestr_result getResult(I iface, } } - public static class maxKeyCriteria extends - org.apache.thrift.ProcessFunction { - public maxKeyCriteria() { - super("maxKeyCriteria"); + public static class getKeysCclOrder extends + org.apache.thrift.ProcessFunction { + public getKeysCclOrder() { + super("getKeysCclOrder"); } - public maxKeyCriteria_args getEmptyArgsInstance() { - return new maxKeyCriteria_args(); + public getKeysCclOrder_args getEmptyArgsInstance() { + return new getKeysCclOrder_args(); } protected boolean isOneway() { return false; } - public maxKeyCriteria_result getResult(I iface, - maxKeyCriteria_args args) + public getKeysCclOrder_result getResult(I iface, + getKeysCclOrder_args args) throws org.apache.thrift.TException { - maxKeyCriteria_result result = new maxKeyCriteria_result(); + getKeysCclOrder_result result = new getKeysCclOrder_result(); try { - result.success = iface.maxKeyCriteria(args.key, - args.criteria, args.creds, args.transaction, + result.success = iface.getKeysCclOrder(args.keys, args.ccl, + args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -48867,33 +56845,36 @@ public maxKeyCriteria_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class maxKeyCriteriaTime extends - org.apache.thrift.ProcessFunction { - public maxKeyCriteriaTime() { - super("maxKeyCriteriaTime"); + public static class getKeysCriteriaTime extends + org.apache.thrift.ProcessFunction { + public getKeysCriteriaTime() { + super("getKeysCriteriaTime"); } - public maxKeyCriteriaTime_args getEmptyArgsInstance() { - return new maxKeyCriteriaTime_args(); + public getKeysCriteriaTime_args getEmptyArgsInstance() { + return new getKeysCriteriaTime_args(); } protected boolean isOneway() { return false; } - public maxKeyCriteriaTime_result getResult(I iface, - maxKeyCriteriaTime_args args) + public getKeysCriteriaTime_result getResult(I iface, + getKeysCriteriaTime_args args) throws org.apache.thrift.TException { - maxKeyCriteriaTime_result result = new maxKeyCriteriaTime_result(); + getKeysCriteriaTime_result result = new getKeysCriteriaTime_result(); try { - result.success = iface.maxKeyCriteriaTime(args.key, + result.success = iface.getKeysCriteriaTime(args.keys, args.criteria, args.timestamp, args.creds, args.transaction, args.environment); } @@ -48910,28 +56891,28 @@ public maxKeyCriteriaTime_result getResult(I iface, } } - public static class maxKeyCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public maxKeyCriteriaTimestr() { - super("maxKeyCriteriaTimestr"); + public static class getKeysCriteriaTimeOrder extends + org.apache.thrift.ProcessFunction { + public getKeysCriteriaTimeOrder() { + super("getKeysCriteriaTimeOrder"); } - public maxKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new maxKeyCriteriaTimestr_args(); + public getKeysCriteriaTimeOrder_args getEmptyArgsInstance() { + return new getKeysCriteriaTimeOrder_args(); } protected boolean isOneway() { return false; } - public maxKeyCriteriaTimestr_result getResult(I iface, - maxKeyCriteriaTimestr_args args) + public getKeysCriteriaTimeOrder_result getResult(I iface, + getKeysCriteriaTimeOrder_args args) throws org.apache.thrift.TException { - maxKeyCriteriaTimestr_result result = new maxKeyCriteriaTimestr_result(); + getKeysCriteriaTimeOrder_result result = new getKeysCriteriaTimeOrder_result(); try { - result.success = iface.maxKeyCriteriaTimestr(args.key, - args.criteria, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.getKeysCriteriaTimeOrder(args.keys, + args.criteria, args.timestamp, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48939,36 +56920,35 @@ public maxKeyCriteriaTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class maxKeyCcl - extends org.apache.thrift.ProcessFunction { - public maxKeyCcl() { - super("maxKeyCcl"); + public static class getKeysCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public getKeysCriteriaTimestr() { + super("getKeysCriteriaTimestr"); } - public maxKeyCcl_args getEmptyArgsInstance() { - return new maxKeyCcl_args(); + public getKeysCriteriaTimestr_args getEmptyArgsInstance() { + return new getKeysCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public maxKeyCcl_result getResult(I iface, maxKeyCcl_args args) + public getKeysCriteriaTimestr_result getResult(I iface, + getKeysCriteriaTimestr_args args) throws org.apache.thrift.TException { - maxKeyCcl_result result = new maxKeyCcl_result(); + getKeysCriteriaTimestr_result result = new getKeysCriteriaTimestr_result(); try { - result.success = iface.maxKeyCcl(args.key, args.ccl, - args.creds, args.transaction, args.environment); + result.success = iface.getKeysCriteriaTimestr(args.keys, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -48986,27 +56966,28 @@ public maxKeyCcl_result getResult(I iface, maxKeyCcl_args args) } } - public static class maxKeyCclTime extends - org.apache.thrift.ProcessFunction { - public maxKeyCclTime() { - super("maxKeyCclTime"); + public static class getKeysCriteriaTimestrOrder extends + org.apache.thrift.ProcessFunction { + public getKeysCriteriaTimestrOrder() { + super("getKeysCriteriaTimestrOrder"); } - public maxKeyCclTime_args getEmptyArgsInstance() { - return new maxKeyCclTime_args(); + public getKeysCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new getKeysCriteriaTimestrOrder_args(); } protected boolean isOneway() { return false; } - public maxKeyCclTime_result getResult(I iface, - maxKeyCclTime_args args) + public getKeysCriteriaTimestrOrder_result getResult(I iface, + getKeysCriteriaTimestrOrder_args args) throws org.apache.thrift.TException { - maxKeyCclTime_result result = new maxKeyCclTime_result(); + getKeysCriteriaTimestrOrder_result result = new getKeysCriteriaTimestrOrder_result(); try { - result.success = iface.maxKeyCclTime(args.key, args.ccl, - args.timestamp, args.creds, args.transaction, + result.success = iface.getKeysCriteriaTimestrOrder( + args.keys, args.criteria, args.timestamp, + args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -49025,26 +57006,26 @@ public maxKeyCclTime_result getResult(I iface, } } - public static class maxKeyCclTimestr extends - org.apache.thrift.ProcessFunction { - public maxKeyCclTimestr() { - super("maxKeyCclTimestr"); + public static class getKeysCclTime extends + org.apache.thrift.ProcessFunction { + public getKeysCclTime() { + super("getKeysCclTime"); } - public maxKeyCclTimestr_args getEmptyArgsInstance() { - return new maxKeyCclTimestr_args(); + public getKeysCclTime_args getEmptyArgsInstance() { + return new getKeysCclTime_args(); } protected boolean isOneway() { return false; } - public maxKeyCclTimestr_result getResult(I iface, - maxKeyCclTimestr_args args) + public getKeysCclTime_result getResult(I iface, + getKeysCclTime_args args) throws org.apache.thrift.TException { - maxKeyCclTimestr_result result = new maxKeyCclTimestr_result(); + getKeysCclTime_result result = new getKeysCclTime_result(); try { - result.success = iface.maxKeyCclTimestr(args.key, args.ccl, + result.success = iface.getKeysCclTime(args.keys, args.ccl, args.timestamp, args.creds, args.transaction, args.environment); } @@ -49064,25 +57045,27 @@ public maxKeyCclTimestr_result getResult(I iface, } } - public static class maxKey - extends org.apache.thrift.ProcessFunction { - public maxKey() { - super("maxKey"); + public static class getKeysCclTimeOrder extends + org.apache.thrift.ProcessFunction { + public getKeysCclTimeOrder() { + super("getKeysCclTimeOrder"); } - public maxKey_args getEmptyArgsInstance() { - return new maxKey_args(); + public getKeysCclTimeOrder_args getEmptyArgsInstance() { + return new getKeysCclTimeOrder_args(); } protected boolean isOneway() { return false; } - public maxKey_result getResult(I iface, maxKey_args args) + public getKeysCclTimeOrder_result getResult(I iface, + getKeysCclTimeOrder_args args) throws org.apache.thrift.TException { - maxKey_result result = new maxKey_result(); + getKeysCclTimeOrder_result result = new getKeysCclTimeOrder_result(); try { - result.success = iface.maxKey(args.key, args.creds, + result.success = iface.getKeysCclTimeOrder(args.keys, + args.ccl, args.timestamp, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -49091,33 +57074,38 @@ public maxKey_result getResult(I iface, maxKey_args args) catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class maxKeyTime - extends org.apache.thrift.ProcessFunction { - public maxKeyTime() { - super("maxKeyTime"); + public static class getKeysCclTimestr extends + org.apache.thrift.ProcessFunction { + public getKeysCclTimestr() { + super("getKeysCclTimestr"); } - public maxKeyTime_args getEmptyArgsInstance() { - return new maxKeyTime_args(); + public getKeysCclTimestr_args getEmptyArgsInstance() { + return new getKeysCclTimestr_args(); } protected boolean isOneway() { return false; } - public maxKeyTime_result getResult(I iface, maxKeyTime_args args) + public getKeysCclTimestr_result getResult(I iface, + getKeysCclTimestr_args args) throws org.apache.thrift.TException { - maxKeyTime_result result = new maxKeyTime_result(); + getKeysCclTimestr_result result = new getKeysCclTimestr_result(); try { - result.success = iface.maxKeyTime(args.key, args.timestamp, - args.creds, args.transaction, args.environment); + result.success = iface.getKeysCclTimestr(args.keys, + args.ccl, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49125,35 +57113,38 @@ public maxKeyTime_result getResult(I iface, maxKeyTime_args args) catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class maxKeyTimestr extends - org.apache.thrift.ProcessFunction { - public maxKeyTimestr() { - super("maxKeyTimestr"); + public static class getKeysCclTimestrOrder extends + org.apache.thrift.ProcessFunction { + public getKeysCclTimestrOrder() { + super("getKeysCclTimestrOrder"); } - public maxKeyTimestr_args getEmptyArgsInstance() { - return new maxKeyTimestr_args(); + public getKeysCclTimestrOrder_args getEmptyArgsInstance() { + return new getKeysCclTimestrOrder_args(); } protected boolean isOneway() { return false; } - public maxKeyTimestr_result getResult(I iface, - maxKeyTimestr_args args) + public getKeysCclTimestrOrder_result getResult(I iface, + getKeysCclTimestrOrder_args args) throws org.apache.thrift.TException { - maxKeyTimestr_result result = new maxKeyTimestr_result(); + getKeysCclTimestrOrder_result result = new getKeysCclTimestrOrder_result(); try { - result.success = iface.maxKeyTimestr(args.key, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.getKeysCclTimestrOrder(args.keys, + args.ccl, args.timestamp, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49171,27 +57162,29 @@ public maxKeyTimestr_result getResult(I iface, } } - public static class minKeyRecord extends - org.apache.thrift.ProcessFunction { - public minKeyRecord() { - super("minKeyRecord"); + public static class verifyKeyValueRecord extends + org.apache.thrift.ProcessFunction { + public verifyKeyValueRecord() { + super("verifyKeyValueRecord"); } - public minKeyRecord_args getEmptyArgsInstance() { - return new minKeyRecord_args(); + public verifyKeyValueRecord_args getEmptyArgsInstance() { + return new verifyKeyValueRecord_args(); } protected boolean isOneway() { return false; } - public minKeyRecord_result getResult(I iface, - minKeyRecord_args args) + public verifyKeyValueRecord_result getResult(I iface, + verifyKeyValueRecord_args args) throws org.apache.thrift.TException { - minKeyRecord_result result = new minKeyRecord_result(); + verifyKeyValueRecord_result result = new verifyKeyValueRecord_result(); try { - result.success = iface.minKeyRecord(args.key, args.record, - args.creds, args.transaction, args.environment); + result.success = iface.verifyKeyValueRecord(args.key, + args.value, args.record, args.creds, + args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49206,28 +57199,29 @@ public minKeyRecord_result getResult(I iface, } } - public static class minKeyRecordTime extends - org.apache.thrift.ProcessFunction { - public minKeyRecordTime() { - super("minKeyRecordTime"); + public static class verifyKeyValueRecordTime extends + org.apache.thrift.ProcessFunction { + public verifyKeyValueRecordTime() { + super("verifyKeyValueRecordTime"); } - public minKeyRecordTime_args getEmptyArgsInstance() { - return new minKeyRecordTime_args(); + public verifyKeyValueRecordTime_args getEmptyArgsInstance() { + return new verifyKeyValueRecordTime_args(); } protected boolean isOneway() { return false; } - public minKeyRecordTime_result getResult(I iface, - minKeyRecordTime_args args) + public verifyKeyValueRecordTime_result getResult(I iface, + verifyKeyValueRecordTime_args args) throws org.apache.thrift.TException { - minKeyRecordTime_result result = new minKeyRecordTime_result(); + verifyKeyValueRecordTime_result result = new verifyKeyValueRecordTime_result(); try { - result.success = iface.minKeyRecordTime(args.key, - args.record, args.timestamp, args.creds, + result.success = iface.verifyKeyValueRecordTime(args.key, + args.value, args.record, args.timestamp, args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49242,28 +57236,29 @@ public minKeyRecordTime_result getResult(I iface, } } - public static class minKeyRecordTimestr extends - org.apache.thrift.ProcessFunction { - public minKeyRecordTimestr() { - super("minKeyRecordTimestr"); + public static class verifyKeyValueRecordTimestr extends + org.apache.thrift.ProcessFunction { + public verifyKeyValueRecordTimestr() { + super("verifyKeyValueRecordTimestr"); } - public minKeyRecordTimestr_args getEmptyArgsInstance() { - return new minKeyRecordTimestr_args(); + public verifyKeyValueRecordTimestr_args getEmptyArgsInstance() { + return new verifyKeyValueRecordTimestr_args(); } protected boolean isOneway() { return false; } - public minKeyRecordTimestr_result getResult(I iface, - minKeyRecordTimestr_args args) + public verifyKeyValueRecordTimestr_result getResult(I iface, + verifyKeyValueRecordTimestr_args args) throws org.apache.thrift.TException { - minKeyRecordTimestr_result result = new minKeyRecordTimestr_result(); + verifyKeyValueRecordTimestr_result result = new verifyKeyValueRecordTimestr_result(); try { - result.success = iface.minKeyRecordTimestr(args.key, - args.record, args.timestamp, args.creds, + result.success = iface.verifyKeyValueRecordTimestr(args.key, + args.value, args.record, args.timestamp, args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49281,26 +57276,28 @@ public minKeyRecordTimestr_result getResult(I iface, } } - public static class minKey - extends org.apache.thrift.ProcessFunction { - public minKey() { - super("minKey"); + public static class jsonifyRecords extends + org.apache.thrift.ProcessFunction { + public jsonifyRecords() { + super("jsonifyRecords"); } - public minKey_args getEmptyArgsInstance() { - return new minKey_args(); + public jsonifyRecords_args getEmptyArgsInstance() { + return new jsonifyRecords_args(); } protected boolean isOneway() { return false; } - public minKey_result getResult(I iface, minKey_args args) + public jsonifyRecords_result getResult(I iface, + jsonifyRecords_args args) throws org.apache.thrift.TException { - minKey_result result = new minKey_result(); + jsonifyRecords_result result = new jsonifyRecords_result(); try { - result.success = iface.minKey(args.key, args.creds, - args.transaction, args.environment); + result.success = iface.jsonifyRecords(args.records, + args.identifier, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49315,27 +57312,27 @@ public minKey_result getResult(I iface, minKey_args args) } } - public static class minKeyRecordsTime extends - org.apache.thrift.ProcessFunction { - public minKeyRecordsTime() { - super("minKeyRecordsTime"); + public static class jsonifyRecordsTime extends + org.apache.thrift.ProcessFunction { + public jsonifyRecordsTime() { + super("jsonifyRecordsTime"); } - public minKeyRecordsTime_args getEmptyArgsInstance() { - return new minKeyRecordsTime_args(); + public jsonifyRecordsTime_args getEmptyArgsInstance() { + return new jsonifyRecordsTime_args(); } protected boolean isOneway() { return false; } - public minKeyRecordsTime_result getResult(I iface, - minKeyRecordsTime_args args) + public jsonifyRecordsTime_result getResult(I iface, + jsonifyRecordsTime_args args) throws org.apache.thrift.TException { - minKeyRecordsTime_result result = new minKeyRecordsTime_result(); + jsonifyRecordsTime_result result = new jsonifyRecordsTime_result(); try { - result.success = iface.minKeyRecordsTime(args.key, - args.records, args.timestamp, args.creds, + result.success = iface.jsonifyRecordsTime(args.records, + args.timestamp, args.identifier, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -49351,27 +57348,27 @@ public minKeyRecordsTime_result getResult(I iface, } } - public static class minKeyRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public minKeyRecordsTimestr() { - super("minKeyRecordsTimestr"); + public static class jsonifyRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public jsonifyRecordsTimestr() { + super("jsonifyRecordsTimestr"); } - public minKeyRecordsTimestr_args getEmptyArgsInstance() { - return new minKeyRecordsTimestr_args(); + public jsonifyRecordsTimestr_args getEmptyArgsInstance() { + return new jsonifyRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public minKeyRecordsTimestr_result getResult(I iface, - minKeyRecordsTimestr_args args) + public jsonifyRecordsTimestr_result getResult(I iface, + jsonifyRecordsTimestr_args args) throws org.apache.thrift.TException { - minKeyRecordsTimestr_result result = new minKeyRecordsTimestr_result(); + jsonifyRecordsTimestr_result result = new jsonifyRecordsTimestr_result(); try { - result.success = iface.minKeyRecordsTimestr(args.key, - args.records, args.timestamp, args.creds, + result.success = iface.jsonifyRecordsTimestr(args.records, + args.timestamp, args.identifier, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -49390,28 +57387,27 @@ public minKeyRecordsTimestr_result getResult(I iface, } } - public static class minKeyCriteria extends - org.apache.thrift.ProcessFunction { - public minKeyCriteria() { - super("minKeyCriteria"); + public static class findCriteria extends + org.apache.thrift.ProcessFunction { + public findCriteria() { + super("findCriteria"); } - public minKeyCriteria_args getEmptyArgsInstance() { - return new minKeyCriteria_args(); + public findCriteria_args getEmptyArgsInstance() { + return new findCriteria_args(); } protected boolean isOneway() { return false; } - public minKeyCriteria_result getResult(I iface, - minKeyCriteria_args args) + public findCriteria_result getResult(I iface, + findCriteria_args args) throws org.apache.thrift.TException { - minKeyCriteria_result result = new minKeyCriteria_result(); + findCriteria_result result = new findCriteria_result(); try { - result.success = iface.minKeyCriteria(args.key, - args.criteria, args.creds, args.transaction, - args.environment); + result.success = iface.findCriteria(args.criteria, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49426,28 +57422,28 @@ public minKeyCriteria_result getResult(I iface, } } - public static class minKeyCriteriaTime extends - org.apache.thrift.ProcessFunction { - public minKeyCriteriaTime() { - super("minKeyCriteriaTime"); + public static class findCriteriaOrder extends + org.apache.thrift.ProcessFunction { + public findCriteriaOrder() { + super("findCriteriaOrder"); } - public minKeyCriteriaTime_args getEmptyArgsInstance() { - return new minKeyCriteriaTime_args(); + public findCriteriaOrder_args getEmptyArgsInstance() { + return new findCriteriaOrder_args(); } protected boolean isOneway() { return false; } - public minKeyCriteriaTime_result getResult(I iface, - minKeyCriteriaTime_args args) + public findCriteriaOrder_result getResult(I iface, + findCriteriaOrder_args args) throws org.apache.thrift.TException { - minKeyCriteriaTime_result result = new minKeyCriteriaTime_result(); + findCriteriaOrder_result result = new findCriteriaOrder_result(); try { - result.success = iface.minKeyCriteriaTime(args.key, - args.criteria, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.findCriteriaOrder(args.criteria, + args.order, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49462,27 +57458,25 @@ public minKeyCriteriaTime_result getResult(I iface, } } - public static class minKeyCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public minKeyCriteriaTimestr() { - super("minKeyCriteriaTimestr"); + public static class findCcl + extends org.apache.thrift.ProcessFunction { + public findCcl() { + super("findCcl"); } - public minKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new minKeyCriteriaTimestr_args(); + public findCcl_args getEmptyArgsInstance() { + return new findCcl_args(); } protected boolean isOneway() { return false; } - public minKeyCriteriaTimestr_result getResult(I iface, - minKeyCriteriaTimestr_args args) + public findCcl_result getResult(I iface, findCcl_args args) throws org.apache.thrift.TException { - minKeyCriteriaTimestr_result result = new minKeyCriteriaTimestr_result(); + findCcl_result result = new findCcl_result(); try { - result.success = iface.minKeyCriteriaTimestr(args.key, - args.criteria, args.timestamp, args.creds, + result.success = iface.findCcl(args.ccl, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -49501,25 +57495,26 @@ public minKeyCriteriaTimestr_result getResult(I iface, } } - public static class minKeyCcl - extends org.apache.thrift.ProcessFunction { - public minKeyCcl() { - super("minKeyCcl"); + public static class findCclOrder extends + org.apache.thrift.ProcessFunction { + public findCclOrder() { + super("findCclOrder"); } - public minKeyCcl_args getEmptyArgsInstance() { - return new minKeyCcl_args(); + public findCclOrder_args getEmptyArgsInstance() { + return new findCclOrder_args(); } protected boolean isOneway() { return false; } - public minKeyCcl_result getResult(I iface, minKeyCcl_args args) + public findCclOrder_result getResult(I iface, + findCclOrder_args args) throws org.apache.thrift.TException { - minKeyCcl_result result = new minKeyCcl_result(); + findCclOrder_result result = new findCclOrder_result(); try { - result.success = iface.minKeyCcl(args.key, args.ccl, + result.success = iface.findCclOrder(args.ccl, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -49538,28 +57533,28 @@ public minKeyCcl_result getResult(I iface, minKeyCcl_args args) } } - public static class minKeyCclTime extends - org.apache.thrift.ProcessFunction { - public minKeyCclTime() { - super("minKeyCclTime"); + public static class findKeyOperatorValues extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorValues() { + super("findKeyOperatorValues"); } - public minKeyCclTime_args getEmptyArgsInstance() { - return new minKeyCclTime_args(); + public findKeyOperatorValues_args getEmptyArgsInstance() { + return new findKeyOperatorValues_args(); } protected boolean isOneway() { return false; } - public minKeyCclTime_result getResult(I iface, - minKeyCclTime_args args) + public findKeyOperatorValues_result getResult(I iface, + findKeyOperatorValues_args args) throws org.apache.thrift.TException { - minKeyCclTime_result result = new minKeyCclTime_result(); + findKeyOperatorValues_result result = new findKeyOperatorValues_result(); try { - result.success = iface.minKeyCclTime(args.key, args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.findKeyOperatorValues(args.key, + args.operator, args.values, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49567,38 +57562,35 @@ public minKeyCclTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class minKeyCclTimestr extends - org.apache.thrift.ProcessFunction { - public minKeyCclTimestr() { - super("minKeyCclTimestr"); + public static class findKeyOperatorValuesOrder extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorValuesOrder() { + super("findKeyOperatorValuesOrder"); } - public minKeyCclTimestr_args getEmptyArgsInstance() { - return new minKeyCclTimestr_args(); + public findKeyOperatorValuesOrder_args getEmptyArgsInstance() { + return new findKeyOperatorValuesOrder_args(); } protected boolean isOneway() { return false; } - public minKeyCclTimestr_result getResult(I iface, - minKeyCclTimestr_args args) + public findKeyOperatorValuesOrder_result getResult(I iface, + findKeyOperatorValuesOrder_args args) throws org.apache.thrift.TException { - minKeyCclTimestr_result result = new minKeyCclTimestr_result(); + findKeyOperatorValuesOrder_result result = new findKeyOperatorValuesOrder_result(); try { - result.success = iface.minKeyCclTimestr(args.key, args.ccl, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.findKeyOperatorValuesOrder(args.key, + args.operator, args.values, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49606,35 +57598,34 @@ public minKeyCclTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class minKeyTime - extends org.apache.thrift.ProcessFunction { - public minKeyTime() { - super("minKeyTime"); + public static class findKeyOperatorValuesTime extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorValuesTime() { + super("findKeyOperatorValuesTime"); } - public minKeyTime_args getEmptyArgsInstance() { - return new minKeyTime_args(); + public findKeyOperatorValuesTime_args getEmptyArgsInstance() { + return new findKeyOperatorValuesTime_args(); } protected boolean isOneway() { return false; } - public minKeyTime_result getResult(I iface, minKeyTime_args args) + public findKeyOperatorValuesTime_result getResult(I iface, + findKeyOperatorValuesTime_args args) throws org.apache.thrift.TException { - minKeyTime_result result = new minKeyTime_result(); + findKeyOperatorValuesTime_result result = new findKeyOperatorValuesTime_result(); try { - result.success = iface.minKeyTime(args.key, args.timestamp, + result.success = iface.findKeyOperatorValuesTime(args.key, + args.operator, args.values, args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -49650,28 +57641,30 @@ public minKeyTime_result getResult(I iface, minKeyTime_args args) } } - public static class minKeyTimestr extends - org.apache.thrift.ProcessFunction { - public minKeyTimestr() { - super("minKeyTimestr"); + public static class findKeyOperatorValuesTimeOrder + extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorValuesTimeOrder() { + super("findKeyOperatorValuesTimeOrder"); } - public minKeyTimestr_args getEmptyArgsInstance() { - return new minKeyTimestr_args(); + public findKeyOperatorValuesTimeOrder_args getEmptyArgsInstance() { + return new findKeyOperatorValuesTimeOrder_args(); } protected boolean isOneway() { return false; } - public minKeyTimestr_result getResult(I iface, - minKeyTimestr_args args) + public findKeyOperatorValuesTimeOrder_result getResult(I iface, + findKeyOperatorValuesTimeOrder_args args) throws org.apache.thrift.TException { - minKeyTimestr_result result = new minKeyTimestr_result(); + findKeyOperatorValuesTimeOrder_result result = new findKeyOperatorValuesTimeOrder_result(); try { - result.success = iface.minKeyTimestr(args.key, - args.timestamp, args.creds, args.transaction, - args.environment); + result.success = iface.findKeyOperatorValuesTimeOrder( + args.key, args.operator, args.values, + args.timestamp, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49679,37 +57672,37 @@ public minKeyTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class minKeyRecords extends - org.apache.thrift.ProcessFunction { - public minKeyRecords() { - super("minKeyRecords"); + public static class findKeyOperatorValuesTimestr + extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorValuesTimestr() { + super("findKeyOperatorValuesTimestr"); } - public minKeyRecords_args getEmptyArgsInstance() { - return new minKeyRecords_args(); + public findKeyOperatorValuesTimestr_args getEmptyArgsInstance() { + return new findKeyOperatorValuesTimestr_args(); } protected boolean isOneway() { return false; } - public minKeyRecords_result getResult(I iface, - minKeyRecords_args args) + public findKeyOperatorValuesTimestr_result getResult(I iface, + findKeyOperatorValuesTimestr_args args) throws org.apache.thrift.TException { - minKeyRecords_result result = new minKeyRecords_result(); + findKeyOperatorValuesTimestr_result result = new findKeyOperatorValuesTimestr_result(); try { - result.success = iface.minKeyRecords(args.key, args.records, - args.creds, args.transaction, args.environment); + result.success = iface.findKeyOperatorValuesTimestr( + args.key, args.operator, args.values, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49717,35 +57710,40 @@ public minKeyRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class navigateKeyRecord extends - org.apache.thrift.ProcessFunction { - public navigateKeyRecord() { - super("navigateKeyRecord"); + public static class findKeyOperatorValuesTimestrOrder + extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorValuesTimestrOrder() { + super("findKeyOperatorValuesTimestrOrder"); } - public navigateKeyRecord_args getEmptyArgsInstance() { - return new navigateKeyRecord_args(); + public findKeyOperatorValuesTimestrOrder_args getEmptyArgsInstance() { + return new findKeyOperatorValuesTimestrOrder_args(); } protected boolean isOneway() { return false; } - public navigateKeyRecord_result getResult(I iface, - navigateKeyRecord_args args) + public findKeyOperatorValuesTimestrOrder_result getResult(I iface, + findKeyOperatorValuesTimestrOrder_args args) throws org.apache.thrift.TException { - navigateKeyRecord_result result = new navigateKeyRecord_result(); + findKeyOperatorValuesTimestrOrder_result result = new findKeyOperatorValuesTimestrOrder_result(); try { - result.success = iface.navigateKeyRecord(args.key, - args.record, args.creds, args.transaction, - args.environment); + result.success = iface.findKeyOperatorValuesTimestrOrder( + args.key, args.operator, args.values, + args.timestamp, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49753,34 +57751,37 @@ public navigateKeyRecord_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class navigateKeyRecordTime extends - org.apache.thrift.ProcessFunction { - public navigateKeyRecordTime() { - super("navigateKeyRecordTime"); + public static class findKeyOperatorstrValues extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorstrValues() { + super("findKeyOperatorstrValues"); } - public navigateKeyRecordTime_args getEmptyArgsInstance() { - return new navigateKeyRecordTime_args(); + public findKeyOperatorstrValues_args getEmptyArgsInstance() { + return new findKeyOperatorstrValues_args(); } protected boolean isOneway() { return false; } - public navigateKeyRecordTime_result getResult(I iface, - navigateKeyRecordTime_args args) + public findKeyOperatorstrValues_result getResult(I iface, + findKeyOperatorstrValues_args args) throws org.apache.thrift.TException { - navigateKeyRecordTime_result result = new navigateKeyRecordTime_result(); + findKeyOperatorstrValues_result result = new findKeyOperatorstrValues_result(); try { - result.success = iface.navigateKeyRecordTime(args.key, - args.record, args.timestamp, args.creds, + result.success = iface.findKeyOperatorstrValues(args.key, + args.operator, args.values, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -49789,35 +57790,39 @@ public navigateKeyRecordTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class navigateKeyRecordTimestr extends - org.apache.thrift.ProcessFunction { - public navigateKeyRecordTimestr() { - super("navigateKeyRecordTimestr"); + public static class findKeyOperatorstrValuesOrder + extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorstrValuesOrder() { + super("findKeyOperatorstrValuesOrder"); } - public navigateKeyRecordTimestr_args getEmptyArgsInstance() { - return new navigateKeyRecordTimestr_args(); + public findKeyOperatorstrValuesOrder_args getEmptyArgsInstance() { + return new findKeyOperatorstrValuesOrder_args(); } protected boolean isOneway() { return false; } - public navigateKeyRecordTimestr_result getResult(I iface, - navigateKeyRecordTimestr_args args) + public findKeyOperatorstrValuesOrder_result getResult(I iface, + findKeyOperatorstrValuesOrder_args args) throws org.apache.thrift.TException { - navigateKeyRecordTimestr_result result = new navigateKeyRecordTimestr_result(); + findKeyOperatorstrValuesOrder_result result = new findKeyOperatorstrValuesOrder_result(); try { - result.success = iface.navigateKeyRecordTimestr(args.key, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.findKeyOperatorstrValuesOrder( + args.key, args.operator, args.values, args.order, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49835,27 +57840,29 @@ public navigateKeyRecordTimestr_result getResult(I iface, } } - public static class navigateKeysRecord extends - org.apache.thrift.ProcessFunction { - public navigateKeysRecord() { - super("navigateKeysRecord"); + public static class findKeyOperatorstrValuesTime + extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorstrValuesTime() { + super("findKeyOperatorstrValuesTime"); } - public navigateKeysRecord_args getEmptyArgsInstance() { - return new navigateKeysRecord_args(); - } + public findKeyOperatorstrValuesTime_args getEmptyArgsInstance() { + return new findKeyOperatorstrValuesTime_args(); + } protected boolean isOneway() { return false; } - public navigateKeysRecord_result getResult(I iface, - navigateKeysRecord_args args) + public findKeyOperatorstrValuesTime_result getResult(I iface, + findKeyOperatorstrValuesTime_args args) throws org.apache.thrift.TException { - navigateKeysRecord_result result = new navigateKeysRecord_result(); + findKeyOperatorstrValuesTime_result result = new findKeyOperatorstrValuesTime_result(); try { - result.success = iface.navigateKeysRecord(args.keys, - args.record, args.creds, args.transaction, + result.success = iface.findKeyOperatorstrValuesTime( + args.key, args.operator, args.values, + args.timestamp, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -49864,34 +57871,39 @@ public navigateKeysRecord_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class navigateKeysRecordTime extends - org.apache.thrift.ProcessFunction { - public navigateKeysRecordTime() { - super("navigateKeysRecordTime"); + public static class findKeyOperatorstrValuesTimeOrder + extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorstrValuesTimeOrder() { + super("findKeyOperatorstrValuesTimeOrder"); } - public navigateKeysRecordTime_args getEmptyArgsInstance() { - return new navigateKeysRecordTime_args(); + public findKeyOperatorstrValuesTimeOrder_args getEmptyArgsInstance() { + return new findKeyOperatorstrValuesTimeOrder_args(); } protected boolean isOneway() { return false; } - public navigateKeysRecordTime_result getResult(I iface, - navigateKeysRecordTime_args args) + public findKeyOperatorstrValuesTimeOrder_result getResult(I iface, + findKeyOperatorstrValuesTimeOrder_args args) throws org.apache.thrift.TException { - navigateKeysRecordTime_result result = new navigateKeysRecordTime_result(); + findKeyOperatorstrValuesTimeOrder_result result = new findKeyOperatorstrValuesTimeOrder_result(); try { - result.success = iface.navigateKeysRecordTime(args.keys, - args.record, args.timestamp, args.creds, + result.success = iface.findKeyOperatorstrValuesTimeOrder( + args.key, args.operator, args.values, + args.timestamp, args.order, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -49900,35 +57912,40 @@ public navigateKeysRecordTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class navigateKeysRecordTimestr extends - org.apache.thrift.ProcessFunction { - public navigateKeysRecordTimestr() { - super("navigateKeysRecordTimestr"); + public static class findKeyOperatorstrValuesTimestr + extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorstrValuesTimestr() { + super("findKeyOperatorstrValuesTimestr"); } - public navigateKeysRecordTimestr_args getEmptyArgsInstance() { - return new navigateKeysRecordTimestr_args(); + public findKeyOperatorstrValuesTimestr_args getEmptyArgsInstance() { + return new findKeyOperatorstrValuesTimestr_args(); } protected boolean isOneway() { return false; } - public navigateKeysRecordTimestr_result getResult(I iface, - navigateKeysRecordTimestr_args args) + public findKeyOperatorstrValuesTimestr_result getResult(I iface, + findKeyOperatorstrValuesTimestr_args args) throws org.apache.thrift.TException { - navigateKeysRecordTimestr_result result = new navigateKeysRecordTimestr_result(); + findKeyOperatorstrValuesTimestr_result result = new findKeyOperatorstrValuesTimestr_result(); try { - result.success = iface.navigateKeysRecordTimestr(args.keys, - args.record, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.findKeyOperatorstrValuesTimestr( + args.key, args.operator, args.values, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49946,28 +57963,30 @@ public navigateKeysRecordTimestr_result getResult(I iface, } } - public static class navigateKeysRecords extends - org.apache.thrift.ProcessFunction { - public navigateKeysRecords() { - super("navigateKeysRecords"); + public static class findKeyOperatorstrValuesTimestrOrder + extends + org.apache.thrift.ProcessFunction { + public findKeyOperatorstrValuesTimestrOrder() { + super("findKeyOperatorstrValuesTimestrOrder"); } - public navigateKeysRecords_args getEmptyArgsInstance() { - return new navigateKeysRecords_args(); + public findKeyOperatorstrValuesTimestrOrder_args getEmptyArgsInstance() { + return new findKeyOperatorstrValuesTimestrOrder_args(); } protected boolean isOneway() { return false; } - public navigateKeysRecords_result getResult(I iface, - navigateKeysRecords_args args) + public findKeyOperatorstrValuesTimestrOrder_result getResult( + I iface, findKeyOperatorstrValuesTimestrOrder_args args) throws org.apache.thrift.TException { - navigateKeysRecords_result result = new navigateKeysRecords_result(); + findKeyOperatorstrValuesTimestrOrder_result result = new findKeyOperatorstrValuesTimestrOrder_result(); try { - result.success = iface.navigateKeysRecords(args.keys, - args.records, args.creds, args.transaction, - args.environment); + result.success = iface.findKeyOperatorstrValuesTimestrOrder( + args.key, args.operator, args.values, + args.timestamp, args.order, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -49975,35 +57994,36 @@ public navigateKeysRecords_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class navigateKeyRecords extends - org.apache.thrift.ProcessFunction { - public navigateKeyRecords() { - super("navigateKeyRecords"); + public static class search + extends org.apache.thrift.ProcessFunction { + public search() { + super("search"); } - public navigateKeyRecords_args getEmptyArgsInstance() { - return new navigateKeyRecords_args(); + public search_args getEmptyArgsInstance() { + return new search_args(); } protected boolean isOneway() { return false; } - public navigateKeyRecords_result getResult(I iface, - navigateKeyRecords_args args) + public search_result getResult(I iface, search_args args) throws org.apache.thrift.TException { - navigateKeyRecords_result result = new navigateKeyRecords_result(); + search_result result = new search_result(); try { - result.success = iface.navigateKeyRecords(args.key, - args.records, args.creds, args.transaction, - args.environment); + result.success = iface.search(args.key, args.query, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50018,28 +58038,28 @@ public navigateKeyRecords_result getResult(I iface, } } - public static class navigateKeyRecordsTime extends - org.apache.thrift.ProcessFunction { - public navigateKeyRecordsTime() { - super("navigateKeyRecordsTime"); + public static class revertKeysRecordsTime extends + org.apache.thrift.ProcessFunction { + public revertKeysRecordsTime() { + super("revertKeysRecordsTime"); } - public navigateKeyRecordsTime_args getEmptyArgsInstance() { - return new navigateKeyRecordsTime_args(); + public revertKeysRecordsTime_args getEmptyArgsInstance() { + return new revertKeysRecordsTime_args(); } protected boolean isOneway() { return false; } - public navigateKeyRecordsTime_result getResult(I iface, - navigateKeyRecordsTime_args args) + public revertKeysRecordsTime_result getResult(I iface, + revertKeysRecordsTime_args args) throws org.apache.thrift.TException { - navigateKeyRecordsTime_result result = new navigateKeyRecordsTime_result(); + revertKeysRecordsTime_result result = new revertKeysRecordsTime_result(); try { - result.success = iface.navigateKeyRecordsTime(args.key, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + iface.revertKeysRecordsTime(args.keys, args.records, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50054,28 +58074,28 @@ public navigateKeyRecordsTime_result getResult(I iface, } } - public static class navigateKeyRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public navigateKeyRecordsTimestr() { - super("navigateKeyRecordsTimestr"); + public static class revertKeysRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public revertKeysRecordsTimestr() { + super("revertKeysRecordsTimestr"); } - public navigateKeyRecordsTimestr_args getEmptyArgsInstance() { - return new navigateKeyRecordsTimestr_args(); + public revertKeysRecordsTimestr_args getEmptyArgsInstance() { + return new revertKeysRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public navigateKeyRecordsTimestr_result getResult(I iface, - navigateKeyRecordsTimestr_args args) + public revertKeysRecordsTimestr_result getResult(I iface, + revertKeysRecordsTimestr_args args) throws org.apache.thrift.TException { - navigateKeyRecordsTimestr_result result = new navigateKeyRecordsTimestr_result(); + revertKeysRecordsTimestr_result result = new revertKeysRecordsTimestr_result(); try { - result.success = iface.navigateKeyRecordsTimestr(args.key, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + iface.revertKeysRecordsTimestr(args.keys, args.records, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50093,28 +58113,28 @@ public navigateKeyRecordsTimestr_result getResult(I iface, } } - public static class navigateKeysRecordsTime extends - org.apache.thrift.ProcessFunction { - public navigateKeysRecordsTime() { - super("navigateKeysRecordsTime"); + public static class revertKeysRecordTime extends + org.apache.thrift.ProcessFunction { + public revertKeysRecordTime() { + super("revertKeysRecordTime"); } - public navigateKeysRecordsTime_args getEmptyArgsInstance() { - return new navigateKeysRecordsTime_args(); + public revertKeysRecordTime_args getEmptyArgsInstance() { + return new revertKeysRecordTime_args(); } protected boolean isOneway() { return false; } - public navigateKeysRecordsTime_result getResult(I iface, - navigateKeysRecordsTime_args args) + public revertKeysRecordTime_result getResult(I iface, + revertKeysRecordTime_args args) throws org.apache.thrift.TException { - navigateKeysRecordsTime_result result = new navigateKeysRecordsTime_result(); + revertKeysRecordTime_result result = new revertKeysRecordTime_result(); try { - result.success = iface.navigateKeysRecordsTime(args.keys, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + iface.revertKeysRecordTime(args.keys, args.record, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50129,28 +58149,28 @@ public navigateKeysRecordsTime_result getResult(I iface, } } - public static class navigateKeysRecordsTimestr extends - org.apache.thrift.ProcessFunction { - public navigateKeysRecordsTimestr() { - super("navigateKeysRecordsTimestr"); + public static class revertKeysRecordTimestr extends + org.apache.thrift.ProcessFunction { + public revertKeysRecordTimestr() { + super("revertKeysRecordTimestr"); } - public navigateKeysRecordsTimestr_args getEmptyArgsInstance() { - return new navigateKeysRecordsTimestr_args(); + public revertKeysRecordTimestr_args getEmptyArgsInstance() { + return new revertKeysRecordTimestr_args(); } protected boolean isOneway() { return false; } - public navigateKeysRecordsTimestr_result getResult(I iface, - navigateKeysRecordsTimestr_args args) + public revertKeysRecordTimestr_result getResult(I iface, + revertKeysRecordTimestr_args args) throws org.apache.thrift.TException { - navigateKeysRecordsTimestr_result result = new navigateKeysRecordsTimestr_result(); + revertKeysRecordTimestr_result result = new revertKeysRecordTimestr_result(); try { - result.success = iface.navigateKeysRecordsTimestr(args.keys, - args.records, args.timestamp, args.creds, - args.transaction, args.environment); + iface.revertKeysRecordTimestr(args.keys, args.record, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50168,27 +58188,28 @@ public navigateKeysRecordsTimestr_result getResult(I iface, } } - public static class navigateKeyCcl extends - org.apache.thrift.ProcessFunction { - public navigateKeyCcl() { - super("navigateKeyCcl"); + public static class revertKeyRecordsTime extends + org.apache.thrift.ProcessFunction { + public revertKeyRecordsTime() { + super("revertKeyRecordsTime"); } - public navigateKeyCcl_args getEmptyArgsInstance() { - return new navigateKeyCcl_args(); + public revertKeyRecordsTime_args getEmptyArgsInstance() { + return new revertKeyRecordsTime_args(); } protected boolean isOneway() { return false; } - public navigateKeyCcl_result getResult(I iface, - navigateKeyCcl_args args) + public revertKeyRecordsTime_result getResult(I iface, + revertKeyRecordsTime_args args) throws org.apache.thrift.TException { - navigateKeyCcl_result result = new navigateKeyCcl_result(); + revertKeyRecordsTime_result result = new revertKeyRecordsTime_result(); try { - result.success = iface.navigateKeyCcl(args.key, args.ccl, - args.creds, args.transaction, args.environment); + iface.revertKeyRecordsTime(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50196,38 +58217,35 @@ public navigateKeyCcl_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class navigateKeyCclTime extends - org.apache.thrift.ProcessFunction { - public navigateKeyCclTime() { - super("navigateKeyCclTime"); + public static class revertKeyRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public revertKeyRecordsTimestr() { + super("revertKeyRecordsTimestr"); } - public navigateKeyCclTime_args getEmptyArgsInstance() { - return new navigateKeyCclTime_args(); + public revertKeyRecordsTimestr_args getEmptyArgsInstance() { + return new revertKeyRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public navigateKeyCclTime_result getResult(I iface, - navigateKeyCclTime_args args) + public revertKeyRecordsTimestr_result getResult(I iface, + revertKeyRecordsTimestr_args args) throws org.apache.thrift.TException { - navigateKeyCclTime_result result = new navigateKeyCclTime_result(); + revertKeyRecordsTimestr_result result = new revertKeyRecordsTimestr_result(); try { - result.success = iface.navigateKeyCclTime(args.key, - args.ccl, args.timestamp, args.creds, - args.transaction, args.environment); + iface.revertKeyRecordsTimestr(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50245,28 +58263,28 @@ public navigateKeyCclTime_result getResult(I iface, } } - public static class navigateKeyCclTimestr extends - org.apache.thrift.ProcessFunction { - public navigateKeyCclTimestr() { - super("navigateKeyCclTimestr"); + public static class revertKeyRecordTime extends + org.apache.thrift.ProcessFunction { + public revertKeyRecordTime() { + super("revertKeyRecordTime"); } - public navigateKeyCclTimestr_args getEmptyArgsInstance() { - return new navigateKeyCclTimestr_args(); + public revertKeyRecordTime_args getEmptyArgsInstance() { + return new revertKeyRecordTime_args(); } protected boolean isOneway() { return false; } - public navigateKeyCclTimestr_result getResult(I iface, - navigateKeyCclTimestr_args args) + public revertKeyRecordTime_result getResult(I iface, + revertKeyRecordTime_args args) throws org.apache.thrift.TException { - navigateKeyCclTimestr_result result = new navigateKeyCclTimestr_result(); + revertKeyRecordTime_result result = new revertKeyRecordTime_result(); try { - result.success = iface.navigateKeyCclTimestr(args.key, - args.ccl, args.timestamp, args.creds, - args.transaction, args.environment); + iface.revertKeyRecordTime(args.key, args.record, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50274,37 +58292,35 @@ public navigateKeyCclTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class navigateKeysCcl extends - org.apache.thrift.ProcessFunction { - public navigateKeysCcl() { - super("navigateKeysCcl"); + public static class revertKeyRecordTimestr extends + org.apache.thrift.ProcessFunction { + public revertKeyRecordTimestr() { + super("revertKeyRecordTimestr"); } - public navigateKeysCcl_args getEmptyArgsInstance() { - return new navigateKeysCcl_args(); + public revertKeyRecordTimestr_args getEmptyArgsInstance() { + return new revertKeyRecordTimestr_args(); } protected boolean isOneway() { return false; } - public navigateKeysCcl_result getResult(I iface, - navigateKeysCcl_args args) + public revertKeyRecordTimestr_result getResult(I iface, + revertKeyRecordTimestr_args args) throws org.apache.thrift.TException { - navigateKeysCcl_result result = new navigateKeysCcl_result(); + revertKeyRecordTimestr_result result = new revertKeyRecordTimestr_result(); try { - result.success = iface.navigateKeysCcl(args.keys, args.ccl, - args.creds, args.transaction, args.environment); + iface.revertKeyRecordTimestr(args.key, args.record, + args.timestamp, args.creds, args.transaction, + args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50322,27 +58338,25 @@ public navigateKeysCcl_result getResult(I iface, } } - public static class navigateKeysCclTime extends - org.apache.thrift.ProcessFunction { - public navigateKeysCclTime() { - super("navigateKeysCclTime"); + public static class pingRecords + extends org.apache.thrift.ProcessFunction { + public pingRecords() { + super("pingRecords"); } - public navigateKeysCclTime_args getEmptyArgsInstance() { - return new navigateKeysCclTime_args(); + public pingRecords_args getEmptyArgsInstance() { + return new pingRecords_args(); } protected boolean isOneway() { return false; } - public navigateKeysCclTime_result getResult(I iface, - navigateKeysCclTime_args args) + public pingRecords_result getResult(I iface, pingRecords_args args) throws org.apache.thrift.TException { - navigateKeysCclTime_result result = new navigateKeysCclTime_result(); + pingRecords_result result = new pingRecords_result(); try { - result.success = iface.navigateKeysCclTime(args.keys, - args.ccl, args.timestamp, args.creds, + result.success = iface.pingRecords(args.records, args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { @@ -50351,38 +58365,34 @@ public navigateKeysCclTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class navigateKeysCclTimestr extends - org.apache.thrift.ProcessFunction { - public navigateKeysCclTimestr() { - super("navigateKeysCclTimestr"); + public static class pingRecord + extends org.apache.thrift.ProcessFunction { + public pingRecord() { + super("pingRecord"); } - public navigateKeysCclTimestr_args getEmptyArgsInstance() { - return new navigateKeysCclTimestr_args(); + public pingRecord_args getEmptyArgsInstance() { + return new pingRecord_args(); } protected boolean isOneway() { return false; } - public navigateKeysCclTimestr_result getResult(I iface, - navigateKeysCclTimestr_args args) + public pingRecord_result getResult(I iface, pingRecord_args args) throws org.apache.thrift.TException { - navigateKeysCclTimestr_result result = new navigateKeysCclTimestr_result(); + pingRecord_result result = new pingRecord_result(); try { - result.success = iface.navigateKeysCclTimestr(args.keys, - args.ccl, args.timestamp, args.creds, + result.success = iface.pingRecord(args.record, args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50390,38 +58400,70 @@ public navigateKeysCclTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; + return result; + } + } + + public static class verifyAndSwap extends + org.apache.thrift.ProcessFunction { + public verifyAndSwap() { + super("verifyAndSwap"); + } + + public verifyAndSwap_args getEmptyArgsInstance() { + return new verifyAndSwap_args(); + } + + protected boolean isOneway() { + return false; + } + + public verifyAndSwap_result getResult(I iface, + verifyAndSwap_args args) + throws org.apache.thrift.TException { + verifyAndSwap_result result = new verifyAndSwap_result(); + try { + result.success = iface.verifyAndSwap(args.key, + args.expected, args.record, args.replacement, + args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; } return result; } } - public static class navigateKeyCriteria extends - org.apache.thrift.ProcessFunction { - public navigateKeyCriteria() { - super("navigateKeyCriteria"); + public static class verifyOrSet + extends org.apache.thrift.ProcessFunction { + public verifyOrSet() { + super("verifyOrSet"); } - public navigateKeyCriteria_args getEmptyArgsInstance() { - return new navigateKeyCriteria_args(); + public verifyOrSet_args getEmptyArgsInstance() { + return new verifyOrSet_args(); } protected boolean isOneway() { return false; } - public navigateKeyCriteria_result getResult(I iface, - navigateKeyCriteria_args args) + public verifyOrSet_result getResult(I iface, verifyOrSet_args args) throws org.apache.thrift.TException { - navigateKeyCriteria_result result = new navigateKeyCriteria_result(); + verifyOrSet_result result = new verifyOrSet_result(); try { - result.success = iface.navigateKeyCriteria(args.key, - args.criteria, args.creds, args.transaction, - args.environment); + iface.verifyOrSet(args.key, args.value, args.record, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50429,7 +58471,7 @@ public navigateKeyCriteria_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { result.ex3 = ex3; } catch (com.cinchapi.concourse.thrift.PermissionException ex4) { @@ -50439,28 +58481,29 @@ public navigateKeyCriteria_result getResult(I iface, } } - public static class navigateKeyCriteriaTime extends - org.apache.thrift.ProcessFunction { - public navigateKeyCriteriaTime() { - super("navigateKeyCriteriaTime"); + public static class findOrAddKeyValue extends + org.apache.thrift.ProcessFunction { + public findOrAddKeyValue() { + super("findOrAddKeyValue"); } - public navigateKeyCriteriaTime_args getEmptyArgsInstance() { - return new navigateKeyCriteriaTime_args(); + public findOrAddKeyValue_args getEmptyArgsInstance() { + return new findOrAddKeyValue_args(); } protected boolean isOneway() { return false; } - public navigateKeyCriteriaTime_result getResult(I iface, - navigateKeyCriteriaTime_args args) + public findOrAddKeyValue_result getResult(I iface, + findOrAddKeyValue_args args) throws org.apache.thrift.TException { - navigateKeyCriteriaTime_result result = new navigateKeyCriteriaTime_result(); + findOrAddKeyValue_result result = new findOrAddKeyValue_result(); try { - result.success = iface.navigateKeyCriteriaTime(args.key, - args.criteria, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.findOrAddKeyValue(args.key, + args.value, args.creds, args.transaction, + args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50468,38 +58511,42 @@ public navigateKeyCriteriaTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.DuplicateEntryException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + catch (com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { result.ex4 = ex4; } + catch (com.cinchapi.concourse.thrift.PermissionException ex5) { + result.ex5 = ex5; + } return result; } } - public static class navigateKeyCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public navigateKeyCriteriaTimestr() { - super("navigateKeyCriteriaTimestr"); + public static class findOrInsertCriteriaJson extends + org.apache.thrift.ProcessFunction { + public findOrInsertCriteriaJson() { + super("findOrInsertCriteriaJson"); } - public navigateKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new navigateKeyCriteriaTimestr_args(); + public findOrInsertCriteriaJson_args getEmptyArgsInstance() { + return new findOrInsertCriteriaJson_args(); } protected boolean isOneway() { return false; } - public navigateKeyCriteriaTimestr_result getResult(I iface, - navigateKeyCriteriaTimestr_args args) + public findOrInsertCriteriaJson_result getResult(I iface, + findOrInsertCriteriaJson_args args) throws org.apache.thrift.TException { - navigateKeyCriteriaTimestr_result result = new navigateKeyCriteriaTimestr_result(); + findOrInsertCriteriaJson_result result = new findOrInsertCriteriaJson_result(); try { - result.success = iface.navigateKeyCriteriaTimestr(args.key, - args.criteria, args.timestamp, args.creds, + result.success = iface.findOrInsertCriteriaJson( + args.criteria, args.json, args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50507,7 +58554,7 @@ public navigateKeyCriteriaTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.DuplicateEntryException ex3) { result.ex3 = ex3; } catch (com.cinchapi.concourse.thrift.PermissionException ex4) { @@ -50517,28 +58564,29 @@ public navigateKeyCriteriaTimestr_result getResult(I iface, } } - public static class navigateKeysCriteria extends - org.apache.thrift.ProcessFunction { - public navigateKeysCriteria() { - super("navigateKeysCriteria"); + public static class findOrInsertCclJson extends + org.apache.thrift.ProcessFunction { + public findOrInsertCclJson() { + super("findOrInsertCclJson"); } - public navigateKeysCriteria_args getEmptyArgsInstance() { - return new navigateKeysCriteria_args(); + public findOrInsertCclJson_args getEmptyArgsInstance() { + return new findOrInsertCclJson_args(); } protected boolean isOneway() { return false; } - public navigateKeysCriteria_result getResult(I iface, - navigateKeysCriteria_args args) + public findOrInsertCclJson_result getResult(I iface, + findOrInsertCclJson_args args) throws org.apache.thrift.TException { - navigateKeysCriteria_result result = new navigateKeysCriteria_result(); + findOrInsertCclJson_result result = new findOrInsertCclJson_result(); try { - result.success = iface.navigateKeysCriteria(args.keys, - args.criteria, args.creds, args.transaction, + result.success = iface.findOrInsertCclJson(args.ccl, + args.json, args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50549,35 +58597,37 @@ public navigateKeysCriteria_result getResult(I iface, catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + catch (com.cinchapi.concourse.thrift.DuplicateEntryException ex4) { result.ex4 = ex4; } + catch (com.cinchapi.concourse.thrift.PermissionException ex5) { + result.ex5 = ex5; + } return result; } } - public static class navigateKeysCriteriaTime extends - org.apache.thrift.ProcessFunction { - public navigateKeysCriteriaTime() { - super("navigateKeysCriteriaTime"); + public static class sumKeyRecord extends + org.apache.thrift.ProcessFunction { + public sumKeyRecord() { + super("sumKeyRecord"); } - public navigateKeysCriteriaTime_args getEmptyArgsInstance() { - return new navigateKeysCriteriaTime_args(); + public sumKeyRecord_args getEmptyArgsInstance() { + return new sumKeyRecord_args(); } protected boolean isOneway() { return false; } - public navigateKeysCriteriaTime_result getResult(I iface, - navigateKeysCriteriaTime_args args) + public sumKeyRecord_result getResult(I iface, + sumKeyRecord_args args) throws org.apache.thrift.TException { - navigateKeysCriteriaTime_result result = new navigateKeysCriteriaTime_result(); + sumKeyRecord_result result = new sumKeyRecord_result(); try { - result.success = iface.navigateKeysCriteriaTime(args.keys, - args.criteria, args.timestamp, args.creds, - args.transaction, args.environment); + result.success = iface.sumKeyRecord(args.key, args.record, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50585,38 +58635,35 @@ public navigateKeysCriteriaTime_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class navigateKeysCriteriaTimestr extends - org.apache.thrift.ProcessFunction { - public navigateKeysCriteriaTimestr() { - super("navigateKeysCriteriaTimestr"); + public static class sumKeyRecordTime extends + org.apache.thrift.ProcessFunction { + public sumKeyRecordTime() { + super("sumKeyRecordTime"); } - public navigateKeysCriteriaTimestr_args getEmptyArgsInstance() { - return new navigateKeysCriteriaTimestr_args(); + public sumKeyRecordTime_args getEmptyArgsInstance() { + return new sumKeyRecordTime_args(); } protected boolean isOneway() { return false; } - public navigateKeysCriteriaTimestr_result getResult(I iface, - navigateKeysCriteriaTimestr_args args) + public sumKeyRecordTime_result getResult(I iface, + sumKeyRecordTime_args args) throws org.apache.thrift.TException { - navigateKeysCriteriaTimestr_result result = new navigateKeysCriteriaTimestr_result(); + sumKeyRecordTime_result result = new sumKeyRecordTime_result(); try { - result.success = iface.navigateKeysCriteriaTimestr( - args.keys, args.criteria, args.timestamp, - args.creds, args.transaction, args.environment); + result.success = iface.sumKeyRecordTime(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50624,37 +58671,35 @@ public navigateKeysCriteriaTimestr_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.ParseException ex3) { + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { result.ex3 = ex3; } - catch (com.cinchapi.concourse.thrift.PermissionException ex4) { - result.ex4 = ex4; - } return result; } } - public static class getServerEnvironment extends - org.apache.thrift.ProcessFunction { - public getServerEnvironment() { - super("getServerEnvironment"); + public static class sumKeyRecordTimestr extends + org.apache.thrift.ProcessFunction { + public sumKeyRecordTimestr() { + super("sumKeyRecordTimestr"); } - public getServerEnvironment_args getEmptyArgsInstance() { - return new getServerEnvironment_args(); + public sumKeyRecordTimestr_args getEmptyArgsInstance() { + return new sumKeyRecordTimestr_args(); } protected boolean isOneway() { return false; } - public getServerEnvironment_result getResult(I iface, - getServerEnvironment_args args) + public sumKeyRecordTimestr_result getResult(I iface, + sumKeyRecordTimestr_args args) throws org.apache.thrift.TException { - getServerEnvironment_result result = new getServerEnvironment_result(); + sumKeyRecordTimestr_result result = new sumKeyRecordTimestr_result(); try { - result.success = iface.getServerEnvironment(args.creds, - args.token, args.environment); + result.success = iface.sumKeyRecordTimestr(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50662,33 +58707,37 @@ public getServerEnvironment_result getResult(I iface, catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } - catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + catch (com.cinchapi.concourse.thrift.ParseException ex3) { result.ex3 = ex3; } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } return result; } } - public static class getServerVersion extends - org.apache.thrift.ProcessFunction { - public getServerVersion() { - super("getServerVersion"); + public static class sumKeyRecords extends + org.apache.thrift.ProcessFunction { + public sumKeyRecords() { + super("sumKeyRecords"); } - public getServerVersion_args getEmptyArgsInstance() { - return new getServerVersion_args(); + public sumKeyRecords_args getEmptyArgsInstance() { + return new sumKeyRecords_args(); } protected boolean isOneway() { return false; } - public getServerVersion_result getResult(I iface, - getServerVersion_args args) + public sumKeyRecords_result getResult(I iface, + sumKeyRecords_args args) throws org.apache.thrift.TException { - getServerVersion_result result = new getServerVersion_result(); + sumKeyRecords_result result = new sumKeyRecords_result(); try { - result.success = iface.getServerVersion(); + result.success = iface.sumKeyRecords(args.key, args.records, + args.creds, args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50703,27 +58752,28 @@ public getServerVersion_result getResult(I iface, } } - public static class time - extends org.apache.thrift.ProcessFunction { - public time() { - super("time"); + public static class sumKeyRecordsTime extends + org.apache.thrift.ProcessFunction { + public sumKeyRecordsTime() { + super("sumKeyRecordsTime"); } - public time_args getEmptyArgsInstance() { - return new time_args(); + public sumKeyRecordsTime_args getEmptyArgsInstance() { + return new sumKeyRecordsTime_args(); } protected boolean isOneway() { return false; } - public time_result getResult(I iface, time_args args) + public sumKeyRecordsTime_result getResult(I iface, + sumKeyRecordsTime_args args) throws org.apache.thrift.TException { - time_result result = new time_result(); + sumKeyRecordsTime_result result = new sumKeyRecordsTime_result(); try { - result.success = iface.time(args.creds, args.token, - args.environment); - result.setSuccessIsSet(true); + result.success = iface.sumKeyRecordsTime(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50738,27 +58788,28 @@ public time_result getResult(I iface, time_args args) } } - public static class timePhrase - extends org.apache.thrift.ProcessFunction { - public timePhrase() { - super("timePhrase"); + public static class sumKeyRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public sumKeyRecordsTimestr() { + super("sumKeyRecordsTimestr"); } - public timePhrase_args getEmptyArgsInstance() { - return new timePhrase_args(); + public sumKeyRecordsTimestr_args getEmptyArgsInstance() { + return new sumKeyRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public timePhrase_result getResult(I iface, timePhrase_args args) + public sumKeyRecordsTimestr_result getResult(I iface, + sumKeyRecordsTimestr_args args) throws org.apache.thrift.TException { - timePhrase_result result = new timePhrase_result(); + sumKeyRecordsTimestr_result result = new sumKeyRecordsTimestr_result(); try { - result.success = iface.timePhrase(args.phrase, args.creds, - args.token, args.environment); - result.setSuccessIsSet(true); + result.success = iface.sumKeyRecordsTimestr(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; @@ -50776,6442 +58827,4134 @@ public timePhrase_result getResult(I iface, timePhrase_args args) } } - public static class invokeManagement extends - org.apache.thrift.ProcessFunction { - public invokeManagement() { - super("invokeManagement"); + public static class sumKey + extends org.apache.thrift.ProcessFunction { + public sumKey() { + super("sumKey"); } - public invokeManagement_args getEmptyArgsInstance() { - return new invokeManagement_args(); + public sumKey_args getEmptyArgsInstance() { + return new sumKey_args(); } protected boolean isOneway() { return false; } - public invokeManagement_result getResult(I iface, - invokeManagement_args args) + public sumKey_result getResult(I iface, sumKey_args args) throws org.apache.thrift.TException { - invokeManagement_result result = new invokeManagement_result(); + sumKey_result result = new sumKey_result(); try { - result.success = iface.invokeManagement(args.method, - args.params, args.creds); + result.success = iface.sumKey(args.key, args.creds, + args.transaction, args.environment); } catch (com.cinchapi.concourse.thrift.SecurityException ex) { result.ex = ex; } - catch (com.cinchapi.concourse.thrift.ManagementException ex2) { + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { result.ex2 = ex2; } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } return result; } } - } + public static class sumKeyTime + extends org.apache.thrift.ProcessFunction { + public sumKeyTime() { + super("sumKeyTime"); + } - public static class AsyncProcessor - extends org.apache.thrift.TBaseAsyncProcessor { - private static final Logger LOGGER = LoggerFactory - .getLogger(AsyncProcessor.class.getName()); + public sumKeyTime_args getEmptyArgsInstance() { + return new sumKeyTime_args(); + } - public AsyncProcessor(I iface) { - super(iface, getProcessMap( - new LinkedHashMap>())); - } + protected boolean isOneway() { + return false; + } - protected AsyncProcessor(I iface, - Map> processMap) { - super(iface, getProcessMap(processMap)); + public sumKeyTime_result getResult(I iface, sumKeyTime_args args) + throws org.apache.thrift.TException { + sumKeyTime_result result = new sumKeyTime_result(); + try { + result.success = iface.sumKeyTime(args.key, args.timestamp, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; + } } - private static Map> getProcessMap( - Map> processMap) { - processMap.put("abort", new abort()); - processMap.put("addKeyValue", new addKeyValue()); - processMap.put("addKeyValueRecord", new addKeyValueRecord()); - processMap.put("addKeyValueRecords", new addKeyValueRecords()); - processMap.put("auditRecord", new auditRecord()); - processMap.put("auditRecordStart", new auditRecordStart()); - processMap.put("auditRecordStartstr", new auditRecordStartstr()); - processMap.put("auditRecordStartEnd", new auditRecordStartEnd()); - processMap.put("auditRecordStartstrEndstr", - new auditRecordStartstrEndstr()); - processMap.put("auditKeyRecord", new auditKeyRecord()); - processMap.put("auditKeyRecordStart", new auditKeyRecordStart()); - processMap.put("auditKeyRecordStartstr", - new auditKeyRecordStartstr()); - processMap.put("auditKeyRecordStartEnd", - new auditKeyRecordStartEnd()); - processMap.put("auditKeyRecordStartstrEndstr", - new auditKeyRecordStartstrEndstr()); - processMap.put("browseKey", new browseKey()); - processMap.put("browseKeys", new browseKeys()); - processMap.put("browseKeyTime", new browseKeyTime()); - processMap.put("browseKeyTimestr", new browseKeyTimestr()); - processMap.put("browseKeysTime", new browseKeysTime()); - processMap.put("browseKeysTimestr", new browseKeysTimestr()); - processMap.put("chronologizeKeyRecord", - new chronologizeKeyRecord()); - processMap.put("chronologizeKeyRecordStart", - new chronologizeKeyRecordStart()); - processMap.put("chronologizeKeyRecordStartstr", - new chronologizeKeyRecordStartstr()); - processMap.put("chronologizeKeyRecordStartEnd", - new chronologizeKeyRecordStartEnd()); - processMap.put("chronologizeKeyRecordStartstrEndstr", - new chronologizeKeyRecordStartstrEndstr()); - processMap.put("clearRecord", new clearRecord()); - processMap.put("clearRecords", new clearRecords()); - processMap.put("clearKeyRecord", new clearKeyRecord()); - processMap.put("clearKeysRecord", new clearKeysRecord()); - processMap.put("clearKeyRecords", new clearKeyRecords()); - processMap.put("clearKeysRecords", new clearKeysRecords()); - processMap.put("commit", new commit()); - processMap.put("describe", new describe()); - processMap.put("describeTime", new describeTime()); - processMap.put("describeTimestr", new describeTimestr()); - processMap.put("describeRecord", new describeRecord()); - processMap.put("describeRecordTime", new describeRecordTime()); - processMap.put("describeRecordTimestr", - new describeRecordTimestr()); - processMap.put("describeRecords", new describeRecords()); - processMap.put("describeRecordsTime", new describeRecordsTime()); - processMap.put("describeRecordsTimestr", - new describeRecordsTimestr()); - processMap.put("diffRecordStart", new diffRecordStart()); - processMap.put("diffRecordStartstr", new diffRecordStartstr()); - processMap.put("diffRecordStartEnd", new diffRecordStartEnd()); - processMap.put("diffRecordStartstrEndstr", - new diffRecordStartstrEndstr()); - processMap.put("diffKeyRecordStart", new diffKeyRecordStart()); - processMap.put("diffKeyRecordStartstr", - new diffKeyRecordStartstr()); - processMap.put("diffKeyRecordStartEnd", - new diffKeyRecordStartEnd()); - processMap.put("diffKeyRecordStartstrEndstr", - new diffKeyRecordStartstrEndstr()); - processMap.put("diffKeyStart", new diffKeyStart()); - processMap.put("diffKeyStartstr", new diffKeyStartstr()); - processMap.put("diffKeyStartEnd", new diffKeyStartEnd()); - processMap.put("diffKeyStartstrEndstr", - new diffKeyStartstrEndstr()); - processMap.put("invokePlugin", new invokePlugin()); - processMap.put("login", new login()); - processMap.put("logout", new logout()); - processMap.put("stage", new stage()); - processMap.put("insertJson", new insertJson()); - processMap.put("insertJsonRecord", new insertJsonRecord()); - processMap.put("insertJsonRecords", new insertJsonRecords()); - processMap.put("removeKeyValueRecord", new removeKeyValueRecord()); - processMap.put("removeKeyValueRecords", - new removeKeyValueRecords()); - processMap.put("setKeyValueRecord", new setKeyValueRecord()); - processMap.put("setKeyValue", new setKeyValue()); - processMap.put("setKeyValueRecords", new setKeyValueRecords()); - processMap.put("reconcileKeyRecordValues", - new reconcileKeyRecordValues()); - processMap.put("inventory", new inventory()); - processMap.put("selectRecord", new selectRecord()); - processMap.put("selectRecords", new selectRecords()); - processMap.put("selectRecordTime", new selectRecordTime()); - processMap.put("selectRecordTimestr", new selectRecordTimestr()); - processMap.put("selectRecordsTime", new selectRecordsTime()); - processMap.put("selectRecordsTimestr", new selectRecordsTimestr()); - processMap.put("selectKeyRecord", new selectKeyRecord()); - processMap.put("selectKeyRecordTime", new selectKeyRecordTime()); - processMap.put("selectKeyRecordTimestr", - new selectKeyRecordTimestr()); - processMap.put("selectKeysRecord", new selectKeysRecord()); - processMap.put("selectKeysRecordTime", new selectKeysRecordTime()); - processMap.put("selectKeysRecordTimestr", - new selectKeysRecordTimestr()); - processMap.put("selectKeysRecords", new selectKeysRecords()); - processMap.put("selectKeyRecords", new selectKeyRecords()); - processMap.put("selectKeyRecordsTime", new selectKeyRecordsTime()); - processMap.put("selectKeyRecordsTimestr", - new selectKeyRecordsTimestr()); - processMap.put("selectKeysRecordsTime", - new selectKeysRecordsTime()); - processMap.put("selectKeysRecordsTimestr", - new selectKeysRecordsTimestr()); - processMap.put("selectCriteria", new selectCriteria()); - processMap.put("selectCcl", new selectCcl()); - processMap.put("selectCriteriaTime", new selectCriteriaTime()); - processMap.put("selectCriteriaTimestr", - new selectCriteriaTimestr()); - processMap.put("selectCclTime", new selectCclTime()); - processMap.put("selectCclTimestr", new selectCclTimestr()); - processMap.put("selectKeyCriteria", new selectKeyCriteria()); - processMap.put("selectKeyCcl", new selectKeyCcl()); - processMap.put("selectKeyCriteriaTime", - new selectKeyCriteriaTime()); - processMap.put("selectKeyCriteriaTimestr", - new selectKeyCriteriaTimestr()); - processMap.put("selectKeyCclTime", new selectKeyCclTime()); - processMap.put("selectKeyCclTimestr", new selectKeyCclTimestr()); - processMap.put("selectKeysCriteria", new selectKeysCriteria()); - processMap.put("selectKeysCcl", new selectKeysCcl()); - processMap.put("selectKeysCriteriaTime", - new selectKeysCriteriaTime()); - processMap.put("selectKeysCriteriaTimestr", - new selectKeysCriteriaTimestr()); - processMap.put("selectKeysCclTime", new selectKeysCclTime()); - processMap.put("selectKeysCclTimestr", new selectKeysCclTimestr()); - processMap.put("getKeyRecord", new getKeyRecord()); - processMap.put("getKeyRecordTime", new getKeyRecordTime()); - processMap.put("getKeyRecordTimestr", new getKeyRecordTimestr()); - processMap.put("getKeysRecord", new getKeysRecord()); - processMap.put("getKeysRecordTime", new getKeysRecordTime()); - processMap.put("getKeysRecordTimestr", new getKeysRecordTimestr()); - processMap.put("getKeysRecords", new getKeysRecords()); - processMap.put("getKeyRecords", new getKeyRecords()); - processMap.put("getKeyRecordsTime", new getKeyRecordsTime()); - processMap.put("getKeyRecordsTimestr", new getKeyRecordsTimestr()); - processMap.put("getKeysRecordsTime", new getKeysRecordsTime()); - processMap.put("getKeysRecordsTimestr", - new getKeysRecordsTimestr()); - processMap.put("getKeyCriteria", new getKeyCriteria()); - processMap.put("getCriteria", new getCriteria()); - processMap.put("getCcl", new getCcl()); - processMap.put("getCriteriaTime", new getCriteriaTime()); - processMap.put("getCriteriaTimestr", new getCriteriaTimestr()); - processMap.put("getCclTime", new getCclTime()); - processMap.put("getCclTimestr", new getCclTimestr()); - processMap.put("getKeyCcl", new getKeyCcl()); - processMap.put("getKeyCriteriaTime", new getKeyCriteriaTime()); - processMap.put("getKeyCriteriaTimestr", - new getKeyCriteriaTimestr()); - processMap.put("getKeyCclTime", new getKeyCclTime()); - processMap.put("getKeyCclTimestr", new getKeyCclTimestr()); - processMap.put("getKeysCriteria", new getKeysCriteria()); - processMap.put("getKeysCcl", new getKeysCcl()); - processMap.put("getKeysCriteriaTime", new getKeysCriteriaTime()); - processMap.put("getKeysCriteriaTimestr", - new getKeysCriteriaTimestr()); - processMap.put("getKeysCclTime", new getKeysCclTime()); - processMap.put("getKeysCclTimestr", new getKeysCclTimestr()); - processMap.put("verifyKeyValueRecord", new verifyKeyValueRecord()); - processMap.put("verifyKeyValueRecordTime", - new verifyKeyValueRecordTime()); - processMap.put("verifyKeyValueRecordTimestr", - new verifyKeyValueRecordTimestr()); - processMap.put("jsonifyRecords", new jsonifyRecords()); - processMap.put("jsonifyRecordsTime", new jsonifyRecordsTime()); - processMap.put("jsonifyRecordsTimestr", - new jsonifyRecordsTimestr()); - processMap.put("findCriteria", new findCriteria()); - processMap.put("findCcl", new findCcl()); - processMap.put("findKeyOperatorValues", - new findKeyOperatorValues()); - processMap.put("findKeyOperatorValuesTime", - new findKeyOperatorValuesTime()); - processMap.put("findKeyOperatorValuesTimestr", - new findKeyOperatorValuesTimestr()); - processMap.put("findKeyOperatorstrValues", - new findKeyOperatorstrValues()); - processMap.put("findKeyOperatorstrValuesTime", - new findKeyOperatorstrValuesTime()); - processMap.put("findKeyOperatorstrValuesTimestr", - new findKeyOperatorstrValuesTimestr()); - processMap.put("search", new search()); - processMap.put("revertKeysRecordsTime", - new revertKeysRecordsTime()); - processMap.put("revertKeysRecordsTimestr", - new revertKeysRecordsTimestr()); - processMap.put("revertKeysRecordTime", new revertKeysRecordTime()); - processMap.put("revertKeysRecordTimestr", - new revertKeysRecordTimestr()); - processMap.put("revertKeyRecordsTime", new revertKeyRecordsTime()); - processMap.put("revertKeyRecordsTimestr", - new revertKeyRecordsTimestr()); - processMap.put("revertKeyRecordTime", new revertKeyRecordTime()); - processMap.put("revertKeyRecordTimestr", - new revertKeyRecordTimestr()); - processMap.put("pingRecords", new pingRecords()); - processMap.put("pingRecord", new pingRecord()); - processMap.put("verifyAndSwap", new verifyAndSwap()); - processMap.put("verifyOrSet", new verifyOrSet()); - processMap.put("findOrAddKeyValue", new findOrAddKeyValue()); - processMap.put("findOrInsertCriteriaJson", - new findOrInsertCriteriaJson()); - processMap.put("findOrInsertCclJson", new findOrInsertCclJson()); - processMap.put("sumKeyRecord", new sumKeyRecord()); - processMap.put("sumKeyRecordTime", new sumKeyRecordTime()); - processMap.put("sumKeyRecordTimestr", new sumKeyRecordTimestr()); - processMap.put("sumKeyRecords", new sumKeyRecords()); - processMap.put("sumKeyRecordsTime", new sumKeyRecordsTime()); - processMap.put("sumKeyRecordsTimestr", new sumKeyRecordsTimestr()); - processMap.put("sumKey", new sumKey()); - processMap.put("sumKeyTime", new sumKeyTime()); - processMap.put("sumKeyTimestr", new sumKeyTimestr()); - processMap.put("sumKeyCriteria", new sumKeyCriteria()); - processMap.put("sumKeyCriteriaTime", new sumKeyCriteriaTime()); - processMap.put("sumKeyCriteriaTimestr", - new sumKeyCriteriaTimestr()); - processMap.put("sumKeyCcl", new sumKeyCcl()); - processMap.put("sumKeyCclTime", new sumKeyCclTime()); - processMap.put("sumKeyCclTimestr", new sumKeyCclTimestr()); - processMap.put("averageKeyRecord", new averageKeyRecord()); - processMap.put("averageKeyRecordTime", new averageKeyRecordTime()); - processMap.put("averageKeyRecordTimestr", - new averageKeyRecordTimestr()); - processMap.put("averageKeyRecords", new averageKeyRecords()); - processMap.put("averageKeyRecordsTime", - new averageKeyRecordsTime()); - processMap.put("averageKeyRecordsTimestr", - new averageKeyRecordsTimestr()); - processMap.put("averageKey", new averageKey()); - processMap.put("averageKeyTime", new averageKeyTime()); - processMap.put("averageKeyTimestr", new averageKeyTimestr()); - processMap.put("averageKeyCriteria", new averageKeyCriteria()); - processMap.put("averageKeyCriteriaTime", - new averageKeyCriteriaTime()); - processMap.put("averageKeyCriteriaTimestr", - new averageKeyCriteriaTimestr()); - processMap.put("averageKeyCcl", new averageKeyCcl()); - processMap.put("averageKeyCclTime", new averageKeyCclTime()); - processMap.put("averageKeyCclTimestr", new averageKeyCclTimestr()); - processMap.put("countKeyRecord", new countKeyRecord()); - processMap.put("countKeyRecordTime", new countKeyRecordTime()); - processMap.put("countKeyRecordTimestr", - new countKeyRecordTimestr()); - processMap.put("countKeyRecords", new countKeyRecords()); - processMap.put("countKeyRecordsTime", new countKeyRecordsTime()); - processMap.put("countKeyRecordsTimestr", - new countKeyRecordsTimestr()); - processMap.put("countKey", new countKey()); - processMap.put("countKeyTime", new countKeyTime()); - processMap.put("countKeyTimestr", new countKeyTimestr()); - processMap.put("countKeyCriteria", new countKeyCriteria()); - processMap.put("countKeyCriteriaTime", new countKeyCriteriaTime()); - processMap.put("countKeyCriteriaTimestr", - new countKeyCriteriaTimestr()); - processMap.put("countKeyCcl", new countKeyCcl()); - processMap.put("countKeyCclTime", new countKeyCclTime()); - processMap.put("countKeyCclTimestr", new countKeyCclTimestr()); - processMap.put("maxKeyRecord", new maxKeyRecord()); - processMap.put("maxKeyRecordTime", new maxKeyRecordTime()); - processMap.put("maxKeyRecordTimestr", new maxKeyRecordTimestr()); - processMap.put("maxKeyRecords", new maxKeyRecords()); - processMap.put("maxKeyRecordsTime", new maxKeyRecordsTime()); - processMap.put("maxKeyRecordsTimestr", new maxKeyRecordsTimestr()); - processMap.put("maxKeyCriteria", new maxKeyCriteria()); - processMap.put("maxKeyCriteriaTime", new maxKeyCriteriaTime()); - processMap.put("maxKeyCriteriaTimestr", - new maxKeyCriteriaTimestr()); - processMap.put("maxKeyCcl", new maxKeyCcl()); - processMap.put("maxKeyCclTime", new maxKeyCclTime()); - processMap.put("maxKeyCclTimestr", new maxKeyCclTimestr()); - processMap.put("maxKey", new maxKey()); - processMap.put("maxKeyTime", new maxKeyTime()); - processMap.put("maxKeyTimestr", new maxKeyTimestr()); - processMap.put("minKeyRecord", new minKeyRecord()); - processMap.put("minKeyRecordTime", new minKeyRecordTime()); - processMap.put("minKeyRecordTimestr", new minKeyRecordTimestr()); - processMap.put("minKey", new minKey()); - processMap.put("minKeyRecordsTime", new minKeyRecordsTime()); - processMap.put("minKeyRecordsTimestr", new minKeyRecordsTimestr()); - processMap.put("minKeyCriteria", new minKeyCriteria()); - processMap.put("minKeyCriteriaTime", new minKeyCriteriaTime()); - processMap.put("minKeyCriteriaTimestr", - new minKeyCriteriaTimestr()); - processMap.put("minKeyCcl", new minKeyCcl()); - processMap.put("minKeyCclTime", new minKeyCclTime()); - processMap.put("minKeyCclTimestr", new minKeyCclTimestr()); - processMap.put("minKeyTime", new minKeyTime()); - processMap.put("minKeyTimestr", new minKeyTimestr()); - processMap.put("minKeyRecords", new minKeyRecords()); - processMap.put("navigateKeyRecord", new navigateKeyRecord()); - processMap.put("navigateKeyRecordTime", - new navigateKeyRecordTime()); - processMap.put("navigateKeyRecordTimestr", - new navigateKeyRecordTimestr()); - processMap.put("navigateKeysRecord", new navigateKeysRecord()); - processMap.put("navigateKeysRecordTime", - new navigateKeysRecordTime()); - processMap.put("navigateKeysRecordTimestr", - new navigateKeysRecordTimestr()); - processMap.put("navigateKeysRecords", new navigateKeysRecords()); - processMap.put("navigateKeyRecords", new navigateKeyRecords()); - processMap.put("navigateKeyRecordsTime", - new navigateKeyRecordsTime()); - processMap.put("navigateKeyRecordsTimestr", - new navigateKeyRecordsTimestr()); - processMap.put("navigateKeysRecordsTime", - new navigateKeysRecordsTime()); - processMap.put("navigateKeysRecordsTimestr", - new navigateKeysRecordsTimestr()); - processMap.put("navigateKeyCcl", new navigateKeyCcl()); - processMap.put("navigateKeyCclTime", new navigateKeyCclTime()); - processMap.put("navigateKeyCclTimestr", - new navigateKeyCclTimestr()); - processMap.put("navigateKeysCcl", new navigateKeysCcl()); - processMap.put("navigateKeysCclTime", new navigateKeysCclTime()); - processMap.put("navigateKeysCclTimestr", - new navigateKeysCclTimestr()); - processMap.put("navigateKeyCriteria", new navigateKeyCriteria()); - processMap.put("navigateKeyCriteriaTime", - new navigateKeyCriteriaTime()); - processMap.put("navigateKeyCriteriaTimestr", - new navigateKeyCriteriaTimestr()); - processMap.put("navigateKeysCriteria", new navigateKeysCriteria()); - processMap.put("navigateKeysCriteriaTime", - new navigateKeysCriteriaTime()); - processMap.put("navigateKeysCriteriaTimestr", - new navigateKeysCriteriaTimestr()); - processMap.put("getServerEnvironment", new getServerEnvironment()); - processMap.put("getServerVersion", new getServerVersion()); - processMap.put("time", new time()); - processMap.put("timePhrase", new timePhrase()); - processMap.put("invokeManagement", new invokeManagement()); - return processMap; - } + public static class sumKeyTimestr extends + org.apache.thrift.ProcessFunction { + public sumKeyTimestr() { + super("sumKeyTimestr"); + } - public static class abort extends - org.apache.thrift.AsyncProcessFunction { - public abort() { - super("abort"); + public sumKeyTimestr_args getEmptyArgsInstance() { + return new sumKeyTimestr_args(); } - public abort_args getEmptyArgsInstance() { - return new abort_args(); + protected boolean isOneway() { + return false; } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - abort_result result = new abort_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } + public sumKeyTimestr_result getResult(I iface, + sumKeyTimestr_args args) + throws org.apache.thrift.TException { + sumKeyTimestr_result result = new sumKeyTimestr_result(); + try { + result.success = iface.sumKeyTimestr(args.key, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - abort_result result = new abort_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public static class sumKeyCriteria extends + org.apache.thrift.ProcessFunction { + public sumKeyCriteria() { + super("sumKeyCriteria"); + } + + public sumKeyCriteria_args getEmptyArgsInstance() { + return new sumKeyCriteria_args(); } protected boolean isOneway() { return false; } - public void start(I iface, abort_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.abort(args.creds, args.transaction, args.environment, - resultHandler); + public sumKeyCriteria_result getResult(I iface, + sumKeyCriteria_args args) + throws org.apache.thrift.TException { + sumKeyCriteria_result result = new sumKeyCriteria_result(); + try { + result.success = iface.sumKeyCriteria(args.key, + args.criteria, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class addKeyValue extends - org.apache.thrift.AsyncProcessFunction { - public addKeyValue() { - super("addKeyValue"); - } - - public addKeyValue_args getEmptyArgsInstance() { - return new addKeyValue_args(); + public static class sumKeyCriteriaTime extends + org.apache.thrift.ProcessFunction { + public sumKeyCriteriaTime() { + super("sumKeyCriteriaTime"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - addKeyValue_result result = new addKeyValue_result(); - result.success = o; - result.setSuccessIsSet(true); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - addKeyValue_result result = new addKeyValue_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public sumKeyCriteriaTime_args getEmptyArgsInstance() { + return new sumKeyCriteriaTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, addKeyValue_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.addKeyValue(args.key, args.value, args.creds, - args.transaction, args.environment, resultHandler); + public sumKeyCriteriaTime_result getResult(I iface, + sumKeyCriteriaTime_args args) + throws org.apache.thrift.TException { + sumKeyCriteriaTime_result result = new sumKeyCriteriaTime_result(); + try { + result.success = iface.sumKeyCriteriaTime(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class addKeyValueRecord extends - org.apache.thrift.AsyncProcessFunction { - public addKeyValueRecord() { - super("addKeyValueRecord"); - } - - public addKeyValueRecord_args getEmptyArgsInstance() { - return new addKeyValueRecord_args(); + public static class sumKeyCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public sumKeyCriteriaTimestr() { + super("sumKeyCriteriaTimestr"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Boolean o) { - addKeyValueRecord_result result = new addKeyValueRecord_result(); - result.success = o; - result.setSuccessIsSet(true); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - addKeyValueRecord_result result = new addKeyValueRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public sumKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new sumKeyCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, addKeyValueRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.addKeyValueRecord(args.key, args.value, args.record, - args.creds, args.transaction, args.environment, - resultHandler); + public sumKeyCriteriaTimestr_result getResult(I iface, + sumKeyCriteriaTimestr_args args) + throws org.apache.thrift.TException { + sumKeyCriteriaTimestr_result result = new sumKeyCriteriaTimestr_result(); + try { + result.success = iface.sumKeyCriteriaTimestr(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class addKeyValueRecords extends - org.apache.thrift.AsyncProcessFunction> { - public addKeyValueRecords() { - super("addKeyValueRecords"); - } - - public addKeyValueRecords_args getEmptyArgsInstance() { - return new addKeyValueRecords_args(); + public static class sumKeyCcl + extends org.apache.thrift.ProcessFunction { + public sumKeyCcl() { + super("sumKeyCcl"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - addKeyValueRecords_result result = new addKeyValueRecords_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - addKeyValueRecords_result result = new addKeyValueRecords_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public sumKeyCcl_args getEmptyArgsInstance() { + return new sumKeyCcl_args(); } protected boolean isOneway() { return false; } - public void start(I iface, addKeyValueRecords_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.addKeyValueRecords(args.key, args.value, args.records, - args.creds, args.transaction, args.environment, - resultHandler); + public sumKeyCcl_result getResult(I iface, sumKeyCcl_args args) + throws org.apache.thrift.TException { + sumKeyCcl_result result = new sumKeyCcl_result(); + try { + result.success = iface.sumKeyCcl(args.key, args.ccl, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class auditRecord extends - org.apache.thrift.AsyncProcessFunction> { - public auditRecord() { - super("auditRecord"); - } - - public auditRecord_args getEmptyArgsInstance() { - return new auditRecord_args(); + public static class sumKeyCclTime extends + org.apache.thrift.ProcessFunction { + public sumKeyCclTime() { + super("sumKeyCclTime"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - auditRecord_result result = new auditRecord_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - auditRecord_result result = new auditRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public sumKeyCclTime_args getEmptyArgsInstance() { + return new sumKeyCclTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, auditRecord_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.auditRecord(args.record, args.creds, args.transaction, - args.environment, resultHandler); + public sumKeyCclTime_result getResult(I iface, + sumKeyCclTime_args args) + throws org.apache.thrift.TException { + sumKeyCclTime_result result = new sumKeyCclTime_result(); + try { + result.success = iface.sumKeyCclTime(args.key, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class auditRecordStart extends - org.apache.thrift.AsyncProcessFunction> { - public auditRecordStart() { - super("auditRecordStart"); - } - - public auditRecordStart_args getEmptyArgsInstance() { - return new auditRecordStart_args(); + public static class sumKeyCclTimestr extends + org.apache.thrift.ProcessFunction { + public sumKeyCclTimestr() { + super("sumKeyCclTimestr"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - auditRecordStart_result result = new auditRecordStart_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - auditRecordStart_result result = new auditRecordStart_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public sumKeyCclTimestr_args getEmptyArgsInstance() { + return new sumKeyCclTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, auditRecordStart_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.auditRecordStart(args.record, args.start, args.creds, - args.transaction, args.environment, resultHandler); + public sumKeyCclTimestr_result getResult(I iface, + sumKeyCclTimestr_args args) + throws org.apache.thrift.TException { + sumKeyCclTimestr_result result = new sumKeyCclTimestr_result(); + try { + result.success = iface.sumKeyCclTimestr(args.key, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class auditRecordStartstr extends - org.apache.thrift.AsyncProcessFunction> { - public auditRecordStartstr() { - super("auditRecordStartstr"); - } - - public auditRecordStartstr_args getEmptyArgsInstance() { - return new auditRecordStartstr_args(); + public static class averageKeyRecord extends + org.apache.thrift.ProcessFunction { + public averageKeyRecord() { + super("averageKeyRecord"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - auditRecordStartstr_result result = new auditRecordStartstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - auditRecordStartstr_result result = new auditRecordStartstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyRecord_args getEmptyArgsInstance() { + return new averageKeyRecord_args(); } protected boolean isOneway() { return false; } - public void start(I iface, auditRecordStartstr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.auditRecordStartstr(args.record, args.start, args.creds, - args.transaction, args.environment, resultHandler); + public averageKeyRecord_result getResult(I iface, + averageKeyRecord_args args) + throws org.apache.thrift.TException { + averageKeyRecord_result result = new averageKeyRecord_result(); + try { + result.success = iface.averageKeyRecord(args.key, + args.record, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class auditRecordStartEnd extends - org.apache.thrift.AsyncProcessFunction> { - public auditRecordStartEnd() { - super("auditRecordStartEnd"); - } - - public auditRecordStartEnd_args getEmptyArgsInstance() { - return new auditRecordStartEnd_args(); + public static class averageKeyRecordTime extends + org.apache.thrift.ProcessFunction { + public averageKeyRecordTime() { + super("averageKeyRecordTime"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - auditRecordStartEnd_result result = new auditRecordStartEnd_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - auditRecordStartEnd_result result = new auditRecordStartEnd_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyRecordTime_args getEmptyArgsInstance() { + return new averageKeyRecordTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, auditRecordStartEnd_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.auditRecordStartEnd(args.record, args.start, args.tend, - args.creds, args.transaction, args.environment, - resultHandler); + public averageKeyRecordTime_result getResult(I iface, + averageKeyRecordTime_args args) + throws org.apache.thrift.TException { + averageKeyRecordTime_result result = new averageKeyRecordTime_result(); + try { + result.success = iface.averageKeyRecordTime(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class auditRecordStartstrEndstr - extends - org.apache.thrift.AsyncProcessFunction> { - public auditRecordStartstrEndstr() { - super("auditRecordStartstrEndstr"); + public static class averageKeyRecordTimestr extends + org.apache.thrift.ProcessFunction { + public averageKeyRecordTimestr() { + super("averageKeyRecordTimestr"); } - public auditRecordStartstrEndstr_args getEmptyArgsInstance() { - return new auditRecordStartstrEndstr_args(); + public averageKeyRecordTimestr_args getEmptyArgsInstance() { + return new averageKeyRecordTimestr_args(); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - auditRecordStartstrEndstr_result result = new auditRecordStartstrEndstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } + protected boolean isOneway() { + return false; + } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - auditRecordStartstrEndstr_result result = new auditRecordStartstrEndstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyRecordTimestr_result getResult(I iface, + averageKeyRecordTimestr_args args) + throws org.apache.thrift.TException { + averageKeyRecordTimestr_result result = new averageKeyRecordTimestr_result(); + try { + result.success = iface.averageKeyRecordTimestr(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class averageKeyRecords extends + org.apache.thrift.ProcessFunction { + public averageKeyRecords() { + super("averageKeyRecords"); + } + + public averageKeyRecords_args getEmptyArgsInstance() { + return new averageKeyRecords_args(); } protected boolean isOneway() { return false; } - public void start(I iface, auditRecordStartstrEndstr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.auditRecordStartstrEndstr(args.record, args.start, - args.tend, args.creds, args.transaction, - args.environment, resultHandler); + public averageKeyRecords_result getResult(I iface, + averageKeyRecords_args args) + throws org.apache.thrift.TException { + averageKeyRecords_result result = new averageKeyRecords_result(); + try { + result.success = iface.averageKeyRecords(args.key, + args.records, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class auditKeyRecord extends - org.apache.thrift.AsyncProcessFunction> { - public auditKeyRecord() { - super("auditKeyRecord"); + public static class averageKeyRecordsTime extends + org.apache.thrift.ProcessFunction { + public averageKeyRecordsTime() { + super("averageKeyRecordsTime"); } - public auditKeyRecord_args getEmptyArgsInstance() { - return new auditKeyRecord_args(); - } - - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - auditKeyRecord_result result = new auditKeyRecord_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - auditKeyRecord_result result = new auditKeyRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyRecordsTime_args getEmptyArgsInstance() { + return new averageKeyRecordsTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, auditKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.auditKeyRecord(args.key, args.record, args.creds, - args.transaction, args.environment, resultHandler); + public averageKeyRecordsTime_result getResult(I iface, + averageKeyRecordsTime_args args) + throws org.apache.thrift.TException { + averageKeyRecordsTime_result result = new averageKeyRecordsTime_result(); + try { + result.success = iface.averageKeyRecordsTime(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class auditKeyRecordStart extends - org.apache.thrift.AsyncProcessFunction> { - public auditKeyRecordStart() { - super("auditKeyRecordStart"); - } - - public auditKeyRecordStart_args getEmptyArgsInstance() { - return new auditKeyRecordStart_args(); + public static class averageKeyRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public averageKeyRecordsTimestr() { + super("averageKeyRecordsTimestr"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - auditKeyRecordStart_result result = new auditKeyRecordStart_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - auditKeyRecordStart_result result = new auditKeyRecordStart_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyRecordsTimestr_args getEmptyArgsInstance() { + return new averageKeyRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, auditKeyRecordStart_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.auditKeyRecordStart(args.key, args.record, args.start, - args.creds, args.transaction, args.environment, - resultHandler); + public averageKeyRecordsTimestr_result getResult(I iface, + averageKeyRecordsTimestr_args args) + throws org.apache.thrift.TException { + averageKeyRecordsTimestr_result result = new averageKeyRecordsTimestr_result(); + try { + result.success = iface.averageKeyRecordsTimestr(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class auditKeyRecordStartstr extends - org.apache.thrift.AsyncProcessFunction> { - public auditKeyRecordStartstr() { - super("auditKeyRecordStartstr"); - } - - public auditKeyRecordStartstr_args getEmptyArgsInstance() { - return new auditKeyRecordStartstr_args(); + public static class averageKey + extends org.apache.thrift.ProcessFunction { + public averageKey() { + super("averageKey"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - auditKeyRecordStartstr_result result = new auditKeyRecordStartstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - auditKeyRecordStartstr_result result = new auditKeyRecordStartstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKey_args getEmptyArgsInstance() { + return new averageKey_args(); } protected boolean isOneway() { return false; } - public void start(I iface, auditKeyRecordStartstr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.auditKeyRecordStartstr(args.key, args.record, args.start, - args.creds, args.transaction, args.environment, - resultHandler); + public averageKey_result getResult(I iface, averageKey_args args) + throws org.apache.thrift.TException { + averageKey_result result = new averageKey_result(); + try { + result.success = iface.averageKey(args.key, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class auditKeyRecordStartEnd extends - org.apache.thrift.AsyncProcessFunction> { - public auditKeyRecordStartEnd() { - super("auditKeyRecordStartEnd"); - } - - public auditKeyRecordStartEnd_args getEmptyArgsInstance() { - return new auditKeyRecordStartEnd_args(); + public static class averageKeyTime extends + org.apache.thrift.ProcessFunction { + public averageKeyTime() { + super("averageKeyTime"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - auditKeyRecordStartEnd_result result = new auditKeyRecordStartEnd_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - auditKeyRecordStartEnd_result result = new auditKeyRecordStartEnd_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyTime_args getEmptyArgsInstance() { + return new averageKeyTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, auditKeyRecordStartEnd_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.auditKeyRecordStartEnd(args.key, args.record, args.start, - args.tend, args.creds, args.transaction, - args.environment, resultHandler); + public averageKeyTime_result getResult(I iface, + averageKeyTime_args args) + throws org.apache.thrift.TException { + averageKeyTime_result result = new averageKeyTime_result(); + try { + result.success = iface.averageKeyTime(args.key, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class auditKeyRecordStartstrEndstr - extends - org.apache.thrift.AsyncProcessFunction> { - public auditKeyRecordStartstrEndstr() { - super("auditKeyRecordStartstrEndstr"); - } - - public auditKeyRecordStartstrEndstr_args getEmptyArgsInstance() { - return new auditKeyRecordStartstrEndstr_args(); + public static class averageKeyTimestr extends + org.apache.thrift.ProcessFunction { + public averageKeyTimestr() { + super("averageKeyTimestr"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - auditKeyRecordStartstrEndstr_result result = new auditKeyRecordStartstrEndstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - auditKeyRecordStartstrEndstr_result result = new auditKeyRecordStartstrEndstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyTimestr_args getEmptyArgsInstance() { + return new averageKeyTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, auditKeyRecordStartstrEndstr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.auditKeyRecordStartstrEndstr(args.key, args.record, - args.start, args.tend, args.creds, args.transaction, - args.environment, resultHandler); + public averageKeyTimestr_result getResult(I iface, + averageKeyTimestr_args args) + throws org.apache.thrift.TException { + averageKeyTimestr_result result = new averageKeyTimestr_result(); + try { + result.success = iface.averageKeyTimestr(args.key, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class browseKey extends - org.apache.thrift.AsyncProcessFunction>> { - public browseKey() { - super("browseKey"); - } - - public browseKey_args getEmptyArgsInstance() { - return new browseKey_args(); + public static class averageKeyCriteria extends + org.apache.thrift.ProcessFunction { + public averageKeyCriteria() { + super("averageKeyCriteria"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - browseKey_result result = new browseKey_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - browseKey_result result = new browseKey_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyCriteria_args getEmptyArgsInstance() { + return new averageKeyCriteria_args(); } protected boolean isOneway() { return false; } - public void start(I iface, browseKey_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.browseKey(args.key, args.creds, args.transaction, - args.environment, resultHandler); + public averageKeyCriteria_result getResult(I iface, + averageKeyCriteria_args args) + throws org.apache.thrift.TException { + averageKeyCriteria_result result = new averageKeyCriteria_result(); + try { + result.success = iface.averageKeyCriteria(args.key, + args.criteria, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class browseKeys extends - org.apache.thrift.AsyncProcessFunction>>> { - public browseKeys() { - super("browseKeys"); - } - - public browseKeys_args getEmptyArgsInstance() { - return new browseKeys_args(); + public static class averageKeyCriteriaTime extends + org.apache.thrift.ProcessFunction { + public averageKeyCriteriaTime() { + super("averageKeyCriteriaTime"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - browseKeys_result result = new browseKeys_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - browseKeys_result result = new browseKeys_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyCriteriaTime_args getEmptyArgsInstance() { + return new averageKeyCriteriaTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, browseKeys_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.browseKeys(args.keys, args.creds, args.transaction, - args.environment, resultHandler); + public averageKeyCriteriaTime_result getResult(I iface, + averageKeyCriteriaTime_args args) + throws org.apache.thrift.TException { + averageKeyCriteriaTime_result result = new averageKeyCriteriaTime_result(); + try { + result.success = iface.averageKeyCriteriaTime(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class browseKeyTime extends - org.apache.thrift.AsyncProcessFunction>> { - public browseKeyTime() { - super("browseKeyTime"); - } - - public browseKeyTime_args getEmptyArgsInstance() { - return new browseKeyTime_args(); + public static class averageKeyCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public averageKeyCriteriaTimestr() { + super("averageKeyCriteriaTimestr"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - browseKeyTime_result result = new browseKeyTime_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - browseKeyTime_result result = new browseKeyTime_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new averageKeyCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, browseKeyTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.browseKeyTime(args.key, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + public averageKeyCriteriaTimestr_result getResult(I iface, + averageKeyCriteriaTimestr_args args) + throws org.apache.thrift.TException { + averageKeyCriteriaTimestr_result result = new averageKeyCriteriaTimestr_result(); + try { + result.success = iface.averageKeyCriteriaTimestr(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class browseKeyTimestr extends - org.apache.thrift.AsyncProcessFunction>> { - public browseKeyTimestr() { - super("browseKeyTimestr"); - } - - public browseKeyTimestr_args getEmptyArgsInstance() { - return new browseKeyTimestr_args(); + public static class averageKeyCcl extends + org.apache.thrift.ProcessFunction { + public averageKeyCcl() { + super("averageKeyCcl"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - browseKeyTimestr_result result = new browseKeyTimestr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - browseKeyTimestr_result result = new browseKeyTimestr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyCcl_args getEmptyArgsInstance() { + return new averageKeyCcl_args(); } protected boolean isOneway() { return false; } - public void start(I iface, browseKeyTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.browseKeyTimestr(args.key, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + public averageKeyCcl_result getResult(I iface, + averageKeyCcl_args args) + throws org.apache.thrift.TException { + averageKeyCcl_result result = new averageKeyCcl_result(); + try { + result.success = iface.averageKeyCcl(args.key, args.ccl, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class browseKeysTime extends - org.apache.thrift.AsyncProcessFunction>>> { - public browseKeysTime() { - super("browseKeysTime"); - } - - public browseKeysTime_args getEmptyArgsInstance() { - return new browseKeysTime_args(); + public static class averageKeyCclTime extends + org.apache.thrift.ProcessFunction { + public averageKeyCclTime() { + super("averageKeyCclTime"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - browseKeysTime_result result = new browseKeysTime_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - browseKeysTime_result result = new browseKeysTime_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyCclTime_args getEmptyArgsInstance() { + return new averageKeyCclTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, browseKeysTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.browseKeysTime(args.keys, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + public averageKeyCclTime_result getResult(I iface, + averageKeyCclTime_args args) + throws org.apache.thrift.TException { + averageKeyCclTime_result result = new averageKeyCclTime_result(); + try { + result.success = iface.averageKeyCclTime(args.key, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class browseKeysTimestr extends - org.apache.thrift.AsyncProcessFunction>>> { - public browseKeysTimestr() { - super("browseKeysTimestr"); - } - - public browseKeysTimestr_args getEmptyArgsInstance() { - return new browseKeysTimestr_args(); + public static class averageKeyCclTimestr extends + org.apache.thrift.ProcessFunction { + public averageKeyCclTimestr() { + super("averageKeyCclTimestr"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - browseKeysTimestr_result result = new browseKeysTimestr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - browseKeysTimestr_result result = new browseKeysTimestr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public averageKeyCclTimestr_args getEmptyArgsInstance() { + return new averageKeyCclTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, browseKeysTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.browseKeysTimestr(args.keys, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + public averageKeyCclTimestr_result getResult(I iface, + averageKeyCclTimestr_args args) + throws org.apache.thrift.TException { + averageKeyCclTimestr_result result = new averageKeyCclTimestr_result(); + try { + result.success = iface.averageKeyCclTimestr(args.key, + args.ccl, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class chronologizeKeyRecord extends - org.apache.thrift.AsyncProcessFunction>> { - public chronologizeKeyRecord() { - super("chronologizeKeyRecord"); - } - - public chronologizeKeyRecord_args getEmptyArgsInstance() { - return new chronologizeKeyRecord_args(); + public static class countKeyRecord extends + org.apache.thrift.ProcessFunction { + public countKeyRecord() { + super("countKeyRecord"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - chronologizeKeyRecord_result result = new chronologizeKeyRecord_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - chronologizeKeyRecord_result result = new chronologizeKeyRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyRecord_args getEmptyArgsInstance() { + return new countKeyRecord_args(); } protected boolean isOneway() { return false; } - public void start(I iface, chronologizeKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.chronologizeKeyRecord(args.key, args.record, args.creds, - args.transaction, args.environment, resultHandler); + public countKeyRecord_result getResult(I iface, + countKeyRecord_args args) + throws org.apache.thrift.TException { + countKeyRecord_result result = new countKeyRecord_result(); + try { + result.success = iface.countKeyRecord(args.key, args.record, + args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class chronologizeKeyRecordStart - extends - org.apache.thrift.AsyncProcessFunction>> { - public chronologizeKeyRecordStart() { - super("chronologizeKeyRecordStart"); - } - - public chronologizeKeyRecordStart_args getEmptyArgsInstance() { - return new chronologizeKeyRecordStart_args(); + public static class countKeyRecordTime extends + org.apache.thrift.ProcessFunction { + public countKeyRecordTime() { + super("countKeyRecordTime"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - chronologizeKeyRecordStart_result result = new chronologizeKeyRecordStart_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - chronologizeKeyRecordStart_result result = new chronologizeKeyRecordStart_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyRecordTime_args getEmptyArgsInstance() { + return new countKeyRecordTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, chronologizeKeyRecordStart_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.chronologizeKeyRecordStart(args.key, args.record, - args.start, args.creds, args.transaction, - args.environment, resultHandler); + public countKeyRecordTime_result getResult(I iface, + countKeyRecordTime_args args) + throws org.apache.thrift.TException { + countKeyRecordTime_result result = new countKeyRecordTime_result(); + try { + result.success = iface.countKeyRecordTime(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class chronologizeKeyRecordStartstr - extends - org.apache.thrift.AsyncProcessFunction>> { - public chronologizeKeyRecordStartstr() { - super("chronologizeKeyRecordStartstr"); - } - - public chronologizeKeyRecordStartstr_args getEmptyArgsInstance() { - return new chronologizeKeyRecordStartstr_args(); + public static class countKeyRecordTimestr extends + org.apache.thrift.ProcessFunction { + public countKeyRecordTimestr() { + super("countKeyRecordTimestr"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - chronologizeKeyRecordStartstr_result result = new chronologizeKeyRecordStartstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - chronologizeKeyRecordStartstr_result result = new chronologizeKeyRecordStartstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyRecordTimestr_args getEmptyArgsInstance() { + return new countKeyRecordTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, chronologizeKeyRecordStartstr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.chronologizeKeyRecordStartstr(args.key, args.record, - args.start, args.creds, args.transaction, - args.environment, resultHandler); + public countKeyRecordTimestr_result getResult(I iface, + countKeyRecordTimestr_args args) + throws org.apache.thrift.TException { + countKeyRecordTimestr_result result = new countKeyRecordTimestr_result(); + try { + result.success = iface.countKeyRecordTimestr(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class chronologizeKeyRecordStartEnd - extends - org.apache.thrift.AsyncProcessFunction>> { - public chronologizeKeyRecordStartEnd() { - super("chronologizeKeyRecordStartEnd"); - } - - public chronologizeKeyRecordStartEnd_args getEmptyArgsInstance() { - return new chronologizeKeyRecordStartEnd_args(); + public static class countKeyRecords extends + org.apache.thrift.ProcessFunction { + public countKeyRecords() { + super("countKeyRecords"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - chronologizeKeyRecordStartEnd_result result = new chronologizeKeyRecordStartEnd_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - chronologizeKeyRecordStartEnd_result result = new chronologizeKeyRecordStartEnd_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyRecords_args getEmptyArgsInstance() { + return new countKeyRecords_args(); } protected boolean isOneway() { return false; } - public void start(I iface, chronologizeKeyRecordStartEnd_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.chronologizeKeyRecordStartEnd(args.key, args.record, - args.start, args.tend, args.creds, args.transaction, - args.environment, resultHandler); + public countKeyRecords_result getResult(I iface, + countKeyRecords_args args) + throws org.apache.thrift.TException { + countKeyRecords_result result = new countKeyRecords_result(); + try { + result.success = iface.countKeyRecords(args.key, + args.records, args.creds, args.transaction, + args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class chronologizeKeyRecordStartstrEndstr - extends - org.apache.thrift.AsyncProcessFunction>> { - public chronologizeKeyRecordStartstrEndstr() { - super("chronologizeKeyRecordStartstrEndstr"); - } - - public chronologizeKeyRecordStartstrEndstr_args getEmptyArgsInstance() { - return new chronologizeKeyRecordStartstrEndstr_args(); + public static class countKeyRecordsTime extends + org.apache.thrift.ProcessFunction { + public countKeyRecordsTime() { + super("countKeyRecordsTime"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - chronologizeKeyRecordStartstrEndstr_result result = new chronologizeKeyRecordStartstrEndstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - chronologizeKeyRecordStartstrEndstr_result result = new chronologizeKeyRecordStartstrEndstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyRecordsTime_args getEmptyArgsInstance() { + return new countKeyRecordsTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, - chronologizeKeyRecordStartstrEndstr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.chronologizeKeyRecordStartstrEndstr(args.key, args.record, - args.start, args.tend, args.creds, args.transaction, - args.environment, resultHandler); + public countKeyRecordsTime_result getResult(I iface, + countKeyRecordsTime_args args) + throws org.apache.thrift.TException { + countKeyRecordsTime_result result = new countKeyRecordsTime_result(); + try { + result.success = iface.countKeyRecordsTime(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class clearRecord extends - org.apache.thrift.AsyncProcessFunction { - public clearRecord() { - super("clearRecord"); - } - - public clearRecord_args getEmptyArgsInstance() { - return new clearRecord_args(); + public static class countKeyRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public countKeyRecordsTimestr() { + super("countKeyRecordsTimestr"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - clearRecord_result result = new clearRecord_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - clearRecord_result result = new clearRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyRecordsTimestr_args getEmptyArgsInstance() { + return new countKeyRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, clearRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.clearRecord(args.record, args.creds, args.transaction, - args.environment, resultHandler); + public countKeyRecordsTimestr_result getResult(I iface, + countKeyRecordsTimestr_args args) + throws org.apache.thrift.TException { + countKeyRecordsTimestr_result result = new countKeyRecordsTimestr_result(); + try { + result.success = iface.countKeyRecordsTimestr(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class clearRecords extends - org.apache.thrift.AsyncProcessFunction { - public clearRecords() { - super("clearRecords"); - } - - public clearRecords_args getEmptyArgsInstance() { - return new clearRecords_args(); + public static class countKey + extends org.apache.thrift.ProcessFunction { + public countKey() { + super("countKey"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - clearRecords_result result = new clearRecords_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - clearRecords_result result = new clearRecords_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKey_args getEmptyArgsInstance() { + return new countKey_args(); } protected boolean isOneway() { return false; } - public void start(I iface, clearRecords_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.clearRecords(args.records, args.creds, args.transaction, - args.environment, resultHandler); + public countKey_result getResult(I iface, countKey_args args) + throws org.apache.thrift.TException { + countKey_result result = new countKey_result(); + try { + result.success = iface.countKey(args.key, args.creds, + args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class clearKeyRecord extends - org.apache.thrift.AsyncProcessFunction { - public clearKeyRecord() { - super("clearKeyRecord"); - } - - public clearKeyRecord_args getEmptyArgsInstance() { - return new clearKeyRecord_args(); + public static class countKeyTime extends + org.apache.thrift.ProcessFunction { + public countKeyTime() { + super("countKeyTime"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - clearKeyRecord_result result = new clearKeyRecord_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - clearKeyRecord_result result = new clearKeyRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyTime_args getEmptyArgsInstance() { + return new countKeyTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, clearKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.clearKeyRecord(args.key, args.record, args.creds, - args.transaction, args.environment, resultHandler); + public countKeyTime_result getResult(I iface, + countKeyTime_args args) + throws org.apache.thrift.TException { + countKeyTime_result result = new countKeyTime_result(); + try { + result.success = iface.countKeyTime(args.key, + args.timestamp, args.creds, args.transaction, + args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class clearKeysRecord extends - org.apache.thrift.AsyncProcessFunction { - public clearKeysRecord() { - super("clearKeysRecord"); - } - - public clearKeysRecord_args getEmptyArgsInstance() { - return new clearKeysRecord_args(); + public static class countKeyTimestr extends + org.apache.thrift.ProcessFunction { + public countKeyTimestr() { + super("countKeyTimestr"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - clearKeysRecord_result result = new clearKeysRecord_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - clearKeysRecord_result result = new clearKeysRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyTimestr_args getEmptyArgsInstance() { + return new countKeyTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, clearKeysRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.clearKeysRecord(args.keys, args.record, args.creds, - args.transaction, args.environment, resultHandler); + public countKeyTimestr_result getResult(I iface, + countKeyTimestr_args args) + throws org.apache.thrift.TException { + countKeyTimestr_result result = new countKeyTimestr_result(); + try { + result.success = iface.countKeyTimestr(args.key, + args.timestamp, args.creds, args.transaction, + args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class clearKeyRecords extends - org.apache.thrift.AsyncProcessFunction { - public clearKeyRecords() { - super("clearKeyRecords"); - } - - public clearKeyRecords_args getEmptyArgsInstance() { - return new clearKeyRecords_args(); + public static class countKeyCriteria extends + org.apache.thrift.ProcessFunction { + public countKeyCriteria() { + super("countKeyCriteria"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - clearKeyRecords_result result = new clearKeyRecords_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - clearKeyRecords_result result = new clearKeyRecords_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyCriteria_args getEmptyArgsInstance() { + return new countKeyCriteria_args(); } protected boolean isOneway() { return false; } - public void start(I iface, clearKeyRecords_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.clearKeyRecords(args.key, args.records, args.creds, - args.transaction, args.environment, resultHandler); + public countKeyCriteria_result getResult(I iface, + countKeyCriteria_args args) + throws org.apache.thrift.TException { + countKeyCriteria_result result = new countKeyCriteria_result(); + try { + result.success = iface.countKeyCriteria(args.key, + args.criteria, args.creds, args.transaction, + args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class clearKeysRecords extends - org.apache.thrift.AsyncProcessFunction { - public clearKeysRecords() { - super("clearKeysRecords"); - } - - public clearKeysRecords_args getEmptyArgsInstance() { - return new clearKeysRecords_args(); + public static class countKeyCriteriaTime extends + org.apache.thrift.ProcessFunction { + public countKeyCriteriaTime() { + super("countKeyCriteriaTime"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - clearKeysRecords_result result = new clearKeysRecords_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - clearKeysRecords_result result = new clearKeysRecords_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyCriteriaTime_args getEmptyArgsInstance() { + return new countKeyCriteriaTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, clearKeysRecords_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.clearKeysRecords(args.keys, args.records, args.creds, - args.transaction, args.environment, resultHandler); + public countKeyCriteriaTime_result getResult(I iface, + countKeyCriteriaTime_args args) + throws org.apache.thrift.TException { + countKeyCriteriaTime_result result = new countKeyCriteriaTime_result(); + try { + result.success = iface.countKeyCriteriaTime(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class commit extends - org.apache.thrift.AsyncProcessFunction { - public commit() { - super("commit"); - } - - public commit_args getEmptyArgsInstance() { - return new commit_args(); + public static class countKeyCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public countKeyCriteriaTimestr() { + super("countKeyCriteriaTimestr"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Boolean o) { - commit_result result = new commit_result(); - result.success = o; - result.setSuccessIsSet(true); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - commit_result result = new commit_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new countKeyCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, commit_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.commit(args.creds, args.transaction, args.environment, - resultHandler); + public countKeyCriteriaTimestr_result getResult(I iface, + countKeyCriteriaTimestr_args args) + throws org.apache.thrift.TException { + countKeyCriteriaTimestr_result result = new countKeyCriteriaTimestr_result(); + try { + result.success = iface.countKeyCriteriaTimestr(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class describe extends - org.apache.thrift.AsyncProcessFunction> { - public describe() { - super("describe"); - } - - public describe_args getEmptyArgsInstance() { - return new describe_args(); + public static class countKeyCcl + extends org.apache.thrift.ProcessFunction { + public countKeyCcl() { + super("countKeyCcl"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - describe_result result = new describe_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - describe_result result = new describe_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyCcl_args getEmptyArgsInstance() { + return new countKeyCcl_args(); } protected boolean isOneway() { return false; } - public void start(I iface, describe_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.describe(args.creds, args.transaction, args.environment, - resultHandler); + public countKeyCcl_result getResult(I iface, countKeyCcl_args args) + throws org.apache.thrift.TException { + countKeyCcl_result result = new countKeyCcl_result(); + try { + result.success = iface.countKeyCcl(args.key, args.ccl, + args.creds, args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class describeTime extends - org.apache.thrift.AsyncProcessFunction> { - public describeTime() { - super("describeTime"); - } - - public describeTime_args getEmptyArgsInstance() { - return new describeTime_args(); + public static class countKeyCclTime extends + org.apache.thrift.ProcessFunction { + public countKeyCclTime() { + super("countKeyCclTime"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - describeTime_result result = new describeTime_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - describeTime_result result = new describeTime_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyCclTime_args getEmptyArgsInstance() { + return new countKeyCclTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, describeTime_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.describeTime(args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + public countKeyCclTime_result getResult(I iface, + countKeyCclTime_args args) + throws org.apache.thrift.TException { + countKeyCclTime_result result = new countKeyCclTime_result(); + try { + result.success = iface.countKeyCclTime(args.key, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class describeTimestr extends - org.apache.thrift.AsyncProcessFunction> { - public describeTimestr() { - super("describeTimestr"); - } - - public describeTimestr_args getEmptyArgsInstance() { - return new describeTimestr_args(); + public static class countKeyCclTimestr extends + org.apache.thrift.ProcessFunction { + public countKeyCclTimestr() { + super("countKeyCclTimestr"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - describeTimestr_result result = new describeTimestr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - describeTimestr_result result = new describeTimestr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public countKeyCclTimestr_args getEmptyArgsInstance() { + return new countKeyCclTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, describeTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.describeTimestr(args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + public countKeyCclTimestr_result getResult(I iface, + countKeyCclTimestr_args args) + throws org.apache.thrift.TException { + countKeyCclTimestr_result result = new countKeyCclTimestr_result(); + try { + result.success = iface.countKeyCclTimestr(args.key, + args.ccl, args.timestamp, args.creds, + args.transaction, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class describeRecord extends - org.apache.thrift.AsyncProcessFunction> { - public describeRecord() { - super("describeRecord"); - } - - public describeRecord_args getEmptyArgsInstance() { - return new describeRecord_args(); + public static class maxKeyRecord extends + org.apache.thrift.ProcessFunction { + public maxKeyRecord() { + super("maxKeyRecord"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - describeRecord_result result = new describeRecord_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - describeRecord_result result = new describeRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyRecord_args getEmptyArgsInstance() { + return new maxKeyRecord_args(); } protected boolean isOneway() { return false; } - public void start(I iface, describeRecord_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.describeRecord(args.record, args.creds, args.transaction, - args.environment, resultHandler); + public maxKeyRecord_result getResult(I iface, + maxKeyRecord_args args) + throws org.apache.thrift.TException { + maxKeyRecord_result result = new maxKeyRecord_result(); + try { + result.success = iface.maxKeyRecord(args.key, args.record, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class describeRecordTime extends - org.apache.thrift.AsyncProcessFunction> { - public describeRecordTime() { - super("describeRecordTime"); - } - - public describeRecordTime_args getEmptyArgsInstance() { - return new describeRecordTime_args(); + public static class maxKeyRecordTime extends + org.apache.thrift.ProcessFunction { + public maxKeyRecordTime() { + super("maxKeyRecordTime"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - describeRecordTime_result result = new describeRecordTime_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - describeRecordTime_result result = new describeRecordTime_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyRecordTime_args getEmptyArgsInstance() { + return new maxKeyRecordTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, describeRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.describeRecordTime(args.record, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + public maxKeyRecordTime_result getResult(I iface, + maxKeyRecordTime_args args) + throws org.apache.thrift.TException { + maxKeyRecordTime_result result = new maxKeyRecordTime_result(); + try { + result.success = iface.maxKeyRecordTime(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class describeRecordTimestr extends - org.apache.thrift.AsyncProcessFunction> { - public describeRecordTimestr() { - super("describeRecordTimestr"); - } - - public describeRecordTimestr_args getEmptyArgsInstance() { - return new describeRecordTimestr_args(); + public static class maxKeyRecordTimestr extends + org.apache.thrift.ProcessFunction { + public maxKeyRecordTimestr() { + super("maxKeyRecordTimestr"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - describeRecordTimestr_result result = new describeRecordTimestr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - describeRecordTimestr_result result = new describeRecordTimestr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyRecordTimestr_args getEmptyArgsInstance() { + return new maxKeyRecordTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, describeRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.describeRecordTimestr(args.record, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + public maxKeyRecordTimestr_result getResult(I iface, + maxKeyRecordTimestr_args args) + throws org.apache.thrift.TException { + maxKeyRecordTimestr_result result = new maxKeyRecordTimestr_result(); + try { + result.success = iface.maxKeyRecordTimestr(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class describeRecords extends - org.apache.thrift.AsyncProcessFunction>> { - public describeRecords() { - super("describeRecords"); - } - - public describeRecords_args getEmptyArgsInstance() { - return new describeRecords_args(); + public static class maxKeyRecords extends + org.apache.thrift.ProcessFunction { + public maxKeyRecords() { + super("maxKeyRecords"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete(Map> o) { - describeRecords_result result = new describeRecords_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - describeRecords_result result = new describeRecords_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyRecords_args getEmptyArgsInstance() { + return new maxKeyRecords_args(); } protected boolean isOneway() { return false; } - public void start(I iface, describeRecords_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.describeRecords(args.records, args.creds, - args.transaction, args.environment, resultHandler); + public maxKeyRecords_result getResult(I iface, + maxKeyRecords_args args) + throws org.apache.thrift.TException { + maxKeyRecords_result result = new maxKeyRecords_result(); + try { + result.success = iface.maxKeyRecords(args.key, args.records, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class describeRecordsTime extends - org.apache.thrift.AsyncProcessFunction>> { - public describeRecordsTime() { - super("describeRecordsTime"); - } - - public describeRecordsTime_args getEmptyArgsInstance() { - return new describeRecordsTime_args(); + public static class maxKeyRecordsTime extends + org.apache.thrift.ProcessFunction { + public maxKeyRecordsTime() { + super("maxKeyRecordsTime"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete(Map> o) { - describeRecordsTime_result result = new describeRecordsTime_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - describeRecordsTime_result result = new describeRecordsTime_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyRecordsTime_args getEmptyArgsInstance() { + return new maxKeyRecordsTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, describeRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.describeRecordsTime(args.records, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + public maxKeyRecordsTime_result getResult(I iface, + maxKeyRecordsTime_args args) + throws org.apache.thrift.TException { + maxKeyRecordsTime_result result = new maxKeyRecordsTime_result(); + try { + result.success = iface.maxKeyRecordsTime(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class describeRecordsTimestr extends - org.apache.thrift.AsyncProcessFunction>> { - public describeRecordsTimestr() { - super("describeRecordsTimestr"); - } - - public describeRecordsTimestr_args getEmptyArgsInstance() { - return new describeRecordsTimestr_args(); + public static class maxKeyRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public maxKeyRecordsTimestr() { + super("maxKeyRecordsTimestr"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete(Map> o) { - describeRecordsTimestr_result result = new describeRecordsTimestr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - describeRecordsTimestr_result result = new describeRecordsTimestr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyRecordsTimestr_args getEmptyArgsInstance() { + return new maxKeyRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, describeRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.describeRecordsTimestr(args.records, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + public maxKeyRecordsTimestr_result getResult(I iface, + maxKeyRecordsTimestr_args args) + throws org.apache.thrift.TException { + maxKeyRecordsTimestr_result result = new maxKeyRecordsTimestr_result(); + try { + result.success = iface.maxKeyRecordsTimestr(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class diffRecordStart extends - org.apache.thrift.AsyncProcessFunction>>> { - public diffRecordStart() { - super("diffRecordStart"); - } - - public diffRecordStart_args getEmptyArgsInstance() { - return new diffRecordStart_args(); + public static class maxKeyCriteria extends + org.apache.thrift.ProcessFunction { + public maxKeyCriteria() { + super("maxKeyCriteria"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - diffRecordStart_result result = new diffRecordStart_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffRecordStart_result result = new diffRecordStart_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyCriteria_args getEmptyArgsInstance() { + return new maxKeyCriteria_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffRecordStart_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.diffRecordStart(args.record, args.start, args.creds, - args.transaction, args.environment, resultHandler); + public maxKeyCriteria_result getResult(I iface, + maxKeyCriteria_args args) + throws org.apache.thrift.TException { + maxKeyCriteria_result result = new maxKeyCriteria_result(); + try { + result.success = iface.maxKeyCriteria(args.key, + args.criteria, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class diffRecordStartstr extends - org.apache.thrift.AsyncProcessFunction>>> { - public diffRecordStartstr() { - super("diffRecordStartstr"); - } - - public diffRecordStartstr_args getEmptyArgsInstance() { - return new diffRecordStartstr_args(); + public static class maxKeyCriteriaTime extends + org.apache.thrift.ProcessFunction { + public maxKeyCriteriaTime() { + super("maxKeyCriteriaTime"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - diffRecordStartstr_result result = new diffRecordStartstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffRecordStartstr_result result = new diffRecordStartstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyCriteriaTime_args getEmptyArgsInstance() { + return new maxKeyCriteriaTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffRecordStartstr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.diffRecordStartstr(args.record, args.start, args.creds, - args.transaction, args.environment, resultHandler); + public maxKeyCriteriaTime_result getResult(I iface, + maxKeyCriteriaTime_args args) + throws org.apache.thrift.TException { + maxKeyCriteriaTime_result result = new maxKeyCriteriaTime_result(); + try { + result.success = iface.maxKeyCriteriaTime(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class diffRecordStartEnd extends - org.apache.thrift.AsyncProcessFunction>>> { - public diffRecordStartEnd() { - super("diffRecordStartEnd"); - } - - public diffRecordStartEnd_args getEmptyArgsInstance() { - return new diffRecordStartEnd_args(); + public static class maxKeyCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public maxKeyCriteriaTimestr() { + super("maxKeyCriteriaTimestr"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - diffRecordStartEnd_result result = new diffRecordStartEnd_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffRecordStartEnd_result result = new diffRecordStartEnd_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new maxKeyCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffRecordStartEnd_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.diffRecordStartEnd(args.record, args.start, args.tend, - args.creds, args.transaction, args.environment, - resultHandler); + public maxKeyCriteriaTimestr_result getResult(I iface, + maxKeyCriteriaTimestr_args args) + throws org.apache.thrift.TException { + maxKeyCriteriaTimestr_result result = new maxKeyCriteriaTimestr_result(); + try { + result.success = iface.maxKeyCriteriaTimestr(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class diffRecordStartstrEndstr - extends - org.apache.thrift.AsyncProcessFunction>>> { - public diffRecordStartstrEndstr() { - super("diffRecordStartstrEndstr"); - } - - public diffRecordStartstrEndstr_args getEmptyArgsInstance() { - return new diffRecordStartstrEndstr_args(); + public static class maxKeyCcl + extends org.apache.thrift.ProcessFunction { + public maxKeyCcl() { + super("maxKeyCcl"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - diffRecordStartstrEndstr_result result = new diffRecordStartstrEndstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffRecordStartstrEndstr_result result = new diffRecordStartstrEndstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyCcl_args getEmptyArgsInstance() { + return new maxKeyCcl_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffRecordStartstrEndstr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.diffRecordStartstrEndstr(args.record, args.start, - args.tend, args.creds, args.transaction, - args.environment, resultHandler); + public maxKeyCcl_result getResult(I iface, maxKeyCcl_args args) + throws org.apache.thrift.TException { + maxKeyCcl_result result = new maxKeyCcl_result(); + try { + result.success = iface.maxKeyCcl(args.key, args.ccl, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class diffKeyRecordStart extends - org.apache.thrift.AsyncProcessFunction>> { - public diffKeyRecordStart() { - super("diffKeyRecordStart"); - } - - public diffKeyRecordStart_args getEmptyArgsInstance() { - return new diffKeyRecordStart_args(); + public static class maxKeyCclTime extends + org.apache.thrift.ProcessFunction { + public maxKeyCclTime() { + super("maxKeyCclTime"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - diffKeyRecordStart_result result = new diffKeyRecordStart_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffKeyRecordStart_result result = new diffKeyRecordStart_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyCclTime_args getEmptyArgsInstance() { + return new maxKeyCclTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffKeyRecordStart_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.diffKeyRecordStart(args.key, args.record, args.start, - args.creds, args.transaction, args.environment, - resultHandler); + public maxKeyCclTime_result getResult(I iface, + maxKeyCclTime_args args) + throws org.apache.thrift.TException { + maxKeyCclTime_result result = new maxKeyCclTime_result(); + try { + result.success = iface.maxKeyCclTime(args.key, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class diffKeyRecordStartstr extends - org.apache.thrift.AsyncProcessFunction>> { - public diffKeyRecordStartstr() { - super("diffKeyRecordStartstr"); - } - - public diffKeyRecordStartstr_args getEmptyArgsInstance() { - return new diffKeyRecordStartstr_args(); + public static class maxKeyCclTimestr extends + org.apache.thrift.ProcessFunction { + public maxKeyCclTimestr() { + super("maxKeyCclTimestr"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - diffKeyRecordStartstr_result result = new diffKeyRecordStartstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffKeyRecordStartstr_result result = new diffKeyRecordStartstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyCclTimestr_args getEmptyArgsInstance() { + return new maxKeyCclTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffKeyRecordStartstr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.diffKeyRecordStartstr(args.key, args.record, args.start, - args.creds, args.transaction, args.environment, - resultHandler); + public maxKeyCclTimestr_result getResult(I iface, + maxKeyCclTimestr_args args) + throws org.apache.thrift.TException { + maxKeyCclTimestr_result result = new maxKeyCclTimestr_result(); + try { + result.success = iface.maxKeyCclTimestr(args.key, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class diffKeyRecordStartEnd extends - org.apache.thrift.AsyncProcessFunction>> { - public diffKeyRecordStartEnd() { - super("diffKeyRecordStartEnd"); - } - - public diffKeyRecordStartEnd_args getEmptyArgsInstance() { - return new diffKeyRecordStartEnd_args(); + public static class maxKey + extends org.apache.thrift.ProcessFunction { + public maxKey() { + super("maxKey"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - diffKeyRecordStartEnd_result result = new diffKeyRecordStartEnd_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffKeyRecordStartEnd_result result = new diffKeyRecordStartEnd_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKey_args getEmptyArgsInstance() { + return new maxKey_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffKeyRecordStartEnd_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.diffKeyRecordStartEnd(args.key, args.record, args.start, - args.tend, args.creds, args.transaction, - args.environment, resultHandler); + public maxKey_result getResult(I iface, maxKey_args args) + throws org.apache.thrift.TException { + maxKey_result result = new maxKey_result(); + try { + result.success = iface.maxKey(args.key, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class diffKeyRecordStartstrEndstr - extends - org.apache.thrift.AsyncProcessFunction>> { - public diffKeyRecordStartstrEndstr() { - super("diffKeyRecordStartstrEndstr"); - } - - public diffKeyRecordStartstrEndstr_args getEmptyArgsInstance() { - return new diffKeyRecordStartstrEndstr_args(); + public static class maxKeyTime + extends org.apache.thrift.ProcessFunction { + public maxKeyTime() { + super("maxKeyTime"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - diffKeyRecordStartstrEndstr_result result = new diffKeyRecordStartstrEndstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffKeyRecordStartstrEndstr_result result = new diffKeyRecordStartstrEndstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyTime_args getEmptyArgsInstance() { + return new maxKeyTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffKeyRecordStartstrEndstr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.diffKeyRecordStartstrEndstr(args.key, args.record, - args.start, args.tend, args.creds, args.transaction, - args.environment, resultHandler); + public maxKeyTime_result getResult(I iface, maxKeyTime_args args) + throws org.apache.thrift.TException { + maxKeyTime_result result = new maxKeyTime_result(); + try { + result.success = iface.maxKeyTime(args.key, args.timestamp, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class diffKeyStart extends - org.apache.thrift.AsyncProcessFunction>>> { - public diffKeyStart() { - super("diffKeyStart"); - } - - public diffKeyStart_args getEmptyArgsInstance() { - return new diffKeyStart_args(); + public static class maxKeyTimestr extends + org.apache.thrift.ProcessFunction { + public maxKeyTimestr() { + super("maxKeyTimestr"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - diffKeyStart_result result = new diffKeyStart_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffKeyStart_result result = new diffKeyStart_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public maxKeyTimestr_args getEmptyArgsInstance() { + return new maxKeyTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffKeyStart_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.diffKeyStart(args.key, args.start, args.creds, - args.transaction, args.environment, resultHandler); + public maxKeyTimestr_result getResult(I iface, + maxKeyTimestr_args args) + throws org.apache.thrift.TException { + maxKeyTimestr_result result = new maxKeyTimestr_result(); + try { + result.success = iface.maxKeyTimestr(args.key, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class diffKeyStartstr extends - org.apache.thrift.AsyncProcessFunction>>> { - public diffKeyStartstr() { - super("diffKeyStartstr"); + public static class minKeyRecord extends + org.apache.thrift.ProcessFunction { + public minKeyRecord() { + super("minKeyRecord"); } - public diffKeyStartstr_args getEmptyArgsInstance() { - return new diffKeyStartstr_args(); - } - - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - diffKeyStartstr_result result = new diffKeyStartstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffKeyStartstr_result result = new diffKeyStartstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyRecord_args getEmptyArgsInstance() { + return new minKeyRecord_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffKeyStartstr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.diffKeyStartstr(args.key, args.start, args.creds, - args.transaction, args.environment, resultHandler); + public minKeyRecord_result getResult(I iface, + minKeyRecord_args args) + throws org.apache.thrift.TException { + minKeyRecord_result result = new minKeyRecord_result(); + try { + result.success = iface.minKeyRecord(args.key, args.record, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class diffKeyStartEnd extends - org.apache.thrift.AsyncProcessFunction>>> { - public diffKeyStartEnd() { - super("diffKeyStartEnd"); - } - - public diffKeyStartEnd_args getEmptyArgsInstance() { - return new diffKeyStartEnd_args(); + public static class minKeyRecordTime extends + org.apache.thrift.ProcessFunction { + public minKeyRecordTime() { + super("minKeyRecordTime"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - diffKeyStartEnd_result result = new diffKeyStartEnd_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffKeyStartEnd_result result = new diffKeyStartEnd_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyRecordTime_args getEmptyArgsInstance() { + return new minKeyRecordTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffKeyStartEnd_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.diffKeyStartEnd(args.key, args.start, args.tend, - args.creds, args.transaction, args.environment, - resultHandler); + public minKeyRecordTime_result getResult(I iface, + minKeyRecordTime_args args) + throws org.apache.thrift.TException { + minKeyRecordTime_result result = new minKeyRecordTime_result(); + try { + result.success = iface.minKeyRecordTime(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class diffKeyStartstrEndstr extends - org.apache.thrift.AsyncProcessFunction>>> { - public diffKeyStartstrEndstr() { - super("diffKeyStartstrEndstr"); - } - - public diffKeyStartstrEndstr_args getEmptyArgsInstance() { - return new diffKeyStartstrEndstr_args(); + public static class minKeyRecordTimestr extends + org.apache.thrift.ProcessFunction { + public minKeyRecordTimestr() { + super("minKeyRecordTimestr"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - diffKeyStartstrEndstr_result result = new diffKeyStartstrEndstr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - diffKeyStartstrEndstr_result result = new diffKeyStartstrEndstr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyRecordTimestr_args getEmptyArgsInstance() { + return new minKeyRecordTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, diffKeyStartstrEndstr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.diffKeyStartstrEndstr(args.key, args.start, args.tend, - args.creds, args.transaction, args.environment, - resultHandler); + public minKeyRecordTimestr_result getResult(I iface, + minKeyRecordTimestr_args args) + throws org.apache.thrift.TException { + minKeyRecordTimestr_result result = new minKeyRecordTimestr_result(); + try { + result.success = iface.minKeyRecordTimestr(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class invokePlugin extends - org.apache.thrift.AsyncProcessFunction { - public invokePlugin() { - super("invokePlugin"); - } - - public invokePlugin_args getEmptyArgsInstance() { - return new invokePlugin_args(); + public static class minKey + extends org.apache.thrift.ProcessFunction { + public minKey() { + super("minKey"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete( - com.cinchapi.concourse.thrift.ComplexTObject o) { - invokePlugin_result result = new invokePlugin_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - invokePlugin_result result = new invokePlugin_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKey_args getEmptyArgsInstance() { + return new minKey_args(); } protected boolean isOneway() { return false; } - public void start(I iface, invokePlugin_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.invokePlugin(args.id, args.method, args.params, - args.creds, args.transaction, args.environment, - resultHandler); + public minKey_result getResult(I iface, minKey_args args) + throws org.apache.thrift.TException { + minKey_result result = new minKey_result(); + try { + result.success = iface.minKey(args.key, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class login extends - org.apache.thrift.AsyncProcessFunction { - public login() { - super("login"); - } - - public login_args getEmptyArgsInstance() { - return new login_args(); + public static class minKeyRecordsTime extends + org.apache.thrift.ProcessFunction { + public minKeyRecordsTime() { + super("minKeyRecordsTime"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete( - com.cinchapi.concourse.thrift.AccessToken o) { - login_result result = new login_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - login_result result = new login_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex2 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx2IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyRecordsTime_args getEmptyArgsInstance() { + return new minKeyRecordsTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, login_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.login(args.username, args.password, args.environment, - resultHandler); + public minKeyRecordsTime_result getResult(I iface, + minKeyRecordsTime_args args) + throws org.apache.thrift.TException { + minKeyRecordsTime_result result = new minKeyRecordsTime_result(); + try { + result.success = iface.minKeyRecordsTime(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class logout extends - org.apache.thrift.AsyncProcessFunction { - public logout() { - super("logout"); - } - - public logout_args getEmptyArgsInstance() { - return new logout_args(); + public static class minKeyRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public minKeyRecordsTimestr() { + super("minKeyRecordsTimestr"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - logout_result result = new logout_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - logout_result result = new logout_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex2 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx2IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyRecordsTimestr_args getEmptyArgsInstance() { + return new minKeyRecordsTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, logout_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.logout(args.token, args.environment, resultHandler); + public minKeyRecordsTimestr_result getResult(I iface, + minKeyRecordsTimestr_args args) + throws org.apache.thrift.TException { + minKeyRecordsTimestr_result result = new minKeyRecordsTimestr_result(); + try { + result.success = iface.minKeyRecordsTimestr(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class stage extends - org.apache.thrift.AsyncProcessFunction { - public stage() { - super("stage"); - } - - public stage_args getEmptyArgsInstance() { - return new stage_args(); + public static class minKeyCriteria extends + org.apache.thrift.ProcessFunction { + public minKeyCriteria() { + super("minKeyCriteria"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete( - com.cinchapi.concourse.thrift.TransactionToken o) { - stage_result result = new stage_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - stage_result result = new stage_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex2 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx2IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyCriteria_args getEmptyArgsInstance() { + return new minKeyCriteria_args(); } protected boolean isOneway() { return false; } - public void start(I iface, stage_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.stage(args.token, args.environment, resultHandler); + public minKeyCriteria_result getResult(I iface, + minKeyCriteria_args args) + throws org.apache.thrift.TException { + minKeyCriteria_result result = new minKeyCriteria_result(); + try { + result.success = iface.minKeyCriteria(args.key, + args.criteria, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class insertJson extends - org.apache.thrift.AsyncProcessFunction> { - public insertJson() { - super("insertJson"); - } - - public insertJson_args getEmptyArgsInstance() { - return new insertJson_args(); + public static class minKeyCriteriaTime extends + org.apache.thrift.ProcessFunction { + public minKeyCriteriaTime() { + super("minKeyCriteriaTime"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - insertJson_result result = new insertJson_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - insertJson_result result = new insertJson_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex4 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx4IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex5 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx5IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyCriteriaTime_args getEmptyArgsInstance() { + return new minKeyCriteriaTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, insertJson_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.insertJson(args.json, args.creds, args.transaction, - args.environment, resultHandler); + public minKeyCriteriaTime_result getResult(I iface, + minKeyCriteriaTime_args args) + throws org.apache.thrift.TException { + minKeyCriteriaTime_result result = new minKeyCriteriaTime_result(); + try { + result.success = iface.minKeyCriteriaTime(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class insertJsonRecord extends - org.apache.thrift.AsyncProcessFunction { - public insertJsonRecord() { - super("insertJsonRecord"); - } - - public insertJsonRecord_args getEmptyArgsInstance() { - return new insertJsonRecord_args(); + public static class minKeyCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public minKeyCriteriaTimestr() { + super("minKeyCriteriaTimestr"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Boolean o) { - insertJsonRecord_result result = new insertJsonRecord_result(); - result.success = o; - result.setSuccessIsSet(true); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - insertJsonRecord_result result = new insertJsonRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex4 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx4IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex5 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx5IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new minKeyCriteriaTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, insertJsonRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.insertJsonRecord(args.json, args.record, args.creds, - args.transaction, args.environment, resultHandler); + public minKeyCriteriaTimestr_result getResult(I iface, + minKeyCriteriaTimestr_args args) + throws org.apache.thrift.TException { + minKeyCriteriaTimestr_result result = new minKeyCriteriaTimestr_result(); + try { + result.success = iface.minKeyCriteriaTimestr(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class insertJsonRecords extends - org.apache.thrift.AsyncProcessFunction> { - public insertJsonRecords() { - super("insertJsonRecords"); - } - - public insertJsonRecords_args getEmptyArgsInstance() { - return new insertJsonRecords_args(); + public static class minKeyCcl + extends org.apache.thrift.ProcessFunction { + public minKeyCcl() { + super("minKeyCcl"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - insertJsonRecords_result result = new insertJsonRecords_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - insertJsonRecords_result result = new insertJsonRecords_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex4 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx4IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex5 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx5IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyCcl_args getEmptyArgsInstance() { + return new minKeyCcl_args(); } protected boolean isOneway() { return false; } - public void start(I iface, insertJsonRecords_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.insertJsonRecords(args.json, args.records, args.creds, - args.transaction, args.environment, resultHandler); + public minKeyCcl_result getResult(I iface, minKeyCcl_args args) + throws org.apache.thrift.TException { + minKeyCcl_result result = new minKeyCcl_result(); + try { + result.success = iface.minKeyCcl(args.key, args.ccl, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class removeKeyValueRecord extends - org.apache.thrift.AsyncProcessFunction { - public removeKeyValueRecord() { - super("removeKeyValueRecord"); - } - - public removeKeyValueRecord_args getEmptyArgsInstance() { - return new removeKeyValueRecord_args(); + public static class minKeyCclTime extends + org.apache.thrift.ProcessFunction { + public minKeyCclTime() { + super("minKeyCclTime"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Boolean o) { - removeKeyValueRecord_result result = new removeKeyValueRecord_result(); - result.success = o; - result.setSuccessIsSet(true); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - removeKeyValueRecord_result result = new removeKeyValueRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyCclTime_args getEmptyArgsInstance() { + return new minKeyCclTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, removeKeyValueRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.removeKeyValueRecord(args.key, args.value, args.record, - args.creds, args.transaction, args.environment, - resultHandler); + public minKeyCclTime_result getResult(I iface, + minKeyCclTime_args args) + throws org.apache.thrift.TException { + minKeyCclTime_result result = new minKeyCclTime_result(); + try { + result.success = iface.minKeyCclTime(args.key, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class removeKeyValueRecords extends - org.apache.thrift.AsyncProcessFunction> { - public removeKeyValueRecords() { - super("removeKeyValueRecords"); - } - - public removeKeyValueRecords_args getEmptyArgsInstance() { - return new removeKeyValueRecords_args(); + public static class minKeyCclTimestr extends + org.apache.thrift.ProcessFunction { + public minKeyCclTimestr() { + super("minKeyCclTimestr"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - removeKeyValueRecords_result result = new removeKeyValueRecords_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - removeKeyValueRecords_result result = new removeKeyValueRecords_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyCclTimestr_args getEmptyArgsInstance() { + return new minKeyCclTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, removeKeyValueRecords_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.removeKeyValueRecords(args.key, args.value, args.records, - args.creds, args.transaction, args.environment, - resultHandler); + public minKeyCclTimestr_result getResult(I iface, + minKeyCclTimestr_args args) + throws org.apache.thrift.TException { + minKeyCclTimestr_result result = new minKeyCclTimestr_result(); + try { + result.success = iface.minKeyCclTimestr(args.key, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class setKeyValueRecord extends - org.apache.thrift.AsyncProcessFunction { - public setKeyValueRecord() { - super("setKeyValueRecord"); - } - - public setKeyValueRecord_args getEmptyArgsInstance() { - return new setKeyValueRecord_args(); + public static class minKeyTime + extends org.apache.thrift.ProcessFunction { + public minKeyTime() { + super("minKeyTime"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - setKeyValueRecord_result result = new setKeyValueRecord_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - setKeyValueRecord_result result = new setKeyValueRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyTime_args getEmptyArgsInstance() { + return new minKeyTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, setKeyValueRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.setKeyValueRecord(args.key, args.value, args.record, - args.creds, args.transaction, args.environment, - resultHandler); + public minKeyTime_result getResult(I iface, minKeyTime_args args) + throws org.apache.thrift.TException { + minKeyTime_result result = new minKeyTime_result(); + try { + result.success = iface.minKeyTime(args.key, args.timestamp, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class setKeyValue extends - org.apache.thrift.AsyncProcessFunction { - public setKeyValue() { - super("setKeyValue"); - } - - public setKeyValue_args getEmptyArgsInstance() { - return new setKeyValue_args(); + public static class minKeyTimestr extends + org.apache.thrift.ProcessFunction { + public minKeyTimestr() { + super("minKeyTimestr"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - setKeyValue_result result = new setKeyValue_result(); - result.success = o; - result.setSuccessIsSet(true); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - setKeyValue_result result = new setKeyValue_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyTimestr_args getEmptyArgsInstance() { + return new minKeyTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, setKeyValue_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.setKeyValue(args.key, args.value, args.creds, - args.transaction, args.environment, resultHandler); + public minKeyTimestr_result getResult(I iface, + minKeyTimestr_args args) + throws org.apache.thrift.TException { + minKeyTimestr_result result = new minKeyTimestr_result(); + try { + result.success = iface.minKeyTimestr(args.key, + args.timestamp, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class setKeyValueRecords extends - org.apache.thrift.AsyncProcessFunction { - public setKeyValueRecords() { - super("setKeyValueRecords"); - } - - public setKeyValueRecords_args getEmptyArgsInstance() { - return new setKeyValueRecords_args(); + public static class minKeyRecords extends + org.apache.thrift.ProcessFunction { + public minKeyRecords() { + super("minKeyRecords"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - setKeyValueRecords_result result = new setKeyValueRecords_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - setKeyValueRecords_result result = new setKeyValueRecords_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public minKeyRecords_args getEmptyArgsInstance() { + return new minKeyRecords_args(); } protected boolean isOneway() { return false; } - public void start(I iface, setKeyValueRecords_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.setKeyValueRecords(args.key, args.value, args.records, - args.creds, args.transaction, args.environment, - resultHandler); + public minKeyRecords_result getResult(I iface, + minKeyRecords_args args) + throws org.apache.thrift.TException { + minKeyRecords_result result = new minKeyRecords_result(); + try { + result.success = iface.minKeyRecords(args.key, args.records, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class reconcileKeyRecordValues - extends - org.apache.thrift.AsyncProcessFunction { - public reconcileKeyRecordValues() { - super("reconcileKeyRecordValues"); - } - - public reconcileKeyRecordValues_args getEmptyArgsInstance() { - return new reconcileKeyRecordValues_args(); + public static class navigateKeyRecord extends + org.apache.thrift.ProcessFunction { + public navigateKeyRecord() { + super("navigateKeyRecord"); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - reconcileKeyRecordValues_result result = new reconcileKeyRecordValues_result(); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - reconcileKeyRecordValues_result result = new reconcileKeyRecordValues_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public navigateKeyRecord_args getEmptyArgsInstance() { + return new navigateKeyRecord_args(); } protected boolean isOneway() { return false; } - public void start(I iface, reconcileKeyRecordValues_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.reconcileKeyRecordValues(args.key, args.record, - args.values, args.creds, args.transaction, - args.environment, resultHandler); + public navigateKeyRecord_result getResult(I iface, + navigateKeyRecord_args args) + throws org.apache.thrift.TException { + navigateKeyRecord_result result = new navigateKeyRecord_result(); + try { + result.success = iface.navigateKeyRecord(args.key, + args.record, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class inventory extends - org.apache.thrift.AsyncProcessFunction> { - public inventory() { - super("inventory"); - } - - public inventory_args getEmptyArgsInstance() { - return new inventory_args(); + public static class navigateKeyRecordTime extends + org.apache.thrift.ProcessFunction { + public navigateKeyRecordTime() { + super("navigateKeyRecordTime"); } - public AsyncMethodCallback> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - inventory_result result = new inventory_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - inventory_result result = new inventory_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public navigateKeyRecordTime_args getEmptyArgsInstance() { + return new navigateKeyRecordTime_args(); } protected boolean isOneway() { return false; } - public void start(I iface, inventory_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) - throws TException { - iface.inventory(args.creds, args.transaction, args.environment, - resultHandler); + public navigateKeyRecordTime_result getResult(I iface, + navigateKeyRecordTime_args args) + throws org.apache.thrift.TException { + navigateKeyRecordTime_result result = new navigateKeyRecordTime_result(); + try { + result.success = iface.navigateKeyRecordTime(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class selectRecord extends - org.apache.thrift.AsyncProcessFunction>> { - public selectRecord() { - super("selectRecord"); - } - - public selectRecord_args getEmptyArgsInstance() { - return new selectRecord_args(); + public static class navigateKeyRecordTimestr extends + org.apache.thrift.ProcessFunction { + public navigateKeyRecordTimestr() { + super("navigateKeyRecordTimestr"); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - selectRecord_result result = new selectRecord_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - selectRecord_result result = new selectRecord_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public navigateKeyRecordTimestr_args getEmptyArgsInstance() { + return new navigateKeyRecordTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, selectRecord_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.selectRecord(args.record, args.creds, args.transaction, - args.environment, resultHandler); + public navigateKeyRecordTimestr_result getResult(I iface, + navigateKeyRecordTimestr_args args) + throws org.apache.thrift.TException { + navigateKeyRecordTimestr_result result = new navigateKeyRecordTimestr_result(); + try { + result.success = iface.navigateKeyRecordTimestr(args.key, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class selectRecords extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectRecords() { - super("selectRecords"); - } - - public selectRecords_args getEmptyArgsInstance() { - return new selectRecords_args(); + public static class navigateKeysRecord extends + org.apache.thrift.ProcessFunction { + public navigateKeysRecord() { + super("navigateKeysRecord"); } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectRecords_result result = new selectRecords_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - selectRecords_result result = new selectRecords_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public navigateKeysRecord_args getEmptyArgsInstance() { + return new navigateKeysRecord_args(); } protected boolean isOneway() { return false; } - public void start(I iface, selectRecords_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.selectRecords(args.records, args.creds, args.transaction, - args.environment, resultHandler); + public navigateKeysRecord_result getResult(I iface, + navigateKeysRecord_args args) + throws org.apache.thrift.TException { + navigateKeysRecord_result result = new navigateKeysRecord_result(); + try { + result.success = iface.navigateKeysRecord(args.keys, + args.record, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class selectRecordTime extends - org.apache.thrift.AsyncProcessFunction>> { - public selectRecordTime() { - super("selectRecordTime"); + public static class navigateKeysRecordTime extends + org.apache.thrift.ProcessFunction { + public navigateKeysRecordTime() { + super("navigateKeysRecordTime"); } - public selectRecordTime_args getEmptyArgsInstance() { - return new selectRecordTime_args(); + public navigateKeysRecordTime_args getEmptyArgsInstance() { + return new navigateKeysRecordTime_args(); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - selectRecordTime_result result = new selectRecordTime_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } + protected boolean isOneway() { + return false; + } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - selectRecordTime_result result = new selectRecordTime_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public navigateKeysRecordTime_result getResult(I iface, + navigateKeysRecordTime_args args) + throws org.apache.thrift.TException { + navigateKeysRecordTime_result result = new navigateKeysRecordTime_result(); + try { + result.success = iface.navigateKeysRecordTime(args.keys, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; + } + } + + public static class navigateKeysRecordTimestr extends + org.apache.thrift.ProcessFunction { + public navigateKeysRecordTimestr() { + super("navigateKeysRecordTimestr"); + } + + public navigateKeysRecordTimestr_args getEmptyArgsInstance() { + return new navigateKeysRecordTimestr_args(); } protected boolean isOneway() { return false; } - public void start(I iface, selectRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.selectRecordTime(args.record, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + public navigateKeysRecordTimestr_result getResult(I iface, + navigateKeysRecordTimestr_args args) + throws org.apache.thrift.TException { + navigateKeysRecordTimestr_result result = new navigateKeysRecordTimestr_result(); + try { + result.success = iface.navigateKeysRecordTimestr(args.keys, + args.record, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; } } - public static class selectRecordTimestr extends - org.apache.thrift.AsyncProcessFunction>> { - public selectRecordTimestr() { - super("selectRecordTimestr"); + public static class navigateKeysRecords extends + org.apache.thrift.ProcessFunction { + public navigateKeysRecords() { + super("navigateKeysRecords"); } - public selectRecordTimestr_args getEmptyArgsInstance() { - return new selectRecordTimestr_args(); + public navigateKeysRecords_args getEmptyArgsInstance() { + return new navigateKeysRecords_args(); } - public AsyncMethodCallback>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - selectRecordTimestr_result result = new selectRecordTimestr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } + protected boolean isOneway() { + return false; + } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - selectRecordTimestr_result result = new selectRecordTimestr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + public navigateKeysRecords_result getResult(I iface, + navigateKeysRecords_args args) + throws org.apache.thrift.TException { + navigateKeysRecords_result result = new navigateKeysRecords_result(); + try { + result.success = iface.navigateKeysRecords(args.keys, + args.records, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; + } + } + + public static class navigateKeyRecords extends + org.apache.thrift.ProcessFunction { + public navigateKeyRecords() { + super("navigateKeyRecords"); + } + + public navigateKeyRecords_args getEmptyArgsInstance() { + return new navigateKeyRecords_args(); } protected boolean isOneway() { return false; } - public void start(I iface, selectRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.selectRecordTimestr(args.record, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + public navigateKeyRecords_result getResult(I iface, + navigateKeyRecords_args args) + throws org.apache.thrift.TException { + navigateKeyRecords_result result = new navigateKeyRecords_result(); + try { + result.success = iface.navigateKeyRecords(args.key, + args.records, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; } } - public static class selectRecordsTime extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectRecordsTime() { - super("selectRecordsTime"); + public static class navigateKeyRecordsTime extends + org.apache.thrift.ProcessFunction { + public navigateKeyRecordsTime() { + super("navigateKeyRecordsTime"); } - public selectRecordsTime_args getEmptyArgsInstance() { - return new selectRecordsTime_args(); + public navigateKeyRecordsTime_args getEmptyArgsInstance() { + return new navigateKeyRecordsTime_args(); } - public AsyncMethodCallback>>> getResultHandler( + protected boolean isOneway() { + return false; + } + + public navigateKeyRecordsTime_result getResult(I iface, + navigateKeyRecordsTime_args args) + throws org.apache.thrift.TException { + navigateKeyRecordsTime_result result = new navigateKeyRecordsTime_result(); + try { + result.success = iface.navigateKeyRecordsTime(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; + } + } + + public static class navigateKeyRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public navigateKeyRecordsTimestr() { + super("navigateKeyRecordsTimestr"); + } + + public navigateKeyRecordsTimestr_args getEmptyArgsInstance() { + return new navigateKeyRecordsTimestr_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeyRecordsTimestr_result getResult(I iface, + navigateKeyRecordsTimestr_args args) + throws org.apache.thrift.TException { + navigateKeyRecordsTimestr_result result = new navigateKeyRecordsTimestr_result(); + try { + result.success = iface.navigateKeyRecordsTimestr(args.key, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeysRecordsTime extends + org.apache.thrift.ProcessFunction { + public navigateKeysRecordsTime() { + super("navigateKeysRecordsTime"); + } + + public navigateKeysRecordsTime_args getEmptyArgsInstance() { + return new navigateKeysRecordsTime_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeysRecordsTime_result getResult(I iface, + navigateKeysRecordsTime_args args) + throws org.apache.thrift.TException { + navigateKeysRecordsTime_result result = new navigateKeysRecordsTime_result(); + try { + result.success = iface.navigateKeysRecordsTime(args.keys, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; + } + } + + public static class navigateKeysRecordsTimestr extends + org.apache.thrift.ProcessFunction { + public navigateKeysRecordsTimestr() { + super("navigateKeysRecordsTimestr"); + } + + public navigateKeysRecordsTimestr_args getEmptyArgsInstance() { + return new navigateKeysRecordsTimestr_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeysRecordsTimestr_result getResult(I iface, + navigateKeysRecordsTimestr_args args) + throws org.apache.thrift.TException { + navigateKeysRecordsTimestr_result result = new navigateKeysRecordsTimestr_result(); + try { + result.success = iface.navigateKeysRecordsTimestr(args.keys, + args.records, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeyCcl extends + org.apache.thrift.ProcessFunction { + public navigateKeyCcl() { + super("navigateKeyCcl"); + } + + public navigateKeyCcl_args getEmptyArgsInstance() { + return new navigateKeyCcl_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeyCcl_result getResult(I iface, + navigateKeyCcl_args args) + throws org.apache.thrift.TException { + navigateKeyCcl_result result = new navigateKeyCcl_result(); + try { + result.success = iface.navigateKeyCcl(args.key, args.ccl, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeyCclTime extends + org.apache.thrift.ProcessFunction { + public navigateKeyCclTime() { + super("navigateKeyCclTime"); + } + + public navigateKeyCclTime_args getEmptyArgsInstance() { + return new navigateKeyCclTime_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeyCclTime_result getResult(I iface, + navigateKeyCclTime_args args) + throws org.apache.thrift.TException { + navigateKeyCclTime_result result = new navigateKeyCclTime_result(); + try { + result.success = iface.navigateKeyCclTime(args.key, + args.ccl, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeyCclTimestr extends + org.apache.thrift.ProcessFunction { + public navigateKeyCclTimestr() { + super("navigateKeyCclTimestr"); + } + + public navigateKeyCclTimestr_args getEmptyArgsInstance() { + return new navigateKeyCclTimestr_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeyCclTimestr_result getResult(I iface, + navigateKeyCclTimestr_args args) + throws org.apache.thrift.TException { + navigateKeyCclTimestr_result result = new navigateKeyCclTimestr_result(); + try { + result.success = iface.navigateKeyCclTimestr(args.key, + args.ccl, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeysCcl extends + org.apache.thrift.ProcessFunction { + public navigateKeysCcl() { + super("navigateKeysCcl"); + } + + public navigateKeysCcl_args getEmptyArgsInstance() { + return new navigateKeysCcl_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeysCcl_result getResult(I iface, + navigateKeysCcl_args args) + throws org.apache.thrift.TException { + navigateKeysCcl_result result = new navigateKeysCcl_result(); + try { + result.success = iface.navigateKeysCcl(args.keys, args.ccl, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeysCclTime extends + org.apache.thrift.ProcessFunction { + public navigateKeysCclTime() { + super("navigateKeysCclTime"); + } + + public navigateKeysCclTime_args getEmptyArgsInstance() { + return new navigateKeysCclTime_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeysCclTime_result getResult(I iface, + navigateKeysCclTime_args args) + throws org.apache.thrift.TException { + navigateKeysCclTime_result result = new navigateKeysCclTime_result(); + try { + result.success = iface.navigateKeysCclTime(args.keys, + args.ccl, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeysCclTimestr extends + org.apache.thrift.ProcessFunction { + public navigateKeysCclTimestr() { + super("navigateKeysCclTimestr"); + } + + public navigateKeysCclTimestr_args getEmptyArgsInstance() { + return new navigateKeysCclTimestr_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeysCclTimestr_result getResult(I iface, + navigateKeysCclTimestr_args args) + throws org.apache.thrift.TException { + navigateKeysCclTimestr_result result = new navigateKeysCclTimestr_result(); + try { + result.success = iface.navigateKeysCclTimestr(args.keys, + args.ccl, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeyCriteria extends + org.apache.thrift.ProcessFunction { + public navigateKeyCriteria() { + super("navigateKeyCriteria"); + } + + public navigateKeyCriteria_args getEmptyArgsInstance() { + return new navigateKeyCriteria_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeyCriteria_result getResult(I iface, + navigateKeyCriteria_args args) + throws org.apache.thrift.TException { + navigateKeyCriteria_result result = new navigateKeyCriteria_result(); + try { + result.success = iface.navigateKeyCriteria(args.key, + args.criteria, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeyCriteriaTime extends + org.apache.thrift.ProcessFunction { + public navigateKeyCriteriaTime() { + super("navigateKeyCriteriaTime"); + } + + public navigateKeyCriteriaTime_args getEmptyArgsInstance() { + return new navigateKeyCriteriaTime_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeyCriteriaTime_result getResult(I iface, + navigateKeyCriteriaTime_args args) + throws org.apache.thrift.TException { + navigateKeyCriteriaTime_result result = new navigateKeyCriteriaTime_result(); + try { + result.success = iface.navigateKeyCriteriaTime(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeyCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public navigateKeyCriteriaTimestr() { + super("navigateKeyCriteriaTimestr"); + } + + public navigateKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new navigateKeyCriteriaTimestr_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeyCriteriaTimestr_result getResult(I iface, + navigateKeyCriteriaTimestr_args args) + throws org.apache.thrift.TException { + navigateKeyCriteriaTimestr_result result = new navigateKeyCriteriaTimestr_result(); + try { + result.success = iface.navigateKeyCriteriaTimestr(args.key, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeysCriteria extends + org.apache.thrift.ProcessFunction { + public navigateKeysCriteria() { + super("navigateKeysCriteria"); + } + + public navigateKeysCriteria_args getEmptyArgsInstance() { + return new navigateKeysCriteria_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeysCriteria_result getResult(I iface, + navigateKeysCriteria_args args) + throws org.apache.thrift.TException { + navigateKeysCriteria_result result = new navigateKeysCriteria_result(); + try { + result.success = iface.navigateKeysCriteria(args.keys, + args.criteria, args.creds, args.transaction, + args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeysCriteriaTime extends + org.apache.thrift.ProcessFunction { + public navigateKeysCriteriaTime() { + super("navigateKeysCriteriaTime"); + } + + public navigateKeysCriteriaTime_args getEmptyArgsInstance() { + return new navigateKeysCriteriaTime_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeysCriteriaTime_result getResult(I iface, + navigateKeysCriteriaTime_args args) + throws org.apache.thrift.TException { + navigateKeysCriteriaTime_result result = new navigateKeysCriteriaTime_result(); + try { + result.success = iface.navigateKeysCriteriaTime(args.keys, + args.criteria, args.timestamp, args.creds, + args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class navigateKeysCriteriaTimestr extends + org.apache.thrift.ProcessFunction { + public navigateKeysCriteriaTimestr() { + super("navigateKeysCriteriaTimestr"); + } + + public navigateKeysCriteriaTimestr_args getEmptyArgsInstance() { + return new navigateKeysCriteriaTimestr_args(); + } + + protected boolean isOneway() { + return false; + } + + public navigateKeysCriteriaTimestr_result getResult(I iface, + navigateKeysCriteriaTimestr_args args) + throws org.apache.thrift.TException { + navigateKeysCriteriaTimestr_result result = new navigateKeysCriteriaTimestr_result(); + try { + result.success = iface.navigateKeysCriteriaTimestr( + args.keys, args.criteria, args.timestamp, + args.creds, args.transaction, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class getServerEnvironment extends + org.apache.thrift.ProcessFunction { + public getServerEnvironment() { + super("getServerEnvironment"); + } + + public getServerEnvironment_args getEmptyArgsInstance() { + return new getServerEnvironment_args(); + } + + protected boolean isOneway() { + return false; + } + + public getServerEnvironment_result getResult(I iface, + getServerEnvironment_args args) + throws org.apache.thrift.TException { + getServerEnvironment_result result = new getServerEnvironment_result(); + try { + result.success = iface.getServerEnvironment(args.creds, + args.token, args.environment); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; + } + } + + public static class getServerVersion extends + org.apache.thrift.ProcessFunction { + public getServerVersion() { + super("getServerVersion"); + } + + public getServerVersion_args getEmptyArgsInstance() { + return new getServerVersion_args(); + } + + protected boolean isOneway() { + return false; + } + + public getServerVersion_result getResult(I iface, + getServerVersion_args args) + throws org.apache.thrift.TException { + getServerVersion_result result = new getServerVersion_result(); + try { + result.success = iface.getServerVersion(); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; + } + } + + public static class time + extends org.apache.thrift.ProcessFunction { + public time() { + super("time"); + } + + public time_args getEmptyArgsInstance() { + return new time_args(); + } + + protected boolean isOneway() { + return false; + } + + public time_result getResult(I iface, time_args args) + throws org.apache.thrift.TException { + time_result result = new time_result(); + try { + result.success = iface.time(args.creds, args.token, + args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex3) { + result.ex3 = ex3; + } + return result; + } + } + + public static class timePhrase + extends org.apache.thrift.ProcessFunction { + public timePhrase() { + super("timePhrase"); + } + + public timePhrase_args getEmptyArgsInstance() { + return new timePhrase_args(); + } + + protected boolean isOneway() { + return false; + } + + public timePhrase_result getResult(I iface, timePhrase_args args) + throws org.apache.thrift.TException { + timePhrase_result result = new timePhrase_result(); + try { + result.success = iface.timePhrase(args.phrase, args.creds, + args.token, args.environment); + result.setSuccessIsSet(true); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.TransactionException ex2) { + result.ex2 = ex2; + } + catch (com.cinchapi.concourse.thrift.ParseException ex3) { + result.ex3 = ex3; + } + catch (com.cinchapi.concourse.thrift.PermissionException ex4) { + result.ex4 = ex4; + } + return result; + } + } + + public static class invokeManagement extends + org.apache.thrift.ProcessFunction { + public invokeManagement() { + super("invokeManagement"); + } + + public invokeManagement_args getEmptyArgsInstance() { + return new invokeManagement_args(); + } + + protected boolean isOneway() { + return false; + } + + public invokeManagement_result getResult(I iface, + invokeManagement_args args) + throws org.apache.thrift.TException { + invokeManagement_result result = new invokeManagement_result(); + try { + result.success = iface.invokeManagement(args.method, + args.params, args.creds); + } + catch (com.cinchapi.concourse.thrift.SecurityException ex) { + result.ex = ex; + } + catch (com.cinchapi.concourse.thrift.ManagementException ex2) { + result.ex2 = ex2; + } + return result; + } + } + + } + + public static class AsyncProcessor + extends org.apache.thrift.TBaseAsyncProcessor { + private static final Logger LOGGER = LoggerFactory + .getLogger(AsyncProcessor.class.getName()); + + public AsyncProcessor(I iface) { + super(iface, getProcessMap( + new LinkedHashMap>())); + } + + protected AsyncProcessor(I iface, + Map> processMap) { + super(iface, getProcessMap(processMap)); + } + + private static Map> getProcessMap( + Map> processMap) { + processMap.put("abort", new abort()); + processMap.put("addKeyValue", new addKeyValue()); + processMap.put("addKeyValueRecord", new addKeyValueRecord()); + processMap.put("addKeyValueRecords", new addKeyValueRecords()); + processMap.put("auditRecord", new auditRecord()); + processMap.put("auditRecordStart", new auditRecordStart()); + processMap.put("auditRecordStartstr", new auditRecordStartstr()); + processMap.put("auditRecordStartEnd", new auditRecordStartEnd()); + processMap.put("auditRecordStartstrEndstr", + new auditRecordStartstrEndstr()); + processMap.put("auditKeyRecord", new auditKeyRecord()); + processMap.put("auditKeyRecordStart", new auditKeyRecordStart()); + processMap.put("auditKeyRecordStartstr", + new auditKeyRecordStartstr()); + processMap.put("auditKeyRecordStartEnd", + new auditKeyRecordStartEnd()); + processMap.put("auditKeyRecordStartstrEndstr", + new auditKeyRecordStartstrEndstr()); + processMap.put("browseKey", new browseKey()); + processMap.put("browseKeys", new browseKeys()); + processMap.put("browseKeyTime", new browseKeyTime()); + processMap.put("browseKeyTimestr", new browseKeyTimestr()); + processMap.put("browseKeysTime", new browseKeysTime()); + processMap.put("browseKeysTimestr", new browseKeysTimestr()); + processMap.put("chronologizeKeyRecord", + new chronologizeKeyRecord()); + processMap.put("chronologizeKeyRecordStart", + new chronologizeKeyRecordStart()); + processMap.put("chronologizeKeyRecordStartstr", + new chronologizeKeyRecordStartstr()); + processMap.put("chronologizeKeyRecordStartEnd", + new chronologizeKeyRecordStartEnd()); + processMap.put("chronologizeKeyRecordStartstrEndstr", + new chronologizeKeyRecordStartstrEndstr()); + processMap.put("clearRecord", new clearRecord()); + processMap.put("clearRecords", new clearRecords()); + processMap.put("clearKeyRecord", new clearKeyRecord()); + processMap.put("clearKeysRecord", new clearKeysRecord()); + processMap.put("clearKeyRecords", new clearKeyRecords()); + processMap.put("clearKeysRecords", new clearKeysRecords()); + processMap.put("commit", new commit()); + processMap.put("describe", new describe()); + processMap.put("describeTime", new describeTime()); + processMap.put("describeTimestr", new describeTimestr()); + processMap.put("describeRecord", new describeRecord()); + processMap.put("describeRecordTime", new describeRecordTime()); + processMap.put("describeRecordTimestr", + new describeRecordTimestr()); + processMap.put("describeRecords", new describeRecords()); + processMap.put("describeRecordsTime", new describeRecordsTime()); + processMap.put("describeRecordsTimestr", + new describeRecordsTimestr()); + processMap.put("diffRecordStart", new diffRecordStart()); + processMap.put("diffRecordStartstr", new diffRecordStartstr()); + processMap.put("diffRecordStartEnd", new diffRecordStartEnd()); + processMap.put("diffRecordStartstrEndstr", + new diffRecordStartstrEndstr()); + processMap.put("diffKeyRecordStart", new diffKeyRecordStart()); + processMap.put("diffKeyRecordStartstr", + new diffKeyRecordStartstr()); + processMap.put("diffKeyRecordStartEnd", + new diffKeyRecordStartEnd()); + processMap.put("diffKeyRecordStartstrEndstr", + new diffKeyRecordStartstrEndstr()); + processMap.put("diffKeyStart", new diffKeyStart()); + processMap.put("diffKeyStartstr", new diffKeyStartstr()); + processMap.put("diffKeyStartEnd", new diffKeyStartEnd()); + processMap.put("diffKeyStartstrEndstr", + new diffKeyStartstrEndstr()); + processMap.put("invokePlugin", new invokePlugin()); + processMap.put("login", new login()); + processMap.put("logout", new logout()); + processMap.put("stage", new stage()); + processMap.put("insertJson", new insertJson()); + processMap.put("insertJsonRecord", new insertJsonRecord()); + processMap.put("insertJsonRecords", new insertJsonRecords()); + processMap.put("removeKeyValueRecord", new removeKeyValueRecord()); + processMap.put("removeKeyValueRecords", + new removeKeyValueRecords()); + processMap.put("setKeyValueRecord", new setKeyValueRecord()); + processMap.put("setKeyValue", new setKeyValue()); + processMap.put("setKeyValueRecords", new setKeyValueRecords()); + processMap.put("reconcileKeyRecordValues", + new reconcileKeyRecordValues()); + processMap.put("inventory", new inventory()); + processMap.put("selectRecord", new selectRecord()); + processMap.put("selectRecords", new selectRecords()); + processMap.put("selectRecordsOrder", new selectRecordsOrder()); + processMap.put("selectRecordTime", new selectRecordTime()); + processMap.put("selectRecordTimestr", new selectRecordTimestr()); + processMap.put("selectRecordsTime", new selectRecordsTime()); + processMap.put("selectRecordsTimeOrder", + new selectRecordsTimeOrder()); + processMap.put("selectRecordsTimestr", new selectRecordsTimestr()); + processMap.put("selectRecordsTimestrOrder", + new selectRecordsTimestrOrder()); + processMap.put("selectKeyRecord", new selectKeyRecord()); + processMap.put("selectKeyRecordTime", new selectKeyRecordTime()); + processMap.put("selectKeyRecordTimestr", + new selectKeyRecordTimestr()); + processMap.put("selectKeysRecord", new selectKeysRecord()); + processMap.put("selectKeysRecordTime", new selectKeysRecordTime()); + processMap.put("selectKeysRecordTimestr", + new selectKeysRecordTimestr()); + processMap.put("selectKeysRecords", new selectKeysRecords()); + processMap.put("selectKeysRecordsOrder", + new selectKeysRecordsOrder()); + processMap.put("selectKeyRecords", new selectKeyRecords()); + processMap.put("selectKeyRecordsOrder", + new selectKeyRecordsOrder()); + processMap.put("selectKeyRecordsTime", new selectKeyRecordsTime()); + processMap.put("selectKeyRecordsTimeOrder", + new selectKeyRecordsTimeOrder()); + processMap.put("selectKeyRecordsTimestr", + new selectKeyRecordsTimestr()); + processMap.put("selectKeyRecordsTimestrOrder", + new selectKeyRecordsTimestrOrder()); + processMap.put("selectKeysRecordsTime", + new selectKeysRecordsTime()); + processMap.put("selectKeysRecordsTimeOrder", + new selectKeysRecordsTimeOrder()); + processMap.put("selectKeysRecordsTimestr", + new selectKeysRecordsTimestr()); + processMap.put("selectKeysRecordsTimestrOrder", + new selectKeysRecordsTimestrOrder()); + processMap.put("selectCriteria", new selectCriteria()); + processMap.put("selectCriteriaOrder", new selectCriteriaOrder()); + processMap.put("selectCcl", new selectCcl()); + processMap.put("selectCclOrder", new selectCclOrder()); + processMap.put("selectCriteriaTime", new selectCriteriaTime()); + processMap.put("selectCriteriaTimeOrder", + new selectCriteriaTimeOrder()); + processMap.put("selectCriteriaTimestr", + new selectCriteriaTimestr()); + processMap.put("selectCriteriaTimestrOrder", + new selectCriteriaTimestrOrder()); + processMap.put("selectCclTime", new selectCclTime()); + processMap.put("selectCclTimeOrder", new selectCclTimeOrder()); + processMap.put("selectCclTimestr", new selectCclTimestr()); + processMap.put("selectCclTimestrOrder", + new selectCclTimestrOrder()); + processMap.put("selectKeyCriteria", new selectKeyCriteria()); + processMap.put("selectKeyCriteriaOrder", + new selectKeyCriteriaOrder()); + processMap.put("selectKeyCcl", new selectKeyCcl()); + processMap.put("selectKeyCclOrder", new selectKeyCclOrder()); + processMap.put("selectKeyCriteriaTime", + new selectKeyCriteriaTime()); + processMap.put("selectKeyCriteriaTimeOrder", + new selectKeyCriteriaTimeOrder()); + processMap.put("selectKeyCriteriaTimestr", + new selectKeyCriteriaTimestr()); + processMap.put("selectKeyCriteriaTimestrOrder", + new selectKeyCriteriaTimestrOrder()); + processMap.put("selectKeyCclTime", new selectKeyCclTime()); + processMap.put("selectKeyCclTimeOrder", + new selectKeyCclTimeOrder()); + processMap.put("selectKeyCclTimestr", new selectKeyCclTimestr()); + processMap.put("selectKeyCclTimestrOrder", + new selectKeyCclTimestrOrder()); + processMap.put("selectKeysCriteria", new selectKeysCriteria()); + processMap.put("selectKeysCriteriaOrder", + new selectKeysCriteriaOrder()); + processMap.put("selectKeysCcl", new selectKeysCcl()); + processMap.put("selectKeysCclOrder", new selectKeysCclOrder()); + processMap.put("selectKeysCriteriaTime", + new selectKeysCriteriaTime()); + processMap.put("selectKeysCriteriaTimeOrder", + new selectKeysCriteriaTimeOrder()); + processMap.put("selectKeysCriteriaTimestr", + new selectKeysCriteriaTimestr()); + processMap.put("selectKeysCriteriaTimestrOrder", + new selectKeysCriteriaTimestrOrder()); + processMap.put("selectKeysCclTime", new selectKeysCclTime()); + processMap.put("selectKeysCclTimeOrder", + new selectKeysCclTimeOrder()); + processMap.put("selectKeysCclTimestr", new selectKeysCclTimestr()); + processMap.put("selectKeysCclTimestrOrder", + new selectKeysCclTimestrOrder()); + processMap.put("getKeyRecord", new getKeyRecord()); + processMap.put("getKeyRecordTime", new getKeyRecordTime()); + processMap.put("getKeyRecordTimestr", new getKeyRecordTimestr()); + processMap.put("getKeysRecord", new getKeysRecord()); + processMap.put("getKeysRecordTime", new getKeysRecordTime()); + processMap.put("getKeysRecordTimestr", new getKeysRecordTimestr()); + processMap.put("getKeysRecords", new getKeysRecords()); + processMap.put("getKeysRecordsOrder", new getKeysRecordsOrder()); + processMap.put("getKeyRecords", new getKeyRecords()); + processMap.put("getKeyRecordsOrder", new getKeyRecordsOrder()); + processMap.put("getKeyRecordsTime", new getKeyRecordsTime()); + processMap.put("getKeyRecordsTimeOrder", + new getKeyRecordsTimeOrder()); + processMap.put("getKeyRecordsTimestr", new getKeyRecordsTimestr()); + processMap.put("getKeyRecordsTimestrOrder", + new getKeyRecordsTimestrOrder()); + processMap.put("getKeysRecordsTime", new getKeysRecordsTime()); + processMap.put("getKeysRecordsTimeOrder", + new getKeysRecordsTimeOrder()); + processMap.put("getKeysRecordsTimestr", + new getKeysRecordsTimestr()); + processMap.put("getKeysRecordsTimestrOrder", + new getKeysRecordsTimestrOrder()); + processMap.put("getKeyCriteria", new getKeyCriteria()); + processMap.put("getKeyCriteriaOrder", new getKeyCriteriaOrder()); + processMap.put("getCriteria", new getCriteria()); + processMap.put("getCriteriaOrder", new getCriteriaOrder()); + processMap.put("getCcl", new getCcl()); + processMap.put("getCclOrder", new getCclOrder()); + processMap.put("getCriteriaTime", new getCriteriaTime()); + processMap.put("getCriteriaTimeOrder", new getCriteriaTimeOrder()); + processMap.put("getCriteriaTimestr", new getCriteriaTimestr()); + processMap.put("getCriteriaTimestrOrder", + new getCriteriaTimestrOrder()); + processMap.put("getCclTime", new getCclTime()); + processMap.put("getCclTimeOrder", new getCclTimeOrder()); + processMap.put("getCclTimestr", new getCclTimestr()); + processMap.put("getCclTimestrOrder", new getCclTimestrOrder()); + processMap.put("getKeyCcl", new getKeyCcl()); + processMap.put("getKeyCclOrder", new getKeyCclOrder()); + processMap.put("getKeyCriteriaTime", new getKeyCriteriaTime()); + processMap.put("getKeyCriteriaTimeOrder", + new getKeyCriteriaTimeOrder()); + processMap.put("getKeyCriteriaTimestr", + new getKeyCriteriaTimestr()); + processMap.put("getKeyCriteriaTimestrOrder", + new getKeyCriteriaTimestrOrder()); + processMap.put("getKeyCclTime", new getKeyCclTime()); + processMap.put("getKeyCclTimeOrder", new getKeyCclTimeOrder()); + processMap.put("getKeyCclTimestr", new getKeyCclTimestr()); + processMap.put("getKeyCclTimestrOrder", + new getKeyCclTimestrOrder()); + processMap.put("getKeysCriteria", new getKeysCriteria()); + processMap.put("getKeysCriteriaOrder", new getKeysCriteriaOrder()); + processMap.put("getKeysCcl", new getKeysCcl()); + processMap.put("getKeysCclOrder", new getKeysCclOrder()); + processMap.put("getKeysCriteriaTime", new getKeysCriteriaTime()); + processMap.put("getKeysCriteriaTimeOrder", + new getKeysCriteriaTimeOrder()); + processMap.put("getKeysCriteriaTimestr", + new getKeysCriteriaTimestr()); + processMap.put("getKeysCriteriaTimestrOrder", + new getKeysCriteriaTimestrOrder()); + processMap.put("getKeysCclTime", new getKeysCclTime()); + processMap.put("getKeysCclTimeOrder", new getKeysCclTimeOrder()); + processMap.put("getKeysCclTimestr", new getKeysCclTimestr()); + processMap.put("getKeysCclTimestrOrder", + new getKeysCclTimestrOrder()); + processMap.put("verifyKeyValueRecord", new verifyKeyValueRecord()); + processMap.put("verifyKeyValueRecordTime", + new verifyKeyValueRecordTime()); + processMap.put("verifyKeyValueRecordTimestr", + new verifyKeyValueRecordTimestr()); + processMap.put("jsonifyRecords", new jsonifyRecords()); + processMap.put("jsonifyRecordsTime", new jsonifyRecordsTime()); + processMap.put("jsonifyRecordsTimestr", + new jsonifyRecordsTimestr()); + processMap.put("findCriteria", new findCriteria()); + processMap.put("findCriteriaOrder", new findCriteriaOrder()); + processMap.put("findCcl", new findCcl()); + processMap.put("findCclOrder", new findCclOrder()); + processMap.put("findKeyOperatorValues", + new findKeyOperatorValues()); + processMap.put("findKeyOperatorValuesOrder", + new findKeyOperatorValuesOrder()); + processMap.put("findKeyOperatorValuesTime", + new findKeyOperatorValuesTime()); + processMap.put("findKeyOperatorValuesTimeOrder", + new findKeyOperatorValuesTimeOrder()); + processMap.put("findKeyOperatorValuesTimestr", + new findKeyOperatorValuesTimestr()); + processMap.put("findKeyOperatorValuesTimestrOrder", + new findKeyOperatorValuesTimestrOrder()); + processMap.put("findKeyOperatorstrValues", + new findKeyOperatorstrValues()); + processMap.put("findKeyOperatorstrValuesOrder", + new findKeyOperatorstrValuesOrder()); + processMap.put("findKeyOperatorstrValuesTime", + new findKeyOperatorstrValuesTime()); + processMap.put("findKeyOperatorstrValuesTimeOrder", + new findKeyOperatorstrValuesTimeOrder()); + processMap.put("findKeyOperatorstrValuesTimestr", + new findKeyOperatorstrValuesTimestr()); + processMap.put("findKeyOperatorstrValuesTimestrOrder", + new findKeyOperatorstrValuesTimestrOrder()); + processMap.put("search", new search()); + processMap.put("revertKeysRecordsTime", + new revertKeysRecordsTime()); + processMap.put("revertKeysRecordsTimestr", + new revertKeysRecordsTimestr()); + processMap.put("revertKeysRecordTime", new revertKeysRecordTime()); + processMap.put("revertKeysRecordTimestr", + new revertKeysRecordTimestr()); + processMap.put("revertKeyRecordsTime", new revertKeyRecordsTime()); + processMap.put("revertKeyRecordsTimestr", + new revertKeyRecordsTimestr()); + processMap.put("revertKeyRecordTime", new revertKeyRecordTime()); + processMap.put("revertKeyRecordTimestr", + new revertKeyRecordTimestr()); + processMap.put("pingRecords", new pingRecords()); + processMap.put("pingRecord", new pingRecord()); + processMap.put("verifyAndSwap", new verifyAndSwap()); + processMap.put("verifyOrSet", new verifyOrSet()); + processMap.put("findOrAddKeyValue", new findOrAddKeyValue()); + processMap.put("findOrInsertCriteriaJson", + new findOrInsertCriteriaJson()); + processMap.put("findOrInsertCclJson", new findOrInsertCclJson()); + processMap.put("sumKeyRecord", new sumKeyRecord()); + processMap.put("sumKeyRecordTime", new sumKeyRecordTime()); + processMap.put("sumKeyRecordTimestr", new sumKeyRecordTimestr()); + processMap.put("sumKeyRecords", new sumKeyRecords()); + processMap.put("sumKeyRecordsTime", new sumKeyRecordsTime()); + processMap.put("sumKeyRecordsTimestr", new sumKeyRecordsTimestr()); + processMap.put("sumKey", new sumKey()); + processMap.put("sumKeyTime", new sumKeyTime()); + processMap.put("sumKeyTimestr", new sumKeyTimestr()); + processMap.put("sumKeyCriteria", new sumKeyCriteria()); + processMap.put("sumKeyCriteriaTime", new sumKeyCriteriaTime()); + processMap.put("sumKeyCriteriaTimestr", + new sumKeyCriteriaTimestr()); + processMap.put("sumKeyCcl", new sumKeyCcl()); + processMap.put("sumKeyCclTime", new sumKeyCclTime()); + processMap.put("sumKeyCclTimestr", new sumKeyCclTimestr()); + processMap.put("averageKeyRecord", new averageKeyRecord()); + processMap.put("averageKeyRecordTime", new averageKeyRecordTime()); + processMap.put("averageKeyRecordTimestr", + new averageKeyRecordTimestr()); + processMap.put("averageKeyRecords", new averageKeyRecords()); + processMap.put("averageKeyRecordsTime", + new averageKeyRecordsTime()); + processMap.put("averageKeyRecordsTimestr", + new averageKeyRecordsTimestr()); + processMap.put("averageKey", new averageKey()); + processMap.put("averageKeyTime", new averageKeyTime()); + processMap.put("averageKeyTimestr", new averageKeyTimestr()); + processMap.put("averageKeyCriteria", new averageKeyCriteria()); + processMap.put("averageKeyCriteriaTime", + new averageKeyCriteriaTime()); + processMap.put("averageKeyCriteriaTimestr", + new averageKeyCriteriaTimestr()); + processMap.put("averageKeyCcl", new averageKeyCcl()); + processMap.put("averageKeyCclTime", new averageKeyCclTime()); + processMap.put("averageKeyCclTimestr", new averageKeyCclTimestr()); + processMap.put("countKeyRecord", new countKeyRecord()); + processMap.put("countKeyRecordTime", new countKeyRecordTime()); + processMap.put("countKeyRecordTimestr", + new countKeyRecordTimestr()); + processMap.put("countKeyRecords", new countKeyRecords()); + processMap.put("countKeyRecordsTime", new countKeyRecordsTime()); + processMap.put("countKeyRecordsTimestr", + new countKeyRecordsTimestr()); + processMap.put("countKey", new countKey()); + processMap.put("countKeyTime", new countKeyTime()); + processMap.put("countKeyTimestr", new countKeyTimestr()); + processMap.put("countKeyCriteria", new countKeyCriteria()); + processMap.put("countKeyCriteriaTime", new countKeyCriteriaTime()); + processMap.put("countKeyCriteriaTimestr", + new countKeyCriteriaTimestr()); + processMap.put("countKeyCcl", new countKeyCcl()); + processMap.put("countKeyCclTime", new countKeyCclTime()); + processMap.put("countKeyCclTimestr", new countKeyCclTimestr()); + processMap.put("maxKeyRecord", new maxKeyRecord()); + processMap.put("maxKeyRecordTime", new maxKeyRecordTime()); + processMap.put("maxKeyRecordTimestr", new maxKeyRecordTimestr()); + processMap.put("maxKeyRecords", new maxKeyRecords()); + processMap.put("maxKeyRecordsTime", new maxKeyRecordsTime()); + processMap.put("maxKeyRecordsTimestr", new maxKeyRecordsTimestr()); + processMap.put("maxKeyCriteria", new maxKeyCriteria()); + processMap.put("maxKeyCriteriaTime", new maxKeyCriteriaTime()); + processMap.put("maxKeyCriteriaTimestr", + new maxKeyCriteriaTimestr()); + processMap.put("maxKeyCcl", new maxKeyCcl()); + processMap.put("maxKeyCclTime", new maxKeyCclTime()); + processMap.put("maxKeyCclTimestr", new maxKeyCclTimestr()); + processMap.put("maxKey", new maxKey()); + processMap.put("maxKeyTime", new maxKeyTime()); + processMap.put("maxKeyTimestr", new maxKeyTimestr()); + processMap.put("minKeyRecord", new minKeyRecord()); + processMap.put("minKeyRecordTime", new minKeyRecordTime()); + processMap.put("minKeyRecordTimestr", new minKeyRecordTimestr()); + processMap.put("minKey", new minKey()); + processMap.put("minKeyRecordsTime", new minKeyRecordsTime()); + processMap.put("minKeyRecordsTimestr", new minKeyRecordsTimestr()); + processMap.put("minKeyCriteria", new minKeyCriteria()); + processMap.put("minKeyCriteriaTime", new minKeyCriteriaTime()); + processMap.put("minKeyCriteriaTimestr", + new minKeyCriteriaTimestr()); + processMap.put("minKeyCcl", new minKeyCcl()); + processMap.put("minKeyCclTime", new minKeyCclTime()); + processMap.put("minKeyCclTimestr", new minKeyCclTimestr()); + processMap.put("minKeyTime", new minKeyTime()); + processMap.put("minKeyTimestr", new minKeyTimestr()); + processMap.put("minKeyRecords", new minKeyRecords()); + processMap.put("navigateKeyRecord", new navigateKeyRecord()); + processMap.put("navigateKeyRecordTime", + new navigateKeyRecordTime()); + processMap.put("navigateKeyRecordTimestr", + new navigateKeyRecordTimestr()); + processMap.put("navigateKeysRecord", new navigateKeysRecord()); + processMap.put("navigateKeysRecordTime", + new navigateKeysRecordTime()); + processMap.put("navigateKeysRecordTimestr", + new navigateKeysRecordTimestr()); + processMap.put("navigateKeysRecords", new navigateKeysRecords()); + processMap.put("navigateKeyRecords", new navigateKeyRecords()); + processMap.put("navigateKeyRecordsTime", + new navigateKeyRecordsTime()); + processMap.put("navigateKeyRecordsTimestr", + new navigateKeyRecordsTimestr()); + processMap.put("navigateKeysRecordsTime", + new navigateKeysRecordsTime()); + processMap.put("navigateKeysRecordsTimestr", + new navigateKeysRecordsTimestr()); + processMap.put("navigateKeyCcl", new navigateKeyCcl()); + processMap.put("navigateKeyCclTime", new navigateKeyCclTime()); + processMap.put("navigateKeyCclTimestr", + new navigateKeyCclTimestr()); + processMap.put("navigateKeysCcl", new navigateKeysCcl()); + processMap.put("navigateKeysCclTime", new navigateKeysCclTime()); + processMap.put("navigateKeysCclTimestr", + new navigateKeysCclTimestr()); + processMap.put("navigateKeyCriteria", new navigateKeyCriteria()); + processMap.put("navigateKeyCriteriaTime", + new navigateKeyCriteriaTime()); + processMap.put("navigateKeyCriteriaTimestr", + new navigateKeyCriteriaTimestr()); + processMap.put("navigateKeysCriteria", new navigateKeysCriteria()); + processMap.put("navigateKeysCriteriaTime", + new navigateKeysCriteriaTime()); + processMap.put("navigateKeysCriteriaTimestr", + new navigateKeysCriteriaTimestr()); + processMap.put("getServerEnvironment", new getServerEnvironment()); + processMap.put("getServerVersion", new getServerVersion()); + processMap.put("time", new time()); + processMap.put("timePhrase", new timePhrase()); + processMap.put("invokeManagement", new invokeManagement()); + return processMap; + } + + public static class abort extends + org.apache.thrift.AsyncProcessFunction { + public abort() { + super("abort"); + } + + public abort_args getEmptyArgsInstance() { + return new abort_args(); + } + + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectRecordsTime_result result = new selectRecordsTime_result(); - result.success = o; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + abort_result result = new abort_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -57229,22 +62972,12 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectRecordsTime_result result = new selectRecordsTime_result(); + abort_result result = new abort_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -57269,33 +63002,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, abort_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.selectRecordsTime(args.records, args.timestamp, - args.creds, args.transaction, args.environment, + iface.abort(args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectRecordsTimestr extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectRecordsTimestr() { - super("selectRecordsTimestr"); + public static class addKeyValue extends + org.apache.thrift.AsyncProcessFunction { + public addKeyValue() { + super("addKeyValue"); } - public selectRecordsTimestr_args getEmptyArgsInstance() { - return new selectRecordsTimestr_args(); + public addKeyValue_args getEmptyArgsInstance() { + return new addKeyValue_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectRecordsTimestr_result result = new selectRecordsTimestr_result(); + return new AsyncMethodCallback() { + public void onComplete(Long o) { + addKeyValue_result result = new addKeyValue_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -57313,7 +63045,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectRecordsTimestr_result result = new selectRecordsTimestr_result(); + addKeyValue_result result = new addKeyValue_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -57324,8 +63056,8 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx3IsSet(true); msg = result; } @@ -57358,33 +63090,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, addKeyValue_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.selectRecordsTimestr(args.records, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.addKeyValue(args.key, args.value, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class selectKeyRecord extends - org.apache.thrift.AsyncProcessFunction> { - public selectKeyRecord() { - super("selectKeyRecord"); + public static class addKeyValueRecord extends + org.apache.thrift.AsyncProcessFunction { + public addKeyValueRecord() { + super("addKeyValueRecord"); } - public selectKeyRecord_args getEmptyArgsInstance() { - return new selectKeyRecord_args(); + public addKeyValueRecord_args getEmptyArgsInstance() { + return new addKeyValueRecord_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete( - Set o) { - selectKeyRecord_result result = new selectKeyRecord_result(); + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + addKeyValueRecord_result result = new addKeyValueRecord_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -57402,7 +63133,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyRecord_result result = new selectKeyRecord_result(); + addKeyValueRecord_result result = new addKeyValueRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -57413,11 +63144,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -57442,31 +63178,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, addKeyValueRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.selectKeyRecord(args.key, args.record, args.creds, - args.transaction, args.environment, resultHandler); + iface.addKeyValueRecord(args.key, args.value, args.record, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class selectKeyRecordTime extends - org.apache.thrift.AsyncProcessFunction> { - public selectKeyRecordTime() { - super("selectKeyRecordTime"); + public static class addKeyValueRecords extends + org.apache.thrift.AsyncProcessFunction> { + public addKeyValueRecords() { + super("addKeyValueRecords"); } - public selectKeyRecordTime_args getEmptyArgsInstance() { - return new selectKeyRecordTime_args(); + public addKeyValueRecords_args getEmptyArgsInstance() { + return new addKeyValueRecords_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete( - Set o) { - selectKeyRecordTime_result result = new selectKeyRecordTime_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + addKeyValueRecords_result result = new addKeyValueRecords_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -57485,7 +63221,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyRecordTime_result result = new selectKeyRecordTime_result(); + addKeyValueRecords_result result = new addKeyValueRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -57496,11 +63232,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -57525,32 +63266,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, addKeyValueRecords_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeyRecordTime(args.key, args.record, args.timestamp, + iface.addKeyValueRecords(args.key, args.value, args.records, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectKeyRecordTimestr extends - org.apache.thrift.AsyncProcessFunction> { - public selectKeyRecordTimestr() { - super("selectKeyRecordTimestr"); + public static class auditRecord extends + org.apache.thrift.AsyncProcessFunction> { + public auditRecord() { + super("auditRecord"); } - public selectKeyRecordTimestr_args getEmptyArgsInstance() { - return new selectKeyRecordTimestr_args(); + public auditRecord_args getEmptyArgsInstance() { + return new auditRecord_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete( - Set o) { - selectKeyRecordTimestr_result result = new selectKeyRecordTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + auditRecord_result result = new auditRecord_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -57569,7 +63309,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyRecordTimestr_result result = new selectKeyRecordTimestr_result(); + auditRecord_result result = new auditRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -57580,14 +63320,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -57614,32 +63349,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, auditRecord_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeyRecordTimestr(args.key, args.record, - args.timestamp, args.creds, args.transaction, + iface.auditRecord(args.record, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectKeysRecord extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeysRecord() { - super("selectKeysRecord"); + public static class auditRecordStart extends + org.apache.thrift.AsyncProcessFunction> { + public auditRecordStart() { + super("auditRecordStart"); } - public selectKeysRecord_args getEmptyArgsInstance() { - return new selectKeysRecord_args(); + public auditRecordStart_args getEmptyArgsInstance() { + return new auditRecordStart_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - selectKeysRecord_result result = new selectKeysRecord_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + auditRecordStart_result result = new auditRecordStart_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -57658,7 +63391,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysRecord_result result = new selectKeysRecord_result(); + auditRecordStart_result result = new auditRecordStart_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -57698,31 +63431,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysRecord_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, auditRecordStart_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeysRecord(args.keys, args.record, args.creds, + iface.auditRecordStart(args.record, args.start, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectKeysRecordTime extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeysRecordTime() { - super("selectKeysRecordTime"); + public static class auditRecordStartstr extends + org.apache.thrift.AsyncProcessFunction> { + public auditRecordStartstr() { + super("auditRecordStartstr"); } - public selectKeysRecordTime_args getEmptyArgsInstance() { - return new selectKeysRecordTime_args(); + public auditRecordStartstr_args getEmptyArgsInstance() { + return new auditRecordStartstr_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - selectKeysRecordTime_result result = new selectKeysRecordTime_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + auditRecordStartstr_result result = new auditRecordStartstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -57741,7 +63473,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysRecordTime_result result = new selectKeysRecordTime_result(); + auditRecordStartstr_result result = new auditRecordStartstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -57752,11 +63484,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -57781,33 +63518,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, auditRecordStartstr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeysRecordTime(args.keys, args.record, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.auditRecordStartstr(args.record, args.start, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class selectKeysRecordTimestr - extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeysRecordTimestr() { - super("selectKeysRecordTimestr"); + public static class auditRecordStartEnd extends + org.apache.thrift.AsyncProcessFunction> { + public auditRecordStartEnd() { + super("auditRecordStartEnd"); } - public selectKeysRecordTimestr_args getEmptyArgsInstance() { - return new selectKeysRecordTimestr_args(); + public auditRecordStartEnd_args getEmptyArgsInstance() { + return new auditRecordStartEnd_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - selectKeysRecordTimestr_result result = new selectKeysRecordTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + auditRecordStartEnd_result result = new auditRecordStartEnd_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -57826,7 +63560,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysRecordTimestr_result result = new selectKeysRecordTimestr_result(); + auditRecordStartEnd_result result = new auditRecordStartEnd_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -57837,14 +63571,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -57871,32 +63600,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, auditRecordStartEnd_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeysRecordTimestr(args.keys, args.record, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.auditRecordStartEnd(args.record, args.start, args.tend, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class selectKeysRecords extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectKeysRecords() { - super("selectKeysRecords"); + public static class auditRecordStartstrEndstr + extends + org.apache.thrift.AsyncProcessFunction> { + public auditRecordStartstrEndstr() { + super("auditRecordStartstrEndstr"); } - public selectKeysRecords_args getEmptyArgsInstance() { - return new selectKeysRecords_args(); + public auditRecordStartstrEndstr_args getEmptyArgsInstance() { + return new auditRecordStartstrEndstr_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectKeysRecords_result result = new selectKeysRecords_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + auditRecordStartstrEndstr_result result = new auditRecordStartstrEndstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -57915,7 +63644,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysRecords_result result = new selectKeysRecords_result(); + auditRecordStartstrEndstr_result result = new auditRecordStartstrEndstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -57926,11 +63655,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -57955,31 +63689,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysRecords_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, auditRecordStartstrEndstr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeysRecords(args.keys, args.records, args.creds, - args.transaction, args.environment, resultHandler); + iface.auditRecordStartstrEndstr(args.record, args.start, + args.tend, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class selectKeyRecords extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeyRecords() { - super("selectKeyRecords"); + public static class auditKeyRecord extends + org.apache.thrift.AsyncProcessFunction> { + public auditKeyRecord() { + super("auditKeyRecord"); } - public selectKeyRecords_args getEmptyArgsInstance() { - return new selectKeyRecords_args(); + public auditKeyRecord_args getEmptyArgsInstance() { + return new auditKeyRecord_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - selectKeyRecords_result result = new selectKeyRecords_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + auditKeyRecord_result result = new auditKeyRecord_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -57998,7 +63732,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyRecords_result result = new selectKeyRecords_result(); + auditKeyRecord_result result = new auditKeyRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58038,31 +63772,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyRecords_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, auditKeyRecord_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeyRecords(args.key, args.records, args.creds, + iface.auditKeyRecord(args.key, args.record, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectKeyRecordsTime extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeyRecordsTime() { - super("selectKeyRecordsTime"); + public static class auditKeyRecordStart extends + org.apache.thrift.AsyncProcessFunction> { + public auditKeyRecordStart() { + super("auditKeyRecordStart"); } - public selectKeyRecordsTime_args getEmptyArgsInstance() { - return new selectKeyRecordsTime_args(); + public auditKeyRecordStart_args getEmptyArgsInstance() { + return new auditKeyRecordStart_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - selectKeyRecordsTime_result result = new selectKeyRecordsTime_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + auditKeyRecordStart_result result = new auditKeyRecordStart_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58081,7 +63814,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyRecordsTime_result result = new selectKeyRecordsTime_result(); + auditKeyRecordStart_result result = new auditKeyRecordStart_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58121,33 +63854,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, auditKeyRecordStart_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeyRecordsTime(args.key, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.auditKeyRecordStart(args.key, args.record, args.start, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class selectKeyRecordsTimestr - extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeyRecordsTimestr() { - super("selectKeyRecordsTimestr"); + public static class auditKeyRecordStartstr extends + org.apache.thrift.AsyncProcessFunction> { + public auditKeyRecordStartstr() { + super("auditKeyRecordStartstr"); } - public selectKeyRecordsTimestr_args getEmptyArgsInstance() { - return new selectKeyRecordsTimestr_args(); + public auditKeyRecordStartstr_args getEmptyArgsInstance() { + return new auditKeyRecordStartstr_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - selectKeyRecordsTimestr_result result = new selectKeyRecordsTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + auditKeyRecordStartstr_result result = new auditKeyRecordStartstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58166,7 +63897,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyRecordsTimestr_result result = new selectKeyRecordsTimestr_result(); + auditKeyRecordStartstr_result result = new auditKeyRecordStartstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58211,32 +63942,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, auditKeyRecordStartstr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeyRecordsTimestr(args.key, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.auditKeyRecordStartstr(args.key, args.record, args.start, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class selectKeysRecordsTime extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectKeysRecordsTime() { - super("selectKeysRecordsTime"); + public static class auditKeyRecordStartEnd extends + org.apache.thrift.AsyncProcessFunction> { + public auditKeyRecordStartEnd() { + super("auditKeyRecordStartEnd"); } - public selectKeysRecordsTime_args getEmptyArgsInstance() { - return new selectKeysRecordsTime_args(); + public auditKeyRecordStartEnd_args getEmptyArgsInstance() { + return new auditKeyRecordStartEnd_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectKeysRecordsTime_result result = new selectKeysRecordsTime_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + auditKeyRecordStartEnd_result result = new auditKeyRecordStartEnd_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58255,7 +63985,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysRecordsTime_result result = new selectKeysRecordsTime_result(); + auditKeyRecordStartEnd_result result = new auditKeyRecordStartEnd_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58295,33 +64025,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, auditKeyRecordStartEnd_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeysRecordsTime(args.keys, args.records, - args.timestamp, args.creds, args.transaction, + iface.auditKeyRecordStartEnd(args.key, args.record, args.start, + args.tend, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectKeysRecordsTimestr + public static class auditKeyRecordStartstrEndstr extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectKeysRecordsTimestr() { - super("selectKeysRecordsTimestr"); + org.apache.thrift.AsyncProcessFunction> { + public auditKeyRecordStartstrEndstr() { + super("auditKeyRecordStartstrEndstr"); } - public selectKeysRecordsTimestr_args getEmptyArgsInstance() { - return new selectKeysRecordsTimestr_args(); + public auditKeyRecordStartstrEndstr_args getEmptyArgsInstance() { + return new auditKeyRecordStartstrEndstr_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectKeysRecordsTimestr_result result = new selectKeysRecordsTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + auditKeyRecordStartstrEndstr_result result = new auditKeyRecordStartstrEndstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58340,7 +64069,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysRecordsTimestr_result result = new selectKeysRecordsTimestr_result(); + auditKeyRecordStartstrEndstr_result result = new auditKeyRecordStartstrEndstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58385,32 +64114,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, auditKeyRecordStartstrEndstr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.selectKeysRecordsTimestr(args.keys, args.records, - args.timestamp, args.creds, args.transaction, + iface.auditKeyRecordStartstrEndstr(args.key, args.record, + args.start, args.tend, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectCriteria extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectCriteria() { - super("selectCriteria"); + public static class browseKey extends + org.apache.thrift.AsyncProcessFunction>> { + public browseKey() { + super("browseKey"); } - public selectCriteria_args getEmptyArgsInstance() { - return new selectCriteria_args(); + public browseKey_args getEmptyArgsInstance() { + return new browseKey_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map>> o) { - selectCriteria_result result = new selectCriteria_result(); + Map> o) { + browseKey_result result = new browseKey_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58429,7 +64158,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectCriteria_result result = new selectCriteria_result(); + browseKey_result result = new browseKey_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58469,31 +64198,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, browseKey_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.selectCriteria(args.criteria, args.creds, - args.transaction, args.environment, resultHandler); + iface.browseKey(args.key, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class selectCcl extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectCcl() { - super("selectCcl"); + public static class browseKeys extends + org.apache.thrift.AsyncProcessFunction>>> { + public browseKeys() { + super("browseKeys"); } - public selectCcl_args getEmptyArgsInstance() { - return new selectCcl_args(); + public browseKeys_args getEmptyArgsInstance() { + return new browseKeys_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map>> o) { - selectCcl_result result = new selectCcl_result(); + Map>> o) { + browseKeys_result result = new browseKeys_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58512,7 +64241,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectCcl_result result = new selectCcl_result(); + browseKeys_result result = new browseKeys_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58523,14 +64252,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -58557,31 +64281,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectCcl_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, browseKeys_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.selectCcl(args.ccl, args.creds, args.transaction, + iface.browseKeys(args.keys, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectCriteriaTime extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectCriteriaTime() { - super("selectCriteriaTime"); + public static class browseKeyTime extends + org.apache.thrift.AsyncProcessFunction>> { + public browseKeyTime() { + super("browseKeyTime"); } - public selectCriteriaTime_args getEmptyArgsInstance() { - return new selectCriteriaTime_args(); + public browseKeyTime_args getEmptyArgsInstance() { + return new browseKeyTime_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map>> o) { - selectCriteriaTime_result result = new selectCriteriaTime_result(); + Map> o) { + browseKeyTime_result result = new browseKeyTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58600,7 +64324,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectCriteriaTime_result result = new selectCriteriaTime_result(); + browseKeyTime_result result = new browseKeyTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58640,32 +64364,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, browseKeyTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.selectCriteriaTime(args.criteria, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.browseKeyTime(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class selectCriteriaTimestr extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectCriteriaTimestr() { - super("selectCriteriaTimestr"); + public static class browseKeyTimestr extends + org.apache.thrift.AsyncProcessFunction>> { + public browseKeyTimestr() { + super("browseKeyTimestr"); } - public selectCriteriaTimestr_args getEmptyArgsInstance() { - return new selectCriteriaTimestr_args(); + public browseKeyTimestr_args getEmptyArgsInstance() { + return new browseKeyTimestr_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map>> o) { - selectCriteriaTimestr_result result = new selectCriteriaTimestr_result(); + Map> o) { + browseKeyTimestr_result result = new browseKeyTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58684,7 +64407,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectCriteriaTimestr_result result = new selectCriteriaTimestr_result(); + browseKeyTimestr_result result = new browseKeyTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58729,32 +64452,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, browseKeyTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.selectCriteriaTimestr(args.criteria, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.browseKeyTimestr(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class selectCclTime extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectCclTime() { - super("selectCclTime"); + public static class browseKeysTime extends + org.apache.thrift.AsyncProcessFunction>>> { + public browseKeysTime() { + super("browseKeysTime"); } - public selectCclTime_args getEmptyArgsInstance() { - return new selectCclTime_args(); + public browseKeysTime_args getEmptyArgsInstance() { + return new browseKeysTime_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map>> o) { - selectCclTime_result result = new selectCclTime_result(); + Map>> o) { + browseKeysTime_result result = new browseKeysTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58773,7 +64495,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectCclTime_result result = new selectCclTime_result(); + browseKeysTime_result result = new browseKeysTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58784,14 +64506,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -58818,31 +64535,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, browseKeysTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.selectCclTime(args.ccl, args.timestamp, args.creds, + iface.browseKeysTime(args.keys, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectCclTimestr extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectCclTimestr() { - super("selectCclTimestr"); + public static class browseKeysTimestr extends + org.apache.thrift.AsyncProcessFunction>>> { + public browseKeysTimestr() { + super("browseKeysTimestr"); } - public selectCclTimestr_args getEmptyArgsInstance() { - return new selectCclTimestr_args(); + public browseKeysTimestr_args getEmptyArgsInstance() { + return new browseKeysTimestr_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map>> o) { - selectCclTimestr_result result = new selectCclTimestr_result(); + Map>> o) { + browseKeysTimestr_result result = new browseKeysTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58861,7 +64578,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectCclTimestr_result result = new selectCclTimestr_result(); + browseKeysTimestr_result result = new browseKeysTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58906,22 +64623,22 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, browseKeysTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.selectCclTimestr(args.ccl, args.timestamp, args.creds, + iface.browseKeysTimestr(args.keys, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectKeyCriteria extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeyCriteria() { - super("selectKeyCriteria"); + public static class chronologizeKeyRecord extends + org.apache.thrift.AsyncProcessFunction>> { + public chronologizeKeyRecord() { + super("chronologizeKeyRecord"); } - public selectKeyCriteria_args getEmptyArgsInstance() { - return new selectKeyCriteria_args(); + public chronologizeKeyRecord_args getEmptyArgsInstance() { + return new chronologizeKeyRecord_args(); } public AsyncMethodCallback>> getResultHandler( @@ -58930,7 +64647,7 @@ public AsyncMethodCallback> return new AsyncMethodCallback>>() { public void onComplete( Map> o) { - selectKeyCriteria_result result = new selectKeyCriteria_result(); + chronologizeKeyRecord_result result = new chronologizeKeyRecord_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -58949,7 +64666,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyCriteria_result result = new selectKeyCriteria_result(); + chronologizeKeyRecord_result result = new chronologizeKeyRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -58989,22 +64706,23 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyCriteria_args args, + public void start(I iface, chronologizeKeyRecord_args args, org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.selectKeyCriteria(args.key, args.criteria, args.creds, + iface.chronologizeKeyRecord(args.key, args.record, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectKeyCcl extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeyCcl() { - super("selectKeyCcl"); + public static class chronologizeKeyRecordStart + extends + org.apache.thrift.AsyncProcessFunction>> { + public chronologizeKeyRecordStart() { + super("chronologizeKeyRecordStart"); } - public selectKeyCcl_args getEmptyArgsInstance() { - return new selectKeyCcl_args(); + public chronologizeKeyRecordStart_args getEmptyArgsInstance() { + return new chronologizeKeyRecordStart_args(); } public AsyncMethodCallback>> getResultHandler( @@ -59013,7 +64731,7 @@ public AsyncMethodCallback> return new AsyncMethodCallback>>() { public void onComplete( Map> o) { - selectKeyCcl_result result = new selectKeyCcl_result(); + chronologizeKeyRecordStart_result result = new chronologizeKeyRecordStart_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -59032,7 +64750,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyCcl_result result = new selectKeyCcl_result(); + chronologizeKeyRecordStart_result result = new chronologizeKeyRecordStart_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59043,14 +64761,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -59077,22 +64790,24 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyCcl_args args, + public void start(I iface, chronologizeKeyRecordStart_args args, org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.selectKeyCcl(args.key, args.ccl, args.creds, - args.transaction, args.environment, resultHandler); + iface.chronologizeKeyRecordStart(args.key, args.record, + args.start, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class selectKeyCriteriaTime extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeyCriteriaTime() { - super("selectKeyCriteriaTime"); + public static class chronologizeKeyRecordStartstr + extends + org.apache.thrift.AsyncProcessFunction>> { + public chronologizeKeyRecordStartstr() { + super("chronologizeKeyRecordStartstr"); } - public selectKeyCriteriaTime_args getEmptyArgsInstance() { - return new selectKeyCriteriaTime_args(); + public chronologizeKeyRecordStartstr_args getEmptyArgsInstance() { + return new chronologizeKeyRecordStartstr_args(); } public AsyncMethodCallback>> getResultHandler( @@ -59101,7 +64816,7 @@ public AsyncMethodCallback> return new AsyncMethodCallback>>() { public void onComplete( Map> o) { - selectKeyCriteriaTime_result result = new selectKeyCriteriaTime_result(); + chronologizeKeyRecordStartstr_result result = new chronologizeKeyRecordStartstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -59120,7 +64835,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyCriteriaTime_result result = new selectKeyCriteriaTime_result(); + chronologizeKeyRecordStartstr_result result = new chronologizeKeyRecordStartstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59131,11 +64846,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -59160,24 +64880,24 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyCriteriaTime_args args, + public void start(I iface, chronologizeKeyRecordStartstr_args args, org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.selectKeyCriteriaTime(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, + iface.chronologizeKeyRecordStartstr(args.key, args.record, + args.start, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectKeyCriteriaTimestr + public static class chronologizeKeyRecordStartEnd extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeyCriteriaTimestr() { - super("selectKeyCriteriaTimestr"); + org.apache.thrift.AsyncProcessFunction>> { + public chronologizeKeyRecordStartEnd() { + super("chronologizeKeyRecordStartEnd"); } - public selectKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new selectKeyCriteriaTimestr_args(); + public chronologizeKeyRecordStartEnd_args getEmptyArgsInstance() { + return new chronologizeKeyRecordStartEnd_args(); } public AsyncMethodCallback>> getResultHandler( @@ -59186,7 +64906,7 @@ public AsyncMethodCallback> return new AsyncMethodCallback>>() { public void onComplete( Map> o) { - selectKeyCriteriaTimestr_result result = new selectKeyCriteriaTimestr_result(); + chronologizeKeyRecordStartEnd_result result = new chronologizeKeyRecordStartEnd_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -59205,7 +64925,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyCriteriaTimestr_result result = new selectKeyCriteriaTimestr_result(); + chronologizeKeyRecordStartEnd_result result = new chronologizeKeyRecordStartEnd_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59216,14 +64936,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -59250,23 +64965,24 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyCriteriaTimestr_args args, + public void start(I iface, chronologizeKeyRecordStartEnd_args args, org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.selectKeyCriteriaTimestr(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, + iface.chronologizeKeyRecordStartEnd(args.key, args.record, + args.start, args.tend, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectKeyCclTime extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeyCclTime() { - super("selectKeyCclTime"); + public static class chronologizeKeyRecordStartstrEndstr + extends + org.apache.thrift.AsyncProcessFunction>> { + public chronologizeKeyRecordStartstrEndstr() { + super("chronologizeKeyRecordStartstrEndstr"); } - public selectKeyCclTime_args getEmptyArgsInstance() { - return new selectKeyCclTime_args(); + public chronologizeKeyRecordStartstrEndstr_args getEmptyArgsInstance() { + return new chronologizeKeyRecordStartstrEndstr_args(); } public AsyncMethodCallback>> getResultHandler( @@ -59275,7 +64991,7 @@ public AsyncMethodCallback> return new AsyncMethodCallback>>() { public void onComplete( Map> o) { - selectKeyCclTime_result result = new selectKeyCclTime_result(); + chronologizeKeyRecordStartstrEndstr_result result = new chronologizeKeyRecordStartstrEndstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -59294,7 +65010,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyCclTime_result result = new selectKeyCclTime_result(); + chronologizeKeyRecordStartstrEndstr_result result = new chronologizeKeyRecordStartstrEndstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59339,33 +65055,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyCclTime_args args, + public void start(I iface, + chronologizeKeyRecordStartstrEndstr_args args, org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.selectKeyCclTime(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.chronologizeKeyRecordStartstrEndstr(args.key, args.record, + args.start, args.tend, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class selectKeyCclTimestr extends - org.apache.thrift.AsyncProcessFunction>> { - public selectKeyCclTimestr() { - super("selectKeyCclTimestr"); + public static class clearRecord extends + org.apache.thrift.AsyncProcessFunction { + public clearRecord() { + super("clearRecord"); } - public selectKeyCclTimestr_args getEmptyArgsInstance() { - return new selectKeyCclTimestr_args(); + public clearRecord_args getEmptyArgsInstance() { + return new clearRecord_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - selectKeyCclTimestr_result result = new selectKeyCclTimestr_result(); - result.success = o; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + clearRecord_result result = new clearRecord_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -59383,7 +65098,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeyCclTimestr_result result = new selectKeyCclTimestr_result(); + clearRecord_result result = new clearRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59394,14 +65109,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -59428,33 +65138,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeyCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, clearRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.selectKeyCclTimestr(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.clearRecord(args.record, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class selectKeysCriteria extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectKeysCriteria() { - super("selectKeysCriteria"); + public static class clearRecords extends + org.apache.thrift.AsyncProcessFunction { + public clearRecords() { + super("clearRecords"); } - public selectKeysCriteria_args getEmptyArgsInstance() { - return new selectKeysCriteria_args(); + public clearRecords_args getEmptyArgsInstance() { + return new clearRecords_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectKeysCriteria_result result = new selectKeysCriteria_result(); - result.success = o; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + clearRecords_result result = new clearRecords_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -59472,7 +65179,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysCriteria_result result = new selectKeysCriteria_result(); + clearRecords_result result = new clearRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59512,32 +65219,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, clearRecords_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.selectKeysCriteria(args.keys, args.criteria, args.creds, - args.transaction, args.environment, resultHandler); + iface.clearRecords(args.records, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class selectKeysCcl extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectKeysCcl() { - super("selectKeysCcl"); + public static class clearKeyRecord extends + org.apache.thrift.AsyncProcessFunction { + public clearKeyRecord() { + super("clearKeyRecord"); } - public selectKeysCcl_args getEmptyArgsInstance() { - return new selectKeysCcl_args(); + public clearKeyRecord_args getEmptyArgsInstance() { + return new clearKeyRecord_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectKeysCcl_result result = new selectKeysCcl_result(); - result.success = o; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + clearKeyRecord_result result = new clearKeyRecord_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -59555,7 +65260,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysCcl_result result = new selectKeysCcl_result(); + clearKeyRecord_result result = new clearKeyRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59566,14 +65271,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -59600,32 +65300,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysCcl_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, clearKeyRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.selectKeysCcl(args.keys, args.ccl, args.creds, + iface.clearKeyRecord(args.key, args.record, args.creds, args.transaction, args.environment, resultHandler); } } - public static class selectKeysCriteriaTime extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectKeysCriteriaTime() { - super("selectKeysCriteriaTime"); + public static class clearKeysRecord extends + org.apache.thrift.AsyncProcessFunction { + public clearKeysRecord() { + super("clearKeysRecord"); } - public selectKeysCriteriaTime_args getEmptyArgsInstance() { - return new selectKeysCriteriaTime_args(); + public clearKeysRecord_args getEmptyArgsInstance() { + return new clearKeysRecord_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectKeysCriteriaTime_result result = new selectKeysCriteriaTime_result(); - result.success = o; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + clearKeysRecord_result result = new clearKeysRecord_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -59643,7 +65341,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysCriteriaTime_result result = new selectKeysCriteriaTime_result(); + clearKeysRecord_result result = new clearKeysRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59683,34 +65381,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, clearKeysRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.selectKeysCriteriaTime(args.keys, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.clearKeysRecord(args.keys, args.record, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class selectKeysCriteriaTimestr - extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectKeysCriteriaTimestr() { - super("selectKeysCriteriaTimestr"); + public static class clearKeyRecords extends + org.apache.thrift.AsyncProcessFunction { + public clearKeyRecords() { + super("clearKeyRecords"); } - public selectKeysCriteriaTimestr_args getEmptyArgsInstance() { - return new selectKeysCriteriaTimestr_args(); + public clearKeyRecords_args getEmptyArgsInstance() { + return new clearKeyRecords_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectKeysCriteriaTimestr_result result = new selectKeysCriteriaTimestr_result(); - result.success = o; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + clearKeyRecords_result result = new clearKeyRecords_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -59728,7 +65422,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysCriteriaTimestr_result result = new selectKeysCriteriaTimestr_result(); + clearKeyRecords_result result = new clearKeyRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59739,14 +65433,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -59773,33 +65462,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, clearKeyRecords_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.selectKeysCriteriaTimestr(args.keys, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.clearKeyRecords(args.key, args.records, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class selectKeysCclTime extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectKeysCclTime() { - super("selectKeysCclTime"); + public static class clearKeysRecords extends + org.apache.thrift.AsyncProcessFunction { + public clearKeysRecords() { + super("clearKeysRecords"); } - public selectKeysCclTime_args getEmptyArgsInstance() { - return new selectKeysCclTime_args(); + public clearKeysRecords_args getEmptyArgsInstance() { + return new clearKeysRecords_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectKeysCclTime_result result = new selectKeysCclTime_result(); - result.success = o; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + clearKeysRecords_result result = new clearKeysRecords_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -59817,7 +65503,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysCclTime_result result = new selectKeysCclTime_result(); + clearKeysRecords_result result = new clearKeysRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59828,14 +65514,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -59862,33 +65543,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, clearKeysRecords_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.selectKeysCclTime(args.keys, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.clearKeysRecords(args.keys, args.records, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class selectKeysCclTimestr extends - org.apache.thrift.AsyncProcessFunction>>> { - public selectKeysCclTimestr() { - super("selectKeysCclTimestr"); + public static class commit extends + org.apache.thrift.AsyncProcessFunction { + public commit() { + super("commit"); } - public selectKeysCclTimestr_args getEmptyArgsInstance() { - return new selectKeysCclTimestr_args(); + public commit_args getEmptyArgsInstance() { + return new commit_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - selectKeysCclTimestr_result result = new selectKeysCclTimestr_result(); + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + commit_result result = new commit_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -59906,7 +65586,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - selectKeysCclTimestr_result result = new selectKeysCclTimestr_result(); + commit_result result = new commit_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -59917,14 +65597,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -59951,32 +65626,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, selectKeysCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, commit_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.selectKeysCclTimestr(args.keys, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, + iface.commit(args.creds, args.transaction, args.environment, resultHandler); } } - public static class getKeyRecord extends - org.apache.thrift.AsyncProcessFunction { - public getKeyRecord() { - super("getKeyRecord"); + public static class describe extends + org.apache.thrift.AsyncProcessFunction> { + public describe() { + super("describe"); } - public getKeyRecord_args getEmptyArgsInstance() { - return new getKeyRecord_args(); + public describe_args getEmptyArgsInstance() { + return new describe_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - getKeyRecord_result result = new getKeyRecord_result(); + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + describe_result result = new describe_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -59995,7 +65668,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyRecord_result result = new getKeyRecord_result(); + describe_result result = new describe_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60035,31 +65708,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, describe_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.getKeyRecord(args.key, args.record, args.creds, - args.transaction, args.environment, resultHandler); + iface.describe(args.creds, args.transaction, args.environment, + resultHandler); } } - public static class getKeyRecordTime extends - org.apache.thrift.AsyncProcessFunction { - public getKeyRecordTime() { - super("getKeyRecordTime"); + public static class describeTime extends + org.apache.thrift.AsyncProcessFunction> { + public describeTime() { + super("describeTime"); } - public getKeyRecordTime_args getEmptyArgsInstance() { - return new getKeyRecordTime_args(); + public describeTime_args getEmptyArgsInstance() { + return new describeTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - getKeyRecordTime_result result = new getKeyRecordTime_result(); + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + describeTime_result result = new describeTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60078,7 +65750,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyRecordTime_result result = new getKeyRecordTime_result(); + describeTime_result result = new describeTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60118,32 +65790,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, describeTime_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.getKeyRecordTime(args.key, args.record, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.describeTime(args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class getKeyRecordTimestr extends - org.apache.thrift.AsyncProcessFunction { - public getKeyRecordTimestr() { - super("getKeyRecordTimestr"); + public static class describeTimestr extends + org.apache.thrift.AsyncProcessFunction> { + public describeTimestr() { + super("describeTimestr"); } - public getKeyRecordTimestr_args getEmptyArgsInstance() { - return new getKeyRecordTimestr_args(); + public describeTimestr_args getEmptyArgsInstance() { + return new describeTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - getKeyRecordTimestr_result result = new getKeyRecordTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + describeTimestr_result result = new describeTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60162,7 +65832,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyRecordTimestr_result result = new getKeyRecordTimestr_result(); + describeTimestr_result result = new describeTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60173,14 +65843,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -60207,32 +65872,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, describeTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.getKeyRecordTimestr(args.key, args.record, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.describeTimestr(args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class getKeysRecord extends - org.apache.thrift.AsyncProcessFunction> { - public getKeysRecord() { - super("getKeysRecord"); + public static class describeRecord extends + org.apache.thrift.AsyncProcessFunction> { + public describeRecord() { + super("describeRecord"); } - public getKeysRecord_args getEmptyArgsInstance() { - return new getKeysRecord_args(); + public describeRecord_args getEmptyArgsInstance() { + return new describeRecord_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete( - Map o) { - getKeysRecord_result result = new getKeysRecord_result(); + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + describeRecord_result result = new describeRecord_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60251,7 +65914,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysRecord_result result = new getKeysRecord_result(); + describeRecord_result result = new describeRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60291,31 +65954,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysRecord_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, describeRecord_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.getKeysRecord(args.keys, args.record, args.creds, - args.transaction, args.environment, resultHandler); + iface.describeRecord(args.record, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class getKeysRecordTime extends - org.apache.thrift.AsyncProcessFunction> { - public getKeysRecordTime() { - super("getKeysRecordTime"); + public static class describeRecordTime extends + org.apache.thrift.AsyncProcessFunction> { + public describeRecordTime() { + super("describeRecordTime"); } - public getKeysRecordTime_args getEmptyArgsInstance() { - return new getKeysRecordTime_args(); + public describeRecordTime_args getEmptyArgsInstance() { + return new describeRecordTime_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete( - Map o) { - getKeysRecordTime_result result = new getKeysRecordTime_result(); + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + describeRecordTime_result result = new describeRecordTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60334,7 +65996,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysRecordTime_result result = new getKeysRecordTime_result(); + describeRecordTime_result result = new describeRecordTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60374,32 +66036,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, describeRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.getKeysRecordTime(args.keys, args.record, args.timestamp, + iface.describeRecordTime(args.record, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class getKeysRecordTimestr extends - org.apache.thrift.AsyncProcessFunction> { - public getKeysRecordTimestr() { - super("getKeysRecordTimestr"); + public static class describeRecordTimestr extends + org.apache.thrift.AsyncProcessFunction> { + public describeRecordTimestr() { + super("describeRecordTimestr"); } - public getKeysRecordTimestr_args getEmptyArgsInstance() { - return new getKeysRecordTimestr_args(); + public describeRecordTimestr_args getEmptyArgsInstance() { + return new describeRecordTimestr_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete( - Map o) { - getKeysRecordTimestr_result result = new getKeysRecordTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + describeRecordTimestr_result result = new describeRecordTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60418,7 +66079,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysRecordTimestr_result result = new getKeysRecordTimestr_result(); + describeRecordTimestr_result result = new describeRecordTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60463,32 +66124,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, describeRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.getKeysRecordTimestr(args.keys, args.record, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.describeRecordTimestr(args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class getKeysRecords extends - org.apache.thrift.AsyncProcessFunction>> { - public getKeysRecords() { - super("getKeysRecords"); + public static class describeRecords extends + org.apache.thrift.AsyncProcessFunction>> { + public describeRecords() { + super("describeRecords"); } - public getKeysRecords_args getEmptyArgsInstance() { - return new getKeysRecords_args(); + public describeRecords_args getEmptyArgsInstance() { + return new describeRecords_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - getKeysRecords_result result = new getKeysRecords_result(); + return new AsyncMethodCallback>>() { + public void onComplete(Map> o) { + describeRecords_result result = new describeRecords_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60507,7 +66167,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysRecords_result result = new getKeysRecords_result(); + describeRecords_result result = new describeRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60547,31 +66207,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysRecords_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, describeRecords_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.getKeysRecords(args.keys, args.records, args.creds, + iface.describeRecords(args.records, args.creds, args.transaction, args.environment, resultHandler); } } - public static class getKeyRecords extends - org.apache.thrift.AsyncProcessFunction> { - public getKeyRecords() { - super("getKeyRecords"); + public static class describeRecordsTime extends + org.apache.thrift.AsyncProcessFunction>> { + public describeRecordsTime() { + super("describeRecordsTime"); } - public getKeyRecords_args getEmptyArgsInstance() { - return new getKeyRecords_args(); + public describeRecordsTime_args getEmptyArgsInstance() { + return new describeRecordsTime_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete( - Map o) { - getKeyRecords_result result = new getKeyRecords_result(); + return new AsyncMethodCallback>>() { + public void onComplete(Map> o) { + describeRecordsTime_result result = new describeRecordsTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60590,7 +66249,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyRecords_result result = new getKeyRecords_result(); + describeRecordsTime_result result = new describeRecordsTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60630,31 +66289,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyRecords_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, describeRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.getKeyRecords(args.key, args.records, args.creds, - args.transaction, args.environment, resultHandler); + iface.describeRecordsTime(args.records, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class getKeyRecordsTime extends - org.apache.thrift.AsyncProcessFunction> { - public getKeyRecordsTime() { - super("getKeyRecordsTime"); + public static class describeRecordsTimestr extends + org.apache.thrift.AsyncProcessFunction>> { + public describeRecordsTimestr() { + super("describeRecordsTimestr"); } - public getKeyRecordsTime_args getEmptyArgsInstance() { - return new getKeyRecordsTime_args(); + public describeRecordsTimestr_args getEmptyArgsInstance() { + return new describeRecordsTimestr_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete( - Map o) { - getKeyRecordsTime_result result = new getKeyRecordsTime_result(); + return new AsyncMethodCallback>>() { + public void onComplete(Map> o) { + describeRecordsTimestr_result result = new describeRecordsTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60673,7 +66332,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyRecordsTime_result result = new getKeyRecordsTime_result(); + describeRecordsTimestr_result result = new describeRecordsTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60684,11 +66343,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -60713,32 +66377,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, describeRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.getKeyRecordsTime(args.key, args.records, args.timestamp, + iface.describeRecordsTimestr(args.records, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class getKeyRecordsTimestr extends - org.apache.thrift.AsyncProcessFunction> { - public getKeyRecordsTimestr() { - super("getKeyRecordsTimestr"); + public static class diffRecordStart extends + org.apache.thrift.AsyncProcessFunction>>> { + public diffRecordStart() { + super("diffRecordStart"); } - public getKeyRecordsTimestr_args getEmptyArgsInstance() { - return new getKeyRecordsTimestr_args(); + public diffRecordStart_args getEmptyArgsInstance() { + return new diffRecordStart_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map o) { - getKeyRecordsTimestr_result result = new getKeyRecordsTimestr_result(); + Map>> o) { + diffRecordStart_result result = new diffRecordStart_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60757,7 +66421,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyRecordsTimestr_result result = new getKeyRecordsTimestr_result(); + diffRecordStart_result result = new diffRecordStart_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60768,14 +66432,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -60802,32 +66461,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, diffRecordStart_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.getKeyRecordsTimestr(args.key, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.diffRecordStart(args.record, args.start, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class getKeysRecordsTime extends - org.apache.thrift.AsyncProcessFunction>> { - public getKeysRecordsTime() { - super("getKeysRecordsTime"); + public static class diffRecordStartstr extends + org.apache.thrift.AsyncProcessFunction>>> { + public diffRecordStartstr() { + super("diffRecordStartstr"); } - public getKeysRecordsTime_args getEmptyArgsInstance() { - return new getKeysRecordsTime_args(); + public diffRecordStartstr_args getEmptyArgsInstance() { + return new diffRecordStartstr_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map> o) { - getKeysRecordsTime_result result = new getKeysRecordsTime_result(); + Map>> o) { + diffRecordStartstr_result result = new diffRecordStartstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60846,7 +66504,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysRecordsTime_result result = new getKeysRecordsTime_result(); + diffRecordStartstr_result result = new diffRecordStartstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60857,11 +66515,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -60886,32 +66549,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, diffRecordStartstr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.getKeysRecordsTime(args.keys, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.diffRecordStartstr(args.record, args.start, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class getKeysRecordsTimestr extends - org.apache.thrift.AsyncProcessFunction>> { - public getKeysRecordsTimestr() { - super("getKeysRecordsTimestr"); + public static class diffRecordStartEnd extends + org.apache.thrift.AsyncProcessFunction>>> { + public diffRecordStartEnd() { + super("diffRecordStartEnd"); } - public getKeysRecordsTimestr_args getEmptyArgsInstance() { - return new getKeysRecordsTimestr_args(); + public diffRecordStartEnd_args getEmptyArgsInstance() { + return new diffRecordStartEnd_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map> o) { - getKeysRecordsTimestr_result result = new getKeysRecordsTimestr_result(); + Map>> o) { + diffRecordStartEnd_result result = new diffRecordStartEnd_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -60930,7 +66592,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysRecordsTimestr_result result = new getKeysRecordsTimestr_result(); + diffRecordStartEnd_result result = new diffRecordStartEnd_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -60941,14 +66603,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -60975,32 +66632,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, diffRecordStartEnd_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.getKeysRecordsTimestr(args.keys, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.diffRecordStartEnd(args.record, args.start, args.tend, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class getKeyCriteria extends - org.apache.thrift.AsyncProcessFunction> { - public getKeyCriteria() { - super("getKeyCriteria"); + public static class diffRecordStartstrEndstr + extends + org.apache.thrift.AsyncProcessFunction>>> { + public diffRecordStartstrEndstr() { + super("diffRecordStartstrEndstr"); } - public getKeyCriteria_args getEmptyArgsInstance() { - return new getKeyCriteria_args(); + public diffRecordStartstrEndstr_args getEmptyArgsInstance() { + return new diffRecordStartstrEndstr_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map o) { - getKeyCriteria_result result = new getKeyCriteria_result(); + Map>> o) { + diffRecordStartstrEndstr_result result = new diffRecordStartstrEndstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61019,7 +66677,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyCriteria_result result = new getKeyCriteria_result(); + diffRecordStartstrEndstr_result result = new diffRecordStartstrEndstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -61030,11 +66688,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -61059,31 +66722,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, diffRecordStartstrEndstr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.getKeyCriteria(args.key, args.criteria, args.creds, - args.transaction, args.environment, resultHandler); + iface.diffRecordStartstrEndstr(args.record, args.start, + args.tend, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class getCriteria extends - org.apache.thrift.AsyncProcessFunction>> { - public getCriteria() { - super("getCriteria"); + public static class diffKeyRecordStart extends + org.apache.thrift.AsyncProcessFunction>> { + public diffKeyRecordStart() { + super("diffKeyRecordStart"); } - public getCriteria_args getEmptyArgsInstance() { - return new getCriteria_args(); + public diffKeyRecordStart_args getEmptyArgsInstance() { + return new diffKeyRecordStart_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map> o) { - getCriteria_result result = new getCriteria_result(); + Map> o) { + diffKeyRecordStart_result result = new diffKeyRecordStart_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61102,7 +66766,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getCriteria_result result = new getCriteria_result(); + diffKeyRecordStart_result result = new diffKeyRecordStart_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -61142,31 +66806,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, getCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, diffKeyRecordStart_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.getCriteria(args.criteria, args.creds, args.transaction, - args.environment, resultHandler); + iface.diffKeyRecordStart(args.key, args.record, args.start, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class getCcl extends - org.apache.thrift.AsyncProcessFunction>> { - public getCcl() { - super("getCcl"); + public static class diffKeyRecordStartstr extends + org.apache.thrift.AsyncProcessFunction>> { + public diffKeyRecordStartstr() { + super("diffKeyRecordStartstr"); } - public getCcl_args getEmptyArgsInstance() { - return new getCcl_args(); + public diffKeyRecordStartstr_args getEmptyArgsInstance() { + return new diffKeyRecordStartstr_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map> o) { - getCcl_result result = new getCcl_result(); + Map> o) { + diffKeyRecordStartstr_result result = new diffKeyRecordStartstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61185,7 +66850,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getCcl_result result = new getCcl_result(); + diffKeyRecordStartstr_result result = new diffKeyRecordStartstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -61230,31 +66895,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, getCcl_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, diffKeyRecordStartstr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.getCcl(args.ccl, args.creds, args.transaction, - args.environment, resultHandler); + iface.diffKeyRecordStartstr(args.key, args.record, args.start, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class getCriteriaTime extends - org.apache.thrift.AsyncProcessFunction>> { - public getCriteriaTime() { - super("getCriteriaTime"); + public static class diffKeyRecordStartEnd extends + org.apache.thrift.AsyncProcessFunction>> { + public diffKeyRecordStartEnd() { + super("diffKeyRecordStartEnd"); } - public getCriteriaTime_args getEmptyArgsInstance() { - return new getCriteriaTime_args(); + public diffKeyRecordStartEnd_args getEmptyArgsInstance() { + return new diffKeyRecordStartEnd_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map> o) { - getCriteriaTime_result result = new getCriteriaTime_result(); + Map> o) { + diffKeyRecordStartEnd_result result = new diffKeyRecordStartEnd_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61273,7 +66939,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getCriteriaTime_result result = new getCriteriaTime_result(); + diffKeyRecordStartEnd_result result = new diffKeyRecordStartEnd_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -61313,31 +66979,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, getCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, diffKeyRecordStartEnd_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.getCriteriaTime(args.criteria, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.diffKeyRecordStartEnd(args.key, args.record, args.start, + args.tend, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class getCriteriaTimestr extends - org.apache.thrift.AsyncProcessFunction>> { - public getCriteriaTimestr() { - super("getCriteriaTimestr"); + public static class diffKeyRecordStartstrEndstr + extends + org.apache.thrift.AsyncProcessFunction>> { + public diffKeyRecordStartstrEndstr() { + super("diffKeyRecordStartstrEndstr"); } - public getCriteriaTimestr_args getEmptyArgsInstance() { - return new getCriteriaTimestr_args(); + public diffKeyRecordStartstrEndstr_args getEmptyArgsInstance() { + return new diffKeyRecordStartstrEndstr_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map> o) { - getCriteriaTimestr_result result = new getCriteriaTimestr_result(); + Map> o) { + diffKeyRecordStartstrEndstr_result result = new diffKeyRecordStartstrEndstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61356,7 +67024,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getCriteriaTimestr_result result = new getCriteriaTimestr_result(); + diffKeyRecordStartstrEndstr_result result = new diffKeyRecordStartstrEndstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -61401,32 +67069,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, getCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, diffKeyRecordStartstrEndstr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.getCriteriaTimestr(args.criteria, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.diffKeyRecordStartstrEndstr(args.key, args.record, + args.start, args.tend, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class getCclTime extends - org.apache.thrift.AsyncProcessFunction>> { - public getCclTime() { - super("getCclTime"); + public static class diffKeyStart extends + org.apache.thrift.AsyncProcessFunction>>> { + public diffKeyStart() { + super("diffKeyStart"); } - public getCclTime_args getEmptyArgsInstance() { - return new getCclTime_args(); + public diffKeyStart_args getEmptyArgsInstance() { + return new diffKeyStart_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map> o) { - getCclTime_result result = new getCclTime_result(); + Map>> o) { + diffKeyStart_result result = new diffKeyStart_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61445,7 +67113,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getCclTime_result result = new getCclTime_result(); + diffKeyStart_result result = new diffKeyStart_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -61456,14 +67124,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -61490,31 +67153,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, getCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, diffKeyStart_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.getCclTime(args.ccl, args.timestamp, args.creds, + iface.diffKeyStart(args.key, args.start, args.creds, args.transaction, args.environment, resultHandler); } } - public static class getCclTimestr extends - org.apache.thrift.AsyncProcessFunction>> { - public getCclTimestr() { - super("getCclTimestr"); + public static class diffKeyStartstr extends + org.apache.thrift.AsyncProcessFunction>>> { + public diffKeyStartstr() { + super("diffKeyStartstr"); } - public getCclTimestr_args getEmptyArgsInstance() { - return new getCclTimestr_args(); + public diffKeyStartstr_args getEmptyArgsInstance() { + return new diffKeyStartstr_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map> o) { - getCclTimestr_result result = new getCclTimestr_result(); + Map>> o) { + diffKeyStartstr_result result = new diffKeyStartstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61533,7 +67196,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getCclTimestr_result result = new getCclTimestr_result(); + diffKeyStartstr_result result = new diffKeyStartstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -61578,31 +67241,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, getCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, diffKeyStartstr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.getCclTimestr(args.ccl, args.timestamp, args.creds, + iface.diffKeyStartstr(args.key, args.start, args.creds, args.transaction, args.environment, resultHandler); } } - public static class getKeyCcl extends - org.apache.thrift.AsyncProcessFunction> { - public getKeyCcl() { - super("getKeyCcl"); + public static class diffKeyStartEnd extends + org.apache.thrift.AsyncProcessFunction>>> { + public diffKeyStartEnd() { + super("diffKeyStartEnd"); } - public getKeyCcl_args getEmptyArgsInstance() { - return new getKeyCcl_args(); + public diffKeyStartEnd_args getEmptyArgsInstance() { + return new diffKeyStartEnd_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map o) { - getKeyCcl_result result = new getKeyCcl_result(); + Map>> o) { + diffKeyStartEnd_result result = new diffKeyStartEnd_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61621,7 +67284,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyCcl_result result = new getKeyCcl_result(); + diffKeyStartEnd_result result = new diffKeyStartEnd_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -61632,14 +67295,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -61666,31 +67324,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyCcl_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, diffKeyStartEnd_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.getKeyCcl(args.key, args.ccl, args.creds, - args.transaction, args.environment, resultHandler); + iface.diffKeyStartEnd(args.key, args.start, args.tend, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class getKeyCriteriaTime extends - org.apache.thrift.AsyncProcessFunction> { - public getKeyCriteriaTime() { - super("getKeyCriteriaTime"); + public static class diffKeyStartstrEndstr extends + org.apache.thrift.AsyncProcessFunction>>> { + public diffKeyStartstrEndstr() { + super("diffKeyStartstrEndstr"); } - public getKeyCriteriaTime_args getEmptyArgsInstance() { - return new getKeyCriteriaTime_args(); + public diffKeyStartstrEndstr_args getEmptyArgsInstance() { + return new diffKeyStartstrEndstr_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { + return new AsyncMethodCallback>>>() { public void onComplete( - Map o) { - getKeyCriteriaTime_result result = new getKeyCriteriaTime_result(); + Map>> o) { + diffKeyStartstrEndstr_result result = new diffKeyStartstrEndstr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61709,7 +67368,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyCriteriaTime_result result = new getKeyCriteriaTime_result(); + diffKeyStartstrEndstr_result result = new diffKeyStartstrEndstr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -61720,11 +67379,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -61749,32 +67413,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, diffKeyStartstrEndstr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.getKeyCriteriaTime(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.diffKeyStartstrEndstr(args.key, args.start, args.tend, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class getKeyCriteriaTimestr extends - org.apache.thrift.AsyncProcessFunction> { - public getKeyCriteriaTimestr() { - super("getKeyCriteriaTimestr"); + public static class invokePlugin extends + org.apache.thrift.AsyncProcessFunction { + public invokePlugin() { + super("invokePlugin"); } - public getKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new getKeyCriteriaTimestr_args(); + public invokePlugin_args getEmptyArgsInstance() { + return new invokePlugin_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { + return new AsyncMethodCallback() { public void onComplete( - Map o) { - getKeyCriteriaTimestr_result result = new getKeyCriteriaTimestr_result(); + com.cinchapi.concourse.thrift.ComplexTObject o) { + invokePlugin_result result = new invokePlugin_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61793,7 +67457,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyCriteriaTimestr_result result = new getKeyCriteriaTimestr_result(); + invokePlugin_result result = new invokePlugin_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -61804,8 +67468,8 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx3IsSet(true); msg = result; } @@ -61838,32 +67502,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, invokePlugin_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.getKeyCriteriaTimestr(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.invokePlugin(args.id, args.method, args.params, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class getKeyCclTime extends - org.apache.thrift.AsyncProcessFunction> { - public getKeyCclTime() { - super("getKeyCclTime"); + public static class login extends + org.apache.thrift.AsyncProcessFunction { + public login() { + super("login"); } - public getKeyCclTime_args getEmptyArgsInstance() { - return new getKeyCclTime_args(); + public login_args getEmptyArgsInstance() { + return new login_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { + return new AsyncMethodCallback() { public void onComplete( - Map o) { - getKeyCclTime_result result = new getKeyCclTime_result(); + com.cinchapi.concourse.thrift.AccessToken o) { + login_result result = new login_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -61882,25 +67546,15 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyCclTime_result result = new getKeyCclTime_result(); + login_result result = new login_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex2 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx2IsSet(true); msg = result; } else { @@ -61927,33 +67581,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, login_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.getKeyCclTime(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, + iface.login(args.username, args.password, args.environment, resultHandler); } } - public static class getKeyCclTimestr extends - org.apache.thrift.AsyncProcessFunction> { - public getKeyCclTimestr() { - super("getKeyCclTimestr"); + public static class logout extends + org.apache.thrift.AsyncProcessFunction { + public logout() { + super("logout"); } - public getKeyCclTimestr_args getEmptyArgsInstance() { - return new getKeyCclTimestr_args(); + public logout_args getEmptyArgsInstance() { + return new logout_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete( - Map o) { - getKeyCclTimestr_result result = new getKeyCclTimestr_result(); - result.success = o; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + logout_result result = new logout_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -61971,25 +67622,15 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeyCclTimestr_result result = new getKeyCclTimestr_result(); + logout_result result = new logout_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex2 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx2IsSet(true); msg = result; } else { @@ -62016,32 +67657,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeyCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, logout_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.getKeyCclTimestr(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.logout(args.token, args.environment, resultHandler); } } - public static class getKeysCriteria extends - org.apache.thrift.AsyncProcessFunction>> { - public getKeysCriteria() { - super("getKeysCriteria"); + public static class stage extends + org.apache.thrift.AsyncProcessFunction { + public stage() { + super("stage"); } - public getKeysCriteria_args getEmptyArgsInstance() { - return new getKeysCriteria_args(); + public stage_args getEmptyArgsInstance() { + return new stage_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback() { public void onComplete( - Map> o) { - getKeysCriteria_result result = new getKeysCriteria_result(); + com.cinchapi.concourse.thrift.TransactionToken o) { + stage_result result = new stage_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -62060,20 +67699,15 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysCriteria_result result = new getKeysCriteria_result(); + stage_result result = new stage_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); + result.ex2 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx2IsSet(true); msg = result; } else { @@ -62100,31 +67734,29 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, stage_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.getKeysCriteria(args.keys, args.criteria, args.creds, - args.transaction, args.environment, resultHandler); + iface.stage(args.token, args.environment, resultHandler); } } - public static class getKeysCcl extends - org.apache.thrift.AsyncProcessFunction>> { - public getKeysCcl() { - super("getKeysCcl"); + public static class insertJson extends + org.apache.thrift.AsyncProcessFunction> { + public insertJson() { + super("insertJson"); } - public getKeysCcl_args getEmptyArgsInstance() { - return new getKeysCcl_args(); + public insertJson_args getEmptyArgsInstance() { + return new insertJson_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - getKeysCcl_result result = new getKeysCcl_result(); + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + insertJson_result result = new insertJson_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -62143,7 +67775,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysCcl_result result = new getKeysCcl_result(); + insertJson_result result = new insertJson_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -62159,11 +67791,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { result.setEx3IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex4 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx4IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex5 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx5IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -62188,32 +67825,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysCcl_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, insertJson_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.getKeysCcl(args.keys, args.ccl, args.creds, - args.transaction, args.environment, resultHandler); + iface.insertJson(args.json, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class getKeysCriteriaTime extends - org.apache.thrift.AsyncProcessFunction>> { - public getKeysCriteriaTime() { - super("getKeysCriteriaTime"); + public static class insertJsonRecord extends + org.apache.thrift.AsyncProcessFunction { + public insertJsonRecord() { + super("insertJsonRecord"); } - public getKeysCriteriaTime_args getEmptyArgsInstance() { - return new getKeysCriteriaTime_args(); + public insertJsonRecord_args getEmptyArgsInstance() { + return new insertJsonRecord_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - getKeysCriteriaTime_result result = new getKeysCriteriaTime_result(); + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + insertJsonRecord_result result = new insertJsonRecord_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -62231,7 +67868,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysCriteriaTime_result result = new getKeysCriteriaTime_result(); + insertJsonRecord_result result = new insertJsonRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -62242,11 +67879,21 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex4 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; + result.setEx4IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex5 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx5IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -62271,32 +67918,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, insertJsonRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.getKeysCriteriaTime(args.keys, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.insertJsonRecord(args.json, args.record, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class getKeysCriteriaTimestr extends - org.apache.thrift.AsyncProcessFunction>> { - public getKeysCriteriaTimestr() { - super("getKeysCriteriaTimestr"); + public static class insertJsonRecords extends + org.apache.thrift.AsyncProcessFunction> { + public insertJsonRecords() { + super("insertJsonRecords"); } - public getKeysCriteriaTimestr_args getEmptyArgsInstance() { - return new getKeysCriteriaTimestr_args(); + public insertJsonRecords_args getEmptyArgsInstance() { + return new insertJsonRecords_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - getKeysCriteriaTimestr_result result = new getKeysCriteriaTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + insertJsonRecords_result result = new insertJsonRecords_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -62315,7 +67960,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysCriteriaTimestr_result result = new getKeysCriteriaTimestr_result(); + insertJsonRecords_result result = new insertJsonRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -62331,11 +67976,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { result.setEx3IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex4 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx4IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex5 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx5IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -62360,33 +68010,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, insertJsonRecords_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.getKeysCriteriaTimestr(args.keys, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.insertJsonRecords(args.json, args.records, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class getKeysCclTime extends - org.apache.thrift.AsyncProcessFunction>> { - public getKeysCclTime() { - super("getKeysCclTime"); + public static class removeKeyValueRecord extends + org.apache.thrift.AsyncProcessFunction { + public removeKeyValueRecord() { + super("removeKeyValueRecord"); } - public getKeysCclTime_args getEmptyArgsInstance() { - return new getKeysCclTime_args(); + public removeKeyValueRecord_args getEmptyArgsInstance() { + return new removeKeyValueRecord_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - getKeysCclTime_result result = new getKeysCclTime_result(); + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + removeKeyValueRecord_result result = new removeKeyValueRecord_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -62404,7 +68053,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysCclTime_result result = new getKeysCclTime_result(); + removeKeyValueRecord_result result = new removeKeyValueRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -62415,8 +68064,8 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx3IsSet(true); msg = result; } @@ -62449,32 +68098,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, removeKeyValueRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.getKeysCclTime(args.keys, args.ccl, args.timestamp, + iface.removeKeyValueRecord(args.key, args.value, args.record, args.creds, args.transaction, args.environment, resultHandler); } } - public static class getKeysCclTimestr extends - org.apache.thrift.AsyncProcessFunction>> { - public getKeysCclTimestr() { - super("getKeysCclTimestr"); + public static class removeKeyValueRecords extends + org.apache.thrift.AsyncProcessFunction> { + public removeKeyValueRecords() { + super("removeKeyValueRecords"); } - public getKeysCclTimestr_args getEmptyArgsInstance() { - return new getKeysCclTimestr_args(); + public removeKeyValueRecords_args getEmptyArgsInstance() { + return new removeKeyValueRecords_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - getKeysCclTimestr_result result = new getKeysCclTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + removeKeyValueRecords_result result = new removeKeyValueRecords_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -62493,7 +68141,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - getKeysCclTimestr_result result = new getKeysCclTimestr_result(); + removeKeyValueRecords_result result = new removeKeyValueRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -62504,8 +68152,8 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx3IsSet(true); msg = result; } @@ -62538,33 +68186,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, getKeysCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, removeKeyValueRecords_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.getKeysCclTimestr(args.keys, args.ccl, args.timestamp, + iface.removeKeyValueRecords(args.key, args.value, args.records, args.creds, args.transaction, args.environment, resultHandler); } } - public static class verifyKeyValueRecord extends - org.apache.thrift.AsyncProcessFunction { - public verifyKeyValueRecord() { - super("verifyKeyValueRecord"); + public static class setKeyValueRecord extends + org.apache.thrift.AsyncProcessFunction { + public setKeyValueRecord() { + super("setKeyValueRecord"); } - public verifyKeyValueRecord_args getEmptyArgsInstance() { - return new verifyKeyValueRecord_args(); + public setKeyValueRecord_args getEmptyArgsInstance() { + return new setKeyValueRecord_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Boolean o) { - verifyKeyValueRecord_result result = new verifyKeyValueRecord_result(); - result.success = o; - result.setSuccessIsSet(true); + return new AsyncMethodCallback() { + public void onComplete(Void o) { + setKeyValueRecord_result result = new setKeyValueRecord_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -62582,7 +68228,7 @@ public void onComplete(Boolean o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - verifyKeyValueRecord_result result = new verifyKeyValueRecord_result(); + setKeyValueRecord_result result = new setKeyValueRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -62593,11 +68239,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -62622,32 +68273,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, verifyKeyValueRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, setKeyValueRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.verifyKeyValueRecord(args.key, args.value, args.record, + iface.setKeyValueRecord(args.key, args.value, args.record, args.creds, args.transaction, args.environment, resultHandler); } } - public static class verifyKeyValueRecordTime - extends - org.apache.thrift.AsyncProcessFunction { - public verifyKeyValueRecordTime() { - super("verifyKeyValueRecordTime"); + public static class setKeyValue extends + org.apache.thrift.AsyncProcessFunction { + public setKeyValue() { + super("setKeyValue"); } - public verifyKeyValueRecordTime_args getEmptyArgsInstance() { - return new verifyKeyValueRecordTime_args(); + public setKeyValue_args getEmptyArgsInstance() { + return new setKeyValue_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Boolean o) { - verifyKeyValueRecordTime_result result = new verifyKeyValueRecordTime_result(); + return new AsyncMethodCallback() { + public void onComplete(Long o) { + setKeyValue_result result = new setKeyValue_result(); result.success = o; result.setSuccessIsSet(true); try { @@ -62667,7 +68317,7 @@ public void onComplete(Boolean o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - verifyKeyValueRecordTime_result result = new verifyKeyValueRecordTime_result(); + setKeyValue_result result = new setKeyValue_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -62678,11 +68328,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -62707,34 +68362,30 @@ protected boolean isOneway() { return false; } - public void start(I iface, verifyKeyValueRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, setKeyValue_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.verifyKeyValueRecordTime(args.key, args.value, - args.record, args.timestamp, args.creds, + iface.setKeyValue(args.key, args.value, args.creds, args.transaction, args.environment, resultHandler); } } - public static class verifyKeyValueRecordTimestr - extends - org.apache.thrift.AsyncProcessFunction { - public verifyKeyValueRecordTimestr() { - super("verifyKeyValueRecordTimestr"); + public static class setKeyValueRecords extends + org.apache.thrift.AsyncProcessFunction { + public setKeyValueRecords() { + super("setKeyValueRecords"); } - public verifyKeyValueRecordTimestr_args getEmptyArgsInstance() { - return new verifyKeyValueRecordTimestr_args(); + public setKeyValueRecords_args getEmptyArgsInstance() { + return new setKeyValueRecords_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Boolean o) { - verifyKeyValueRecordTimestr_result result = new verifyKeyValueRecordTimestr_result(); - result.success = o; - result.setSuccessIsSet(true); + return new AsyncMethodCallback() { + public void onComplete(Void o) { + setKeyValueRecords_result result = new setKeyValueRecords_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -62752,7 +68403,7 @@ public void onComplete(Boolean o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - verifyKeyValueRecordTimestr_result result = new verifyKeyValueRecordTimestr_result(); + setKeyValueRecords_result result = new setKeyValueRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -62763,8 +68414,8 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx3IsSet(true); msg = result; } @@ -62797,32 +68448,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, verifyKeyValueRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, setKeyValueRecords_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.verifyKeyValueRecordTimestr(args.key, args.value, - args.record, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.setKeyValueRecords(args.key, args.value, args.records, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class jsonifyRecords extends - org.apache.thrift.AsyncProcessFunction { - public jsonifyRecords() { - super("jsonifyRecords"); + public static class reconcileKeyRecordValues + extends + org.apache.thrift.AsyncProcessFunction { + public reconcileKeyRecordValues() { + super("reconcileKeyRecordValues"); } - public jsonifyRecords_args getEmptyArgsInstance() { - return new jsonifyRecords_args(); + public reconcileKeyRecordValues_args getEmptyArgsInstance() { + return new reconcileKeyRecordValues_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(String o) { - jsonifyRecords_result result = new jsonifyRecords_result(); - result.success = o; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + reconcileKeyRecordValues_result result = new reconcileKeyRecordValues_result(); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -62840,7 +68491,7 @@ public void onComplete(String o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - jsonifyRecords_result result = new jsonifyRecords_result(); + reconcileKeyRecordValues_result result = new reconcileKeyRecordValues_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -62851,11 +68502,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -62880,30 +68536,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, jsonifyRecords_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, reconcileKeyRecordValues_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.jsonifyRecords(args.records, args.identifier, args.creds, - args.transaction, args.environment, resultHandler); + iface.reconcileKeyRecordValues(args.key, args.record, + args.values, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class jsonifyRecordsTime extends - org.apache.thrift.AsyncProcessFunction { - public jsonifyRecordsTime() { - super("jsonifyRecordsTime"); + public static class inventory extends + org.apache.thrift.AsyncProcessFunction> { + public inventory() { + super("inventory"); } - public jsonifyRecordsTime_args getEmptyArgsInstance() { - return new jsonifyRecordsTime_args(); + public inventory_args getEmptyArgsInstance() { + return new inventory_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(String o) { - jsonifyRecordsTime_result result = new jsonifyRecordsTime_result(); + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + inventory_result result = new inventory_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -62922,7 +68579,7 @@ public void onComplete(String o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - jsonifyRecordsTime_result result = new jsonifyRecordsTime_result(); + inventory_result result = new inventory_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -62962,31 +68619,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, jsonifyRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, inventory_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.jsonifyRecordsTime(args.records, args.timestamp, - args.identifier, args.creds, args.transaction, - args.environment, resultHandler); + iface.inventory(args.creds, args.transaction, args.environment, + resultHandler); } } - public static class jsonifyRecordsTimestr extends - org.apache.thrift.AsyncProcessFunction { - public jsonifyRecordsTimestr() { - super("jsonifyRecordsTimestr"); + public static class selectRecord extends + org.apache.thrift.AsyncProcessFunction>> { + public selectRecord() { + super("selectRecord"); } - public jsonifyRecordsTimestr_args getEmptyArgsInstance() { - return new jsonifyRecordsTimestr_args(); + public selectRecord_args getEmptyArgsInstance() { + return new selectRecord_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(String o) { - jsonifyRecordsTimestr_result result = new jsonifyRecordsTimestr_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectRecord_result result = new selectRecord_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -63005,7 +68662,7 @@ public void onComplete(String o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - jsonifyRecordsTimestr_result result = new jsonifyRecordsTimestr_result(); + selectRecord_result result = new selectRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63016,14 +68673,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -63050,31 +68702,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, jsonifyRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectRecord_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.jsonifyRecordsTimestr(args.records, args.timestamp, - args.identifier, args.creds, args.transaction, + iface.selectRecord(args.record, args.creds, args.transaction, args.environment, resultHandler); } } - public static class findCriteria extends - org.apache.thrift.AsyncProcessFunction> { - public findCriteria() { - super("findCriteria"); + public static class selectRecords extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectRecords() { + super("selectRecords"); } - public findCriteria_args getEmptyArgsInstance() { - return new findCriteria_args(); + public selectRecords_args getEmptyArgsInstance() { + return new selectRecords_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - findCriteria_result result = new findCriteria_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectRecords_result result = new selectRecords_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -63093,7 +68745,7 @@ public void onComplete(Set o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findCriteria_result result = new findCriteria_result(); + selectRecords_result result = new selectRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63133,30 +68785,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, findCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, selectRecords_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.findCriteria(args.criteria, args.creds, args.transaction, + iface.selectRecords(args.records, args.creds, args.transaction, args.environment, resultHandler); } } - public static class findCcl extends - org.apache.thrift.AsyncProcessFunction> { - public findCcl() { - super("findCcl"); + public static class selectRecordsOrder extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectRecordsOrder() { + super("selectRecordsOrder"); } - public findCcl_args getEmptyArgsInstance() { - return new findCcl_args(); + public selectRecordsOrder_args getEmptyArgsInstance() { + return new selectRecordsOrder_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - findCcl_result result = new findCcl_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectRecordsOrder_result result = new selectRecordsOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -63175,7 +68828,7 @@ public void onComplete(Set o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findCcl_result result = new findCcl_result(); + selectRecordsOrder_result result = new selectRecordsOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63186,14 +68839,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -63220,30 +68868,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, findCcl_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, selectRecordsOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.findCcl(args.ccl, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectRecordsOrder(args.records, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class findKeyOperatorValues extends - org.apache.thrift.AsyncProcessFunction> { - public findKeyOperatorValues() { - super("findKeyOperatorValues"); + public static class selectRecordTime extends + org.apache.thrift.AsyncProcessFunction>> { + public selectRecordTime() { + super("selectRecordTime"); } - public findKeyOperatorValues_args getEmptyArgsInstance() { - return new findKeyOperatorValues_args(); + public selectRecordTime_args getEmptyArgsInstance() { + return new selectRecordTime_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - findKeyOperatorValues_result result = new findKeyOperatorValues_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectRecordTime_result result = new selectRecordTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -63262,7 +68911,7 @@ public void onComplete(Set o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findKeyOperatorValues_result result = new findKeyOperatorValues_result(); + selectRecordTime_result result = new selectRecordTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63302,32 +68951,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, findKeyOperatorValues_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, selectRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.findKeyOperatorValues(args.key, args.operator, - args.values, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectRecordTime(args.record, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class findKeyOperatorValuesTime - extends - org.apache.thrift.AsyncProcessFunction> { - public findKeyOperatorValuesTime() { - super("findKeyOperatorValuesTime"); + public static class selectRecordTimestr extends + org.apache.thrift.AsyncProcessFunction>> { + public selectRecordTimestr() { + super("selectRecordTimestr"); } - public findKeyOperatorValuesTime_args getEmptyArgsInstance() { - return new findKeyOperatorValuesTime_args(); + public selectRecordTimestr_args getEmptyArgsInstance() { + return new selectRecordTimestr_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - findKeyOperatorValuesTime_result result = new findKeyOperatorValuesTime_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectRecordTimestr_result result = new selectRecordTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -63346,7 +68994,7 @@ public void onComplete(Set o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findKeyOperatorValuesTime_result result = new findKeyOperatorValuesTime_result(); + selectRecordTimestr_result result = new selectRecordTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63357,11 +69005,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -63386,32 +69039,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, findKeyOperatorValuesTime_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, selectRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.findKeyOperatorValuesTime(args.key, args.operator, - args.values, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectRecordTimestr(args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class findKeyOperatorValuesTimestr - extends - org.apache.thrift.AsyncProcessFunction> { - public findKeyOperatorValuesTimestr() { - super("findKeyOperatorValuesTimestr"); + public static class selectRecordsTime extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectRecordsTime() { + super("selectRecordsTime"); } - public findKeyOperatorValuesTimestr_args getEmptyArgsInstance() { - return new findKeyOperatorValuesTimestr_args(); + public selectRecordsTime_args getEmptyArgsInstance() { + return new selectRecordsTime_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - findKeyOperatorValuesTimestr_result result = new findKeyOperatorValuesTimestr_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectRecordsTime_result result = new selectRecordsTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -63430,7 +69083,7 @@ public void onComplete(Set o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findKeyOperatorValuesTimestr_result result = new findKeyOperatorValuesTimestr_result(); + selectRecordsTime_result result = new selectRecordsTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63441,14 +69094,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -63475,32 +69123,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, findKeyOperatorValuesTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, selectRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.findKeyOperatorValuesTimestr(args.key, args.operator, - args.values, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectRecordsTime(args.records, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class findKeyOperatorstrValues - extends - org.apache.thrift.AsyncProcessFunction> { - public findKeyOperatorstrValues() { - super("findKeyOperatorstrValues"); + public static class selectRecordsTimeOrder extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectRecordsTimeOrder() { + super("selectRecordsTimeOrder"); } - public findKeyOperatorstrValues_args getEmptyArgsInstance() { - return new findKeyOperatorstrValues_args(); + public selectRecordsTimeOrder_args getEmptyArgsInstance() { + return new selectRecordsTimeOrder_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - findKeyOperatorstrValues_result result = new findKeyOperatorstrValues_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectRecordsTimeOrder_result result = new selectRecordsTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -63519,7 +69167,7 @@ public void onComplete(Set o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findKeyOperatorstrValues_result result = new findKeyOperatorstrValues_result(); + selectRecordsTimeOrder_result result = new selectRecordsTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63530,14 +69178,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -63564,32 +69207,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, findKeyOperatorstrValues_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, selectRecordsTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.findKeyOperatorstrValues(args.key, args.operator, - args.values, args.creds, args.transaction, + iface.selectRecordsTimeOrder(args.records, args.timestamp, + args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class findKeyOperatorstrValuesTime - extends - org.apache.thrift.AsyncProcessFunction> { - public findKeyOperatorstrValuesTime() { - super("findKeyOperatorstrValuesTime"); + public static class selectRecordsTimestr extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectRecordsTimestr() { + super("selectRecordsTimestr"); } - public findKeyOperatorstrValuesTime_args getEmptyArgsInstance() { - return new findKeyOperatorstrValuesTime_args(); + public selectRecordsTimestr_args getEmptyArgsInstance() { + return new selectRecordsTimestr_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - findKeyOperatorstrValuesTime_result result = new findKeyOperatorstrValuesTime_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectRecordsTimestr_result result = new selectRecordsTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -63608,7 +69251,7 @@ public void onComplete(Set o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findKeyOperatorstrValuesTime_result result = new findKeyOperatorstrValuesTime_result(); + selectRecordsTimestr_result result = new selectRecordsTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63653,32 +69296,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, findKeyOperatorstrValuesTime_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, selectRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.findKeyOperatorstrValuesTime(args.key, args.operator, - args.values, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectRecordsTimestr(args.records, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class findKeyOperatorstrValuesTimestr + public static class selectRecordsTimestrOrder extends - org.apache.thrift.AsyncProcessFunction> { - public findKeyOperatorstrValuesTimestr() { - super("findKeyOperatorstrValuesTimestr"); + org.apache.thrift.AsyncProcessFunction>>> { + public selectRecordsTimestrOrder() { + super("selectRecordsTimestrOrder"); } - public findKeyOperatorstrValuesTimestr_args getEmptyArgsInstance() { - return new findKeyOperatorstrValuesTimestr_args(); + public selectRecordsTimestrOrder_args getEmptyArgsInstance() { + return new selectRecordsTimestrOrder_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - findKeyOperatorstrValuesTimestr_result result = new findKeyOperatorstrValuesTimestr_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectRecordsTimestrOrder_result result = new selectRecordsTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -63697,7 +69341,7 @@ public void onComplete(Set o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findKeyOperatorstrValuesTimestr_result result = new findKeyOperatorstrValuesTimestr_result(); + selectRecordsTimestrOrder_result result = new selectRecordsTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63742,32 +69386,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, - findKeyOperatorstrValuesTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, selectRecordsTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.findKeyOperatorstrValuesTimestr(args.key, args.operator, - args.values, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectRecordsTimestrOrder(args.records, args.timestamp, + args.order, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class search extends - org.apache.thrift.AsyncProcessFunction> { - public search() { - super("search"); + public static class selectKeyRecord extends + org.apache.thrift.AsyncProcessFunction> { + public selectKeyRecord() { + super("selectKeyRecord"); } - public search_args getEmptyArgsInstance() { - return new search_args(); + public selectKeyRecord_args getEmptyArgsInstance() { + return new selectKeyRecord_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Set o) { - search_result result = new search_result(); + return new AsyncMethodCallback>() { + public void onComplete( + Set o) { + selectKeyRecord_result result = new selectKeyRecord_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -63786,7 +69430,7 @@ public void onComplete(Set o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - search_result result = new search_result(); + selectKeyRecord_result result = new selectKeyRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63826,30 +69470,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, search_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, selectKeyRecord_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.search(args.key, args.query, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeyRecord(args.key, args.record, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class revertKeysRecordsTime extends - org.apache.thrift.AsyncProcessFunction { - public revertKeysRecordsTime() { - super("revertKeysRecordsTime"); + public static class selectKeyRecordTime extends + org.apache.thrift.AsyncProcessFunction> { + public selectKeyRecordTime() { + super("selectKeyRecordTime"); } - public revertKeysRecordsTime_args getEmptyArgsInstance() { - return new revertKeysRecordsTime_args(); + public selectKeyRecordTime_args getEmptyArgsInstance() { + return new selectKeyRecordTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - revertKeysRecordsTime_result result = new revertKeysRecordsTime_result(); + return new AsyncMethodCallback>() { + public void onComplete( + Set o) { + selectKeyRecordTime_result result = new selectKeyRecordTime_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -63867,7 +69513,7 @@ public void onComplete(Void o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - revertKeysRecordsTime_result result = new revertKeysRecordsTime_result(); + selectKeyRecordTime_result result = new selectKeyRecordTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63907,32 +69553,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, revertKeysRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.revertKeysRecordsTime(args.keys, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeyRecordTime(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class revertKeysRecordsTimestr - extends - org.apache.thrift.AsyncProcessFunction { - public revertKeysRecordsTimestr() { - super("revertKeysRecordsTimestr"); + public static class selectKeyRecordTimestr extends + org.apache.thrift.AsyncProcessFunction> { + public selectKeyRecordTimestr() { + super("selectKeyRecordTimestr"); } - public revertKeysRecordsTimestr_args getEmptyArgsInstance() { - return new revertKeysRecordsTimestr_args(); + public selectKeyRecordTimestr_args getEmptyArgsInstance() { + return new selectKeyRecordTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - revertKeysRecordsTimestr_result result = new revertKeysRecordsTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete( + Set o) { + selectKeyRecordTimestr_result result = new selectKeyRecordTimestr_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -63950,7 +69597,7 @@ public void onComplete(Void o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - revertKeysRecordsTimestr_result result = new revertKeysRecordsTimestr_result(); + selectKeyRecordTimestr_result result = new selectKeyRecordTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -63995,31 +69642,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, revertKeysRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.revertKeysRecordsTimestr(args.keys, args.records, + iface.selectKeyRecordTimestr(args.key, args.record, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class revertKeysRecordTime extends - org.apache.thrift.AsyncProcessFunction { - public revertKeysRecordTime() { - super("revertKeysRecordTime"); + public static class selectKeysRecord extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeysRecord() { + super("selectKeysRecord"); } - public revertKeysRecordTime_args getEmptyArgsInstance() { - return new revertKeysRecordTime_args(); + public selectKeysRecord_args getEmptyArgsInstance() { + return new selectKeysRecord_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - revertKeysRecordTime_result result = new revertKeysRecordTime_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeysRecord_result result = new selectKeysRecord_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64037,7 +69686,7 @@ public void onComplete(Void o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - revertKeysRecordTime_result result = new revertKeysRecordTime_result(); + selectKeysRecord_result result = new selectKeysRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64077,32 +69726,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, revertKeysRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysRecord_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.revertKeysRecordTime(args.keys, args.record, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeysRecord(args.keys, args.record, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class revertKeysRecordTimestr - extends - org.apache.thrift.AsyncProcessFunction { - public revertKeysRecordTimestr() { - super("revertKeysRecordTimestr"); + public static class selectKeysRecordTime extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeysRecordTime() { + super("selectKeysRecordTime"); } - public revertKeysRecordTimestr_args getEmptyArgsInstance() { - return new revertKeysRecordTimestr_args(); + public selectKeysRecordTime_args getEmptyArgsInstance() { + return new selectKeysRecordTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - revertKeysRecordTimestr_result result = new revertKeysRecordTimestr_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeysRecordTime_result result = new selectKeysRecordTime_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64120,7 +69769,7 @@ public void onComplete(Void o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - revertKeysRecordTimestr_result result = new revertKeysRecordTimestr_result(); + selectKeysRecordTime_result result = new selectKeysRecordTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64131,14 +69780,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -64165,31 +69809,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, revertKeysRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.revertKeysRecordTimestr(args.keys, args.record, + iface.selectKeysRecordTime(args.keys, args.record, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class revertKeyRecordsTime extends - org.apache.thrift.AsyncProcessFunction { - public revertKeyRecordsTime() { - super("revertKeyRecordsTime"); + public static class selectKeysRecordTimestr + extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeysRecordTimestr() { + super("selectKeysRecordTimestr"); } - public revertKeyRecordsTime_args getEmptyArgsInstance() { - return new revertKeyRecordsTime_args(); + public selectKeysRecordTimestr_args getEmptyArgsInstance() { + return new selectKeysRecordTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - revertKeyRecordsTime_result result = new revertKeyRecordsTime_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeysRecordTimestr_result result = new selectKeysRecordTimestr_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64207,7 +69854,7 @@ public void onComplete(Void o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - revertKeyRecordsTime_result result = new revertKeyRecordsTime_result(); + selectKeysRecordTimestr_result result = new selectKeysRecordTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64218,11 +69865,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -64247,32 +69899,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, revertKeyRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.revertKeyRecordsTime(args.key, args.records, + iface.selectKeysRecordTimestr(args.keys, args.record, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class revertKeyRecordsTimestr - extends - org.apache.thrift.AsyncProcessFunction { - public revertKeyRecordsTimestr() { - super("revertKeyRecordsTimestr"); + public static class selectKeysRecords extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysRecords() { + super("selectKeysRecords"); } - public revertKeyRecordsTimestr_args getEmptyArgsInstance() { - return new revertKeyRecordsTimestr_args(); + public selectKeysRecords_args getEmptyArgsInstance() { + return new selectKeysRecords_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - revertKeyRecordsTimestr_result result = new revertKeyRecordsTimestr_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysRecords_result result = new selectKeysRecords_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64290,7 +69943,7 @@ public void onComplete(Void o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - revertKeyRecordsTimestr_result result = new revertKeyRecordsTimestr_result(); + selectKeysRecords_result result = new selectKeysRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64301,14 +69954,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -64335,31 +69983,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, revertKeyRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysRecords_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.revertKeyRecordsTimestr(args.key, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeysRecords(args.keys, args.records, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class revertKeyRecordTime extends - org.apache.thrift.AsyncProcessFunction { - public revertKeyRecordTime() { - super("revertKeyRecordTime"); + public static class selectKeysRecordsOrder extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysRecordsOrder() { + super("selectKeysRecordsOrder"); } - public revertKeyRecordTime_args getEmptyArgsInstance() { - return new revertKeyRecordTime_args(); + public selectKeysRecordsOrder_args getEmptyArgsInstance() { + return new selectKeysRecordsOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - revertKeyRecordTime_result result = new revertKeyRecordTime_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysRecordsOrder_result result = new selectKeysRecordsOrder_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64377,7 +70026,7 @@ public void onComplete(Void o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - revertKeyRecordTime_result result = new revertKeyRecordTime_result(); + selectKeysRecordsOrder_result result = new selectKeysRecordsOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64417,31 +70066,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, revertKeyRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysRecordsOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.revertKeyRecordTime(args.key, args.record, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.selectKeysRecordsOrder(args.keys, args.records, + args.order, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class revertKeyRecordTimestr extends - org.apache.thrift.AsyncProcessFunction { - public revertKeyRecordTimestr() { - super("revertKeyRecordTimestr"); + public static class selectKeyRecords extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyRecords() { + super("selectKeyRecords"); } - public revertKeyRecordTimestr_args getEmptyArgsInstance() { - return new revertKeyRecordTimestr_args(); + public selectKeyRecords_args getEmptyArgsInstance() { + return new selectKeyRecords_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - revertKeyRecordTimestr_result result = new revertKeyRecordTimestr_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeyRecords_result result = new selectKeyRecords_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64459,7 +70110,7 @@ public void onComplete(Void o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - revertKeyRecordTimestr_result result = new revertKeyRecordTimestr_result(); + selectKeyRecords_result result = new selectKeyRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64470,14 +70121,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -64504,31 +70150,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, revertKeyRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyRecords_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.revertKeyRecordTimestr(args.key, args.record, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeyRecords(args.key, args.records, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class pingRecords extends - org.apache.thrift.AsyncProcessFunction> { - public pingRecords() { - super("pingRecords"); + public static class selectKeyRecordsOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyRecordsOrder() { + super("selectKeyRecordsOrder"); } - public pingRecords_args getEmptyArgsInstance() { - return new pingRecords_args(); + public selectKeyRecordsOrder_args getEmptyArgsInstance() { + return new selectKeyRecordsOrder_args(); } - public AsyncMethodCallback> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - pingRecords_result result = new pingRecords_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeyRecordsOrder_result result = new selectKeyRecordsOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -64547,7 +70193,7 @@ public void onComplete(Map o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - pingRecords_result result = new pingRecords_result(); + selectKeyRecordsOrder_result result = new selectKeyRecordsOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64587,32 +70233,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, pingRecords_args args, - org.apache.thrift.async.AsyncMethodCallback> resultHandler) + public void start(I iface, selectKeyRecordsOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.pingRecords(args.records, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeyRecordsOrder(args.key, args.records, args.order, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class pingRecord extends - org.apache.thrift.AsyncProcessFunction { - public pingRecord() { - super("pingRecord"); + public static class selectKeyRecordsTime extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyRecordsTime() { + super("selectKeyRecordsTime"); } - public pingRecord_args getEmptyArgsInstance() { - return new pingRecord_args(); + public selectKeyRecordsTime_args getEmptyArgsInstance() { + return new selectKeyRecordsTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Boolean o) { - pingRecord_result result = new pingRecord_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeyRecordsTime_result result = new selectKeyRecordsTime_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64630,7 +70277,7 @@ public void onComplete(Boolean o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - pingRecord_result result = new pingRecord_result(); + selectKeyRecordsTime_result result = new selectKeyRecordsTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64670,32 +70317,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, pingRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.pingRecord(args.record, args.creds, args.transaction, + iface.selectKeyRecordsTime(args.key, args.records, + args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class verifyAndSwap extends - org.apache.thrift.AsyncProcessFunction { - public verifyAndSwap() { - super("verifyAndSwap"); + public static class selectKeyRecordsTimeOrder + extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyRecordsTimeOrder() { + super("selectKeyRecordsTimeOrder"); } - public verifyAndSwap_args getEmptyArgsInstance() { - return new verifyAndSwap_args(); + public selectKeyRecordsTimeOrder_args getEmptyArgsInstance() { + return new selectKeyRecordsTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Boolean o) { - verifyAndSwap_result result = new verifyAndSwap_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeyRecordsTimeOrder_result result = new selectKeyRecordsTimeOrder_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64713,7 +70362,7 @@ public void onComplete(Boolean o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - verifyAndSwap_result result = new verifyAndSwap_result(); + selectKeyRecordsTimeOrder_result result = new selectKeyRecordsTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64753,31 +70402,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, verifyAndSwap_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyRecordsTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.verifyAndSwap(args.key, args.expected, args.record, - args.replacement, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeyRecordsTimeOrder(args.key, args.records, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class verifyOrSet extends - org.apache.thrift.AsyncProcessFunction { - public verifyOrSet() { - super("verifyOrSet"); + public static class selectKeyRecordsTimestr + extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyRecordsTimestr() { + super("selectKeyRecordsTimestr"); } - public verifyOrSet_args getEmptyArgsInstance() { - return new verifyOrSet_args(); + public selectKeyRecordsTimestr_args getEmptyArgsInstance() { + return new selectKeyRecordsTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Void o) { - verifyOrSet_result result = new verifyOrSet_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeyRecordsTimestr_result result = new selectKeyRecordsTimestr_result(); + result.success = o; try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64795,7 +70447,7 @@ public void onComplete(Void o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - verifyOrSet_result result = new verifyOrSet_result(); + selectKeyRecordsTimestr_result result = new selectKeyRecordsTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64806,8 +70458,8 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } @@ -64840,32 +70492,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, verifyOrSet_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.verifyOrSet(args.key, args.value, args.record, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectKeyRecordsTimestr(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class findOrAddKeyValue extends - org.apache.thrift.AsyncProcessFunction { - public findOrAddKeyValue() { - super("findOrAddKeyValue"); + public static class selectKeyRecordsTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyRecordsTimestrOrder() { + super("selectKeyRecordsTimestrOrder"); } - public findOrAddKeyValue_args getEmptyArgsInstance() { - return new findOrAddKeyValue_args(); + public selectKeyRecordsTimestrOrder_args getEmptyArgsInstance() { + return new selectKeyRecordsTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - findOrAddKeyValue_result result = new findOrAddKeyValue_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeyRecordsTimestrOrder_result result = new selectKeyRecordsTimestrOrder_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64883,7 +70537,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findOrAddKeyValue_result result = new findOrAddKeyValue_result(); + selectKeyRecordsTimestrOrder_result result = new selectKeyRecordsTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64894,19 +70548,14 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.DuplicateEntryException) { - result.ex3 = (com.cinchapi.concourse.thrift.DuplicateEntryException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { - result.ex4 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; - result.setEx4IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex5 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx5IsSet(true); + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); msg = result; } else { @@ -64933,33 +70582,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, findOrAddKeyValue_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyRecordsTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.findOrAddKeyValue(args.key, args.value, args.creds, + iface.selectKeyRecordsTimestrOrder(args.key, args.records, + args.timestamp, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class findOrInsertCriteriaJson - extends - org.apache.thrift.AsyncProcessFunction { - public findOrInsertCriteriaJson() { - super("findOrInsertCriteriaJson"); + public static class selectKeysRecordsTime extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysRecordsTime() { + super("selectKeysRecordsTime"); } - public findOrInsertCriteriaJson_args getEmptyArgsInstance() { - return new findOrInsertCriteriaJson_args(); + public selectKeysRecordsTime_args getEmptyArgsInstance() { + return new selectKeysRecordsTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - findOrInsertCriteriaJson_result result = new findOrInsertCriteriaJson_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysRecordsTime_result result = new selectKeysRecordsTime_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -64977,7 +70626,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findOrInsertCriteriaJson_result result = new findOrInsertCriteriaJson_result(); + selectKeysRecordsTime_result result = new selectKeysRecordsTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -64988,14 +70637,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.DuplicateEntryException) { - result.ex3 = (com.cinchapi.concourse.thrift.DuplicateEntryException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -65022,33 +70666,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, findOrInsertCriteriaJson_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.findOrInsertCriteriaJson(args.criteria, args.json, - args.creds, args.transaction, args.environment, - resultHandler); + iface.selectKeysRecordsTime(args.keys, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class findOrInsertCclJson extends - org.apache.thrift.AsyncProcessFunction { - public findOrInsertCclJson() { - super("findOrInsertCclJson"); + public static class selectKeysRecordsTimeOrder + extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysRecordsTimeOrder() { + super("selectKeysRecordsTimeOrder"); } - public findOrInsertCclJson_args getEmptyArgsInstance() { - return new findOrInsertCclJson_args(); + public selectKeysRecordsTimeOrder_args getEmptyArgsInstance() { + return new selectKeysRecordsTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - findOrInsertCclJson_result result = new findOrInsertCclJson_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysRecordsTimeOrder_result result = new selectKeysRecordsTimeOrder_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -65066,7 +70711,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - findOrInsertCclJson_result result = new findOrInsertCclJson_result(); + selectKeysRecordsTimeOrder_result result = new selectKeysRecordsTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65077,19 +70722,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.DuplicateEntryException) { - result.ex4 = (com.cinchapi.concourse.thrift.DuplicateEntryException) e; - result.setEx4IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex5 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx5IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -65116,31 +70751,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, findOrInsertCclJson_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysRecordsTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.findOrInsertCclJson(args.ccl, args.json, args.creds, + iface.selectKeysRecordsTimeOrder(args.keys, args.records, + args.timestamp, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class sumKeyRecord extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyRecord() { - super("sumKeyRecord"); + public static class selectKeysRecordsTimestr + extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysRecordsTimestr() { + super("selectKeysRecordsTimestr"); } - public sumKeyRecord_args getEmptyArgsInstance() { - return new sumKeyRecord_args(); + public selectKeysRecordsTimestr_args getEmptyArgsInstance() { + return new selectKeysRecordsTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyRecord_result result = new sumKeyRecord_result(); + Map>> o) { + selectKeysRecordsTimestr_result result = new selectKeysRecordsTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -65159,7 +70796,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyRecord_result result = new sumKeyRecord_result(); + selectKeysRecordsTimestr_result result = new selectKeysRecordsTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65170,11 +70807,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -65199,31 +70841,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyRecord(args.key, args.record, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectKeysRecordsTimestr(args.keys, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class sumKeyRecordTime extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyRecordTime() { - super("sumKeyRecordTime"); + public static class selectKeysRecordsTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysRecordsTimestrOrder() { + super("selectKeysRecordsTimestrOrder"); } - public sumKeyRecordTime_args getEmptyArgsInstance() { - return new sumKeyRecordTime_args(); + public selectKeysRecordsTimestrOrder_args getEmptyArgsInstance() { + return new selectKeysRecordsTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyRecordTime_result result = new sumKeyRecordTime_result(); + Map>> o) { + selectKeysRecordsTimestrOrder_result result = new selectKeysRecordsTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -65242,7 +70886,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyRecordTime_result result = new sumKeyRecordTime_result(); + selectKeysRecordsTimestrOrder_result result = new selectKeysRecordsTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65253,11 +70897,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -65282,32 +70931,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysRecordsTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyRecordTime(args.key, args.record, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.selectKeysRecordsTimestrOrder(args.keys, args.records, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class sumKeyRecordTimestr extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyRecordTimestr() { - super("sumKeyRecordTimestr"); + public static class selectCriteria extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCriteria() { + super("selectCriteria"); } - public sumKeyRecordTimestr_args getEmptyArgsInstance() { - return new sumKeyRecordTimestr_args(); + public selectCriteria_args getEmptyArgsInstance() { + return new selectCriteria_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyRecordTimestr_result result = new sumKeyRecordTimestr_result(); + Map>> o) { + selectCriteria_result result = new selectCriteria_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -65326,7 +70975,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyRecordTimestr_result result = new sumKeyRecordTimestr_result(); + selectCriteria_result result = new selectCriteria_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65337,14 +70986,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -65371,32 +71015,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyRecordTimestr(args.key, args.record, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.selectCriteria(args.criteria, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class sumKeyRecords extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyRecords() { - super("sumKeyRecords"); + public static class selectCriteriaOrder extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCriteriaOrder() { + super("selectCriteriaOrder"); } - public sumKeyRecords_args getEmptyArgsInstance() { - return new sumKeyRecords_args(); + public selectCriteriaOrder_args getEmptyArgsInstance() { + return new selectCriteriaOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyRecords_result result = new sumKeyRecords_result(); + Map>> o) { + selectCriteriaOrder_result result = new selectCriteriaOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -65415,7 +71058,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyRecords_result result = new sumKeyRecords_result(); + selectCriteriaOrder_result result = new selectCriteriaOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65455,31 +71098,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyRecords_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCriteriaOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyRecords(args.key, args.records, args.creds, + iface.selectCriteriaOrder(args.criteria, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class sumKeyRecordsTime extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyRecordsTime() { - super("sumKeyRecordsTime"); + public static class selectCcl extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCcl() { + super("selectCcl"); } - public sumKeyRecordsTime_args getEmptyArgsInstance() { - return new sumKeyRecordsTime_args(); + public selectCcl_args getEmptyArgsInstance() { + return new selectCcl_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyRecordsTime_result result = new sumKeyRecordsTime_result(); + Map>> o) { + selectCcl_result result = new selectCcl_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -65498,7 +71141,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyRecordsTime_result result = new sumKeyRecordsTime_result(); + selectCcl_result result = new selectCcl_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65509,11 +71152,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -65538,32 +71186,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCcl_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyRecordsTime(args.key, args.records, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.selectCcl(args.ccl, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class sumKeyRecordsTimestr extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyRecordsTimestr() { - super("sumKeyRecordsTimestr"); + public static class selectCclOrder extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCclOrder() { + super("selectCclOrder"); } - public sumKeyRecordsTimestr_args getEmptyArgsInstance() { - return new sumKeyRecordsTimestr_args(); + public selectCclOrder_args getEmptyArgsInstance() { + return new selectCclOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyRecordsTimestr_result result = new sumKeyRecordsTimestr_result(); + Map>> o) { + selectCclOrder_result result = new selectCclOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -65582,7 +71229,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyRecordsTimestr_result result = new sumKeyRecordsTimestr_result(); + selectCclOrder_result result = new selectCclOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65627,32 +71274,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCclOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyRecordsTimestr(args.key, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectCclOrder(args.ccl, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class sumKey extends - org.apache.thrift.AsyncProcessFunction { - public sumKey() { - super("sumKey"); + public static class selectCriteriaTime extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCriteriaTime() { + super("selectCriteriaTime"); } - public sumKey_args getEmptyArgsInstance() { - return new sumKey_args(); + public selectCriteriaTime_args getEmptyArgsInstance() { + return new selectCriteriaTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKey_result result = new sumKey_result(); + Map>> o) { + selectCriteriaTime_result result = new selectCriteriaTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -65671,7 +71317,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKey_result result = new sumKey_result(); + selectCriteriaTime_result result = new selectCriteriaTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65711,31 +71357,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKey_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKey(args.key, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectCriteriaTime(args.criteria, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class sumKeyTime extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyTime() { - super("sumKeyTime"); + public static class selectCriteriaTimeOrder + extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCriteriaTimeOrder() { + super("selectCriteriaTimeOrder"); } - public sumKeyTime_args getEmptyArgsInstance() { - return new sumKeyTime_args(); + public selectCriteriaTimeOrder_args getEmptyArgsInstance() { + return new selectCriteriaTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyTime_result result = new sumKeyTime_result(); + Map>> o) { + selectCriteriaTimeOrder_result result = new selectCriteriaTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -65754,7 +71402,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyTime_result result = new sumKeyTime_result(); + selectCriteriaTimeOrder_result result = new selectCriteriaTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65794,31 +71442,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCriteriaTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyTime(args.key, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectCriteriaTimeOrder(args.criteria, args.timestamp, + args.order, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class sumKeyTimestr extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyTimestr() { - super("sumKeyTimestr"); + public static class selectCriteriaTimestr extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCriteriaTimestr() { + super("selectCriteriaTimestr"); } - public sumKeyTimestr_args getEmptyArgsInstance() { - return new sumKeyTimestr_args(); + public selectCriteriaTimestr_args getEmptyArgsInstance() { + return new selectCriteriaTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyTimestr_result result = new sumKeyTimestr_result(); + Map>> o) { + selectCriteriaTimestr_result result = new selectCriteriaTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -65837,7 +71486,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyTimestr_result result = new sumKeyTimestr_result(); + selectCriteriaTimestr_result result = new selectCriteriaTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65882,31 +71531,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyTimestr(args.key, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectCriteriaTimestr(args.criteria, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class sumKeyCriteria extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyCriteria() { - super("sumKeyCriteria"); + public static class selectCriteriaTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCriteriaTimestrOrder() { + super("selectCriteriaTimestrOrder"); } - public sumKeyCriteria_args getEmptyArgsInstance() { - return new sumKeyCriteria_args(); + public selectCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new selectCriteriaTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyCriteria_result result = new sumKeyCriteria_result(); + Map>> o) { + selectCriteriaTimestrOrder_result result = new selectCriteriaTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -65925,7 +71576,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyCriteria_result result = new sumKeyCriteria_result(); + selectCriteriaTimestrOrder_result result = new selectCriteriaTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -65936,92 +71587,14 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; - } - - protected boolean isOneway() { - return false; - } - - public void start(I iface, sumKeyCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.sumKeyCriteria(args.key, args.criteria, args.creds, - args.transaction, args.environment, resultHandler); - } - } - - public static class sumKeyCriteriaTime extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyCriteriaTime() { - super("sumKeyCriteriaTime"); - } - - public sumKeyCriteriaTime_args getEmptyArgsInstance() { - return new sumKeyCriteriaTime_args(); - } - - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyCriteriaTime_result result = new sumKeyCriteriaTime_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - sumKeyCriteriaTime_result result = new sumKeyCriteriaTime_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); msg = result; } else { @@ -66048,32 +71621,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCriteriaTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyCriteriaTime(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, + iface.selectCriteriaTimestrOrder(args.criteria, args.timestamp, + args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class sumKeyCriteriaTimestr extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyCriteriaTimestr() { - super("sumKeyCriteriaTimestr"); + public static class selectCclTime extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCclTime() { + super("selectCclTime"); } - public sumKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new sumKeyCriteriaTimestr_args(); + public selectCclTime_args getEmptyArgsInstance() { + return new selectCclTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyCriteriaTimestr_result result = new sumKeyCriteriaTimestr_result(); + Map>> o) { + selectCclTime_result result = new selectCclTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66092,7 +71665,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyCriteriaTimestr_result result = new sumKeyCriteriaTimestr_result(); + selectCclTime_result result = new selectCclTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66137,32 +71710,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyCriteriaTimestr(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectCclTime(args.ccl, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class sumKeyCcl extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyCcl() { - super("sumKeyCcl"); + public static class selectCclTimeOrder extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCclTimeOrder() { + super("selectCclTimeOrder"); } - public sumKeyCcl_args getEmptyArgsInstance() { - return new sumKeyCcl_args(); + public selectCclTimeOrder_args getEmptyArgsInstance() { + return new selectCclTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyCcl_result result = new sumKeyCcl_result(); + Map>> o) { + selectCclTimeOrder_result result = new selectCclTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66181,7 +71753,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyCcl_result result = new sumKeyCcl_result(); + selectCclTimeOrder_result result = new selectCclTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66226,31 +71798,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyCcl_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCclTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyCcl(args.key, args.ccl, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectCclTimeOrder(args.ccl, args.timestamp, args.order, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class sumKeyCclTime extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyCclTime() { - super("sumKeyCclTime"); + public static class selectCclTimestr extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCclTimestr() { + super("selectCclTimestr"); } - public sumKeyCclTime_args getEmptyArgsInstance() { - return new sumKeyCclTime_args(); + public selectCclTimestr_args getEmptyArgsInstance() { + return new selectCclTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyCclTime_result result = new sumKeyCclTime_result(); + Map>> o) { + selectCclTimestr_result result = new selectCclTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66269,7 +71842,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyCclTime_result result = new sumKeyCclTime_result(); + selectCclTimestr_result result = new selectCclTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66314,32 +71887,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyCclTime(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.selectCclTimestr(args.ccl, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class sumKeyCclTimestr extends - org.apache.thrift.AsyncProcessFunction { - public sumKeyCclTimestr() { - super("sumKeyCclTimestr"); + public static class selectCclTimestrOrder extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectCclTimestrOrder() { + super("selectCclTimestrOrder"); } - public sumKeyCclTimestr_args getEmptyArgsInstance() { - return new sumKeyCclTimestr_args(); + public selectCclTimestrOrder_args getEmptyArgsInstance() { + return new selectCclTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - sumKeyCclTimestr_result result = new sumKeyCclTimestr_result(); + Map>> o) { + selectCclTimestrOrder_result result = new selectCclTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66358,7 +71930,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - sumKeyCclTimestr_result result = new sumKeyCclTimestr_result(); + selectCclTimestrOrder_result result = new selectCclTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66403,32 +71975,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, sumKeyCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectCclTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.sumKeyCclTimestr(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.selectCclTimestrOrder(args.ccl, args.timestamp, + args.order, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class averageKeyRecord extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyRecord() { - super("averageKeyRecord"); + public static class selectKeyCriteria extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCriteria() { + super("selectKeyCriteria"); } - public averageKeyRecord_args getEmptyArgsInstance() { - return new averageKeyRecord_args(); + public selectKeyCriteria_args getEmptyArgsInstance() { + return new selectKeyCriteria_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyRecord_result result = new averageKeyRecord_result(); + Map> o) { + selectKeyCriteria_result result = new selectKeyCriteria_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66447,7 +72019,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyRecord_result result = new averageKeyRecord_result(); + selectKeyCriteria_result result = new selectKeyCriteria_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66487,31 +72059,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.averageKeyRecord(args.key, args.record, args.creds, + iface.selectKeyCriteria(args.key, args.criteria, args.creds, args.transaction, args.environment, resultHandler); } } - public static class averageKeyRecordTime extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyRecordTime() { - super("averageKeyRecordTime"); + public static class selectKeyCriteriaOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCriteriaOrder() { + super("selectKeyCriteriaOrder"); } - public averageKeyRecordTime_args getEmptyArgsInstance() { - return new averageKeyRecordTime_args(); + public selectKeyCriteriaOrder_args getEmptyArgsInstance() { + return new selectKeyCriteriaOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyRecordTime_result result = new averageKeyRecordTime_result(); + Map> o) { + selectKeyCriteriaOrder_result result = new selectKeyCriteriaOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66530,7 +72102,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyRecordTime_result result = new averageKeyRecordTime_result(); + selectKeyCriteriaOrder_result result = new selectKeyCriteriaOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66570,33 +72142,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyCriteriaOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.averageKeyRecordTime(args.key, args.record, - args.timestamp, args.creds, args.transaction, + iface.selectKeyCriteriaOrder(args.key, args.criteria, + args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class averageKeyRecordTimestr - extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyRecordTimestr() { - super("averageKeyRecordTimestr"); + public static class selectKeyCcl extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCcl() { + super("selectKeyCcl"); } - public averageKeyRecordTimestr_args getEmptyArgsInstance() { - return new averageKeyRecordTimestr_args(); + public selectKeyCcl_args getEmptyArgsInstance() { + return new selectKeyCcl_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyRecordTimestr_result result = new averageKeyRecordTimestr_result(); + Map> o) { + selectKeyCcl_result result = new selectKeyCcl_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66615,7 +72186,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyRecordTimestr_result result = new averageKeyRecordTimestr_result(); + selectKeyCcl_result result = new selectKeyCcl_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66660,32 +72231,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyCcl_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.averageKeyRecordTimestr(args.key, args.record, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeyCcl(args.key, args.ccl, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class averageKeyRecords extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyRecords() { - super("averageKeyRecords"); + public static class selectKeyCclOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCclOrder() { + super("selectKeyCclOrder"); } - public averageKeyRecords_args getEmptyArgsInstance() { - return new averageKeyRecords_args(); + public selectKeyCclOrder_args getEmptyArgsInstance() { + return new selectKeyCclOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyRecords_result result = new averageKeyRecords_result(); + Map> o) { + selectKeyCclOrder_result result = new selectKeyCclOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66704,7 +72274,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyRecords_result result = new averageKeyRecords_result(); + selectKeyCclOrder_result result = new selectKeyCclOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66715,11 +72285,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -66744,31 +72319,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyRecords_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyCclOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.averageKeyRecords(args.key, args.records, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectKeyCclOrder(args.key, args.ccl, args.order, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class averageKeyRecordsTime extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyRecordsTime() { - super("averageKeyRecordsTime"); + public static class selectKeyCriteriaTime extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCriteriaTime() { + super("selectKeyCriteriaTime"); } - public averageKeyRecordsTime_args getEmptyArgsInstance() { - return new averageKeyRecordsTime_args(); + public selectKeyCriteriaTime_args getEmptyArgsInstance() { + return new selectKeyCriteriaTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyRecordsTime_result result = new averageKeyRecordsTime_result(); + Map> o) { + selectKeyCriteriaTime_result result = new selectKeyCriteriaTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66787,7 +72363,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyRecordsTime_result result = new averageKeyRecordsTime_result(); + selectKeyCriteriaTime_result result = new selectKeyCriteriaTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66827,33 +72403,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.averageKeyRecordsTime(args.key, args.records, + iface.selectKeyCriteriaTime(args.key, args.criteria, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class averageKeyRecordsTimestr + public static class selectKeyCriteriaTimeOrder extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyRecordsTimestr() { - super("averageKeyRecordsTimestr"); + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCriteriaTimeOrder() { + super("selectKeyCriteriaTimeOrder"); } - public averageKeyRecordsTimestr_args getEmptyArgsInstance() { - return new averageKeyRecordsTimestr_args(); + public selectKeyCriteriaTimeOrder_args getEmptyArgsInstance() { + return new selectKeyCriteriaTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyRecordsTimestr_result result = new averageKeyRecordsTimestr_result(); + Map> o) { + selectKeyCriteriaTimeOrder_result result = new selectKeyCriteriaTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66872,7 +72448,92 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyRecordsTimestr_result result = new averageKeyRecordsTimestr_result(); + selectKeyCriteriaTimeOrder_result result = new selectKeyCriteriaTimeOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, selectKeyCriteriaTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.selectKeyCriteriaTimeOrder(args.key, args.criteria, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class selectKeyCriteriaTimestr + extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCriteriaTimestr() { + super("selectKeyCriteriaTimestr"); + } + + public selectKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new selectKeyCriteriaTimestr_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeyCriteriaTimestr_result result = new selectKeyCriteriaTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + selectKeyCriteriaTimestr_result result = new selectKeyCriteriaTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66917,32 +72578,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.averageKeyRecordsTimestr(args.key, args.records, + iface.selectKeyCriteriaTimestr(args.key, args.criteria, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class averageKey extends - org.apache.thrift.AsyncProcessFunction { - public averageKey() { - super("averageKey"); + public static class selectKeyCriteriaTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCriteriaTimestrOrder() { + super("selectKeyCriteriaTimestrOrder"); } - public averageKey_args getEmptyArgsInstance() { - return new averageKey_args(); + public selectKeyCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new selectKeyCriteriaTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKey_result result = new averageKey_result(); + Map> o) { + selectKeyCriteriaTimestrOrder_result result = new selectKeyCriteriaTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -66961,7 +72623,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKey_result result = new averageKey_result(); + selectKeyCriteriaTimestrOrder_result result = new selectKeyCriteriaTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -66972,11 +72634,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -67001,31 +72668,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKey_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyCriteriaTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.averageKey(args.key, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeyCriteriaTimestrOrder(args.key, args.criteria, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class averageKeyTime extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyTime() { - super("averageKeyTime"); + public static class selectKeyCclTime extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCclTime() { + super("selectKeyCclTime"); } - public averageKeyTime_args getEmptyArgsInstance() { - return new averageKeyTime_args(); + public selectKeyCclTime_args getEmptyArgsInstance() { + return new selectKeyCclTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyTime_result result = new averageKeyTime_result(); + Map> o) { + selectKeyCclTime_result result = new selectKeyCclTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -67044,7 +72712,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyTime_result result = new averageKeyTime_result(); + selectKeyCclTime_result result = new selectKeyCclTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67055,11 +72723,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -67084,31 +72757,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.averageKeyTime(args.key, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectKeyCclTime(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class averageKeyTimestr extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyTimestr() { - super("averageKeyTimestr"); + public static class selectKeyCclTimeOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCclTimeOrder() { + super("selectKeyCclTimeOrder"); } - public averageKeyTimestr_args getEmptyArgsInstance() { - return new averageKeyTimestr_args(); + public selectKeyCclTimeOrder_args getEmptyArgsInstance() { + return new selectKeyCclTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyTimestr_result result = new averageKeyTimestr_result(); + Map> o) { + selectKeyCclTimeOrder_result result = new selectKeyCclTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -67127,7 +72801,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyTimestr_result result = new averageKeyTimestr_result(); + selectKeyCclTimeOrder_result result = new selectKeyCclTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67172,31 +72846,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyCclTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.averageKeyTimestr(args.key, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectKeyCclTimeOrder(args.key, args.ccl, args.timestamp, + args.order, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class averageKeyCriteria extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyCriteria() { - super("averageKeyCriteria"); + public static class selectKeyCclTimestr extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCclTimestr() { + super("selectKeyCclTimestr"); } - public averageKeyCriteria_args getEmptyArgsInstance() { - return new averageKeyCriteria_args(); + public selectKeyCclTimestr_args getEmptyArgsInstance() { + return new selectKeyCclTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyCriteria_result result = new averageKeyCriteria_result(); + Map> o) { + selectKeyCclTimestr_result result = new selectKeyCclTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -67215,7 +72890,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyCriteria_result result = new averageKeyCriteria_result(); + selectKeyCclTimestr_result result = new selectKeyCclTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67226,11 +72901,106 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, selectKeyCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.selectKeyCclTimestr(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class selectKeyCclTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction>> { + public selectKeyCclTimestrOrder() { + super("selectKeyCclTimestrOrder"); + } + + public selectKeyCclTimestrOrder_args getEmptyArgsInstance() { + return new selectKeyCclTimestrOrder_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + selectKeyCclTimestrOrder_result result = new selectKeyCclTimestrOrder_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + selectKeyCclTimestrOrder_result result = new selectKeyCclTimestrOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -67255,31 +73025,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeyCclTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.averageKeyCriteria(args.key, args.criteria, args.creds, + iface.selectKeyCclTimestrOrder(args.key, args.ccl, + args.timestamp, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class averageKeyCriteriaTime extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyCriteriaTime() { - super("averageKeyCriteriaTime"); + public static class selectKeysCriteria extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCriteria() { + super("selectKeysCriteria"); } - public averageKeyCriteriaTime_args getEmptyArgsInstance() { - return new averageKeyCriteriaTime_args(); + public selectKeysCriteria_args getEmptyArgsInstance() { + return new selectKeysCriteria_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyCriteriaTime_result result = new averageKeyCriteriaTime_result(); + Map>> o) { + selectKeysCriteria_result result = new selectKeysCriteria_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -67298,7 +73069,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyCriteriaTime_result result = new averageKeyCriteriaTime_result(); + selectKeysCriteria_result result = new selectKeysCriteria_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67338,33 +73109,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.averageKeyCriteriaTime(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeysCriteria(args.keys, args.criteria, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class averageKeyCriteriaTimestr + public static class selectKeysCriteriaOrder extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyCriteriaTimestr() { - super("averageKeyCriteriaTimestr"); + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCriteriaOrder() { + super("selectKeysCriteriaOrder"); } - public averageKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new averageKeyCriteriaTimestr_args(); + public selectKeysCriteriaOrder_args getEmptyArgsInstance() { + return new selectKeysCriteriaOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyCriteriaTimestr_result result = new averageKeyCriteriaTimestr_result(); + Map>> o) { + selectKeysCriteriaOrder_result result = new selectKeysCriteriaOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -67383,7 +73153,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyCriteriaTimestr_result result = new averageKeyCriteriaTimestr_result(); + selectKeysCriteriaOrder_result result = new selectKeysCriteriaOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67394,14 +73164,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -67428,32 +73193,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCriteriaOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.averageKeyCriteriaTimestr(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, + iface.selectKeysCriteriaOrder(args.keys, args.criteria, + args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class averageKeyCcl extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyCcl() { - super("averageKeyCcl"); + public static class selectKeysCcl extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCcl() { + super("selectKeysCcl"); } - public averageKeyCcl_args getEmptyArgsInstance() { - return new averageKeyCcl_args(); + public selectKeysCcl_args getEmptyArgsInstance() { + return new selectKeysCcl_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyCcl_result result = new averageKeyCcl_result(); + Map>> o) { + selectKeysCcl_result result = new selectKeysCcl_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -67472,7 +73237,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyCcl_result result = new averageKeyCcl_result(); + selectKeysCcl_result result = new selectKeysCcl_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67517,31 +73282,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyCcl_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCcl_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.averageKeyCcl(args.key, args.ccl, args.creds, + iface.selectKeysCcl(args.keys, args.ccl, args.creds, args.transaction, args.environment, resultHandler); } } - public static class averageKeyCclTime extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyCclTime() { - super("averageKeyCclTime"); + public static class selectKeysCclOrder extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCclOrder() { + super("selectKeysCclOrder"); } - public averageKeyCclTime_args getEmptyArgsInstance() { - return new averageKeyCclTime_args(); + public selectKeysCclOrder_args getEmptyArgsInstance() { + return new selectKeysCclOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyCclTime_result result = new averageKeyCclTime_result(); + Map>> o) { + selectKeysCclOrder_result result = new selectKeysCclOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -67560,7 +73325,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyCclTime_result result = new averageKeyCclTime_result(); + selectKeysCclOrder_result result = new selectKeysCclOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67605,32 +73370,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCclOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.averageKeyCclTime(args.key, args.ccl, args.timestamp, + iface.selectKeysCclOrder(args.keys, args.ccl, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class averageKeyCclTimestr extends - org.apache.thrift.AsyncProcessFunction { - public averageKeyCclTimestr() { - super("averageKeyCclTimestr"); + public static class selectKeysCriteriaTime extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCriteriaTime() { + super("selectKeysCriteriaTime"); } - public averageKeyCclTimestr_args getEmptyArgsInstance() { - return new averageKeyCclTimestr_args(); + public selectKeysCriteriaTime_args getEmptyArgsInstance() { + return new selectKeysCriteriaTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - averageKeyCclTimestr_result result = new averageKeyCclTimestr_result(); + Map>> o) { + selectKeysCriteriaTime_result result = new selectKeysCriteriaTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -67649,7 +73414,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - averageKeyCclTimestr_result result = new averageKeyCclTimestr_result(); + selectKeysCriteriaTime_result result = new selectKeysCriteriaTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67660,14 +73425,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -67694,33 +73454,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, averageKeyCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.averageKeyCclTimestr(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.selectKeysCriteriaTime(args.keys, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class countKeyRecord extends - org.apache.thrift.AsyncProcessFunction { - public countKeyRecord() { - super("countKeyRecord"); + public static class selectKeysCriteriaTimeOrder + extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCriteriaTimeOrder() { + super("selectKeysCriteriaTimeOrder"); } - public countKeyRecord_args getEmptyArgsInstance() { - return new countKeyRecord_args(); + public selectKeysCriteriaTimeOrder_args getEmptyArgsInstance() { + return new selectKeysCriteriaTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyRecord_result result = new countKeyRecord_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysCriteriaTimeOrder_result result = new selectKeysCriteriaTimeOrder_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -67738,7 +73499,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyRecord_result result = new countKeyRecord_result(); + selectKeysCriteriaTimeOrder_result result = new selectKeysCriteriaTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67778,32 +73539,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCriteriaTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.countKeyRecord(args.key, args.record, args.creds, + iface.selectKeysCriteriaTimeOrder(args.keys, args.criteria, + args.timestamp, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class countKeyRecordTime extends - org.apache.thrift.AsyncProcessFunction { - public countKeyRecordTime() { - super("countKeyRecordTime"); + public static class selectKeysCriteriaTimestr + extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCriteriaTimestr() { + super("selectKeysCriteriaTimestr"); } - public countKeyRecordTime_args getEmptyArgsInstance() { - return new countKeyRecordTime_args(); + public selectKeysCriteriaTimestr_args getEmptyArgsInstance() { + return new selectKeysCriteriaTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyRecordTime_result result = new countKeyRecordTime_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysCriteriaTimestr_result result = new selectKeysCriteriaTimestr_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -67821,7 +73584,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyRecordTime_result result = new countKeyRecordTime_result(); + selectKeysCriteriaTimestr_result result = new selectKeysCriteriaTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67832,11 +73595,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -67861,33 +73629,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.countKeyRecordTime(args.key, args.record, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.selectKeysCriteriaTimestr(args.keys, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class countKeyRecordTimestr extends - org.apache.thrift.AsyncProcessFunction { - public countKeyRecordTimestr() { - super("countKeyRecordTimestr"); + public static class selectKeysCriteriaTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCriteriaTimestrOrder() { + super("selectKeysCriteriaTimestrOrder"); } - public countKeyRecordTimestr_args getEmptyArgsInstance() { - return new countKeyRecordTimestr_args(); + public selectKeysCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new selectKeysCriteriaTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyRecordTimestr_result result = new countKeyRecordTimestr_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysCriteriaTimestrOrder_result result = new selectKeysCriteriaTimestrOrder_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -67905,7 +73674,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyRecordTimestr_result result = new countKeyRecordTimestr_result(); + selectKeysCriteriaTimestrOrder_result result = new selectKeysCriteriaTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -67950,33 +73719,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCriteriaTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.countKeyRecordTimestr(args.key, args.record, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeysCriteriaTimestrOrder(args.keys, args.criteria, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class countKeyRecords extends - org.apache.thrift.AsyncProcessFunction { - public countKeyRecords() { - super("countKeyRecords"); + public static class selectKeysCclTime extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCclTime() { + super("selectKeysCclTime"); } - public countKeyRecords_args getEmptyArgsInstance() { - return new countKeyRecords_args(); + public selectKeysCclTime_args getEmptyArgsInstance() { + return new selectKeysCclTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyRecords_result result = new countKeyRecords_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysCclTime_result result = new selectKeysCclTime_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -67994,7 +73763,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyRecords_result result = new countKeyRecords_result(); + selectKeysCclTime_result result = new selectKeysCclTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68005,11 +73774,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -68034,32 +73808,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyRecords_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.countKeyRecords(args.key, args.records, args.creds, - args.transaction, args.environment, resultHandler); + iface.selectKeysCclTime(args.keys, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class countKeyRecordsTime extends - org.apache.thrift.AsyncProcessFunction { - public countKeyRecordsTime() { - super("countKeyRecordsTime"); + public static class selectKeysCclTimeOrder extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCclTimeOrder() { + super("selectKeysCclTimeOrder"); } - public countKeyRecordsTime_args getEmptyArgsInstance() { - return new countKeyRecordsTime_args(); + public selectKeysCclTimeOrder_args getEmptyArgsInstance() { + return new selectKeysCclTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyRecordsTime_result result = new countKeyRecordsTime_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysCclTimeOrder_result result = new selectKeysCclTimeOrder_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68077,7 +73852,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyRecordsTime_result result = new countKeyRecordsTime_result(); + selectKeysCclTimeOrder_result result = new selectKeysCclTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68088,11 +73863,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -68117,33 +73897,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCclTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.countKeyRecordsTime(args.key, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeysCclTimeOrder(args.keys, args.ccl, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class countKeyRecordsTimestr extends - org.apache.thrift.AsyncProcessFunction { - public countKeyRecordsTimestr() { - super("countKeyRecordsTimestr"); + public static class selectKeysCclTimestr extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCclTimestr() { + super("selectKeysCclTimestr"); } - public countKeyRecordsTimestr_args getEmptyArgsInstance() { - return new countKeyRecordsTimestr_args(); + public selectKeysCclTimestr_args getEmptyArgsInstance() { + return new selectKeysCclTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyRecordsTimestr_result result = new countKeyRecordsTimestr_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysCclTimestr_result result = new selectKeysCclTimestr_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68161,7 +73941,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyRecordsTimestr_result result = new countKeyRecordsTimestr_result(); + selectKeysCclTimestr_result result = new selectKeysCclTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68206,33 +73986,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.countKeyRecordsTimestr(args.key, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeysCclTimestr(args.keys, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class countKey extends - org.apache.thrift.AsyncProcessFunction { - public countKey() { - super("countKey"); + public static class selectKeysCclTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction>>> { + public selectKeysCclTimestrOrder() { + super("selectKeysCclTimestrOrder"); } - public countKey_args getEmptyArgsInstance() { - return new countKey_args(); + public selectKeysCclTimestrOrder_args getEmptyArgsInstance() { + return new selectKeysCclTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKey_result result = new countKey_result(); + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + selectKeysCclTimestrOrder_result result = new selectKeysCclTimestrOrder_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68250,7 +74031,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKey_result result = new countKey_result(); + selectKeysCclTimestrOrder_result result = new selectKeysCclTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68261,11 +74042,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -68290,32 +74076,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKey_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, selectKeysCclTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) throws TException { - iface.countKey(args.key, args.creds, args.transaction, - args.environment, resultHandler); + iface.selectKeysCclTimestrOrder(args.keys, args.ccl, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class countKeyTime extends - org.apache.thrift.AsyncProcessFunction { - public countKeyTime() { - super("countKeyTime"); + public static class getKeyRecord extends + org.apache.thrift.AsyncProcessFunction { + public getKeyRecord() { + super("getKeyRecord"); } - public countKeyTime_args getEmptyArgsInstance() { - return new countKeyTime_args(); + public getKeyRecord_args getEmptyArgsInstance() { + return new getKeyRecord_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyTime_result result = new countKeyTime_result(); + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + getKeyRecord_result result = new getKeyRecord_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68333,7 +74120,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyTime_result result = new countKeyTime_result(); + getKeyRecord_result result = new getKeyRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68373,32 +74160,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.countKeyTime(args.key, args.timestamp, args.creds, + iface.getKeyRecord(args.key, args.record, args.creds, args.transaction, args.environment, resultHandler); } } - public static class countKeyTimestr extends - org.apache.thrift.AsyncProcessFunction { - public countKeyTimestr() { - super("countKeyTimestr"); + public static class getKeyRecordTime extends + org.apache.thrift.AsyncProcessFunction { + public getKeyRecordTime() { + super("getKeyRecordTime"); } - public countKeyTimestr_args getEmptyArgsInstance() { - return new countKeyTimestr_args(); + public getKeyRecordTime_args getEmptyArgsInstance() { + return new getKeyRecordTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyTimestr_result result = new countKeyTimestr_result(); + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + getKeyRecordTime_result result = new getKeyRecordTime_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68416,7 +74203,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyTimestr_result result = new countKeyTimestr_result(); + getKeyRecordTime_result result = new getKeyRecordTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68427,14 +74214,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -68461,32 +74243,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.countKeyTimestr(args.key, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.getKeyRecordTime(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class countKeyCriteria extends - org.apache.thrift.AsyncProcessFunction { - public countKeyCriteria() { - super("countKeyCriteria"); + public static class getKeyRecordTimestr extends + org.apache.thrift.AsyncProcessFunction { + public getKeyRecordTimestr() { + super("getKeyRecordTimestr"); } - public countKeyCriteria_args getEmptyArgsInstance() { - return new countKeyCriteria_args(); + public getKeyRecordTimestr_args getEmptyArgsInstance() { + return new getKeyRecordTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyCriteria_result result = new countKeyCriteria_result(); + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + getKeyRecordTimestr_result result = new getKeyRecordTimestr_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68504,7 +74287,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyCriteria_result result = new countKeyCriteria_result(); + getKeyRecordTimestr_result result = new getKeyRecordTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68515,11 +74298,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -68544,32 +74332,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.countKeyCriteria(args.key, args.criteria, args.creds, - args.transaction, args.environment, resultHandler); + iface.getKeyRecordTimestr(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class countKeyCriteriaTime extends - org.apache.thrift.AsyncProcessFunction { - public countKeyCriteriaTime() { - super("countKeyCriteriaTime"); + public static class getKeysRecord extends + org.apache.thrift.AsyncProcessFunction> { + public getKeysRecord() { + super("getKeysRecord"); } - public countKeyCriteriaTime_args getEmptyArgsInstance() { - return new countKeyCriteriaTime_args(); + public getKeysRecord_args getEmptyArgsInstance() { + return new getKeysRecord_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyCriteriaTime_result result = new countKeyCriteriaTime_result(); + return new AsyncMethodCallback>() { + public void onComplete( + Map o) { + getKeysRecord_result result = new getKeysRecord_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68587,7 +74376,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyCriteriaTime_result result = new countKeyCriteriaTime_result(); + getKeysRecord_result result = new getKeysRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68598,14 +74387,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -68632,34 +74416,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeysRecord_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.countKeyCriteriaTime(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getKeysRecord(args.keys, args.record, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class countKeyCriteriaTimestr - extends - org.apache.thrift.AsyncProcessFunction { - public countKeyCriteriaTimestr() { - super("countKeyCriteriaTimestr"); + public static class getKeysRecordTime extends + org.apache.thrift.AsyncProcessFunction> { + public getKeysRecordTime() { + super("getKeysRecordTime"); } - public countKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new countKeyCriteriaTimestr_args(); + public getKeysRecordTime_args getEmptyArgsInstance() { + return new getKeysRecordTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyCriteriaTimestr_result result = new countKeyCriteriaTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete( + Map o) { + getKeysRecordTime_result result = new getKeysRecordTime_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68677,7 +74459,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyCriteriaTimestr_result result = new countKeyCriteriaTimestr_result(); + getKeysRecordTime_result result = new getKeysRecordTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68688,14 +74470,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -68722,33 +74499,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeysRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.countKeyCriteriaTimestr(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getKeysRecordTime(args.keys, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class countKeyCcl extends - org.apache.thrift.AsyncProcessFunction { - public countKeyCcl() { - super("countKeyCcl"); + public static class getKeysRecordTimestr extends + org.apache.thrift.AsyncProcessFunction> { + public getKeysRecordTimestr() { + super("getKeysRecordTimestr"); } - public countKeyCcl_args getEmptyArgsInstance() { - return new countKeyCcl_args(); + public getKeysRecordTimestr_args getEmptyArgsInstance() { + return new getKeysRecordTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyCcl_result result = new countKeyCcl_result(); + return new AsyncMethodCallback>() { + public void onComplete( + Map o) { + getKeysRecordTimestr_result result = new getKeysRecordTimestr_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68766,7 +74543,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyCcl_result result = new countKeyCcl_result(); + getKeysRecordTimestr_result result = new getKeysRecordTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68811,32 +74588,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyCcl_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeysRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.countKeyCcl(args.key, args.ccl, args.creds, - args.transaction, args.environment, resultHandler); + iface.getKeysRecordTimestr(args.keys, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class countKeyCclTime extends - org.apache.thrift.AsyncProcessFunction { - public countKeyCclTime() { - super("countKeyCclTime"); + public static class getKeysRecords extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysRecords() { + super("getKeysRecords"); } - public countKeyCclTime_args getEmptyArgsInstance() { - return new countKeyCclTime_args(); + public getKeysRecords_args getEmptyArgsInstance() { + return new getKeysRecords_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyCclTime_result result = new countKeyCclTime_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + getKeysRecords_result result = new getKeysRecords_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68854,7 +74632,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyCclTime_result result = new countKeyCclTime_result(); + getKeysRecords_result result = new getKeysRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68865,14 +74643,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -68899,33 +74672,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeysRecords_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.countKeyCclTime(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.getKeysRecords(args.keys, args.records, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class countKeyCclTimestr extends - org.apache.thrift.AsyncProcessFunction { - public countKeyCclTimestr() { - super("countKeyCclTimestr"); + public static class getKeysRecordsOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysRecordsOrder() { + super("getKeysRecordsOrder"); } - public countKeyCclTimestr_args getEmptyArgsInstance() { - return new countKeyCclTimestr_args(); + public getKeysRecordsOrder_args getEmptyArgsInstance() { + return new getKeysRecordsOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - countKeyCclTimestr_result result = new countKeyCclTimestr_result(); + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + getKeysRecordsOrder_result result = new getKeysRecordsOrder_result(); result.success = o; - result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -68943,7 +74715,7 @@ public void onComplete(Long o) { public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - countKeyCclTimestr_result result = new countKeyCclTimestr_result(); + getKeysRecordsOrder_result result = new getKeysRecordsOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -68954,14 +74726,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -68988,32 +74755,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, countKeyCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeysRecordsOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.countKeyCclTimestr(args.key, args.ccl, args.timestamp, + iface.getKeysRecordsOrder(args.keys, args.records, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class maxKeyRecord extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyRecord() { - super("maxKeyRecord"); + public static class getKeyRecords extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyRecords() { + super("getKeyRecords"); } - public maxKeyRecord_args getEmptyArgsInstance() { - return new maxKeyRecord_args(); + public getKeyRecords_args getEmptyArgsInstance() { + return new getKeyRecords_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyRecord_result result = new maxKeyRecord_result(); + Map o) { + getKeyRecords_result result = new getKeyRecords_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69032,7 +74799,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyRecord_result result = new maxKeyRecord_result(); + getKeyRecords_result result = new getKeyRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69072,31 +74839,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyRecords_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.maxKeyRecord(args.key, args.record, args.creds, + iface.getKeyRecords(args.key, args.records, args.creds, args.transaction, args.environment, resultHandler); } } - public static class maxKeyRecordTime extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyRecordTime() { - super("maxKeyRecordTime"); + public static class getKeyRecordsOrder extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyRecordsOrder() { + super("getKeyRecordsOrder"); } - public maxKeyRecordTime_args getEmptyArgsInstance() { - return new maxKeyRecordTime_args(); + public getKeyRecordsOrder_args getEmptyArgsInstance() { + return new getKeyRecordsOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyRecordTime_result result = new maxKeyRecordTime_result(); + Map o) { + getKeyRecordsOrder_result result = new getKeyRecordsOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69115,7 +74882,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyRecordTime_result result = new maxKeyRecordTime_result(); + getKeyRecordsOrder_result result = new getKeyRecordsOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69155,32 +74922,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyRecordsOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.maxKeyRecordTime(args.key, args.record, args.timestamp, + iface.getKeyRecordsOrder(args.key, args.records, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class maxKeyRecordTimestr extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyRecordTimestr() { - super("maxKeyRecordTimestr"); + public static class getKeyRecordsTime extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyRecordsTime() { + super("getKeyRecordsTime"); } - public maxKeyRecordTimestr_args getEmptyArgsInstance() { - return new maxKeyRecordTimestr_args(); + public getKeyRecordsTime_args getEmptyArgsInstance() { + return new getKeyRecordsTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyRecordTimestr_result result = new maxKeyRecordTimestr_result(); + Map o) { + getKeyRecordsTime_result result = new getKeyRecordsTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69199,7 +74966,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyRecordTimestr_result result = new maxKeyRecordTimestr_result(); + getKeyRecordsTime_result result = new getKeyRecordsTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69210,14 +74977,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -69244,32 +75006,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.maxKeyRecordTimestr(args.key, args.record, args.timestamp, + iface.getKeyRecordsTime(args.key, args.records, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class maxKeyRecords extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyRecords() { - super("maxKeyRecords"); + public static class getKeyRecordsTimeOrder extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyRecordsTimeOrder() { + super("getKeyRecordsTimeOrder"); } - public maxKeyRecords_args getEmptyArgsInstance() { - return new maxKeyRecords_args(); + public getKeyRecordsTimeOrder_args getEmptyArgsInstance() { + return new getKeyRecordsTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyRecords_result result = new maxKeyRecords_result(); + Map o) { + getKeyRecordsTimeOrder_result result = new getKeyRecordsTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69288,7 +75050,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyRecords_result result = new maxKeyRecords_result(); + getKeyRecordsTimeOrder_result result = new getKeyRecordsTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69328,31 +75090,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyRecords_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyRecordsTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.maxKeyRecords(args.key, args.records, args.creds, + iface.getKeyRecordsTimeOrder(args.key, args.records, + args.timestamp, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class maxKeyRecordsTime extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyRecordsTime() { - super("maxKeyRecordsTime"); + public static class getKeyRecordsTimestr extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyRecordsTimestr() { + super("getKeyRecordsTimestr"); } - public maxKeyRecordsTime_args getEmptyArgsInstance() { - return new maxKeyRecordsTime_args(); + public getKeyRecordsTimestr_args getEmptyArgsInstance() { + return new getKeyRecordsTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyRecordsTime_result result = new maxKeyRecordsTime_result(); + Map o) { + getKeyRecordsTimestr_result result = new getKeyRecordsTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69371,7 +75134,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyRecordsTime_result result = new maxKeyRecordsTime_result(); + getKeyRecordsTimestr_result result = new getKeyRecordsTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69382,11 +75145,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -69411,32 +75179,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.maxKeyRecordsTime(args.key, args.records, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.getKeyRecordsTimestr(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class maxKeyRecordsTimestr extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyRecordsTimestr() { - super("maxKeyRecordsTimestr"); + public static class getKeyRecordsTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyRecordsTimestrOrder() { + super("getKeyRecordsTimestrOrder"); } - public maxKeyRecordsTimestr_args getEmptyArgsInstance() { - return new maxKeyRecordsTimestr_args(); + public getKeyRecordsTimestrOrder_args getEmptyArgsInstance() { + return new getKeyRecordsTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyRecordsTimestr_result result = new maxKeyRecordsTimestr_result(); + Map o) { + getKeyRecordsTimestrOrder_result result = new getKeyRecordsTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69455,7 +75224,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyRecordsTimestr_result result = new maxKeyRecordsTimestr_result(); + getKeyRecordsTimestrOrder_result result = new getKeyRecordsTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69500,32 +75269,117 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyRecordsTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.maxKeyRecordsTimestr(args.key, args.records, + iface.getKeyRecordsTimestrOrder(args.key, args.records, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class getKeysRecordsTime extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysRecordsTime() { + super("getKeysRecordsTime"); + } + + public getKeysRecordsTime_args getEmptyArgsInstance() { + return new getKeysRecordsTime_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + getKeysRecordsTime_result result = new getKeysRecordsTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getKeysRecordsTime_result result = new getKeysRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, getKeysRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.getKeysRecordsTime(args.keys, args.records, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class maxKeyCriteria extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyCriteria() { - super("maxKeyCriteria"); + public static class getKeysRecordsTimeOrder + extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysRecordsTimeOrder() { + super("getKeysRecordsTimeOrder"); } - public maxKeyCriteria_args getEmptyArgsInstance() { - return new maxKeyCriteria_args(); + public getKeysRecordsTimeOrder_args getEmptyArgsInstance() { + return new getKeysRecordsTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyCriteria_result result = new maxKeyCriteria_result(); + Map> o) { + getKeysRecordsTimeOrder_result result = new getKeysRecordsTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69544,7 +75398,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyCriteria_result result = new maxKeyCriteria_result(); + getKeysRecordsTimeOrder_result result = new getKeysRecordsTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69584,31 +75438,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeysRecordsTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.maxKeyCriteria(args.key, args.criteria, args.creds, + iface.getKeysRecordsTimeOrder(args.keys, args.records, + args.timestamp, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class maxKeyCriteriaTime extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyCriteriaTime() { - super("maxKeyCriteriaTime"); + public static class getKeysRecordsTimestr extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysRecordsTimestr() { + super("getKeysRecordsTimestr"); } - public maxKeyCriteriaTime_args getEmptyArgsInstance() { - return new maxKeyCriteriaTime_args(); + public getKeysRecordsTimestr_args getEmptyArgsInstance() { + return new getKeysRecordsTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyCriteriaTime_result result = new maxKeyCriteriaTime_result(); + Map> o) { + getKeysRecordsTimestr_result result = new getKeysRecordsTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69627,7 +75482,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyCriteriaTime_result result = new maxKeyCriteriaTime_result(); + getKeysRecordsTimestr_result result = new getKeysRecordsTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69638,11 +75493,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -69667,32 +75527,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeysRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.maxKeyCriteriaTime(args.key, args.criteria, + iface.getKeysRecordsTimestr(args.keys, args.records, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class maxKeyCriteriaTimestr extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyCriteriaTimestr() { - super("maxKeyCriteriaTimestr"); + public static class getKeysRecordsTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysRecordsTimestrOrder() { + super("getKeysRecordsTimestrOrder"); } - public maxKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new maxKeyCriteriaTimestr_args(); + public getKeysRecordsTimestrOrder_args getEmptyArgsInstance() { + return new getKeysRecordsTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyCriteriaTimestr_result result = new maxKeyCriteriaTimestr_result(); + Map> o) { + getKeysRecordsTimestrOrder_result result = new getKeysRecordsTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69711,7 +75572,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyCriteriaTimestr_result result = new maxKeyCriteriaTimestr_result(); + getKeysRecordsTimestrOrder_result result = new getKeysRecordsTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69756,32 +75617,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeysRecordsTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.maxKeyCriteriaTimestr(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getKeysRecordsTimestrOrder(args.keys, args.records, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class maxKeyCcl extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyCcl() { - super("maxKeyCcl"); + public static class getKeyCriteria extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCriteria() { + super("getKeyCriteria"); } - public maxKeyCcl_args getEmptyArgsInstance() { - return new maxKeyCcl_args(); + public getKeyCriteria_args getEmptyArgsInstance() { + return new getKeyCriteria_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyCcl_result result = new maxKeyCcl_result(); + Map o) { + getKeyCriteria_result result = new getKeyCriteria_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69800,7 +75661,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyCcl_result result = new maxKeyCcl_result(); + getKeyCriteria_result result = new getKeyCriteria_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69811,14 +75672,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -69845,31 +75701,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyCcl_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.maxKeyCcl(args.key, args.ccl, args.creds, + iface.getKeyCriteria(args.key, args.criteria, args.creds, args.transaction, args.environment, resultHandler); } } - public static class maxKeyCclTime extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyCclTime() { - super("maxKeyCclTime"); + public static class getKeyCriteriaOrder extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCriteriaOrder() { + super("getKeyCriteriaOrder"); } - public maxKeyCclTime_args getEmptyArgsInstance() { - return new maxKeyCclTime_args(); + public getKeyCriteriaOrder_args getEmptyArgsInstance() { + return new getKeyCriteriaOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyCclTime_result result = new maxKeyCclTime_result(); + Map o) { + getKeyCriteriaOrder_result result = new getKeyCriteriaOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69888,7 +75744,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyCclTime_result result = new maxKeyCclTime_result(); + getKeyCriteriaOrder_result result = new getKeyCriteriaOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69899,14 +75755,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -69933,32 +75784,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyCriteriaOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.maxKeyCclTime(args.key, args.ccl, args.timestamp, + iface.getKeyCriteriaOrder(args.key, args.criteria, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class maxKeyCclTimestr extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyCclTimestr() { - super("maxKeyCclTimestr"); + public static class getCriteria extends + org.apache.thrift.AsyncProcessFunction>> { + public getCriteria() { + super("getCriteria"); } - public maxKeyCclTimestr_args getEmptyArgsInstance() { - return new maxKeyCclTimestr_args(); + public getCriteria_args getEmptyArgsInstance() { + return new getCriteria_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyCclTimestr_result result = new maxKeyCclTimestr_result(); + Map> o) { + getCriteria_result result = new getCriteria_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -69977,7 +75828,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyCclTimestr_result result = new maxKeyCclTimestr_result(); + getCriteria_result result = new getCriteria_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -69988,14 +75839,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -70022,32 +75868,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.maxKeyCclTimestr(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.getCriteria(args.criteria, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class maxKey extends - org.apache.thrift.AsyncProcessFunction { - public maxKey() { - super("maxKey"); + public static class getCriteriaOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public getCriteriaOrder() { + super("getCriteriaOrder"); } - public maxKey_args getEmptyArgsInstance() { - return new maxKey_args(); + public getCriteriaOrder_args getEmptyArgsInstance() { + return new getCriteriaOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKey_result result = new maxKey_result(); + Map> o) { + getCriteriaOrder_result result = new getCriteriaOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70066,7 +75911,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKey_result result = new maxKey_result(); + getCriteriaOrder_result result = new getCriteriaOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70106,31 +75951,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKey_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCriteriaOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.maxKey(args.key, args.creds, args.transaction, - args.environment, resultHandler); + iface.getCriteriaOrder(args.criteria, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class maxKeyTime extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyTime() { - super("maxKeyTime"); + public static class getCcl extends + org.apache.thrift.AsyncProcessFunction>> { + public getCcl() { + super("getCcl"); } - public maxKeyTime_args getEmptyArgsInstance() { - return new maxKeyTime_args(); + public getCcl_args getEmptyArgsInstance() { + return new getCcl_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyTime_result result = new maxKeyTime_result(); + Map> o) { + getCcl_result result = new getCcl_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70149,7 +75994,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyTime_result result = new maxKeyTime_result(); + getCcl_result result = new getCcl_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70160,11 +76005,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -70189,31 +76039,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCcl_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.maxKeyTime(args.key, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.getCcl(args.ccl, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class maxKeyTimestr extends - org.apache.thrift.AsyncProcessFunction { - public maxKeyTimestr() { - super("maxKeyTimestr"); + public static class getCclOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public getCclOrder() { + super("getCclOrder"); } - public maxKeyTimestr_args getEmptyArgsInstance() { - return new maxKeyTimestr_args(); + public getCclOrder_args getEmptyArgsInstance() { + return new getCclOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - maxKeyTimestr_result result = new maxKeyTimestr_result(); + Map> o) { + getCclOrder_result result = new getCclOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70232,7 +76082,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - maxKeyTimestr_result result = new maxKeyTimestr_result(); + getCclOrder_result result = new getCclOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70277,31 +76127,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, maxKeyTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCclOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.maxKeyTimestr(args.key, args.timestamp, args.creds, + iface.getCclOrder(args.ccl, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class minKeyRecord extends - org.apache.thrift.AsyncProcessFunction { - public minKeyRecord() { - super("minKeyRecord"); + public static class getCriteriaTime extends + org.apache.thrift.AsyncProcessFunction>> { + public getCriteriaTime() { + super("getCriteriaTime"); } - public minKeyRecord_args getEmptyArgsInstance() { - return new minKeyRecord_args(); + public getCriteriaTime_args getEmptyArgsInstance() { + return new getCriteriaTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyRecord_result result = new minKeyRecord_result(); + Map> o) { + getCriteriaTime_result result = new getCriteriaTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70320,7 +76170,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyRecord_result result = new minKeyRecord_result(); + getCriteriaTime_result result = new getCriteriaTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70360,31 +76210,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.minKeyRecord(args.key, args.record, args.creds, + iface.getCriteriaTime(args.criteria, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class minKeyRecordTime extends - org.apache.thrift.AsyncProcessFunction { - public minKeyRecordTime() { - super("minKeyRecordTime"); + public static class getCriteriaTimeOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public getCriteriaTimeOrder() { + super("getCriteriaTimeOrder"); } - public minKeyRecordTime_args getEmptyArgsInstance() { - return new minKeyRecordTime_args(); + public getCriteriaTimeOrder_args getEmptyArgsInstance() { + return new getCriteriaTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyRecordTime_result result = new minKeyRecordTime_result(); + Map> o) { + getCriteriaTimeOrder_result result = new getCriteriaTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70403,7 +76253,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyRecordTime_result result = new minKeyRecordTime_result(); + getCriteriaTimeOrder_result result = new getCriteriaTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70443,32 +76293,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCriteriaTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.minKeyRecordTime(args.key, args.record, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.getCriteriaTimeOrder(args.criteria, args.timestamp, + args.order, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class minKeyRecordTimestr extends - org.apache.thrift.AsyncProcessFunction { - public minKeyRecordTimestr() { - super("minKeyRecordTimestr"); + public static class getCriteriaTimestr extends + org.apache.thrift.AsyncProcessFunction>> { + public getCriteriaTimestr() { + super("getCriteriaTimestr"); } - public minKeyRecordTimestr_args getEmptyArgsInstance() { - return new minKeyRecordTimestr_args(); + public getCriteriaTimestr_args getEmptyArgsInstance() { + return new getCriteriaTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyRecordTimestr_result result = new minKeyRecordTimestr_result(); + Map> o) { + getCriteriaTimestr_result result = new getCriteriaTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70487,7 +76337,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyRecordTimestr_result result = new minKeyRecordTimestr_result(); + getCriteriaTimestr_result result = new getCriteriaTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70532,32 +76382,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.minKeyRecordTimestr(args.key, args.record, args.timestamp, + iface.getCriteriaTimestr(args.criteria, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class minKey extends - org.apache.thrift.AsyncProcessFunction { - public minKey() { - super("minKey"); + public static class getCriteriaTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction>> { + public getCriteriaTimestrOrder() { + super("getCriteriaTimestrOrder"); } - public minKey_args getEmptyArgsInstance() { - return new minKey_args(); + public getCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new getCriteriaTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKey_result result = new minKey_result(); + Map> o) { + getCriteriaTimestrOrder_result result = new getCriteriaTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70576,7 +76427,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKey_result result = new minKey_result(); + getCriteriaTimestrOrder_result result = new getCriteriaTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70587,11 +76438,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -70616,31 +76472,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKey_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCriteriaTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.minKey(args.key, args.creds, args.transaction, + iface.getCriteriaTimestrOrder(args.criteria, args.timestamp, + args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class minKeyRecordsTime extends - org.apache.thrift.AsyncProcessFunction { - public minKeyRecordsTime() { - super("minKeyRecordsTime"); + public static class getCclTime extends + org.apache.thrift.AsyncProcessFunction>> { + public getCclTime() { + super("getCclTime"); } - public minKeyRecordsTime_args getEmptyArgsInstance() { - return new minKeyRecordsTime_args(); + public getCclTime_args getEmptyArgsInstance() { + return new getCclTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyRecordsTime_result result = new minKeyRecordsTime_result(); + Map> o) { + getCclTime_result result = new getCclTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70659,7 +76516,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyRecordsTime_result result = new minKeyRecordsTime_result(); + getCclTime_result result = new getCclTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70670,11 +76527,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -70699,32 +76561,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.minKeyRecordsTime(args.key, args.records, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.getCclTime(args.ccl, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class minKeyRecordsTimestr extends - org.apache.thrift.AsyncProcessFunction { - public minKeyRecordsTimestr() { - super("minKeyRecordsTimestr"); + public static class getCclTimeOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public getCclTimeOrder() { + super("getCclTimeOrder"); } - public minKeyRecordsTimestr_args getEmptyArgsInstance() { - return new minKeyRecordsTimestr_args(); + public getCclTimeOrder_args getEmptyArgsInstance() { + return new getCclTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyRecordsTimestr_result result = new minKeyRecordsTimestr_result(); + Map> o) { + getCclTimeOrder_result result = new getCclTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70743,7 +76604,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyRecordsTimestr_result result = new minKeyRecordsTimestr_result(); + getCclTimeOrder_result result = new getCclTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70788,32 +76649,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCclTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.minKeyRecordsTimestr(args.key, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getCclTimeOrder(args.ccl, args.timestamp, args.order, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class minKeyCriteria extends - org.apache.thrift.AsyncProcessFunction { - public minKeyCriteria() { - super("minKeyCriteria"); + public static class getCclTimestr extends + org.apache.thrift.AsyncProcessFunction>> { + public getCclTimestr() { + super("getCclTimestr"); } - public minKeyCriteria_args getEmptyArgsInstance() { - return new minKeyCriteria_args(); + public getCclTimestr_args getEmptyArgsInstance() { + return new getCclTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyCriteria_result result = new minKeyCriteria_result(); + Map> o) { + getCclTimestr_result result = new getCclTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70832,7 +76693,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyCriteria_result result = new minKeyCriteria_result(); + getCclTimestr_result result = new getCclTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70843,11 +76704,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -70872,31 +76738,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.minKeyCriteria(args.key, args.criteria, args.creds, + iface.getCclTimestr(args.ccl, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class minKeyCriteriaTime extends - org.apache.thrift.AsyncProcessFunction { - public minKeyCriteriaTime() { - super("minKeyCriteriaTime"); + public static class getCclTimestrOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public getCclTimestrOrder() { + super("getCclTimestrOrder"); } - public minKeyCriteriaTime_args getEmptyArgsInstance() { - return new minKeyCriteriaTime_args(); + public getCclTimestrOrder_args getEmptyArgsInstance() { + return new getCclTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyCriteriaTime_result result = new minKeyCriteriaTime_result(); + Map> o) { + getCclTimestrOrder_result result = new getCclTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70915,7 +76781,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyCriteriaTime_result result = new minKeyCriteriaTime_result(); + getCclTimestrOrder_result result = new getCclTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -70926,11 +76792,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -70955,32 +76826,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getCclTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.minKeyCriteriaTime(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getCclTimestrOrder(args.ccl, args.timestamp, args.order, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class minKeyCriteriaTimestr extends - org.apache.thrift.AsyncProcessFunction { - public minKeyCriteriaTimestr() { - super("minKeyCriteriaTimestr"); + public static class getKeyCcl extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCcl() { + super("getKeyCcl"); } - public minKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new minKeyCriteriaTimestr_args(); + public getKeyCcl_args getEmptyArgsInstance() { + return new getKeyCcl_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyCriteriaTimestr_result result = new minKeyCriteriaTimestr_result(); + Map o) { + getKeyCcl_result result = new getKeyCcl_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -70999,7 +76870,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyCriteriaTimestr_result result = new minKeyCriteriaTimestr_result(); + getKeyCcl_result result = new getKeyCcl_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71044,32 +76915,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyCcl_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.minKeyCriteriaTimestr(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getKeyCcl(args.key, args.ccl, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class minKeyCcl extends - org.apache.thrift.AsyncProcessFunction { - public minKeyCcl() { - super("minKeyCcl"); + public static class getKeyCclOrder extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCclOrder() { + super("getKeyCclOrder"); } - public minKeyCcl_args getEmptyArgsInstance() { - return new minKeyCcl_args(); + public getKeyCclOrder_args getEmptyArgsInstance() { + return new getKeyCclOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyCcl_result result = new minKeyCcl_result(); + Map o) { + getKeyCclOrder_result result = new getKeyCclOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71088,7 +76958,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyCcl_result result = new minKeyCcl_result(); + getKeyCclOrder_result result = new getKeyCclOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71133,31 +77003,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyCcl_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyCclOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.minKeyCcl(args.key, args.ccl, args.creds, + iface.getKeyCclOrder(args.key, args.ccl, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class minKeyCclTime extends - org.apache.thrift.AsyncProcessFunction { - public minKeyCclTime() { - super("minKeyCclTime"); + public static class getKeyCriteriaTime extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCriteriaTime() { + super("getKeyCriteriaTime"); } - public minKeyCclTime_args getEmptyArgsInstance() { - return new minKeyCclTime_args(); + public getKeyCriteriaTime_args getEmptyArgsInstance() { + return new getKeyCriteriaTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyCclTime_result result = new minKeyCclTime_result(); + Map o) { + getKeyCriteriaTime_result result = new getKeyCriteriaTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71176,7 +77046,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyCclTime_result result = new minKeyCclTime_result(); + getKeyCriteriaTime_result result = new getKeyCriteriaTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71187,14 +77057,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -71221,32 +77086,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.minKeyCclTime(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.getKeyCriteriaTime(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class minKeyCclTimestr extends - org.apache.thrift.AsyncProcessFunction { - public minKeyCclTimestr() { - super("minKeyCclTimestr"); + public static class getKeyCriteriaTimeOrder + extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCriteriaTimeOrder() { + super("getKeyCriteriaTimeOrder"); } - public minKeyCclTimestr_args getEmptyArgsInstance() { - return new minKeyCclTimestr_args(); + public getKeyCriteriaTimeOrder_args getEmptyArgsInstance() { + return new getKeyCriteriaTimeOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyCclTimestr_result result = new minKeyCclTimestr_result(); + Map o) { + getKeyCriteriaTimeOrder_result result = new getKeyCriteriaTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71265,7 +77131,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyCclTimestr_result result = new minKeyCclTimestr_result(); + getKeyCriteriaTimeOrder_result result = new getKeyCriteriaTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71276,14 +77142,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -71310,32 +77171,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyCriteriaTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.minKeyCclTimestr(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.getKeyCriteriaTimeOrder(args.key, args.criteria, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class minKeyTime extends - org.apache.thrift.AsyncProcessFunction { - public minKeyTime() { - super("minKeyTime"); + public static class getKeyCriteriaTimestr extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCriteriaTimestr() { + super("getKeyCriteriaTimestr"); } - public minKeyTime_args getEmptyArgsInstance() { - return new minKeyTime_args(); + public getKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new getKeyCriteriaTimestr_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyTime_result result = new minKeyTime_result(); + Map o) { + getKeyCriteriaTimestr_result result = new getKeyCriteriaTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71354,7 +77215,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyTime_result result = new minKeyTime_result(); + getKeyCriteriaTimestr_result result = new getKeyCriteriaTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71365,11 +77226,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -71394,31 +77260,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyTime_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.minKeyTime(args.key, args.timestamp, args.creds, - args.transaction, args.environment, resultHandler); + iface.getKeyCriteriaTimestr(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class minKeyTimestr extends - org.apache.thrift.AsyncProcessFunction { - public minKeyTimestr() { - super("minKeyTimestr"); + public static class getKeyCriteriaTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCriteriaTimestrOrder() { + super("getKeyCriteriaTimestrOrder"); } - public minKeyTimestr_args getEmptyArgsInstance() { - return new minKeyTimestr_args(); + public getKeyCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new getKeyCriteriaTimestrOrder_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyTimestr_result result = new minKeyTimestr_result(); + Map o) { + getKeyCriteriaTimestrOrder_result result = new getKeyCriteriaTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71437,7 +77305,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyTimestr_result result = new minKeyTimestr_result(); + getKeyCriteriaTimestrOrder_result result = new getKeyCriteriaTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71482,31 +77350,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyCriteriaTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.minKeyTimestr(args.key, args.timestamp, args.creds, + iface.getKeyCriteriaTimestrOrder(args.key, args.criteria, + args.timestamp, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class minKeyRecords extends - org.apache.thrift.AsyncProcessFunction { - public minKeyRecords() { - super("minKeyRecords"); + public static class getKeyCclTime extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCclTime() { + super("getKeyCclTime"); } - public minKeyRecords_args getEmptyArgsInstance() { - return new minKeyRecords_args(); + public getKeyCclTime_args getEmptyArgsInstance() { + return new getKeyCclTime_args(); } - public AsyncMethodCallback getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { + return new AsyncMethodCallback>() { public void onComplete( - com.cinchapi.concourse.thrift.TObject o) { - minKeyRecords_result result = new minKeyRecords_result(); + Map o) { + getKeyCclTime_result result = new getKeyCclTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71525,7 +77394,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - minKeyRecords_result result = new minKeyRecords_result(); + getKeyCclTime_result result = new getKeyCclTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71536,11 +77405,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -71565,31 +77439,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, minKeyRecords_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) + public void start(I iface, getKeyCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.minKeyRecords(args.key, args.records, args.creds, - args.transaction, args.environment, resultHandler); + iface.getKeyCclTime(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class navigateKeyRecord extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyRecord() { - super("navigateKeyRecord"); + public static class getKeyCclTimeOrder extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCclTimeOrder() { + super("getKeyCclTimeOrder"); } - public navigateKeyRecord_args getEmptyArgsInstance() { - return new navigateKeyRecord_args(); + public getKeyCclTimeOrder_args getEmptyArgsInstance() { + return new getKeyCclTimeOrder_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>() { public void onComplete( - Map> o) { - navigateKeyRecord_result result = new navigateKeyRecord_result(); + Map o) { + getKeyCclTimeOrder_result result = new getKeyCclTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71608,7 +77483,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyRecord_result result = new navigateKeyRecord_result(); + getKeyCclTimeOrder_result result = new getKeyCclTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71619,11 +77494,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -71648,31 +77528,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyRecord_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, getKeyCclTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.navigateKeyRecord(args.key, args.record, args.creds, - args.transaction, args.environment, resultHandler); + iface.getKeyCclTimeOrder(args.key, args.ccl, args.timestamp, + args.order, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class navigateKeyRecordTime extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyRecordTime() { - super("navigateKeyRecordTime"); + public static class getKeyCclTimestr extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCclTimestr() { + super("getKeyCclTimestr"); } - public navigateKeyRecordTime_args getEmptyArgsInstance() { - return new navigateKeyRecordTime_args(); + public getKeyCclTimestr_args getEmptyArgsInstance() { + return new getKeyCclTimestr_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>() { public void onComplete( - Map> o) { - navigateKeyRecordTime_result result = new navigateKeyRecordTime_result(); + Map o) { + getKeyCclTimestr_result result = new getKeyCclTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71691,7 +77572,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyRecordTime_result result = new navigateKeyRecordTime_result(); + getKeyCclTimestr_result result = new getKeyCclTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71702,11 +77583,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -71731,33 +77617,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, getKeyCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.navigateKeyRecordTime(args.key, args.record, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getKeyCclTimestr(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class navigateKeyRecordTimestr - extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyRecordTimestr() { - super("navigateKeyRecordTimestr"); + public static class getKeyCclTimestrOrder extends + org.apache.thrift.AsyncProcessFunction> { + public getKeyCclTimestrOrder() { + super("getKeyCclTimestrOrder"); } - public navigateKeyRecordTimestr_args getEmptyArgsInstance() { - return new navigateKeyRecordTimestr_args(); + public getKeyCclTimestrOrder_args getEmptyArgsInstance() { + return new getKeyCclTimestrOrder_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>() { public void onComplete( - Map> o) { - navigateKeyRecordTimestr_result result = new navigateKeyRecordTimestr_result(); + Map o) { + getKeyCclTimestrOrder_result result = new getKeyCclTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71776,7 +77661,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyRecordTimestr_result result = new navigateKeyRecordTimestr_result(); + getKeyCclTimestrOrder_result result = new getKeyCclTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71821,32 +77706,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, getKeyCclTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.navigateKeyRecordTimestr(args.key, args.record, - args.timestamp, args.creds, args.transaction, + iface.getKeyCclTimestrOrder(args.key, args.ccl, args.timestamp, + args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class navigateKeysRecord extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysRecord() { - super("navigateKeysRecord"); + public static class getKeysCriteria extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCriteria() { + super("getKeysCriteria"); } - public navigateKeysRecord_args getEmptyArgsInstance() { - return new navigateKeysRecord_args(); + public getKeysCriteria_args getEmptyArgsInstance() { + return new getKeysCriteria_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map>> o) { - navigateKeysRecord_result result = new navigateKeysRecord_result(); + Map> o) { + getKeysCriteria_result result = new getKeysCriteria_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71865,7 +77750,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeysRecord_result result = new navigateKeysRecord_result(); + getKeysCriteria_result result = new getKeysCriteria_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71905,31 +77790,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeysRecord_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, getKeysCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeysRecord(args.keys, args.record, args.creds, + iface.getKeysCriteria(args.keys, args.criteria, args.creds, args.transaction, args.environment, resultHandler); } } - public static class navigateKeysRecordTime extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysRecordTime() { - super("navigateKeysRecordTime"); + public static class getKeysCriteriaOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCriteriaOrder() { + super("getKeysCriteriaOrder"); } - public navigateKeysRecordTime_args getEmptyArgsInstance() { - return new navigateKeysRecordTime_args(); + public getKeysCriteriaOrder_args getEmptyArgsInstance() { + return new getKeysCriteriaOrder_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map>> o) { - navigateKeysRecordTime_result result = new navigateKeysRecordTime_result(); + Map> o) { + getKeysCriteriaOrder_result result = new getKeysCriteriaOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -71948,7 +77833,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeysRecordTime_result result = new navigateKeysRecordTime_result(); + getKeysCriteriaOrder_result result = new getKeysCriteriaOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -71988,33 +77873,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeysRecordTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, getKeysCriteriaOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeysRecordTime(args.keys, args.record, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getKeysCriteriaOrder(args.keys, args.criteria, args.order, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class navigateKeysRecordTimestr - extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysRecordTimestr() { - super("navigateKeysRecordTimestr"); + public static class getKeysCcl extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCcl() { + super("getKeysCcl"); } - public navigateKeysRecordTimestr_args getEmptyArgsInstance() { - return new navigateKeysRecordTimestr_args(); + public getKeysCcl_args getEmptyArgsInstance() { + return new getKeysCcl_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map>> o) { - navigateKeysRecordTimestr_result result = new navigateKeysRecordTimestr_result(); + Map> o) { + getKeysCcl_result result = new getKeysCcl_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -72033,7 +77917,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeysRecordTimestr_result result = new navigateKeysRecordTimestr_result(); + getKeysCcl_result result = new getKeysCcl_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72078,32 +77962,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeysRecordTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, getKeysCcl_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeysRecordTimestr(args.keys, args.record, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getKeysCcl(args.keys, args.ccl, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class navigateKeysRecords extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysRecords() { - super("navigateKeysRecords"); + public static class getKeysCclOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCclOrder() { + super("getKeysCclOrder"); } - public navigateKeysRecords_args getEmptyArgsInstance() { - return new navigateKeysRecords_args(); + public getKeysCclOrder_args getEmptyArgsInstance() { + return new getKeysCclOrder_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map>> o) { - navigateKeysRecords_result result = new navigateKeysRecords_result(); + Map> o) { + getKeysCclOrder_result result = new getKeysCclOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -72122,7 +78005,96 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeysRecords_result result = new navigateKeysRecords_result(); + getKeysCclOrder_result result = new getKeysCclOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, getKeysCclOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.getKeysCclOrder(args.keys, args.ccl, args.order, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class getKeysCriteriaTime extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCriteriaTime() { + super("getKeysCriteriaTime"); + } + + public getKeysCriteriaTime_args getEmptyArgsInstance() { + return new getKeysCriteriaTime_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + getKeysCriteriaTime_result result = new getKeysCriteriaTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getKeysCriteriaTime_result result = new getKeysCriteriaTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72162,31 +78134,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeysRecords_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, getKeysCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeysRecords(args.keys, args.records, args.creds, - args.transaction, args.environment, resultHandler); + iface.getKeysCriteriaTime(args.keys, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); } } - public static class navigateKeyRecords extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyRecords() { - super("navigateKeyRecords"); + public static class getKeysCriteriaTimeOrder + extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCriteriaTimeOrder() { + super("getKeysCriteriaTimeOrder"); } - public navigateKeyRecords_args getEmptyArgsInstance() { - return new navigateKeyRecords_args(); + public getKeysCriteriaTimeOrder_args getEmptyArgsInstance() { + return new getKeysCriteriaTimeOrder_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map> o) { - navigateKeyRecords_result result = new navigateKeyRecords_result(); + Map> o) { + getKeysCriteriaTimeOrder_result result = new getKeysCriteriaTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -72205,7 +78179,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyRecords_result result = new navigateKeyRecords_result(); + getKeysCriteriaTimeOrder_result result = new getKeysCriteriaTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72245,31 +78219,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyRecords_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, getKeysCriteriaTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeyRecords(args.key, args.records, args.creds, + iface.getKeysCriteriaTimeOrder(args.keys, args.criteria, + args.timestamp, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class navigateKeyRecordsTime extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyRecordsTime() { - super("navigateKeyRecordsTime"); + public static class getKeysCriteriaTimestr extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCriteriaTimestr() { + super("getKeysCriteriaTimestr"); } - public navigateKeyRecordsTime_args getEmptyArgsInstance() { - return new navigateKeyRecordsTime_args(); + public getKeysCriteriaTimestr_args getEmptyArgsInstance() { + return new getKeysCriteriaTimestr_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map> o) { - navigateKeyRecordsTime_result result = new navigateKeyRecordsTime_result(); + Map> o) { + getKeysCriteriaTimestr_result result = new getKeysCriteriaTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -72288,7 +78263,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyRecordsTime_result result = new navigateKeyRecordsTime_result(); + getKeysCriteriaTimestr_result result = new getKeysCriteriaTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72299,11 +78274,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -72328,33 +78308,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, getKeysCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeyRecordsTime(args.key, args.records, + iface.getKeysCriteriaTimestr(args.keys, args.criteria, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class navigateKeyRecordsTimestr + public static class getKeysCriteriaTimestrOrder extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyRecordsTimestr() { - super("navigateKeyRecordsTimestr"); + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCriteriaTimestrOrder() { + super("getKeysCriteriaTimestrOrder"); } - public navigateKeyRecordsTimestr_args getEmptyArgsInstance() { - return new navigateKeyRecordsTimestr_args(); + public getKeysCriteriaTimestrOrder_args getEmptyArgsInstance() { + return new getKeysCriteriaTimestrOrder_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map> o) { - navigateKeyRecordsTimestr_result result = new navigateKeyRecordsTimestr_result(); + Map> o) { + getKeysCriteriaTimestrOrder_result result = new getKeysCriteriaTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -72373,7 +78353,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyRecordsTimestr_result result = new navigateKeyRecordsTimestr_result(); + getKeysCriteriaTimestrOrder_result result = new getKeysCriteriaTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72418,33 +78398,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, getKeysCriteriaTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeyRecordsTimestr(args.key, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getKeysCriteriaTimestrOrder(args.keys, args.criteria, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class navigateKeysRecordsTime - extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysRecordsTime() { - super("navigateKeysRecordsTime"); + public static class getKeysCclTime extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCclTime() { + super("getKeysCclTime"); } - public navigateKeysRecordsTime_args getEmptyArgsInstance() { - return new navigateKeysRecordsTime_args(); + public getKeysCclTime_args getEmptyArgsInstance() { + return new getKeysCclTime_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map>> o) { - navigateKeysRecordsTime_result result = new navigateKeysRecordsTime_result(); + Map> o) { + getKeysCclTime_result result = new getKeysCclTime_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -72463,7 +78442,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeysRecordsTime_result result = new navigateKeysRecordsTime_result(); + getKeysCclTime_result result = new getKeysCclTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72474,11 +78453,16 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; result.setEx3IsSet(true); msg = result; } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( @@ -72503,33 +78487,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeysRecordsTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, getKeysCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeysRecordsTime(args.keys, args.records, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + iface.getKeysCclTime(args.keys, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class navigateKeysRecordsTimestr - extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysRecordsTimestr() { - super("navigateKeysRecordsTimestr"); + public static class getKeysCclTimeOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCclTimeOrder() { + super("getKeysCclTimeOrder"); } - public navigateKeysRecordsTimestr_args getEmptyArgsInstance() { - return new navigateKeysRecordsTimestr_args(); + public getKeysCclTimeOrder_args getEmptyArgsInstance() { + return new getKeysCclTimeOrder_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map>> o) { - navigateKeysRecordsTimestr_result result = new navigateKeysRecordsTimestr_result(); + Map> o) { + getKeysCclTimeOrder_result result = new getKeysCclTimeOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -72548,7 +78531,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeysRecordsTimestr_result result = new navigateKeysRecordsTimestr_result(); + getKeysCclTimeOrder_result result = new getKeysCclTimeOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72593,32 +78576,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeysRecordsTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, getKeysCclTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeysRecordsTimestr(args.keys, args.records, - args.timestamp, args.creds, args.transaction, + iface.getKeysCclTimeOrder(args.keys, args.ccl, args.timestamp, + args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class navigateKeyCcl extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyCcl() { - super("navigateKeyCcl"); + public static class getKeysCclTimestr extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCclTimestr() { + super("getKeysCclTimestr"); } - public navigateKeyCcl_args getEmptyArgsInstance() { - return new navigateKeyCcl_args(); + public getKeysCclTimestr_args getEmptyArgsInstance() { + return new getKeysCclTimestr_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map> o) { - navigateKeyCcl_result result = new navigateKeyCcl_result(); + Map> o) { + getKeysCclTimestr_result result = new getKeysCclTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -72637,7 +78620,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyCcl_result result = new navigateKeyCcl_result(); + getKeysCclTimestr_result result = new getKeysCclTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72682,31 +78665,32 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyCcl_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, getKeysCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeyCcl(args.key, args.ccl, args.creds, - args.transaction, args.environment, resultHandler); + iface.getKeysCclTimestr(args.keys, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); } } - public static class navigateKeyCclTime extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyCclTime() { - super("navigateKeyCclTime"); + public static class getKeysCclTimestrOrder extends + org.apache.thrift.AsyncProcessFunction>> { + public getKeysCclTimestrOrder() { + super("getKeysCclTimestrOrder"); } - public navigateKeyCclTime_args getEmptyArgsInstance() { - return new navigateKeyCclTime_args(); + public getKeysCclTimestrOrder_args getEmptyArgsInstance() { + return new getKeysCclTimestrOrder_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback>> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { + return new AsyncMethodCallback>>() { public void onComplete( - Map> o) { - navigateKeyCclTime_result result = new navigateKeyCclTime_result(); + Map> o) { + getKeysCclTimestrOrder_result result = new getKeysCclTimestrOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -72725,7 +78709,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyCclTime_result result = new navigateKeyCclTime_result(); + getKeysCclTimestrOrder_result result = new getKeysCclTimestrOrder_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72770,33 +78754,33 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, getKeysCclTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) throws TException { - iface.navigateKeyCclTime(args.key, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.getKeysCclTimestrOrder(args.keys, args.ccl, + args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class navigateKeyCclTimestr extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyCclTimestr() { - super("navigateKeyCclTimestr"); + public static class verifyKeyValueRecord extends + org.apache.thrift.AsyncProcessFunction { + public verifyKeyValueRecord() { + super("verifyKeyValueRecord"); } - public navigateKeyCclTimestr_args getEmptyArgsInstance() { - return new navigateKeyCclTimestr_args(); + public verifyKeyValueRecord_args getEmptyArgsInstance() { + return new verifyKeyValueRecord_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - navigateKeyCclTimestr_result result = new navigateKeyCclTimestr_result(); + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + verifyKeyValueRecord_result result = new verifyKeyValueRecord_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -72814,7 +78798,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyCclTimestr_result result = new navigateKeyCclTimestr_result(); + verifyKeyValueRecord_result result = new verifyKeyValueRecord_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72825,14 +78809,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -72859,33 +78838,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, verifyKeyValueRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.navigateKeyCclTimestr(args.key, args.ccl, args.timestamp, + iface.verifyKeyValueRecord(args.key, args.value, args.record, args.creds, args.transaction, args.environment, resultHandler); } } - public static class navigateKeysCcl extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysCcl() { - super("navigateKeysCcl"); + public static class verifyKeyValueRecordTime + extends + org.apache.thrift.AsyncProcessFunction { + public verifyKeyValueRecordTime() { + super("verifyKeyValueRecordTime"); } - public navigateKeysCcl_args getEmptyArgsInstance() { - return new navigateKeysCcl_args(); + public verifyKeyValueRecordTime_args getEmptyArgsInstance() { + return new verifyKeyValueRecordTime_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - navigateKeysCcl_result result = new navigateKeysCcl_result(); + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + verifyKeyValueRecordTime_result result = new verifyKeyValueRecordTime_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -72903,7 +78883,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeysCcl_result result = new navigateKeysCcl_result(); + verifyKeyValueRecordTime_result result = new verifyKeyValueRecordTime_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -72914,14 +78894,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -72948,32 +78923,34 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeysCcl_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, verifyKeyValueRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.navigateKeysCcl(args.keys, args.ccl, args.creds, + iface.verifyKeyValueRecordTime(args.key, args.value, + args.record, args.timestamp, args.creds, args.transaction, args.environment, resultHandler); } } - public static class navigateKeysCclTime extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysCclTime() { - super("navigateKeysCclTime"); + public static class verifyKeyValueRecordTimestr + extends + org.apache.thrift.AsyncProcessFunction { + public verifyKeyValueRecordTimestr() { + super("verifyKeyValueRecordTimestr"); } - public navigateKeysCclTime_args getEmptyArgsInstance() { - return new navigateKeysCclTime_args(); + public verifyKeyValueRecordTimestr_args getEmptyArgsInstance() { + return new verifyKeyValueRecordTimestr_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - navigateKeysCclTime_result result = new navigateKeysCclTime_result(); + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + verifyKeyValueRecordTimestr_result result = new verifyKeyValueRecordTimestr_result(); result.success = o; + result.setSuccessIsSet(true); try { fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY, @@ -72991,7 +78968,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeysCclTime_result result = new navigateKeysCclTime_result(); + verifyKeyValueRecordTimestr_result result = new verifyKeyValueRecordTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -73036,32 +79013,31 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeysCclTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, verifyKeyValueRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.navigateKeysCclTime(args.keys, args.ccl, args.timestamp, - args.creds, args.transaction, args.environment, - resultHandler); + iface.verifyKeyValueRecordTimestr(args.key, args.value, + args.record, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); } } - public static class navigateKeysCclTimestr extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysCclTimestr() { - super("navigateKeysCclTimestr"); + public static class jsonifyRecords extends + org.apache.thrift.AsyncProcessFunction { + public jsonifyRecords() { + super("jsonifyRecords"); } - public navigateKeysCclTimestr_args getEmptyArgsInstance() { - return new navigateKeysCclTimestr_args(); + public jsonifyRecords_args getEmptyArgsInstance() { + return new jsonifyRecords_args(); } - public AsyncMethodCallback>>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - navigateKeysCclTimestr_result result = new navigateKeysCclTimestr_result(); + return new AsyncMethodCallback() { + public void onComplete(String o) { + jsonifyRecords_result result = new jsonifyRecords_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -73080,7 +79056,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeysCclTimestr_result result = new navigateKeysCclTimestr_result(); + jsonifyRecords_result result = new jsonifyRecords_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -73091,14 +79067,9 @@ else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { result.setEx2IsSet(true); msg = result; } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); msg = result; } else { @@ -73125,32 +79096,113 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeysCclTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + public void start(I iface, jsonifyRecords_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.navigateKeysCclTimestr(args.keys, args.ccl, - args.timestamp, args.creds, args.transaction, + iface.jsonifyRecords(args.records, args.identifier, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class jsonifyRecordsTime extends + org.apache.thrift.AsyncProcessFunction { + public jsonifyRecordsTime() { + super("jsonifyRecordsTime"); + } + + public jsonifyRecordsTime_args getEmptyArgsInstance() { + return new jsonifyRecordsTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(String o) { + jsonifyRecordsTime_result result = new jsonifyRecordsTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + jsonifyRecordsTime_result result = new jsonifyRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, jsonifyRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.jsonifyRecordsTime(args.records, args.timestamp, + args.identifier, args.creds, args.transaction, args.environment, resultHandler); } } - public static class navigateKeyCriteria extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyCriteria() { - super("navigateKeyCriteria"); + public static class jsonifyRecordsTimestr extends + org.apache.thrift.AsyncProcessFunction { + public jsonifyRecordsTimestr() { + super("jsonifyRecordsTimestr"); } - public navigateKeyCriteria_args getEmptyArgsInstance() { - return new navigateKeyCriteria_args(); + public jsonifyRecordsTimestr_args getEmptyArgsInstance() { + return new jsonifyRecordsTimestr_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - navigateKeyCriteria_result result = new navigateKeyCriteria_result(); + return new AsyncMethodCallback() { + public void onComplete(String o) { + jsonifyRecordsTimestr_result result = new jsonifyRecordsTimestr_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -73169,7 +79221,7 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyCriteria_result result = new navigateKeyCriteria_result(); + jsonifyRecordsTimestr_result result = new jsonifyRecordsTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -73214,32 +79266,453 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, jsonifyRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.navigateKeyCriteria(args.key, args.criteria, args.creds, + iface.jsonifyRecordsTimestr(args.records, args.timestamp, + args.identifier, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class findCriteria extends + org.apache.thrift.AsyncProcessFunction> { + public findCriteria() { + super("findCriteria"); + } + + public findCriteria_args getEmptyArgsInstance() { + return new findCriteria_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findCriteria_result result = new findCriteria_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findCriteria_result result = new findCriteria_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findCriteria(args.criteria, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class findCriteriaOrder extends + org.apache.thrift.AsyncProcessFunction> { + public findCriteriaOrder() { + super("findCriteriaOrder"); + } + + public findCriteriaOrder_args getEmptyArgsInstance() { + return new findCriteriaOrder_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findCriteriaOrder_result result = new findCriteriaOrder_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findCriteriaOrder_result result = new findCriteriaOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findCriteriaOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findCriteriaOrder(args.criteria, args.order, args.creds, args.transaction, args.environment, resultHandler); } } - public static class navigateKeyCriteriaTime + public static class findCcl extends + org.apache.thrift.AsyncProcessFunction> { + public findCcl() { + super("findCcl"); + } + + public findCcl_args getEmptyArgsInstance() { + return new findCcl_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findCcl_result result = new findCcl_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findCcl_result result = new findCcl_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findCcl_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findCcl(args.ccl, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class findCclOrder extends + org.apache.thrift.AsyncProcessFunction> { + public findCclOrder() { + super("findCclOrder"); + } + + public findCclOrder_args getEmptyArgsInstance() { + return new findCclOrder_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findCclOrder_result result = new findCclOrder_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findCclOrder_result result = new findCclOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findCclOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findCclOrder(args.ccl, args.order, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class findKeyOperatorValues extends + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorValues() { + super("findKeyOperatorValues"); + } + + public findKeyOperatorValues_args getEmptyArgsInstance() { + return new findKeyOperatorValues_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorValues_result result = new findKeyOperatorValues_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findKeyOperatorValues_result result = new findKeyOperatorValues_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findKeyOperatorValues_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorValues(args.key, args.operator, + args.values, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class findKeyOperatorValuesOrder extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyCriteriaTime() { - super("navigateKeyCriteriaTime"); + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorValuesOrder() { + super("findKeyOperatorValuesOrder"); } - public navigateKeyCriteriaTime_args getEmptyArgsInstance() { - return new navigateKeyCriteriaTime_args(); + public findKeyOperatorValuesOrder_args getEmptyArgsInstance() { + return new findKeyOperatorValuesOrder_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - navigateKeyCriteriaTime_result result = new navigateKeyCriteriaTime_result(); + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorValuesOrder_result result = new findKeyOperatorValuesOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -73258,7 +79731,259 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyCriteriaTime_result result = new navigateKeyCriteriaTime_result(); + findKeyOperatorValuesOrder_result result = new findKeyOperatorValuesOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findKeyOperatorValuesOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorValuesOrder(args.key, args.operator, + args.values, args.order, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class findKeyOperatorValuesTime + extends + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorValuesTime() { + super("findKeyOperatorValuesTime"); + } + + public findKeyOperatorValuesTime_args getEmptyArgsInstance() { + return new findKeyOperatorValuesTime_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorValuesTime_result result = new findKeyOperatorValuesTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findKeyOperatorValuesTime_result result = new findKeyOperatorValuesTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findKeyOperatorValuesTime_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorValuesTime(args.key, args.operator, + args.values, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class findKeyOperatorValuesTimeOrder + extends + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorValuesTimeOrder() { + super("findKeyOperatorValuesTimeOrder"); + } + + public findKeyOperatorValuesTimeOrder_args getEmptyArgsInstance() { + return new findKeyOperatorValuesTimeOrder_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorValuesTimeOrder_result result = new findKeyOperatorValuesTimeOrder_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findKeyOperatorValuesTimeOrder_result result = new findKeyOperatorValuesTimeOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findKeyOperatorValuesTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorValuesTimeOrder(args.key, args.operator, + args.values, args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class findKeyOperatorValuesTimestr + extends + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorValuesTimestr() { + super("findKeyOperatorValuesTimestr"); + } + + public findKeyOperatorValuesTimestr_args getEmptyArgsInstance() { + return new findKeyOperatorValuesTimestr_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorValuesTimestr_result result = new findKeyOperatorValuesTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findKeyOperatorValuesTimestr_result result = new findKeyOperatorValuesTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -73303,33 +80028,211 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + public void start(I iface, findKeyOperatorValuesTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.navigateKeyCriteriaTime(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, + iface.findKeyOperatorValuesTimestr(args.key, args.operator, + args.values, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class findKeyOperatorValuesTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorValuesTimestrOrder() { + super("findKeyOperatorValuesTimestrOrder"); + } + + public findKeyOperatorValuesTimestrOrder_args getEmptyArgsInstance() { + return new findKeyOperatorValuesTimestrOrder_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorValuesTimestrOrder_result result = new findKeyOperatorValuesTimestrOrder_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findKeyOperatorValuesTimestrOrder_result result = new findKeyOperatorValuesTimestrOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, + findKeyOperatorValuesTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorValuesTimestrOrder(args.key, args.operator, + args.values, args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class findKeyOperatorstrValues + extends + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorstrValues() { + super("findKeyOperatorstrValues"); + } + + public findKeyOperatorstrValues_args getEmptyArgsInstance() { + return new findKeyOperatorstrValues_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorstrValues_result result = new findKeyOperatorstrValues_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findKeyOperatorstrValues_result result = new findKeyOperatorstrValues_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findKeyOperatorstrValues_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorstrValues(args.key, args.operator, + args.values, args.creds, args.transaction, args.environment, resultHandler); } } - public static class navigateKeyCriteriaTimestr + public static class findKeyOperatorstrValuesOrder extends - org.apache.thrift.AsyncProcessFunction>> { - public navigateKeyCriteriaTimestr() { - super("navigateKeyCriteriaTimestr"); + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorstrValuesOrder() { + super("findKeyOperatorstrValuesOrder"); } - public navigateKeyCriteriaTimestr_args getEmptyArgsInstance() { - return new navigateKeyCriteriaTimestr_args(); + public findKeyOperatorstrValuesOrder_args getEmptyArgsInstance() { + return new findKeyOperatorstrValuesOrder_args(); } - public AsyncMethodCallback>> getResultHandler( + public AsyncMethodCallback> getResultHandler( final AsyncFrameBuffer fb, final int seqid) { final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>() { - public void onComplete( - Map> o) { - navigateKeyCriteriaTimestr_result result = new navigateKeyCriteriaTimestr_result(); + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorstrValuesOrder_result result = new findKeyOperatorstrValuesOrder_result(); result.success = o; try { fcall.sendResponse(fb, result, @@ -73348,7 +80251,959 @@ public void onComplete( public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; - navigateKeyCriteriaTimestr_result result = new navigateKeyCriteriaTimestr_result(); + findKeyOperatorstrValuesOrder_result result = new findKeyOperatorstrValuesOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findKeyOperatorstrValuesOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorstrValuesOrder(args.key, args.operator, + args.values, args.order, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class findKeyOperatorstrValuesTime + extends + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorstrValuesTime() { + super("findKeyOperatorstrValuesTime"); + } + + public findKeyOperatorstrValuesTime_args getEmptyArgsInstance() { + return new findKeyOperatorstrValuesTime_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorstrValuesTime_result result = new findKeyOperatorstrValuesTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findKeyOperatorstrValuesTime_result result = new findKeyOperatorstrValuesTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findKeyOperatorstrValuesTime_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorstrValuesTime(args.key, args.operator, + args.values, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class findKeyOperatorstrValuesTimeOrder + extends + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorstrValuesTimeOrder() { + super("findKeyOperatorstrValuesTimeOrder"); + } + + public findKeyOperatorstrValuesTimeOrder_args getEmptyArgsInstance() { + return new findKeyOperatorstrValuesTimeOrder_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorstrValuesTimeOrder_result result = new findKeyOperatorstrValuesTimeOrder_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findKeyOperatorstrValuesTimeOrder_result result = new findKeyOperatorstrValuesTimeOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, + findKeyOperatorstrValuesTimeOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorstrValuesTimeOrder(args.key, args.operator, + args.values, args.timestamp, args.order, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class findKeyOperatorstrValuesTimestr + extends + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorstrValuesTimestr() { + super("findKeyOperatorstrValuesTimestr"); + } + + public findKeyOperatorstrValuesTimestr_args getEmptyArgsInstance() { + return new findKeyOperatorstrValuesTimestr_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorstrValuesTimestr_result result = new findKeyOperatorstrValuesTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findKeyOperatorstrValuesTimestr_result result = new findKeyOperatorstrValuesTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, + findKeyOperatorstrValuesTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorstrValuesTimestr(args.key, args.operator, + args.values, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class findKeyOperatorstrValuesTimestrOrder + extends + org.apache.thrift.AsyncProcessFunction> { + public findKeyOperatorstrValuesTimestrOrder() { + super("findKeyOperatorstrValuesTimestrOrder"); + } + + public findKeyOperatorstrValuesTimestrOrder_args getEmptyArgsInstance() { + return new findKeyOperatorstrValuesTimestrOrder_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + findKeyOperatorstrValuesTimestrOrder_result result = new findKeyOperatorstrValuesTimestrOrder_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findKeyOperatorstrValuesTimestrOrder_result result = new findKeyOperatorstrValuesTimestrOrder_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, + findKeyOperatorstrValuesTimestrOrder_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.findKeyOperatorstrValuesTimestrOrder(args.key, + args.operator, args.values, args.timestamp, args.order, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class search extends + org.apache.thrift.AsyncProcessFunction> { + public search() { + super("search"); + } + + public search_args getEmptyArgsInstance() { + return new search_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Set o) { + search_result result = new search_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + search_result result = new search_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, search_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.search(args.key, args.query, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class revertKeysRecordsTime extends + org.apache.thrift.AsyncProcessFunction { + public revertKeysRecordsTime() { + super("revertKeysRecordsTime"); + } + + public revertKeysRecordsTime_args getEmptyArgsInstance() { + return new revertKeysRecordsTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + revertKeysRecordsTime_result result = new revertKeysRecordsTime_result(); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + revertKeysRecordsTime_result result = new revertKeysRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, revertKeysRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.revertKeysRecordsTime(args.keys, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class revertKeysRecordsTimestr + extends + org.apache.thrift.AsyncProcessFunction { + public revertKeysRecordsTimestr() { + super("revertKeysRecordsTimestr"); + } + + public revertKeysRecordsTimestr_args getEmptyArgsInstance() { + return new revertKeysRecordsTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + revertKeysRecordsTimestr_result result = new revertKeysRecordsTimestr_result(); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + revertKeysRecordsTimestr_result result = new revertKeysRecordsTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, revertKeysRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.revertKeysRecordsTimestr(args.keys, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class revertKeysRecordTime extends + org.apache.thrift.AsyncProcessFunction { + public revertKeysRecordTime() { + super("revertKeysRecordTime"); + } + + public revertKeysRecordTime_args getEmptyArgsInstance() { + return new revertKeysRecordTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + revertKeysRecordTime_result result = new revertKeysRecordTime_result(); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + revertKeysRecordTime_result result = new revertKeysRecordTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, revertKeysRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.revertKeysRecordTime(args.keys, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class revertKeysRecordTimestr + extends + org.apache.thrift.AsyncProcessFunction { + public revertKeysRecordTimestr() { + super("revertKeysRecordTimestr"); + } + + public revertKeysRecordTimestr_args getEmptyArgsInstance() { + return new revertKeysRecordTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + revertKeysRecordTimestr_result result = new revertKeysRecordTimestr_result(); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + revertKeysRecordTimestr_result result = new revertKeysRecordTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, revertKeysRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.revertKeysRecordTimestr(args.keys, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class revertKeyRecordsTime extends + org.apache.thrift.AsyncProcessFunction { + public revertKeyRecordsTime() { + super("revertKeyRecordsTime"); + } + + public revertKeyRecordsTime_args getEmptyArgsInstance() { + return new revertKeyRecordsTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + revertKeyRecordsTime_result result = new revertKeyRecordsTime_result(); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + revertKeyRecordsTime_result result = new revertKeyRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, revertKeyRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.revertKeyRecordsTime(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class revertKeyRecordsTimestr + extends + org.apache.thrift.AsyncProcessFunction { + public revertKeyRecordsTimestr() { + super("revertKeyRecordsTimestr"); + } + + public revertKeyRecordsTimestr_args getEmptyArgsInstance() { + return new revertKeyRecordsTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + revertKeyRecordsTimestr_result result = new revertKeyRecordsTimestr_result(); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + revertKeyRecordsTimestr_result result = new revertKeyRecordsTimestr_result(); if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; result.setExIsSet(true); @@ -73393,721 +81248,117294 @@ protected boolean isOneway() { return false; } - public void start(I iface, navigateKeyCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>> resultHandler) - throws TException { - iface.navigateKeyCriteriaTimestr(args.key, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + public void start(I iface, revertKeyRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.revertKeyRecordsTimestr(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class revertKeyRecordTime extends + org.apache.thrift.AsyncProcessFunction { + public revertKeyRecordTime() { + super("revertKeyRecordTime"); + } + + public revertKeyRecordTime_args getEmptyArgsInstance() { + return new revertKeyRecordTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + revertKeyRecordTime_result result = new revertKeyRecordTime_result(); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + revertKeyRecordTime_result result = new revertKeyRecordTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, revertKeyRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.revertKeyRecordTime(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class revertKeyRecordTimestr extends + org.apache.thrift.AsyncProcessFunction { + public revertKeyRecordTimestr() { + super("revertKeyRecordTimestr"); + } + + public revertKeyRecordTimestr_args getEmptyArgsInstance() { + return new revertKeyRecordTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + revertKeyRecordTimestr_result result = new revertKeyRecordTimestr_result(); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + revertKeyRecordTimestr_result result = new revertKeyRecordTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, revertKeyRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.revertKeyRecordTimestr(args.key, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class pingRecords extends + org.apache.thrift.AsyncProcessFunction> { + public pingRecords() { + super("pingRecords"); + } + + public pingRecords_args getEmptyArgsInstance() { + return new pingRecords_args(); + } + + public AsyncMethodCallback> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>() { + public void onComplete(Map o) { + pingRecords_result result = new pingRecords_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + pingRecords_result result = new pingRecords_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, pingRecords_args args, + org.apache.thrift.async.AsyncMethodCallback> resultHandler) + throws TException { + iface.pingRecords(args.records, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class pingRecord extends + org.apache.thrift.AsyncProcessFunction { + public pingRecord() { + super("pingRecord"); + } + + public pingRecord_args getEmptyArgsInstance() { + return new pingRecord_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + pingRecord_result result = new pingRecord_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + pingRecord_result result = new pingRecord_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, pingRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.pingRecord(args.record, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class verifyAndSwap extends + org.apache.thrift.AsyncProcessFunction { + public verifyAndSwap() { + super("verifyAndSwap"); + } + + public verifyAndSwap_args getEmptyArgsInstance() { + return new verifyAndSwap_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Boolean o) { + verifyAndSwap_result result = new verifyAndSwap_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + verifyAndSwap_result result = new verifyAndSwap_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, verifyAndSwap_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.verifyAndSwap(args.key, args.expected, args.record, + args.replacement, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class verifyOrSet extends + org.apache.thrift.AsyncProcessFunction { + public verifyOrSet() { + super("verifyOrSet"); + } + + public verifyOrSet_args getEmptyArgsInstance() { + return new verifyOrSet_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + verifyOrSet_result result = new verifyOrSet_result(); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + verifyOrSet_result result = new verifyOrSet_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex3 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, verifyOrSet_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.verifyOrSet(args.key, args.value, args.record, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class findOrAddKeyValue extends + org.apache.thrift.AsyncProcessFunction { + public findOrAddKeyValue() { + super("findOrAddKeyValue"); + } + + public findOrAddKeyValue_args getEmptyArgsInstance() { + return new findOrAddKeyValue_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + findOrAddKeyValue_result result = new findOrAddKeyValue_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findOrAddKeyValue_result result = new findOrAddKeyValue_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.DuplicateEntryException) { + result.ex3 = (com.cinchapi.concourse.thrift.DuplicateEntryException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.InvalidArgumentException) { + result.ex4 = (com.cinchapi.concourse.thrift.InvalidArgumentException) e; + result.setEx4IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex5 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx5IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findOrAddKeyValue_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.findOrAddKeyValue(args.key, args.value, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class findOrInsertCriteriaJson + extends + org.apache.thrift.AsyncProcessFunction { + public findOrInsertCriteriaJson() { + super("findOrInsertCriteriaJson"); + } + + public findOrInsertCriteriaJson_args getEmptyArgsInstance() { + return new findOrInsertCriteriaJson_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + findOrInsertCriteriaJson_result result = new findOrInsertCriteriaJson_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findOrInsertCriteriaJson_result result = new findOrInsertCriteriaJson_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.DuplicateEntryException) { + result.ex3 = (com.cinchapi.concourse.thrift.DuplicateEntryException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findOrInsertCriteriaJson_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.findOrInsertCriteriaJson(args.criteria, args.json, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class findOrInsertCclJson extends + org.apache.thrift.AsyncProcessFunction { + public findOrInsertCclJson() { + super("findOrInsertCclJson"); + } + + public findOrInsertCclJson_args getEmptyArgsInstance() { + return new findOrInsertCclJson_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + findOrInsertCclJson_result result = new findOrInsertCclJson_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + findOrInsertCclJson_result result = new findOrInsertCclJson_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.DuplicateEntryException) { + result.ex4 = (com.cinchapi.concourse.thrift.DuplicateEntryException) e; + result.setEx4IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex5 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx5IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, findOrInsertCclJson_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.findOrInsertCclJson(args.ccl, args.json, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class sumKeyRecord extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyRecord() { + super("sumKeyRecord"); + } + + public sumKeyRecord_args getEmptyArgsInstance() { + return new sumKeyRecord_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyRecord_result result = new sumKeyRecord_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyRecord_result result = new sumKeyRecord_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyRecord(args.key, args.record, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class sumKeyRecordTime extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyRecordTime() { + super("sumKeyRecordTime"); + } + + public sumKeyRecordTime_args getEmptyArgsInstance() { + return new sumKeyRecordTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyRecordTime_result result = new sumKeyRecordTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyRecordTime_result result = new sumKeyRecordTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyRecordTime(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class sumKeyRecordTimestr extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyRecordTimestr() { + super("sumKeyRecordTimestr"); + } + + public sumKeyRecordTimestr_args getEmptyArgsInstance() { + return new sumKeyRecordTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyRecordTimestr_result result = new sumKeyRecordTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyRecordTimestr_result result = new sumKeyRecordTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyRecordTimestr(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class sumKeyRecords extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyRecords() { + super("sumKeyRecords"); + } + + public sumKeyRecords_args getEmptyArgsInstance() { + return new sumKeyRecords_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyRecords_result result = new sumKeyRecords_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyRecords_result result = new sumKeyRecords_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyRecords_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyRecords(args.key, args.records, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class sumKeyRecordsTime extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyRecordsTime() { + super("sumKeyRecordsTime"); + } + + public sumKeyRecordsTime_args getEmptyArgsInstance() { + return new sumKeyRecordsTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyRecordsTime_result result = new sumKeyRecordsTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyRecordsTime_result result = new sumKeyRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyRecordsTime(args.key, args.records, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class sumKeyRecordsTimestr extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyRecordsTimestr() { + super("sumKeyRecordsTimestr"); + } + + public sumKeyRecordsTimestr_args getEmptyArgsInstance() { + return new sumKeyRecordsTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyRecordsTimestr_result result = new sumKeyRecordsTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyRecordsTimestr_result result = new sumKeyRecordsTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyRecordsTimestr(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class sumKey extends + org.apache.thrift.AsyncProcessFunction { + public sumKey() { + super("sumKey"); + } + + public sumKey_args getEmptyArgsInstance() { + return new sumKey_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKey_result result = new sumKey_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKey_result result = new sumKey_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKey_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKey(args.key, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class sumKeyTime extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyTime() { + super("sumKeyTime"); + } + + public sumKeyTime_args getEmptyArgsInstance() { + return new sumKeyTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyTime_result result = new sumKeyTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyTime_result result = new sumKeyTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyTime(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class sumKeyTimestr extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyTimestr() { + super("sumKeyTimestr"); + } + + public sumKeyTimestr_args getEmptyArgsInstance() { + return new sumKeyTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyTimestr_result result = new sumKeyTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyTimestr_result result = new sumKeyTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyTimestr(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class sumKeyCriteria extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyCriteria() { + super("sumKeyCriteria"); + } + + public sumKeyCriteria_args getEmptyArgsInstance() { + return new sumKeyCriteria_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyCriteria_result result = new sumKeyCriteria_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyCriteria_result result = new sumKeyCriteria_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyCriteria(args.key, args.criteria, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class sumKeyCriteriaTime extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyCriteriaTime() { + super("sumKeyCriteriaTime"); + } + + public sumKeyCriteriaTime_args getEmptyArgsInstance() { + return new sumKeyCriteriaTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyCriteriaTime_result result = new sumKeyCriteriaTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyCriteriaTime_result result = new sumKeyCriteriaTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyCriteriaTime(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class sumKeyCriteriaTimestr extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyCriteriaTimestr() { + super("sumKeyCriteriaTimestr"); + } + + public sumKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new sumKeyCriteriaTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyCriteriaTimestr_result result = new sumKeyCriteriaTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyCriteriaTimestr_result result = new sumKeyCriteriaTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyCriteriaTimestr(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class sumKeyCcl extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyCcl() { + super("sumKeyCcl"); + } + + public sumKeyCcl_args getEmptyArgsInstance() { + return new sumKeyCcl_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyCcl_result result = new sumKeyCcl_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyCcl_result result = new sumKeyCcl_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyCcl_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyCcl(args.key, args.ccl, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class sumKeyCclTime extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyCclTime() { + super("sumKeyCclTime"); + } + + public sumKeyCclTime_args getEmptyArgsInstance() { + return new sumKeyCclTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyCclTime_result result = new sumKeyCclTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyCclTime_result result = new sumKeyCclTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyCclTime(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class sumKeyCclTimestr extends + org.apache.thrift.AsyncProcessFunction { + public sumKeyCclTimestr() { + super("sumKeyCclTimestr"); + } + + public sumKeyCclTimestr_args getEmptyArgsInstance() { + return new sumKeyCclTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + sumKeyCclTimestr_result result = new sumKeyCclTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + sumKeyCclTimestr_result result = new sumKeyCclTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, sumKeyCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.sumKeyCclTimestr(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class averageKeyRecord extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyRecord() { + super("averageKeyRecord"); + } + + public averageKeyRecord_args getEmptyArgsInstance() { + return new averageKeyRecord_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyRecord_result result = new averageKeyRecord_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyRecord_result result = new averageKeyRecord_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyRecord(args.key, args.record, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class averageKeyRecordTime extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyRecordTime() { + super("averageKeyRecordTime"); + } + + public averageKeyRecordTime_args getEmptyArgsInstance() { + return new averageKeyRecordTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyRecordTime_result result = new averageKeyRecordTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyRecordTime_result result = new averageKeyRecordTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyRecordTime(args.key, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class averageKeyRecordTimestr + extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyRecordTimestr() { + super("averageKeyRecordTimestr"); + } + + public averageKeyRecordTimestr_args getEmptyArgsInstance() { + return new averageKeyRecordTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyRecordTimestr_result result = new averageKeyRecordTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyRecordTimestr_result result = new averageKeyRecordTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyRecordTimestr(args.key, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class averageKeyRecords extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyRecords() { + super("averageKeyRecords"); + } + + public averageKeyRecords_args getEmptyArgsInstance() { + return new averageKeyRecords_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyRecords_result result = new averageKeyRecords_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyRecords_result result = new averageKeyRecords_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyRecords_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyRecords(args.key, args.records, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class averageKeyRecordsTime extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyRecordsTime() { + super("averageKeyRecordsTime"); + } + + public averageKeyRecordsTime_args getEmptyArgsInstance() { + return new averageKeyRecordsTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyRecordsTime_result result = new averageKeyRecordsTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyRecordsTime_result result = new averageKeyRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyRecordsTime(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class averageKeyRecordsTimestr + extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyRecordsTimestr() { + super("averageKeyRecordsTimestr"); + } + + public averageKeyRecordsTimestr_args getEmptyArgsInstance() { + return new averageKeyRecordsTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyRecordsTimestr_result result = new averageKeyRecordsTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyRecordsTimestr_result result = new averageKeyRecordsTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyRecordsTimestr(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class averageKey extends + org.apache.thrift.AsyncProcessFunction { + public averageKey() { + super("averageKey"); + } + + public averageKey_args getEmptyArgsInstance() { + return new averageKey_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKey_result result = new averageKey_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKey_result result = new averageKey_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKey_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKey(args.key, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class averageKeyTime extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyTime() { + super("averageKeyTime"); + } + + public averageKeyTime_args getEmptyArgsInstance() { + return new averageKeyTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyTime_result result = new averageKeyTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyTime_result result = new averageKeyTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyTime(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class averageKeyTimestr extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyTimestr() { + super("averageKeyTimestr"); + } + + public averageKeyTimestr_args getEmptyArgsInstance() { + return new averageKeyTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyTimestr_result result = new averageKeyTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyTimestr_result result = new averageKeyTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyTimestr(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class averageKeyCriteria extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyCriteria() { + super("averageKeyCriteria"); + } + + public averageKeyCriteria_args getEmptyArgsInstance() { + return new averageKeyCriteria_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyCriteria_result result = new averageKeyCriteria_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyCriteria_result result = new averageKeyCriteria_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyCriteria(args.key, args.criteria, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class averageKeyCriteriaTime extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyCriteriaTime() { + super("averageKeyCriteriaTime"); + } + + public averageKeyCriteriaTime_args getEmptyArgsInstance() { + return new averageKeyCriteriaTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyCriteriaTime_result result = new averageKeyCriteriaTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyCriteriaTime_result result = new averageKeyCriteriaTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyCriteriaTime(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class averageKeyCriteriaTimestr + extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyCriteriaTimestr() { + super("averageKeyCriteriaTimestr"); + } + + public averageKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new averageKeyCriteriaTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyCriteriaTimestr_result result = new averageKeyCriteriaTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyCriteriaTimestr_result result = new averageKeyCriteriaTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyCriteriaTimestr(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class averageKeyCcl extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyCcl() { + super("averageKeyCcl"); + } + + public averageKeyCcl_args getEmptyArgsInstance() { + return new averageKeyCcl_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyCcl_result result = new averageKeyCcl_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyCcl_result result = new averageKeyCcl_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyCcl_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyCcl(args.key, args.ccl, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class averageKeyCclTime extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyCclTime() { + super("averageKeyCclTime"); + } + + public averageKeyCclTime_args getEmptyArgsInstance() { + return new averageKeyCclTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyCclTime_result result = new averageKeyCclTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyCclTime_result result = new averageKeyCclTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyCclTime(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class averageKeyCclTimestr extends + org.apache.thrift.AsyncProcessFunction { + public averageKeyCclTimestr() { + super("averageKeyCclTimestr"); + } + + public averageKeyCclTimestr_args getEmptyArgsInstance() { + return new averageKeyCclTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + averageKeyCclTimestr_result result = new averageKeyCclTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + averageKeyCclTimestr_result result = new averageKeyCclTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, averageKeyCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.averageKeyCclTimestr(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class countKeyRecord extends + org.apache.thrift.AsyncProcessFunction { + public countKeyRecord() { + super("countKeyRecord"); + } + + public countKeyRecord_args getEmptyArgsInstance() { + return new countKeyRecord_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyRecord_result result = new countKeyRecord_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyRecord_result result = new countKeyRecord_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyRecord(args.key, args.record, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class countKeyRecordTime extends + org.apache.thrift.AsyncProcessFunction { + public countKeyRecordTime() { + super("countKeyRecordTime"); + } + + public countKeyRecordTime_args getEmptyArgsInstance() { + return new countKeyRecordTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyRecordTime_result result = new countKeyRecordTime_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyRecordTime_result result = new countKeyRecordTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyRecordTime(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class countKeyRecordTimestr extends + org.apache.thrift.AsyncProcessFunction { + public countKeyRecordTimestr() { + super("countKeyRecordTimestr"); + } + + public countKeyRecordTimestr_args getEmptyArgsInstance() { + return new countKeyRecordTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyRecordTimestr_result result = new countKeyRecordTimestr_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyRecordTimestr_result result = new countKeyRecordTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyRecordTimestr(args.key, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class countKeyRecords extends + org.apache.thrift.AsyncProcessFunction { + public countKeyRecords() { + super("countKeyRecords"); + } + + public countKeyRecords_args getEmptyArgsInstance() { + return new countKeyRecords_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyRecords_result result = new countKeyRecords_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyRecords_result result = new countKeyRecords_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyRecords_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyRecords(args.key, args.records, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class countKeyRecordsTime extends + org.apache.thrift.AsyncProcessFunction { + public countKeyRecordsTime() { + super("countKeyRecordsTime"); + } + + public countKeyRecordsTime_args getEmptyArgsInstance() { + return new countKeyRecordsTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyRecordsTime_result result = new countKeyRecordsTime_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyRecordsTime_result result = new countKeyRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyRecordsTime(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class countKeyRecordsTimestr extends + org.apache.thrift.AsyncProcessFunction { + public countKeyRecordsTimestr() { + super("countKeyRecordsTimestr"); + } + + public countKeyRecordsTimestr_args getEmptyArgsInstance() { + return new countKeyRecordsTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyRecordsTimestr_result result = new countKeyRecordsTimestr_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyRecordsTimestr_result result = new countKeyRecordsTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyRecordsTimestr(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class countKey extends + org.apache.thrift.AsyncProcessFunction { + public countKey() { + super("countKey"); + } + + public countKey_args getEmptyArgsInstance() { + return new countKey_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKey_result result = new countKey_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKey_result result = new countKey_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKey_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKey(args.key, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class countKeyTime extends + org.apache.thrift.AsyncProcessFunction { + public countKeyTime() { + super("countKeyTime"); + } + + public countKeyTime_args getEmptyArgsInstance() { + return new countKeyTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyTime_result result = new countKeyTime_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyTime_result result = new countKeyTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyTime(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class countKeyTimestr extends + org.apache.thrift.AsyncProcessFunction { + public countKeyTimestr() { + super("countKeyTimestr"); + } + + public countKeyTimestr_args getEmptyArgsInstance() { + return new countKeyTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyTimestr_result result = new countKeyTimestr_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyTimestr_result result = new countKeyTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyTimestr(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class countKeyCriteria extends + org.apache.thrift.AsyncProcessFunction { + public countKeyCriteria() { + super("countKeyCriteria"); + } + + public countKeyCriteria_args getEmptyArgsInstance() { + return new countKeyCriteria_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyCriteria_result result = new countKeyCriteria_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyCriteria_result result = new countKeyCriteria_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyCriteria(args.key, args.criteria, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class countKeyCriteriaTime extends + org.apache.thrift.AsyncProcessFunction { + public countKeyCriteriaTime() { + super("countKeyCriteriaTime"); + } + + public countKeyCriteriaTime_args getEmptyArgsInstance() { + return new countKeyCriteriaTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyCriteriaTime_result result = new countKeyCriteriaTime_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyCriteriaTime_result result = new countKeyCriteriaTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyCriteriaTime(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class countKeyCriteriaTimestr + extends + org.apache.thrift.AsyncProcessFunction { + public countKeyCriteriaTimestr() { + super("countKeyCriteriaTimestr"); + } + + public countKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new countKeyCriteriaTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyCriteriaTimestr_result result = new countKeyCriteriaTimestr_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyCriteriaTimestr_result result = new countKeyCriteriaTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyCriteriaTimestr(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class countKeyCcl extends + org.apache.thrift.AsyncProcessFunction { + public countKeyCcl() { + super("countKeyCcl"); + } + + public countKeyCcl_args getEmptyArgsInstance() { + return new countKeyCcl_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyCcl_result result = new countKeyCcl_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyCcl_result result = new countKeyCcl_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyCcl_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyCcl(args.key, args.ccl, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class countKeyCclTime extends + org.apache.thrift.AsyncProcessFunction { + public countKeyCclTime() { + super("countKeyCclTime"); + } + + public countKeyCclTime_args getEmptyArgsInstance() { + return new countKeyCclTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyCclTime_result result = new countKeyCclTime_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyCclTime_result result = new countKeyCclTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyCclTime(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class countKeyCclTimestr extends + org.apache.thrift.AsyncProcessFunction { + public countKeyCclTimestr() { + super("countKeyCclTimestr"); + } + + public countKeyCclTimestr_args getEmptyArgsInstance() { + return new countKeyCclTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + countKeyCclTimestr_result result = new countKeyCclTimestr_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + countKeyCclTimestr_result result = new countKeyCclTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, countKeyCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.countKeyCclTimestr(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class maxKeyRecord extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyRecord() { + super("maxKeyRecord"); + } + + public maxKeyRecord_args getEmptyArgsInstance() { + return new maxKeyRecord_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyRecord_result result = new maxKeyRecord_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyRecord_result result = new maxKeyRecord_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyRecord(args.key, args.record, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class maxKeyRecordTime extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyRecordTime() { + super("maxKeyRecordTime"); + } + + public maxKeyRecordTime_args getEmptyArgsInstance() { + return new maxKeyRecordTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyRecordTime_result result = new maxKeyRecordTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyRecordTime_result result = new maxKeyRecordTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyRecordTime(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class maxKeyRecordTimestr extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyRecordTimestr() { + super("maxKeyRecordTimestr"); + } + + public maxKeyRecordTimestr_args getEmptyArgsInstance() { + return new maxKeyRecordTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyRecordTimestr_result result = new maxKeyRecordTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyRecordTimestr_result result = new maxKeyRecordTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyRecordTimestr(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class maxKeyRecords extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyRecords() { + super("maxKeyRecords"); + } + + public maxKeyRecords_args getEmptyArgsInstance() { + return new maxKeyRecords_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyRecords_result result = new maxKeyRecords_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyRecords_result result = new maxKeyRecords_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyRecords_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyRecords(args.key, args.records, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class maxKeyRecordsTime extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyRecordsTime() { + super("maxKeyRecordsTime"); + } + + public maxKeyRecordsTime_args getEmptyArgsInstance() { + return new maxKeyRecordsTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyRecordsTime_result result = new maxKeyRecordsTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyRecordsTime_result result = new maxKeyRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyRecordsTime(args.key, args.records, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class maxKeyRecordsTimestr extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyRecordsTimestr() { + super("maxKeyRecordsTimestr"); + } + + public maxKeyRecordsTimestr_args getEmptyArgsInstance() { + return new maxKeyRecordsTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyRecordsTimestr_result result = new maxKeyRecordsTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyRecordsTimestr_result result = new maxKeyRecordsTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyRecordsTimestr(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class maxKeyCriteria extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyCriteria() { + super("maxKeyCriteria"); + } + + public maxKeyCriteria_args getEmptyArgsInstance() { + return new maxKeyCriteria_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyCriteria_result result = new maxKeyCriteria_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyCriteria_result result = new maxKeyCriteria_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyCriteria(args.key, args.criteria, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class maxKeyCriteriaTime extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyCriteriaTime() { + super("maxKeyCriteriaTime"); + } + + public maxKeyCriteriaTime_args getEmptyArgsInstance() { + return new maxKeyCriteriaTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyCriteriaTime_result result = new maxKeyCriteriaTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyCriteriaTime_result result = new maxKeyCriteriaTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyCriteriaTime(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class maxKeyCriteriaTimestr extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyCriteriaTimestr() { + super("maxKeyCriteriaTimestr"); + } + + public maxKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new maxKeyCriteriaTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyCriteriaTimestr_result result = new maxKeyCriteriaTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyCriteriaTimestr_result result = new maxKeyCriteriaTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyCriteriaTimestr(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class maxKeyCcl extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyCcl() { + super("maxKeyCcl"); + } + + public maxKeyCcl_args getEmptyArgsInstance() { + return new maxKeyCcl_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyCcl_result result = new maxKeyCcl_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyCcl_result result = new maxKeyCcl_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyCcl_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyCcl(args.key, args.ccl, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class maxKeyCclTime extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyCclTime() { + super("maxKeyCclTime"); + } + + public maxKeyCclTime_args getEmptyArgsInstance() { + return new maxKeyCclTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyCclTime_result result = new maxKeyCclTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyCclTime_result result = new maxKeyCclTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyCclTime(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class maxKeyCclTimestr extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyCclTimestr() { + super("maxKeyCclTimestr"); + } + + public maxKeyCclTimestr_args getEmptyArgsInstance() { + return new maxKeyCclTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyCclTimestr_result result = new maxKeyCclTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyCclTimestr_result result = new maxKeyCclTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyCclTimestr(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class maxKey extends + org.apache.thrift.AsyncProcessFunction { + public maxKey() { + super("maxKey"); + } + + public maxKey_args getEmptyArgsInstance() { + return new maxKey_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKey_result result = new maxKey_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKey_result result = new maxKey_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKey_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKey(args.key, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class maxKeyTime extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyTime() { + super("maxKeyTime"); + } + + public maxKeyTime_args getEmptyArgsInstance() { + return new maxKeyTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyTime_result result = new maxKeyTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyTime_result result = new maxKeyTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyTime(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class maxKeyTimestr extends + org.apache.thrift.AsyncProcessFunction { + public maxKeyTimestr() { + super("maxKeyTimestr"); + } + + public maxKeyTimestr_args getEmptyArgsInstance() { + return new maxKeyTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + maxKeyTimestr_result result = new maxKeyTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + maxKeyTimestr_result result = new maxKeyTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, maxKeyTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.maxKeyTimestr(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class minKeyRecord extends + org.apache.thrift.AsyncProcessFunction { + public minKeyRecord() { + super("minKeyRecord"); + } + + public minKeyRecord_args getEmptyArgsInstance() { + return new minKeyRecord_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyRecord_result result = new minKeyRecord_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyRecord_result result = new minKeyRecord_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyRecord_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyRecord(args.key, args.record, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class minKeyRecordTime extends + org.apache.thrift.AsyncProcessFunction { + public minKeyRecordTime() { + super("minKeyRecordTime"); + } + + public minKeyRecordTime_args getEmptyArgsInstance() { + return new minKeyRecordTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyRecordTime_result result = new minKeyRecordTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyRecordTime_result result = new minKeyRecordTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyRecordTime(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class minKeyRecordTimestr extends + org.apache.thrift.AsyncProcessFunction { + public minKeyRecordTimestr() { + super("minKeyRecordTimestr"); + } + + public minKeyRecordTimestr_args getEmptyArgsInstance() { + return new minKeyRecordTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyRecordTimestr_result result = new minKeyRecordTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyRecordTimestr_result result = new minKeyRecordTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyRecordTimestr(args.key, args.record, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class minKey extends + org.apache.thrift.AsyncProcessFunction { + public minKey() { + super("minKey"); + } + + public minKey_args getEmptyArgsInstance() { + return new minKey_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKey_result result = new minKey_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKey_result result = new minKey_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKey_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKey(args.key, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class minKeyRecordsTime extends + org.apache.thrift.AsyncProcessFunction { + public minKeyRecordsTime() { + super("minKeyRecordsTime"); + } + + public minKeyRecordsTime_args getEmptyArgsInstance() { + return new minKeyRecordsTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyRecordsTime_result result = new minKeyRecordsTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyRecordsTime_result result = new minKeyRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyRecordsTime(args.key, args.records, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class minKeyRecordsTimestr extends + org.apache.thrift.AsyncProcessFunction { + public minKeyRecordsTimestr() { + super("minKeyRecordsTimestr"); + } + + public minKeyRecordsTimestr_args getEmptyArgsInstance() { + return new minKeyRecordsTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyRecordsTimestr_result result = new minKeyRecordsTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyRecordsTimestr_result result = new minKeyRecordsTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyRecordsTimestr(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class minKeyCriteria extends + org.apache.thrift.AsyncProcessFunction { + public minKeyCriteria() { + super("minKeyCriteria"); + } + + public minKeyCriteria_args getEmptyArgsInstance() { + return new minKeyCriteria_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyCriteria_result result = new minKeyCriteria_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyCriteria_result result = new minKeyCriteria_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyCriteria(args.key, args.criteria, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class minKeyCriteriaTime extends + org.apache.thrift.AsyncProcessFunction { + public minKeyCriteriaTime() { + super("minKeyCriteriaTime"); + } + + public minKeyCriteriaTime_args getEmptyArgsInstance() { + return new minKeyCriteriaTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyCriteriaTime_result result = new minKeyCriteriaTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyCriteriaTime_result result = new minKeyCriteriaTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyCriteriaTime(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class minKeyCriteriaTimestr extends + org.apache.thrift.AsyncProcessFunction { + public minKeyCriteriaTimestr() { + super("minKeyCriteriaTimestr"); + } + + public minKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new minKeyCriteriaTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyCriteriaTimestr_result result = new minKeyCriteriaTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyCriteriaTimestr_result result = new minKeyCriteriaTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyCriteriaTimestr(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class minKeyCcl extends + org.apache.thrift.AsyncProcessFunction { + public minKeyCcl() { + super("minKeyCcl"); + } + + public minKeyCcl_args getEmptyArgsInstance() { + return new minKeyCcl_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyCcl_result result = new minKeyCcl_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyCcl_result result = new minKeyCcl_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyCcl_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyCcl(args.key, args.ccl, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class minKeyCclTime extends + org.apache.thrift.AsyncProcessFunction { + public minKeyCclTime() { + super("minKeyCclTime"); + } + + public minKeyCclTime_args getEmptyArgsInstance() { + return new minKeyCclTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyCclTime_result result = new minKeyCclTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyCclTime_result result = new minKeyCclTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyCclTime(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class minKeyCclTimestr extends + org.apache.thrift.AsyncProcessFunction { + public minKeyCclTimestr() { + super("minKeyCclTimestr"); + } + + public minKeyCclTimestr_args getEmptyArgsInstance() { + return new minKeyCclTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyCclTimestr_result result = new minKeyCclTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyCclTimestr_result result = new minKeyCclTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyCclTimestr(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class minKeyTime extends + org.apache.thrift.AsyncProcessFunction { + public minKeyTime() { + super("minKeyTime"); + } + + public minKeyTime_args getEmptyArgsInstance() { + return new minKeyTime_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyTime_result result = new minKeyTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyTime_result result = new minKeyTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyTime_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyTime(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class minKeyTimestr extends + org.apache.thrift.AsyncProcessFunction { + public minKeyTimestr() { + super("minKeyTimestr"); + } + + public minKeyTimestr_args getEmptyArgsInstance() { + return new minKeyTimestr_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyTimestr_result result = new minKeyTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyTimestr_result result = new minKeyTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyTimestr(args.key, args.timestamp, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class minKeyRecords extends + org.apache.thrift.AsyncProcessFunction { + public minKeyRecords() { + super("minKeyRecords"); + } + + public minKeyRecords_args getEmptyArgsInstance() { + return new minKeyRecords_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.TObject o) { + minKeyRecords_result result = new minKeyRecords_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + minKeyRecords_result result = new minKeyRecords_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, minKeyRecords_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.minKeyRecords(args.key, args.records, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class navigateKeyRecord extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyRecord() { + super("navigateKeyRecord"); + } + + public navigateKeyRecord_args getEmptyArgsInstance() { + return new navigateKeyRecord_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyRecord_result result = new navigateKeyRecord_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyRecord_result result = new navigateKeyRecord_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyRecord_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyRecord(args.key, args.record, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class navigateKeyRecordTime extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyRecordTime() { + super("navigateKeyRecordTime"); + } + + public navigateKeyRecordTime_args getEmptyArgsInstance() { + return new navigateKeyRecordTime_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyRecordTime_result result = new navigateKeyRecordTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyRecordTime_result result = new navigateKeyRecordTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyRecordTime(args.key, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeyRecordTimestr + extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyRecordTimestr() { + super("navigateKeyRecordTimestr"); + } + + public navigateKeyRecordTimestr_args getEmptyArgsInstance() { + return new navigateKeyRecordTimestr_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyRecordTimestr_result result = new navigateKeyRecordTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyRecordTimestr_result result = new navigateKeyRecordTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyRecordTimestr(args.key, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeysRecord extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysRecord() { + super("navigateKeysRecord"); + } + + public navigateKeysRecord_args getEmptyArgsInstance() { + return new navigateKeysRecord_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysRecord_result result = new navigateKeysRecord_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysRecord_result result = new navigateKeysRecord_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysRecord_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysRecord(args.keys, args.record, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class navigateKeysRecordTime extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysRecordTime() { + super("navigateKeysRecordTime"); + } + + public navigateKeysRecordTime_args getEmptyArgsInstance() { + return new navigateKeysRecordTime_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysRecordTime_result result = new navigateKeysRecordTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysRecordTime_result result = new navigateKeysRecordTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysRecordTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysRecordTime(args.keys, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeysRecordTimestr + extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysRecordTimestr() { + super("navigateKeysRecordTimestr"); + } + + public navigateKeysRecordTimestr_args getEmptyArgsInstance() { + return new navigateKeysRecordTimestr_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysRecordTimestr_result result = new navigateKeysRecordTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysRecordTimestr_result result = new navigateKeysRecordTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysRecordTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysRecordTimestr(args.keys, args.record, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeysRecords extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysRecords() { + super("navigateKeysRecords"); + } + + public navigateKeysRecords_args getEmptyArgsInstance() { + return new navigateKeysRecords_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysRecords_result result = new navigateKeysRecords_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysRecords_result result = new navigateKeysRecords_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysRecords_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysRecords(args.keys, args.records, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class navigateKeyRecords extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyRecords() { + super("navigateKeyRecords"); + } + + public navigateKeyRecords_args getEmptyArgsInstance() { + return new navigateKeyRecords_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyRecords_result result = new navigateKeyRecords_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyRecords_result result = new navigateKeyRecords_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyRecords_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyRecords(args.key, args.records, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class navigateKeyRecordsTime extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyRecordsTime() { + super("navigateKeyRecordsTime"); + } + + public navigateKeyRecordsTime_args getEmptyArgsInstance() { + return new navigateKeyRecordsTime_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyRecordsTime_result result = new navigateKeyRecordsTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyRecordsTime_result result = new navigateKeyRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyRecordsTime(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeyRecordsTimestr + extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyRecordsTimestr() { + super("navigateKeyRecordsTimestr"); + } + + public navigateKeyRecordsTimestr_args getEmptyArgsInstance() { + return new navigateKeyRecordsTimestr_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyRecordsTimestr_result result = new navigateKeyRecordsTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyRecordsTimestr_result result = new navigateKeyRecordsTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyRecordsTimestr(args.key, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeysRecordsTime + extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysRecordsTime() { + super("navigateKeysRecordsTime"); + } + + public navigateKeysRecordsTime_args getEmptyArgsInstance() { + return new navigateKeysRecordsTime_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysRecordsTime_result result = new navigateKeysRecordsTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysRecordsTime_result result = new navigateKeysRecordsTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysRecordsTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysRecordsTime(args.keys, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeysRecordsTimestr + extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysRecordsTimestr() { + super("navigateKeysRecordsTimestr"); + } + + public navigateKeysRecordsTimestr_args getEmptyArgsInstance() { + return new navigateKeysRecordsTimestr_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysRecordsTimestr_result result = new navigateKeysRecordsTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysRecordsTimestr_result result = new navigateKeysRecordsTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysRecordsTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysRecordsTimestr(args.keys, args.records, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeyCcl extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyCcl() { + super("navigateKeyCcl"); + } + + public navigateKeyCcl_args getEmptyArgsInstance() { + return new navigateKeyCcl_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyCcl_result result = new navigateKeyCcl_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyCcl_result result = new navigateKeyCcl_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyCcl_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyCcl(args.key, args.ccl, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class navigateKeyCclTime extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyCclTime() { + super("navigateKeyCclTime"); + } + + public navigateKeyCclTime_args getEmptyArgsInstance() { + return new navigateKeyCclTime_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyCclTime_result result = new navigateKeyCclTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyCclTime_result result = new navigateKeyCclTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyCclTime(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class navigateKeyCclTimestr extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyCclTimestr() { + super("navigateKeyCclTimestr"); + } + + public navigateKeyCclTimestr_args getEmptyArgsInstance() { + return new navigateKeyCclTimestr_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyCclTimestr_result result = new navigateKeyCclTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyCclTimestr_result result = new navigateKeyCclTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyCclTimestr(args.key, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class navigateKeysCcl extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysCcl() { + super("navigateKeysCcl"); + } + + public navigateKeysCcl_args getEmptyArgsInstance() { + return new navigateKeysCcl_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysCcl_result result = new navigateKeysCcl_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysCcl_result result = new navigateKeysCcl_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysCcl_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysCcl(args.keys, args.ccl, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class navigateKeysCclTime extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysCclTime() { + super("navigateKeysCclTime"); + } + + public navigateKeysCclTime_args getEmptyArgsInstance() { + return new navigateKeysCclTime_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysCclTime_result result = new navigateKeysCclTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysCclTime_result result = new navigateKeysCclTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysCclTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysCclTime(args.keys, args.ccl, args.timestamp, + args.creds, args.transaction, args.environment, + resultHandler); + } + } + + public static class navigateKeysCclTimestr extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysCclTimestr() { + super("navigateKeysCclTimestr"); + } + + public navigateKeysCclTimestr_args getEmptyArgsInstance() { + return new navigateKeysCclTimestr_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysCclTimestr_result result = new navigateKeysCclTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysCclTimestr_result result = new navigateKeysCclTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysCclTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysCclTimestr(args.keys, args.ccl, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeyCriteria extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyCriteria() { + super("navigateKeyCriteria"); + } + + public navigateKeyCriteria_args getEmptyArgsInstance() { + return new navigateKeyCriteria_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyCriteria_result result = new navigateKeyCriteria_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyCriteria_result result = new navigateKeyCriteria_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyCriteria(args.key, args.criteria, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class navigateKeyCriteriaTime + extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyCriteriaTime() { + super("navigateKeyCriteriaTime"); + } + + public navigateKeyCriteriaTime_args getEmptyArgsInstance() { + return new navigateKeyCriteriaTime_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyCriteriaTime_result result = new navigateKeyCriteriaTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyCriteriaTime_result result = new navigateKeyCriteriaTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyCriteriaTime(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeyCriteriaTimestr + extends + org.apache.thrift.AsyncProcessFunction>> { + public navigateKeyCriteriaTimestr() { + super("navigateKeyCriteriaTimestr"); + } + + public navigateKeyCriteriaTimestr_args getEmptyArgsInstance() { + return new navigateKeyCriteriaTimestr_args(); + } + + public AsyncMethodCallback>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>() { + public void onComplete( + Map> o) { + navigateKeyCriteriaTimestr_result result = new navigateKeyCriteriaTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeyCriteriaTimestr_result result = new navigateKeyCriteriaTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeyCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>> resultHandler) + throws TException { + iface.navigateKeyCriteriaTimestr(args.key, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeysCriteria extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysCriteria() { + super("navigateKeysCriteria"); + } + + public navigateKeysCriteria_args getEmptyArgsInstance() { + return new navigateKeysCriteria_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysCriteria_result result = new navigateKeysCriteria_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysCriteria_result result = new navigateKeysCriteria_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysCriteria_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysCriteria(args.keys, args.criteria, args.creds, + args.transaction, args.environment, resultHandler); + } + } + + public static class navigateKeysCriteriaTime + extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysCriteriaTime() { + super("navigateKeysCriteriaTime"); + } + + public navigateKeysCriteriaTime_args getEmptyArgsInstance() { + return new navigateKeysCriteriaTime_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysCriteriaTime_result result = new navigateKeysCriteriaTime_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysCriteriaTime_result result = new navigateKeysCriteriaTime_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysCriteriaTime_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysCriteriaTime(args.keys, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class navigateKeysCriteriaTimestr + extends + org.apache.thrift.AsyncProcessFunction>>> { + public navigateKeysCriteriaTimestr() { + super("navigateKeysCriteriaTimestr"); + } + + public navigateKeysCriteriaTimestr_args getEmptyArgsInstance() { + return new navigateKeysCriteriaTimestr_args(); + } + + public AsyncMethodCallback>>> getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback>>>() { + public void onComplete( + Map>> o) { + navigateKeysCriteriaTimestr_result result = new navigateKeysCriteriaTimestr_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + navigateKeysCriteriaTimestr_result result = new navigateKeysCriteriaTimestr_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, navigateKeysCriteriaTimestr_args args, + org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) + throws TException { + iface.navigateKeysCriteriaTimestr(args.keys, args.criteria, + args.timestamp, args.creds, args.transaction, + args.environment, resultHandler); + } + } + + public static class getServerEnvironment extends + org.apache.thrift.AsyncProcessFunction { + public getServerEnvironment() { + super("getServerEnvironment"); + } + + public getServerEnvironment_args getEmptyArgsInstance() { + return new getServerEnvironment_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(String o) { + getServerEnvironment_result result = new getServerEnvironment_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getServerEnvironment_result result = new getServerEnvironment_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, getServerEnvironment_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.getServerEnvironment(args.creds, args.token, + args.environment, resultHandler); + } + } + + public static class getServerVersion extends + org.apache.thrift.AsyncProcessFunction { + public getServerVersion() { + super("getServerVersion"); + } + + public getServerVersion_args getEmptyArgsInstance() { + return new getServerVersion_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(String o) { + getServerVersion_result result = new getServerVersion_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + getServerVersion_result result = new getServerVersion_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, getServerVersion_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.getServerVersion(resultHandler); + } + } + + public static class time extends + org.apache.thrift.AsyncProcessFunction { + public time() { + super("time"); + } + + public time_args getEmptyArgsInstance() { + return new time_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + time_result result = new time_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + time_result result = new time_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx3IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, time_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.time(args.creds, args.token, args.environment, + resultHandler); + } + } + + public static class timePhrase extends + org.apache.thrift.AsyncProcessFunction { + public timePhrase() { + super("timePhrase"); + } + + public timePhrase_args getEmptyArgsInstance() { + return new timePhrase_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Long o) { + timePhrase_result result = new timePhrase_result(); + result.success = o; + result.setSuccessIsSet(true); + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + timePhrase_result result = new timePhrase_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { + result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; + result.setEx2IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { + result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; + result.setEx3IsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { + result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; + result.setEx4IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, timePhrase_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.timePhrase(args.phrase, args.creds, args.token, + args.environment, resultHandler); + } + } + + public static class invokeManagement extends + org.apache.thrift.AsyncProcessFunction { + public invokeManagement() { + super("invokeManagement"); + } + + public invokeManagement_args getEmptyArgsInstance() { + return new invokeManagement_args(); + } + + public AsyncMethodCallback getResultHandler( + final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete( + com.cinchapi.concourse.thrift.ComplexTObject o) { + invokeManagement_result result = new invokeManagement_result(); + result.success = o; + try { + fcall.sendResponse(fb, result, + org.apache.thrift.protocol.TMessageType.REPLY, + seqid); + return; + } + catch (Exception e) { + LOGGER.error( + "Exception writing to internal frame buffer", + e); + } + fb.close(); + } + + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + invokeManagement_result result = new invokeManagement_result(); + if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { + result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; + result.setExIsSet(true); + msg = result; + } + else if(e instanceof com.cinchapi.concourse.thrift.ManagementException) { + result.ex2 = (com.cinchapi.concourse.thrift.ManagementException) e; + result.setEx2IsSet(true); + msg = result; + } + else { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( + org.apache.thrift.TApplicationException.INTERNAL_ERROR, + e.getMessage()); + } + try { + fcall.sendResponse(fb, msg, msgType, seqid); + return; + } + catch (Exception ex) { + LOGGER.error( + "Exception writing to internal frame buffer", + ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, invokeManagement_args args, + org.apache.thrift.async.AsyncMethodCallback resultHandler) + throws TException { + iface.invokeManagement(args.method, args.params, args.creds, + resultHandler); + } + } + + } + + public static class abort_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "abort_args"); + + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 2); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new abort_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_argsTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + CREDS((short) 1, "creds"), + TRANSACTION((short) 2, "transaction"), + ENVIRONMENT((short) 3, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // CREDS + return CREDS; + case 2: // TRANSACTION + return TRANSACTION; + case 3: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(abort_args.class, metaDataMap); + } + + public abort_args() {} + + public abort_args(com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public abort_args(abort_args other) { + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public abort_args deepCopy() { + return new abort_args(this); + } + + @Override + public void clear() { + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public abort_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public abort_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public abort_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof abort_args) + return this.equals((abort_args) that); + return false; + } + + public boolean equals(abort_args that) { + if(that == null) + return false; + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(abort_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("abort_args("); + boolean first = true; + + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class abort_argsStandardSchemeFactory + implements SchemeFactory { + public abort_argsStandardScheme getScheme() { + return new abort_argsStandardScheme(); + } + } + + private static class abort_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + abort_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + abort_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class abort_argsTupleSchemeFactory + implements SchemeFactory { + public abort_argsTupleScheme getScheme() { + return new abort_argsTupleScheme(); + } + } + + private static class abort_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + abort_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetCreds()) { + optionals.set(0); + } + if(struct.isSetTransaction()) { + optionals.set(1); + } + if(struct.isSetEnvironment()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + abort_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(1)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(2)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class abort_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "abort_result"); + + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new abort_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new abort_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.SecurityException ex; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + EX((short) 1, "ex"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // EX + return EX; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(abort_result.class, metaDataMap); + } + + public abort_result() {} + + public abort_result( + com.cinchapi.concourse.thrift.SecurityException ex) { + this(); + this.ex = ex; + } + + /** + * Performs a deep copy on other. + */ + public abort_result(abort_result other) { + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + } + + public abort_result deepCopy() { + return new abort_result(this); + } + + @Override + public void clear() { + this.ex = null; + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public abort_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case EX: + return getEx(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case EX: + return isSetEx(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof abort_result) + return this.equals((abort_result) that); + return false; + } + + public boolean equals(abort_result that) { + if(that == null) + return false; + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + return list.hashCode(); + } + + @Override + public int compareTo(abort_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("abort_result("); + boolean first = true; + + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class abort_resultStandardSchemeFactory + implements SchemeFactory { + public abort_resultStandardScheme getScheme() { + return new abort_resultStandardScheme(); + } + } + + private static class abort_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + abort_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + abort_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class abort_resultTupleSchemeFactory + implements SchemeFactory { + public abort_resultTupleScheme getScheme() { + return new abort_resultTupleScheme(); + } + } + + private static class abort_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + abort_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetEx()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + abort_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if(incoming.get(0)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + } + } + + } + + public static class addKeyValue_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "addKeyValue_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( + "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new addKeyValue_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new addKeyValue_argsTupleSchemeFactory()); + } + + public String key; // required + public com.cinchapi.concourse.thrift.TObject value; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + VALUE((short) 2, "value"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // VALUE + return VALUE; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.VALUE, + new org.apache.thrift.meta_data.FieldMetaData("value", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(addKeyValue_args.class, metaDataMap); + } + + public addKeyValue_args() {} + + public addKeyValue_args(String key, + com.cinchapi.concourse.thrift.TObject value, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.value = value; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public addKeyValue_args(addKeyValue_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetValue()) { + this.value = new com.cinchapi.concourse.thrift.TObject( + other.value); + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public addKeyValue_args deepCopy() { + return new addKeyValue_args(this); + } + + @Override + public void clear() { + this.key = null; + this.value = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public addKeyValue_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public com.cinchapi.concourse.thrift.TObject getValue() { + return this.value; + } + + public addKeyValue_args setValue( + com.cinchapi.concourse.thrift.TObject value) { + this.value = value; + return this; + } + + public void unsetValue() { + this.value = null; + } + + /** + * Returns true if field value is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetValue() { + return this.value != null; + } + + public void setValueIsSet(boolean value) { + if(!value) { + this.value = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public addKeyValue_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public addKeyValue_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public addKeyValue_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case VALUE: + if(value == null) { + unsetValue(); + } + else { + setValue((com.cinchapi.concourse.thrift.TObject) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case VALUE: + return getValue(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case VALUE: + return isSetValue(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof addKeyValue_args) + return this.equals((addKeyValue_args) that); + return false; + } + + public boolean equals(addKeyValue_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_value = true && this.isSetValue(); + boolean that_present_value = true && that.isSetValue(); + if(this_present_value || that_present_value) { + if(!(this_present_value && that_present_value)) + return false; + if(!this.value.equals(that.value)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_value = true && (isSetValue()); + list.add(present_value); + if(present_value) + list.add(value); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(addKeyValue_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValue()) + .compareTo(other.isSetValue()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetValue()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.value, other.value); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("addKeyValue_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("value:"); + if(this.value == null) { + sb.append("null"); + } + else { + sb.append(this.value); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(value != null) { + value.validate(); + } + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class addKeyValue_argsStandardSchemeFactory + implements SchemeFactory { + public addKeyValue_argsStandardScheme getScheme() { + return new addKeyValue_argsStandardScheme(); + } + } + + private static class addKeyValue_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + addKeyValue_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // VALUE + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + addKeyValue_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.value != null) { + oprot.writeFieldBegin(VALUE_FIELD_DESC); + struct.value.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class addKeyValue_argsTupleSchemeFactory + implements SchemeFactory { + public addKeyValue_argsTupleScheme getScheme() { + return new addKeyValue_argsTupleScheme(); + } + } + + private static class addKeyValue_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + addKeyValue_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetValue()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetValue()) { + struct.value.write(oprot); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + addKeyValue_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class addKeyValue_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "addKeyValue_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.I64, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new addKeyValue_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new addKeyValue_resultTupleSchemeFactory()); + } + + public long success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + addKeyValue_result.class, metaDataMap); + } + + public addKeyValue_result() {} + + public addKeyValue_result(long success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.InvalidArgumentException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + setSuccessIsSet(true); + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public addKeyValue_result(addKeyValue_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public addKeyValue_result deepCopy() { + return new addKeyValue_result(this); + } + + @Override + public void clear() { + setSuccessIsSet(false); + this.success = 0; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public long getSuccess() { + return this.success; + } + + public addKeyValue_result setSuccess(long success) { + this.success = success; + setSuccessIsSet(true); + return this; + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __SUCCESS_ISSET_ID); + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __SUCCESS_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public addKeyValue_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public addKeyValue_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + return this.ex3; + } + + public addKeyValue_result setEx3( + com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public addKeyValue_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Long) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof addKeyValue_result) + return this.equals((addKeyValue_result) that); + return false; + } + + public boolean equals(addKeyValue_result that) { + if(that == null) + return false; + + boolean this_present_success = true; + boolean that_present_success = true; + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(this.success != that.success) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true; + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(addKeyValue_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("addKeyValue_result("); + boolean first = true; + + sb.append("success:"); + sb.append(this.success); + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class addKeyValue_resultStandardSchemeFactory + implements SchemeFactory { + public addKeyValue_resultStandardScheme getScheme() { + return new addKeyValue_resultStandardScheme(); + } + } + + private static class addKeyValue_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + addKeyValue_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.success = iprot.readI64(); + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + addKeyValue_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeI64(struct.success); + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class addKeyValue_resultTupleSchemeFactory + implements SchemeFactory { + public addKeyValue_resultTupleScheme getScheme() { + return new addKeyValue_resultTupleScheme(); + } + } + + private static class addKeyValue_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + addKeyValue_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + oprot.writeI64(struct.success); + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + addKeyValue_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.success = iprot.readI64(); + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class addKeyValueRecord_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "addKeyValueRecord_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( + "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new addKeyValueRecord_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new addKeyValueRecord_argsTupleSchemeFactory()); + } + + public String key; // required + public com.cinchapi.concourse.thrift.TObject value; // required + public long record; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + VALUE((short) 2, "value"), + RECORD((short) 3, "record"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // VALUE + return VALUE; + case 3: // RECORD + return RECORD; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.VALUE, + new org.apache.thrift.meta_data.FieldMetaData("value", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + addKeyValueRecord_args.class, metaDataMap); + } + + public addKeyValueRecord_args() {} + + public addKeyValueRecord_args(String key, + com.cinchapi.concourse.thrift.TObject value, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.value = value; + this.record = record; + setRecordIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public addKeyValueRecord_args(addKeyValueRecord_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetValue()) { + this.value = new com.cinchapi.concourse.thrift.TObject( + other.value); + } + this.record = other.record; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public addKeyValueRecord_args deepCopy() { + return new addKeyValueRecord_args(this); + } + + @Override + public void clear() { + this.key = null; + this.value = null; + setRecordIsSet(false); + this.record = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public addKeyValueRecord_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public com.cinchapi.concourse.thrift.TObject getValue() { + return this.value; + } + + public addKeyValueRecord_args setValue( + com.cinchapi.concourse.thrift.TObject value) { + this.value = value; + return this; + } + + public void unsetValue() { + this.value = null; + } + + /** + * Returns true if field value is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetValue() { + return this.value != null; + } + + public void setValueIsSet(boolean value) { + if(!value) { + this.value = null; + } + } + + public long getRecord() { + return this.record; + } + + public addKeyValueRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public addKeyValueRecord_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public addKeyValueRecord_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public addKeyValueRecord_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case VALUE: + if(value == null) { + unsetValue(); + } + else { + setValue((com.cinchapi.concourse.thrift.TObject) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case VALUE: + return getValue(); + + case RECORD: + return getRecord(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case VALUE: + return isSetValue(); + case RECORD: + return isSetRecord(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof addKeyValueRecord_args) + return this.equals((addKeyValueRecord_args) that); + return false; + } + + public boolean equals(addKeyValueRecord_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_value = true && this.isSetValue(); + boolean that_present_value = true && that.isSetValue(); + if(this_present_value || that_present_value) { + if(!(this_present_value && that_present_value)) + return false; + if(!this.value.equals(that.value)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_value = true && (isSetValue()); + list.add(present_value); + if(present_value) + list.add(value); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(addKeyValueRecord_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValue()) + .compareTo(other.isSetValue()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetValue()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.value, other.value); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("addKeyValueRecord_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("value:"); + if(this.value == null) { + sb.append("null"); + } + else { + sb.append(this.value); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(value != null) { + value.validate(); + } + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class addKeyValueRecord_argsStandardSchemeFactory + implements SchemeFactory { + public addKeyValueRecord_argsStandardScheme getScheme() { + return new addKeyValueRecord_argsStandardScheme(); + } + } + + private static class addKeyValueRecord_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + addKeyValueRecord_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // VALUE + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + addKeyValueRecord_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.value != null) { + oprot.writeFieldBegin(VALUE_FIELD_DESC); + struct.value.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class addKeyValueRecord_argsTupleSchemeFactory + implements SchemeFactory { + public addKeyValueRecord_argsTupleScheme getScheme() { + return new addKeyValueRecord_argsTupleScheme(); + } + } + + private static class addKeyValueRecord_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + addKeyValueRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetValue()) { + optionals.set(1); + } + if(struct.isSetRecord()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetValue()) { + struct.value.write(oprot); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + addKeyValueRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); + } + if(incoming.get(2)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class addKeyValueRecord_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "addKeyValueRecord_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new addKeyValueRecord_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new addKeyValueRecord_resultTupleSchemeFactory()); + } + + public boolean success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + addKeyValueRecord_result.class, metaDataMap); + } + + public addKeyValueRecord_result() {} + + public addKeyValueRecord_result(boolean success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.InvalidArgumentException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + setSuccessIsSet(true); + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public addKeyValueRecord_result(addKeyValueRecord_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public addKeyValueRecord_result deepCopy() { + return new addKeyValueRecord_result(this); + } + + @Override + public void clear() { + setSuccessIsSet(false); + this.success = false; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public boolean isSuccess() { + return this.success; + } + + public addKeyValueRecord_result setSuccess(boolean success) { + this.success = success; + setSuccessIsSet(true); + return this; + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __SUCCESS_ISSET_ID); + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __SUCCESS_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public addKeyValueRecord_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public addKeyValueRecord_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + return this.ex3; + } + + public addKeyValueRecord_result setEx3( + com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public addKeyValueRecord_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Boolean) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return isSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof addKeyValueRecord_result) + return this.equals((addKeyValueRecord_result) that); + return false; + } + + public boolean equals(addKeyValueRecord_result that) { + if(that == null) + return false; + + boolean this_present_success = true; + boolean that_present_success = true; + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(this.success != that.success) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true; + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(addKeyValueRecord_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("addKeyValueRecord_result("); + boolean first = true; + + sb.append("success:"); + sb.append(this.success); + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class addKeyValueRecord_resultStandardSchemeFactory + implements SchemeFactory { + public addKeyValueRecord_resultStandardScheme getScheme() { + return new addKeyValueRecord_resultStandardScheme(); + } + } + + private static class addKeyValueRecord_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + addKeyValueRecord_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + addKeyValueRecord_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class addKeyValueRecord_resultTupleSchemeFactory + implements SchemeFactory { + public addKeyValueRecord_resultTupleScheme getScheme() { + return new addKeyValueRecord_resultTupleScheme(); + } + } + + private static class addKeyValueRecord_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + addKeyValueRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + oprot.writeBool(struct.success); + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + addKeyValueRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class addKeyValueRecords_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "addKeyValueRecords_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( + "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new addKeyValueRecords_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new addKeyValueRecords_argsTupleSchemeFactory()); + } + + public String key; // required + public com.cinchapi.concourse.thrift.TObject value; // required + public List records; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + VALUE((short) 2, "value"), + RECORDS((short) 3, "records"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // VALUE + return VALUE; + case 3: // RECORDS + return RECORDS; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.VALUE, + new org.apache.thrift.meta_data.FieldMetaData("value", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + addKeyValueRecords_args.class, metaDataMap); + } + + public addKeyValueRecords_args() {} + + public addKeyValueRecords_args(String key, + com.cinchapi.concourse.thrift.TObject value, List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.value = value; + this.records = records; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public addKeyValueRecords_args(addKeyValueRecords_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetValue()) { + this.value = new com.cinchapi.concourse.thrift.TObject( + other.value); + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public addKeyValueRecords_args deepCopy() { + return new addKeyValueRecords_args(this); + } + + @Override + public void clear() { + this.key = null; + this.value = null; + this.records = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public addKeyValueRecords_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public com.cinchapi.concourse.thrift.TObject getValue() { + return this.value; + } + + public addKeyValueRecords_args setValue( + com.cinchapi.concourse.thrift.TObject value) { + this.value = value; + return this; + } + + public void unsetValue() { + this.value = null; + } + + /** + * Returns true if field value is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetValue() { + return this.value != null; + } + + public void setValueIsSet(boolean value) { + if(!value) { + this.value = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public addKeyValueRecords_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public addKeyValueRecords_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public addKeyValueRecords_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public addKeyValueRecords_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case VALUE: + if(value == null) { + unsetValue(); + } + else { + setValue((com.cinchapi.concourse.thrift.TObject) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case VALUE: + return getValue(); + + case RECORDS: + return getRecords(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case VALUE: + return isSetValue(); + case RECORDS: + return isSetRecords(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof addKeyValueRecords_args) + return this.equals((addKeyValueRecords_args) that); + return false; + } + + public boolean equals(addKeyValueRecords_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_value = true && this.isSetValue(); + boolean that_present_value = true && that.isSetValue(); + if(this_present_value || that_present_value) { + if(!(this_present_value && that_present_value)) + return false; + if(!this.value.equals(that.value)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_value = true && (isSetValue()); + list.add(present_value); + if(present_value) + list.add(value); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(addKeyValueRecords_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValue()) + .compareTo(other.isSetValue()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetValue()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.value, other.value); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("addKeyValueRecords_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("value:"); + if(this.value == null) { + sb.append("null"); + } + else { + sb.append(this.value); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(value != null) { + value.validate(); + } + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class addKeyValueRecords_argsStandardSchemeFactory + implements SchemeFactory { + public addKeyValueRecords_argsStandardScheme getScheme() { + return new addKeyValueRecords_argsStandardScheme(); + } + } + + private static class addKeyValueRecords_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + addKeyValueRecords_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // VALUE + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list0 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list0.size); + long _elem1; + for (int _i2 = 0; _i2 < _list0.size; ++_i2) { + _elem1 = iprot.readI64(); + struct.records.add(_elem1); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + addKeyValueRecords_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.value != null) { + oprot.writeFieldBegin(VALUE_FIELD_DESC); + struct.value.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter3 : struct.records) { + oprot.writeI64(_iter3); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class addKeyValueRecords_argsTupleSchemeFactory + implements SchemeFactory { + public addKeyValueRecords_argsTupleScheme getScheme() { + return new addKeyValueRecords_argsTupleScheme(); + } + } + + private static class addKeyValueRecords_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + addKeyValueRecords_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetValue()) { + optionals.set(1); + } + if(struct.isSetRecords()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetValue()) { + struct.value.write(oprot); + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter4 : struct.records) { + oprot.writeI64(_iter4); + } + } + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + addKeyValueRecords_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); + } + if(incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list5.size); + long _elem6; + for (int _i7 = 0; _i7 < _list5.size; ++_i7) { + _elem6 = iprot.readI64(); + struct.records.add(_elem6); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class addKeyValueRecords_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "addKeyValueRecords_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new addKeyValueRecords_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new addKeyValueRecords_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + addKeyValueRecords_result.class, metaDataMap); + } + + public addKeyValueRecords_result() {} + + public addKeyValueRecords_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.InvalidArgumentException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public addKeyValueRecords_result(addKeyValueRecords_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public addKeyValueRecords_result deepCopy() { + return new addKeyValueRecords_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, boolean val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public addKeyValueRecords_result setSuccess( + Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public addKeyValueRecords_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public addKeyValueRecords_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + return this.ex3; + } + + public addKeyValueRecords_result setEx3( + com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public addKeyValueRecords_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof addKeyValueRecords_result) + return this.equals((addKeyValueRecords_result) that); + return false; + } + + public boolean equals(addKeyValueRecords_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(addKeyValueRecords_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("addKeyValueRecords_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class addKeyValueRecords_resultStandardSchemeFactory + implements SchemeFactory { + public addKeyValueRecords_resultStandardScheme getScheme() { + return new addKeyValueRecords_resultStandardScheme(); + } + } + + private static class addKeyValueRecords_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + addKeyValueRecords_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map8 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map8.size); + long _key9; + boolean _val10; + for (int _i11 = 0; _i11 < _map8.size; ++_i11) { + _key9 = iprot.readI64(); + _val10 = iprot.readBool(); + struct.success.put(_key9, _val10); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + addKeyValueRecords_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.BOOL, + struct.success.size())); + for (Map.Entry _iter12 : struct.success + .entrySet()) { + oprot.writeI64(_iter12.getKey()); + oprot.writeBool(_iter12.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class addKeyValueRecords_resultTupleSchemeFactory + implements SchemeFactory { + public addKeyValueRecords_resultTupleScheme getScheme() { + return new addKeyValueRecords_resultTupleScheme(); + } + } + + private static class addKeyValueRecords_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + addKeyValueRecords_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter13 : struct.success + .entrySet()) { + oprot.writeI64(_iter13.getKey()); + oprot.writeBool(_iter13.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + addKeyValueRecords_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map14 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.BOOL, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map14.size); + long _key15; + boolean _val16; + for (int _i17 = 0; _i17 < _map14.size; ++_i17) { + _key15 = iprot.readI64(); + _val16 = iprot.readBool(); + struct.success.put(_key15, _val16); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class auditRecord_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditRecord_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 3); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditRecord_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditRecord_argsTupleSchemeFactory()); + } + + public long record; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // CREDS + return CREDS; + case 3: // TRANSACTION + return TRANSACTION; + case 4: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(auditRecord_args.class, metaDataMap); + } + + public auditRecord_args() {} + + public auditRecord_args(long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public auditRecord_args(auditRecord_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public auditRecord_args deepCopy() { + return new auditRecord_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public auditRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public auditRecord_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public auditRecord_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public auditRecord_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditRecord_args) + return this.equals((auditRecord_args) that); + return false; + } + + public boolean equals(auditRecord_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(auditRecord_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditRecord_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditRecord_argsStandardSchemeFactory + implements SchemeFactory { + public auditRecord_argsStandardScheme getScheme() { + return new auditRecord_argsStandardScheme(); + } + } + + private static class auditRecord_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditRecord_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditRecord_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditRecord_argsTupleSchemeFactory + implements SchemeFactory { + public auditRecord_argsTupleScheme getScheme() { + return new auditRecord_argsTupleScheme(); + } + } + + private static class auditRecord_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetCreds()) { + optionals.set(1); + } + if(struct.isSetTransaction()) { + optionals.set(2); + } + if(struct.isSetEnvironment()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(2)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(3)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class auditRecord_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditRecord_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditRecord_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditRecord_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditRecord_result.class, metaDataMap); + } + + public auditRecord_result() {} + + public auditRecord_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public auditRecord_result(auditRecord_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public auditRecord_result deepCopy() { + return new auditRecord_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, String val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public auditRecord_result setSuccess(Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public auditRecord_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public auditRecord_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public auditRecord_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditRecord_result) + return this.equals((auditRecord_result) that); + return false; + } + + public boolean equals(auditRecord_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(auditRecord_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditRecord_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditRecord_resultStandardSchemeFactory + implements SchemeFactory { + public auditRecord_resultStandardScheme getScheme() { + return new auditRecord_resultStandardScheme(); + } + } + + private static class auditRecord_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditRecord_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map18 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map18.size); + long _key19; + String _val20; + for (int _i21 = 0; _i21 < _map18.size; ++_i21) { + _key19 = iprot.readI64(); + _val20 = iprot.readString(); + struct.success.put(_key19, _val20); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditRecord_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (Map.Entry _iter22 : struct.success + .entrySet()) { + oprot.writeI64(_iter22.getKey()); + oprot.writeString(_iter22.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditRecord_resultTupleSchemeFactory + implements SchemeFactory { + public auditRecord_resultTupleScheme getScheme() { + return new auditRecord_resultTupleScheme(); + } + } + + private static class auditRecord_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter23 : struct.success + .entrySet()) { + oprot.writeI64(_iter23.getKey()); + oprot.writeString(_iter23.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map24 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map24.size); + long _key25; + String _val26; + for (int _i27 = 0; _i27 < _map24.size; ++_i27) { + _key25 = iprot.readI64(); + _val26 = iprot.readString(); + struct.success.put(_key25, _val26); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class auditRecordStart_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditRecordStart_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditRecordStart_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditRecordStart_argsTupleSchemeFactory()); + } + + public long record; // required + public long start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + START((short) 2, "start"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // START + return START; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __START_ISSET_ID = 1; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditRecordStart_args.class, metaDataMap); + } + + public auditRecordStart_args() {} + + public auditRecordStart_args(long record, long start, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.start = start; + setStartIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public auditRecordStart_args(auditRecordStart_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + this.start = other.start; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public auditRecordStart_args deepCopy() { + return new auditRecordStart_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + setStartIsSet(false); + this.start = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public auditRecordStart_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getStart() { + return this.start; + } + + public auditRecordStart_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public auditRecordStart_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public auditRecordStart_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public auditRecordStart_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditRecordStart_args) + return this.equals((auditRecordStart_args) that); + return false; + } + + public boolean equals(auditRecordStart_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(auditRecordStart_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditRecordStart_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditRecordStart_argsStandardSchemeFactory + implements SchemeFactory { + public auditRecordStart_argsStandardScheme getScheme() { + return new auditRecordStart_argsStandardScheme(); + } + } + + private static class auditRecordStart_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditRecordStart_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditRecordStart_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditRecordStart_argsTupleSchemeFactory + implements SchemeFactory { + public auditRecordStart_argsTupleScheme getScheme() { + return new auditRecordStart_argsTupleScheme(); + } + } + + private static class auditRecordStart_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditRecordStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditRecordStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class auditRecordStart_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditRecordStart_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditRecordStart_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditRecordStart_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditRecordStart_result.class, metaDataMap); + } + + public auditRecordStart_result() {} + + public auditRecordStart_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public auditRecordStart_result(auditRecordStart_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public auditRecordStart_result deepCopy() { + return new auditRecordStart_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, String val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public auditRecordStart_result setSuccess(Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public auditRecordStart_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public auditRecordStart_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public auditRecordStart_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditRecordStart_result) + return this.equals((auditRecordStart_result) that); + return false; + } + + public boolean equals(auditRecordStart_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(auditRecordStart_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditRecordStart_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditRecordStart_resultStandardSchemeFactory + implements SchemeFactory { + public auditRecordStart_resultStandardScheme getScheme() { + return new auditRecordStart_resultStandardScheme(); + } + } + + private static class auditRecordStart_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditRecordStart_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map28 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map28.size); + long _key29; + String _val30; + for (int _i31 = 0; _i31 < _map28.size; ++_i31) { + _key29 = iprot.readI64(); + _val30 = iprot.readString(); + struct.success.put(_key29, _val30); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditRecordStart_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (Map.Entry _iter32 : struct.success + .entrySet()) { + oprot.writeI64(_iter32.getKey()); + oprot.writeString(_iter32.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditRecordStart_resultTupleSchemeFactory + implements SchemeFactory { + public auditRecordStart_resultTupleScheme getScheme() { + return new auditRecordStart_resultTupleScheme(); + } + } + + private static class auditRecordStart_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditRecordStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter33 : struct.success + .entrySet()) { + oprot.writeI64(_iter33.getKey()); + oprot.writeString(_iter33.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditRecordStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map34 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map34.size); + long _key35; + String _val36; + for (int _i37 = 0; _i37 < _map34.size; ++_i37) { + _key35 = iprot.readI64(); + _val36 = iprot.readString(); + struct.success.put(_key35, _val36); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class auditRecordStartstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditRecordStartstr_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditRecordStartstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditRecordStartstr_argsTupleSchemeFactory()); + } + + public long record; // required + public String start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + START((short) 2, "start"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // START + return START; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditRecordStartstr_args.class, metaDataMap); + } + + public auditRecordStartstr_args() {} + + public auditRecordStartstr_args(long record, String start, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.start = start; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public auditRecordStartstr_args(auditRecordStartstr_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public auditRecordStartstr_args deepCopy() { + return new auditRecordStartstr_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + this.start = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public auditRecordStartstr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getStart() { + return this.start; + } + + public auditRecordStartstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public auditRecordStartstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public auditRecordStartstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public auditRecordStartstr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditRecordStartstr_args) + return this.equals((auditRecordStartstr_args) that); + return false; + } + + public boolean equals(auditRecordStartstr_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(auditRecordStartstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditRecordStartstr_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditRecordStartstr_argsStandardSchemeFactory + implements SchemeFactory { + public auditRecordStartstr_argsStandardScheme getScheme() { + return new auditRecordStartstr_argsStandardScheme(); + } + } + + private static class auditRecordStartstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditRecordStartstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditRecordStartstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditRecordStartstr_argsTupleSchemeFactory + implements SchemeFactory { + public auditRecordStartstr_argsTupleScheme getScheme() { + return new auditRecordStartstr_argsTupleScheme(); + } + } + + private static class auditRecordStartstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class auditRecordStartstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditRecordStartstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditRecordStartstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditRecordStartstr_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditRecordStartstr_result.class, metaDataMap); + } + + public auditRecordStartstr_result() {} + + public auditRecordStartstr_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public auditRecordStartstr_result(auditRecordStartstr_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public auditRecordStartstr_result deepCopy() { + return new auditRecordStartstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, String val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public auditRecordStartstr_result setSuccess( + Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public auditRecordStartstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public auditRecordStartstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public auditRecordStartstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public auditRecordStartstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditRecordStartstr_result) + return this.equals((auditRecordStartstr_result) that); + return false; + } + + public boolean equals(auditRecordStartstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(auditRecordStartstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditRecordStartstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditRecordStartstr_resultStandardSchemeFactory + implements SchemeFactory { + public auditRecordStartstr_resultStandardScheme getScheme() { + return new auditRecordStartstr_resultStandardScheme(); + } + } + + private static class auditRecordStartstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditRecordStartstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map38 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map38.size); + long _key39; + String _val40; + for (int _i41 = 0; _i41 < _map38.size; ++_i41) { + _key39 = iprot.readI64(); + _val40 = iprot.readString(); + struct.success.put(_key39, _val40); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditRecordStartstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (Map.Entry _iter42 : struct.success + .entrySet()) { + oprot.writeI64(_iter42.getKey()); + oprot.writeString(_iter42.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditRecordStartstr_resultTupleSchemeFactory + implements SchemeFactory { + public auditRecordStartstr_resultTupleScheme getScheme() { + return new auditRecordStartstr_resultTupleScheme(); + } + } + + private static class auditRecordStartstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter43 : struct.success + .entrySet()) { + oprot.writeI64(_iter43.getKey()); + oprot.writeString(_iter43.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map44 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map44.size); + long _key45; + String _val46; + for (int _i47 = 0; _i47 < _map44.size; ++_i47) { + _key45 = iprot.readI64(); + _val46 = iprot.readString(); + struct.success.put(_key45, _val46); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class auditRecordStartEnd_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditRecordStartEnd_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditRecordStartEnd_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditRecordStartEnd_argsTupleSchemeFactory()); + } + + public long record; // required + public long start; // required + public long tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + START((short) 2, "start"), + TEND((short) 3, "tend"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // START + return START; + case 3: // TEND + return TEND; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __START_ISSET_ID = 1; + private static final int __TEND_ISSET_ID = 2; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditRecordStartEnd_args.class, metaDataMap); + } + + public auditRecordStartEnd_args() {} + + public auditRecordStartEnd_args(long record, long start, long tend, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.start = start; + setStartIsSet(true); + this.tend = tend; + setTendIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public auditRecordStartEnd_args(auditRecordStartEnd_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + this.start = other.start; + this.tend = other.tend; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public auditRecordStartEnd_args deepCopy() { + return new auditRecordStartEnd_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + setStartIsSet(false); + this.start = 0; + setTendIsSet(false); + this.tend = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public auditRecordStartEnd_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getStart() { + return this.start; + } + + public auditRecordStartEnd_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public long getTend() { + return this.tend; + } + + public auditRecordStartEnd_args setTend(long tend) { + this.tend = tend; + setTendIsSet(true); + return this; + } + + public void unsetTend() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TEND_ISSET_ID); + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + } + + public void setTendIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TEND_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public auditRecordStartEnd_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public auditRecordStartEnd_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public auditRecordStartEnd_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditRecordStartEnd_args) + return this.equals((auditRecordStartEnd_args) that); + return false; + } + + public boolean equals(auditRecordStartEnd_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_tend = true; + boolean that_present_tend = true; + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(this.tend != that.tend) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true; + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(auditRecordStartEnd_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditRecordStartEnd_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + sb.append(this.tend); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditRecordStartEnd_argsStandardSchemeFactory + implements SchemeFactory { + public auditRecordStartEnd_argsStandardScheme getScheme() { + return new auditRecordStartEnd_argsStandardScheme(); + } + } + + private static class auditRecordStartEnd_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditRecordStartEnd_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditRecordStartEnd_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeI64(struct.tend); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditRecordStartEnd_argsTupleSchemeFactory + implements SchemeFactory { + public auditRecordStartEnd_argsTupleScheme getScheme() { + return new auditRecordStartEnd_argsTupleScheme(); + } + } + + private static class auditRecordStartEnd_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetTend()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetTend()) { + oprot.writeI64(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class auditRecordStartEnd_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditRecordStartEnd_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditRecordStartEnd_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditRecordStartEnd_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditRecordStartEnd_result.class, metaDataMap); + } + + public auditRecordStartEnd_result() {} + + public auditRecordStartEnd_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public auditRecordStartEnd_result(auditRecordStartEnd_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public auditRecordStartEnd_result deepCopy() { + return new auditRecordStartEnd_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, String val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public auditRecordStartEnd_result setSuccess( + Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public auditRecordStartEnd_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public auditRecordStartEnd_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public auditRecordStartEnd_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditRecordStartEnd_result) + return this.equals((auditRecordStartEnd_result) that); + return false; + } + + public boolean equals(auditRecordStartEnd_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(auditRecordStartEnd_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditRecordStartEnd_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditRecordStartEnd_resultStandardSchemeFactory + implements SchemeFactory { + public auditRecordStartEnd_resultStandardScheme getScheme() { + return new auditRecordStartEnd_resultStandardScheme(); + } + } + + private static class auditRecordStartEnd_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditRecordStartEnd_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map48 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map48.size); + long _key49; + String _val50; + for (int _i51 = 0; _i51 < _map48.size; ++_i51) { + _key49 = iprot.readI64(); + _val50 = iprot.readString(); + struct.success.put(_key49, _val50); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditRecordStartEnd_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (Map.Entry _iter52 : struct.success + .entrySet()) { + oprot.writeI64(_iter52.getKey()); + oprot.writeString(_iter52.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditRecordStartEnd_resultTupleSchemeFactory + implements SchemeFactory { + public auditRecordStartEnd_resultTupleScheme getScheme() { + return new auditRecordStartEnd_resultTupleScheme(); + } + } + + private static class auditRecordStartEnd_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter53 : struct.success + .entrySet()) { + oprot.writeI64(_iter53.getKey()); + oprot.writeString(_iter53.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map54 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map54.size); + long _key55; + String _val56; + for (int _i57 = 0; _i57 < _map54.size; ++_i57) { + _key55 = iprot.readI64(); + _val56 = iprot.readString(); + struct.success.put(_key55, _val56); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class auditRecordStartstrEndstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditRecordStartstrEndstr_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditRecordStartstrEndstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditRecordStartstrEndstr_argsTupleSchemeFactory()); + } + + public long record; // required + public String start; // required + public String tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + START((short) 2, "start"), + TEND((short) 3, "tend"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // START + return START; + case 3: // TEND + return TEND; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditRecordStartstrEndstr_args.class, metaDataMap); + } + + public auditRecordStartstrEndstr_args() {} + + public auditRecordStartstrEndstr_args(long record, String start, + String tend, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.start = start; + this.tend = tend; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public auditRecordStartstrEndstr_args( + auditRecordStartstrEndstr_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetTend()) { + this.tend = other.tend; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public auditRecordStartstrEndstr_args deepCopy() { + return new auditRecordStartstrEndstr_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + this.start = null; + this.tend = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public auditRecordStartstrEndstr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getStart() { + return this.start; + } + + public auditRecordStartstrEndstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public String getTend() { + return this.tend; + } + + public auditRecordStartstrEndstr_args setTend(String tend) { + this.tend = tend; + return this; + } + + public void unsetTend() { + this.tend = null; + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return this.tend != null; + } + + public void setTendIsSet(boolean value) { + if(!value) { + this.tend = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public auditRecordStartstrEndstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public auditRecordStartstrEndstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public auditRecordStartstrEndstr_args setEnvironment( + String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditRecordStartstrEndstr_args) + return this.equals((auditRecordStartstrEndstr_args) that); + return false; + } + + public boolean equals(auditRecordStartstrEndstr_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_tend = true && this.isSetTend(); + boolean that_present_tend = true && that.isSetTend(); + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(!this.tend.equals(that.tend)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true && (isSetTend()); + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(auditRecordStartstrEndstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "auditRecordStartstrEndstr_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + if(this.tend == null) { + sb.append("null"); + } + else { + sb.append(this.tend); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditRecordStartstrEndstr_argsStandardSchemeFactory + implements SchemeFactory { + public auditRecordStartstrEndstr_argsStandardScheme getScheme() { + return new auditRecordStartstrEndstr_argsStandardScheme(); + } + } + + private static class auditRecordStartstrEndstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.tend != null) { + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeString(struct.tend); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditRecordStartstrEndstr_argsTupleSchemeFactory + implements SchemeFactory { + public auditRecordStartstrEndstr_argsTupleScheme getScheme() { + return new auditRecordStartstrEndstr_argsTupleScheme(); + } + } + + private static class auditRecordStartstrEndstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetTend()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetTend()) { + oprot.writeString(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class auditRecordStartstrEndstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditRecordStartstrEndstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditRecordStartstrEndstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditRecordStartstrEndstr_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditRecordStartstrEndstr_result.class, metaDataMap); + } + + public auditRecordStartstrEndstr_result() {} + + public auditRecordStartstrEndstr_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public auditRecordStartstrEndstr_result( + auditRecordStartstrEndstr_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public auditRecordStartstrEndstr_result deepCopy() { + return new auditRecordStartstrEndstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, String val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public auditRecordStartstrEndstr_result setSuccess( + Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public auditRecordStartstrEndstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public auditRecordStartstrEndstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public auditRecordStartstrEndstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public auditRecordStartstrEndstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditRecordStartstrEndstr_result) + return this.equals((auditRecordStartstrEndstr_result) that); + return false; + } + + public boolean equals(auditRecordStartstrEndstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(auditRecordStartstrEndstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "auditRecordStartstrEndstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditRecordStartstrEndstr_resultStandardSchemeFactory + implements SchemeFactory { + public auditRecordStartstrEndstr_resultStandardScheme getScheme() { + return new auditRecordStartstrEndstr_resultStandardScheme(); + } + } + + private static class auditRecordStartstrEndstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map58 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map58.size); + long _key59; + String _val60; + for (int _i61 = 0; _i61 < _map58.size; ++_i61) { + _key59 = iprot.readI64(); + _val60 = iprot.readString(); + struct.success.put(_key59, _val60); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (Map.Entry _iter62 : struct.success + .entrySet()) { + oprot.writeI64(_iter62.getKey()); + oprot.writeString(_iter62.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditRecordStartstrEndstr_resultTupleSchemeFactory + implements SchemeFactory { + public auditRecordStartstrEndstr_resultTupleScheme getScheme() { + return new auditRecordStartstrEndstr_resultTupleScheme(); + } + } + + private static class auditRecordStartstrEndstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter63 : struct.success + .entrySet()) { + oprot.writeI64(_iter63.getKey()); + oprot.writeString(_iter63.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map64 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map64.size); + long _key65; + String _val66; + for (int _i67 = 0; _i67 < _map64.size; ++_i67) { + _key65 = iprot.readI64(); + _val66 = iprot.readString(); + struct.success.put(_key65, _val66); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class auditKeyRecord_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditKeyRecord_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditKeyRecord_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditKeyRecord_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditKeyRecord_args.class, metaDataMap); + } + + public auditKeyRecord_args() {} + + public auditKeyRecord_args(String key, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public auditKeyRecord_args(auditKeyRecord_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public auditKeyRecord_args deepCopy() { + return new auditKeyRecord_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public auditKeyRecord_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public auditKeyRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public auditKeyRecord_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public auditKeyRecord_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public auditKeyRecord_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditKeyRecord_args) + return this.equals((auditKeyRecord_args) that); + return false; + } + + public boolean equals(auditKeyRecord_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(auditKeyRecord_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditKeyRecord_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditKeyRecord_argsStandardSchemeFactory + implements SchemeFactory { + public auditKeyRecord_argsStandardScheme getScheme() { + return new auditKeyRecord_argsStandardScheme(); + } + } + + private static class auditKeyRecord_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditKeyRecord_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditKeyRecord_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditKeyRecord_argsTupleSchemeFactory + implements SchemeFactory { + public auditKeyRecord_argsTupleScheme getScheme() { + return new auditKeyRecord_argsTupleScheme(); + } + } + + private static class auditKeyRecord_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class auditKeyRecord_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditKeyRecord_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditKeyRecord_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditKeyRecord_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditKeyRecord_result.class, metaDataMap); + } + + public auditKeyRecord_result() {} + + public auditKeyRecord_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public auditKeyRecord_result(auditKeyRecord_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public auditKeyRecord_result deepCopy() { + return new auditKeyRecord_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, String val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public auditKeyRecord_result setSuccess(Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public auditKeyRecord_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public auditKeyRecord_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public auditKeyRecord_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditKeyRecord_result) + return this.equals((auditKeyRecord_result) that); + return false; + } + + public boolean equals(auditKeyRecord_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(auditKeyRecord_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditKeyRecord_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditKeyRecord_resultStandardSchemeFactory + implements SchemeFactory { + public auditKeyRecord_resultStandardScheme getScheme() { + return new auditKeyRecord_resultStandardScheme(); + } + } + + private static class auditKeyRecord_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditKeyRecord_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map68 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map68.size); + long _key69; + String _val70; + for (int _i71 = 0; _i71 < _map68.size; ++_i71) { + _key69 = iprot.readI64(); + _val70 = iprot.readString(); + struct.success.put(_key69, _val70); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditKeyRecord_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (Map.Entry _iter72 : struct.success + .entrySet()) { + oprot.writeI64(_iter72.getKey()); + oprot.writeString(_iter72.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditKeyRecord_resultTupleSchemeFactory + implements SchemeFactory { + public auditKeyRecord_resultTupleScheme getScheme() { + return new auditKeyRecord_resultTupleScheme(); + } + } + + private static class auditKeyRecord_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter73 : struct.success + .entrySet()) { + oprot.writeI64(_iter73.getKey()); + oprot.writeString(_iter73.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map74 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map74.size); + long _key75; + String _val76; + for (int _i77 = 0; _i77 < _map74.size; ++_i77) { + _key75 = iprot.readI64(); + _val76 = iprot.readString(); + struct.success.put(_key75, _val76); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class auditKeyRecordStart_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditKeyRecordStart_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditKeyRecordStart_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditKeyRecordStart_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public long start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __START_ISSET_ID = 1; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditKeyRecordStart_args.class, metaDataMap); + } + + public auditKeyRecordStart_args() {} + + public auditKeyRecordStart_args(String key, long record, long start, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + setStartIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public auditKeyRecordStart_args(auditKeyRecordStart_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + this.start = other.start; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public auditKeyRecordStart_args deepCopy() { + return new auditKeyRecordStart_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + setStartIsSet(false); + this.start = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public auditKeyRecordStart_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public auditKeyRecordStart_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getStart() { + return this.start; + } + + public auditKeyRecordStart_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public auditKeyRecordStart_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public auditKeyRecordStart_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public auditKeyRecordStart_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditKeyRecordStart_args) + return this.equals((auditKeyRecordStart_args) that); + return false; + } + + public boolean equals(auditKeyRecordStart_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(auditKeyRecordStart_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditKeyRecordStart_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditKeyRecordStart_argsStandardSchemeFactory + implements SchemeFactory { + public auditKeyRecordStart_argsStandardScheme getScheme() { + return new auditKeyRecordStart_argsStandardScheme(); + } + } + + private static class auditKeyRecordStart_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditKeyRecordStart_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditKeyRecordStart_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditKeyRecordStart_argsTupleSchemeFactory + implements SchemeFactory { + public auditKeyRecordStart_argsTupleScheme getScheme() { + return new auditKeyRecordStart_argsTupleScheme(); + } + } + + private static class auditKeyRecordStart_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class auditKeyRecordStart_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditKeyRecordStart_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditKeyRecordStart_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditKeyRecordStart_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditKeyRecordStart_result.class, metaDataMap); + } + + public auditKeyRecordStart_result() {} + + public auditKeyRecordStart_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public auditKeyRecordStart_result(auditKeyRecordStart_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public auditKeyRecordStart_result deepCopy() { + return new auditKeyRecordStart_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, String val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public auditKeyRecordStart_result setSuccess( + Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public auditKeyRecordStart_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public auditKeyRecordStart_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public auditKeyRecordStart_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditKeyRecordStart_result) + return this.equals((auditKeyRecordStart_result) that); + return false; + } + + public boolean equals(auditKeyRecordStart_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(auditKeyRecordStart_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("auditKeyRecordStart_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditKeyRecordStart_resultStandardSchemeFactory + implements SchemeFactory { + public auditKeyRecordStart_resultStandardScheme getScheme() { + return new auditKeyRecordStart_resultStandardScheme(); + } + } + + private static class auditKeyRecordStart_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditKeyRecordStart_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map78 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map78.size); + long _key79; + String _val80; + for (int _i81 = 0; _i81 < _map78.size; ++_i81) { + _key79 = iprot.readI64(); + _val80 = iprot.readString(); + struct.success.put(_key79, _val80); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditKeyRecordStart_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (Map.Entry _iter82 : struct.success + .entrySet()) { + oprot.writeI64(_iter82.getKey()); + oprot.writeString(_iter82.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditKeyRecordStart_resultTupleSchemeFactory + implements SchemeFactory { + public auditKeyRecordStart_resultTupleScheme getScheme() { + return new auditKeyRecordStart_resultTupleScheme(); + } + } + + private static class auditKeyRecordStart_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter83 : struct.success + .entrySet()) { + oprot.writeI64(_iter83.getKey()); + oprot.writeString(_iter83.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map84 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map84.size); + long _key85; + String _val86; + for (int _i87 = 0; _i87 < _map84.size; ++_i87) { + _key85 = iprot.readI64(); + _val86 = iprot.readString(); + struct.success.put(_key85, _val86); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class auditKeyRecordStartstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditKeyRecordStartstr_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditKeyRecordStartstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditKeyRecordStartstr_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public String start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditKeyRecordStartstr_args.class, metaDataMap); + } + + public auditKeyRecordStartstr_args() {} + + public auditKeyRecordStartstr_args(String key, long record, + String start, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public auditKeyRecordStartstr_args(auditKeyRecordStartstr_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public auditKeyRecordStartstr_args deepCopy() { + return new auditKeyRecordStartstr_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + this.start = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public auditKeyRecordStartstr_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public auditKeyRecordStartstr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getStart() { + return this.start; + } + + public auditKeyRecordStartstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public auditKeyRecordStartstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public auditKeyRecordStartstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public auditKeyRecordStartstr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditKeyRecordStartstr_args) + return this.equals((auditKeyRecordStartstr_args) that); + return false; + } + + public boolean equals(auditKeyRecordStartstr_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(auditKeyRecordStartstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "auditKeyRecordStartstr_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditKeyRecordStartstr_argsStandardSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartstr_argsStandardScheme getScheme() { + return new auditKeyRecordStartstr_argsStandardScheme(); + } + } + + private static class auditKeyRecordStartstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditKeyRecordStartstr_argsTupleSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartstr_argsTupleScheme getScheme() { + return new auditKeyRecordStartstr_argsTupleScheme(); + } + } + + private static class auditKeyRecordStartstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class auditKeyRecordStartstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditKeyRecordStartstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditKeyRecordStartstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditKeyRecordStartstr_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditKeyRecordStartstr_result.class, metaDataMap); + } + + public auditKeyRecordStartstr_result() {} + + public auditKeyRecordStartstr_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public auditKeyRecordStartstr_result( + auditKeyRecordStartstr_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public auditKeyRecordStartstr_result deepCopy() { + return new auditKeyRecordStartstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, String val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public auditKeyRecordStartstr_result setSuccess( + Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public auditKeyRecordStartstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public auditKeyRecordStartstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public auditKeyRecordStartstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public auditKeyRecordStartstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditKeyRecordStartstr_result) + return this.equals((auditKeyRecordStartstr_result) that); + return false; + } + + public boolean equals(auditKeyRecordStartstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(auditKeyRecordStartstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "auditKeyRecordStartstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditKeyRecordStartstr_resultStandardSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartstr_resultStandardScheme getScheme() { + return new auditKeyRecordStartstr_resultStandardScheme(); + } + } + + private static class auditKeyRecordStartstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map88 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map88.size); + long _key89; + String _val90; + for (int _i91 = 0; _i91 < _map88.size; ++_i91) { + _key89 = iprot.readI64(); + _val90 = iprot.readString(); + struct.success.put(_key89, _val90); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (Map.Entry _iter92 : struct.success + .entrySet()) { + oprot.writeI64(_iter92.getKey()); + oprot.writeString(_iter92.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditKeyRecordStartstr_resultTupleSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartstr_resultTupleScheme getScheme() { + return new auditKeyRecordStartstr_resultTupleScheme(); + } + } + + private static class auditKeyRecordStartstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter93 : struct.success + .entrySet()) { + oprot.writeI64(_iter93.getKey()); + oprot.writeString(_iter93.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map94 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map94.size); + long _key95; + String _val96; + for (int _i97 = 0; _i97 < _map94.size; ++_i97) { + _key95 = iprot.readI64(); + _val96 = iprot.readString(); + struct.success.put(_key95, _val96); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class auditKeyRecordStartEnd_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditKeyRecordStartEnd_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.I64, (short) 4); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 6); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 7); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditKeyRecordStartEnd_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditKeyRecordStartEnd_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public long start; // required + public long tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + TEND((short) 4, "tend"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // TEND + return TEND; + case 5: // CREDS + return CREDS; + case 6: // TRANSACTION + return TRANSACTION; + case 7: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __START_ISSET_ID = 1; + private static final int __TEND_ISSET_ID = 2; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditKeyRecordStartEnd_args.class, metaDataMap); + } + + public auditKeyRecordStartEnd_args() {} + + public auditKeyRecordStartEnd_args(String key, long record, long start, + long tend, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + setStartIsSet(true); + this.tend = tend; + setTendIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public auditKeyRecordStartEnd_args(auditKeyRecordStartEnd_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + this.start = other.start; + this.tend = other.tend; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public auditKeyRecordStartEnd_args deepCopy() { + return new auditKeyRecordStartEnd_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + setStartIsSet(false); + this.start = 0; + setTendIsSet(false); + this.tend = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public auditKeyRecordStartEnd_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public auditKeyRecordStartEnd_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getStart() { + return this.start; + } + + public auditKeyRecordStartEnd_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public long getTend() { + return this.tend; + } + + public auditKeyRecordStartEnd_args setTend(long tend) { + this.tend = tend; + setTendIsSet(true); + return this; + } + + public void unsetTend() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TEND_ISSET_ID); + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + } + + public void setTendIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TEND_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public auditKeyRecordStartEnd_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public auditKeyRecordStartEnd_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public auditKeyRecordStartEnd_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditKeyRecordStartEnd_args) + return this.equals((auditKeyRecordStartEnd_args) that); + return false; + } + + public boolean equals(auditKeyRecordStartEnd_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_tend = true; + boolean that_present_tend = true; + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(this.tend != that.tend) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true; + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(auditKeyRecordStartEnd_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "auditKeyRecordStartEnd_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + sb.append(this.tend); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditKeyRecordStartEnd_argsStandardSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartEnd_argsStandardScheme getScheme() { + return new auditKeyRecordStartEnd_argsStandardScheme(); + } + } + + private static class auditKeyRecordStartEnd_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 7: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeI64(struct.tend); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditKeyRecordStartEnd_argsTupleSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartEnd_argsTupleScheme getScheme() { + return new auditKeyRecordStartEnd_argsTupleScheme(); + } + } + + private static class auditKeyRecordStartEnd_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetTend()) { + optionals.set(3); + } + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetTend()) { + oprot.writeI64(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(7); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + if(incoming.get(4)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(5)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(6)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class auditKeyRecordStartEnd_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditKeyRecordStartEnd_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditKeyRecordStartEnd_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditKeyRecordStartEnd_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditKeyRecordStartEnd_result.class, metaDataMap); + } + + public auditKeyRecordStartEnd_result() {} + + public auditKeyRecordStartEnd_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public auditKeyRecordStartEnd_result( + auditKeyRecordStartEnd_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public auditKeyRecordStartEnd_result deepCopy() { + return new auditKeyRecordStartEnd_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, String val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public auditKeyRecordStartEnd_result setSuccess( + Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public auditKeyRecordStartEnd_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public auditKeyRecordStartEnd_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public auditKeyRecordStartEnd_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditKeyRecordStartEnd_result) + return this.equals((auditKeyRecordStartEnd_result) that); + return false; + } + + public boolean equals(auditKeyRecordStartEnd_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(auditKeyRecordStartEnd_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "auditKeyRecordStartEnd_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditKeyRecordStartEnd_resultStandardSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartEnd_resultStandardScheme getScheme() { + return new auditKeyRecordStartEnd_resultStandardScheme(); + } + } + + private static class auditKeyRecordStartEnd_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map98 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map98.size); + long _key99; + String _val100; + for (int _i101 = 0; _i101 < _map98.size; ++_i101) { + _key99 = iprot.readI64(); + _val100 = iprot.readString(); + struct.success.put(_key99, _val100); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (Map.Entry _iter102 : struct.success + .entrySet()) { + oprot.writeI64(_iter102.getKey()); + oprot.writeString(_iter102.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditKeyRecordStartEnd_resultTupleSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartEnd_resultTupleScheme getScheme() { + return new auditKeyRecordStartEnd_resultTupleScheme(); + } + } + + private static class auditKeyRecordStartEnd_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter103 : struct.success + .entrySet()) { + oprot.writeI64(_iter103.getKey()); + oprot.writeString(_iter103.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map104 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map104.size); + long _key105; + String _val106; + for (int _i107 = 0; _i107 < _map104.size; ++_i107) { + _key105 = iprot.readI64(); + _val106 = iprot.readString(); + struct.success.put(_key105, _val106); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class auditKeyRecordStartstrEndstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditKeyRecordStartstrEndstr_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.STRING, (short) 4); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 6); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 7); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditKeyRecordStartstrEndstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditKeyRecordStartstrEndstr_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public String start; // required + public String tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + TEND((short) 4, "tend"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // TEND + return TEND; + case 5: // CREDS + return CREDS; + case 6: // TRANSACTION + return TRANSACTION; + case 7: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditKeyRecordStartstrEndstr_args.class, metaDataMap); + } + + public auditKeyRecordStartstrEndstr_args() {} + + public auditKeyRecordStartstrEndstr_args(String key, long record, + String start, String tend, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + this.tend = tend; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public auditKeyRecordStartstrEndstr_args( + auditKeyRecordStartstrEndstr_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetTend()) { + this.tend = other.tend; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public auditKeyRecordStartstrEndstr_args deepCopy() { + return new auditKeyRecordStartstrEndstr_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + this.start = null; + this.tend = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public auditKeyRecordStartstrEndstr_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public auditKeyRecordStartstrEndstr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getStart() { + return this.start; + } + + public auditKeyRecordStartstrEndstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public String getTend() { + return this.tend; + } + + public auditKeyRecordStartstrEndstr_args setTend(String tend) { + this.tend = tend; + return this; + } + + public void unsetTend() { + this.tend = null; + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return this.tend != null; + } + + public void setTendIsSet(boolean value) { + if(!value) { + this.tend = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public auditKeyRecordStartstrEndstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public auditKeyRecordStartstrEndstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public auditKeyRecordStartstrEndstr_args setEnvironment( + String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditKeyRecordStartstrEndstr_args) + return this.equals((auditKeyRecordStartstrEndstr_args) that); + return false; + } + + public boolean equals(auditKeyRecordStartstrEndstr_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_tend = true && this.isSetTend(); + boolean that_present_tend = true && that.isSetTend(); + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(!this.tend.equals(that.tend)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true && (isSetTend()); + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(auditKeyRecordStartstrEndstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "auditKeyRecordStartstrEndstr_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + if(this.tend == null) { + sb.append("null"); + } + else { + sb.append(this.tend); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditKeyRecordStartstrEndstr_argsStandardSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartstrEndstr_argsStandardScheme getScheme() { + return new auditKeyRecordStartstrEndstr_argsStandardScheme(); + } + } + + private static class auditKeyRecordStartstrEndstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 7: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.tend != null) { + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeString(struct.tend); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditKeyRecordStartstrEndstr_argsTupleSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartstrEndstr_argsTupleScheme getScheme() { + return new auditKeyRecordStartstrEndstr_argsTupleScheme(); + } + } + + private static class auditKeyRecordStartstrEndstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetTend()) { + optionals.set(3); + } + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetTend()) { + oprot.writeString(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(7); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + if(incoming.get(4)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(5)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(6)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class auditKeyRecordStartstrEndstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "auditKeyRecordStartstrEndstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new auditKeyRecordStartstrEndstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new auditKeyRecordStartstrEndstr_resultTupleSchemeFactory()); + } + + public Map success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + auditKeyRecordStartstrEndstr_result.class, metaDataMap); + } + + public auditKeyRecordStartstrEndstr_result() {} + + public auditKeyRecordStartstrEndstr_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public auditKeyRecordStartstrEndstr_result( + auditKeyRecordStartstrEndstr_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public auditKeyRecordStartstrEndstr_result deepCopy() { + return new auditKeyRecordStartstrEndstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, String val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public auditKeyRecordStartstrEndstr_result setSuccess( + Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public auditKeyRecordStartstrEndstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public auditKeyRecordStartstrEndstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public auditKeyRecordStartstrEndstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public auditKeyRecordStartstrEndstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof auditKeyRecordStartstrEndstr_result) + return this.equals((auditKeyRecordStartstrEndstr_result) that); + return false; + } + + public boolean equals(auditKeyRecordStartstrEndstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(auditKeyRecordStartstrEndstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "auditKeyRecordStartstrEndstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class auditKeyRecordStartstrEndstr_resultStandardSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartstrEndstr_resultStandardScheme getScheme() { + return new auditKeyRecordStartstrEndstr_resultStandardScheme(); + } + } + + private static class auditKeyRecordStartstrEndstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + auditKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map108 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map108.size); + long _key109; + String _val110; + for (int _i111 = 0; _i111 < _map108.size; ++_i111) { + _key109 = iprot.readI64(); + _val110 = iprot.readString(); + struct.success.put(_key109, _val110); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + auditKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (Map.Entry _iter112 : struct.success + .entrySet()) { + oprot.writeI64(_iter112.getKey()); + oprot.writeString(_iter112.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class auditKeyRecordStartstrEndstr_resultTupleSchemeFactory + implements SchemeFactory { + public auditKeyRecordStartstrEndstr_resultTupleScheme getScheme() { + return new auditKeyRecordStartstrEndstr_resultTupleScheme(); + } + } + + private static class auditKeyRecordStartstrEndstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter113 : struct.success + .entrySet()) { + oprot.writeI64(_iter113.getKey()); + oprot.writeString(_iter113.getValue()); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + auditKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map114 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map114.size); + long _key115; + String _val116; + for (int _i117 = 0; _i117 < _map114.size; ++_i117) { + _key115 = iprot.readI64(); + _val116 = iprot.readString(); + struct.success.put(_key115, _val116); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class browseKey_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKey_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 3); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKey_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKey_argsTupleSchemeFactory()); + } + + public String key; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // CREDS + return CREDS; + case 3: // TRANSACTION + return TRANSACTION; + case 4: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(browseKey_args.class, metaDataMap); + } + + public browseKey_args() {} + + public browseKey_args(String key, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public browseKey_args(browseKey_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public browseKey_args deepCopy() { + return new browseKey_args(this); + } + + @Override + public void clear() { + this.key = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public browseKey_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public browseKey_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public browseKey_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public browseKey_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKey_args) + return this.equals((browseKey_args) that); + return false; + } + + public boolean equals(browseKey_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKey_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKey_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKey_argsStandardSchemeFactory + implements SchemeFactory { + public browseKey_argsStandardScheme getScheme() { + return new browseKey_argsStandardScheme(); + } + } + + private static class browseKey_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKey_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKey_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKey_argsTupleSchemeFactory + implements SchemeFactory { + public browseKey_argsTupleScheme getScheme() { + return new browseKey_argsTupleScheme(); + } + } + + private static class browseKey_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKey_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetCreds()) { + optionals.set(1); + } + if(struct.isSetTransaction()) { + optionals.set(2); + } + if(struct.isSetEnvironment()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKey_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(2)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(3)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class browseKey_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKey_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKey_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKey_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(browseKey_result.class, metaDataMap); + } + + public browseKey_result() {} + + public browseKey_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public browseKey_result(browseKey_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.TObject other_element_key = other_element + .getKey(); + Set other_element_value = other_element.getValue(); + + com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( + other_element_key); + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public browseKey_result deepCopy() { + return new browseKey_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public browseKey_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public browseKey_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public browseKey_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public browseKey_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKey_result) + return this.equals((browseKey_result) that); + return false; + } + + public boolean equals(browseKey_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKey_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKey_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKey_resultStandardSchemeFactory + implements SchemeFactory { + public browseKey_resultStandardScheme getScheme() { + return new browseKey_resultStandardScheme(); + } + } + + private static class browseKey_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKey_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map118 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map118.size); + com.cinchapi.concourse.thrift.TObject _key119; + Set _val120; + for (int _i121 = 0; _i121 < _map118.size; ++_i121) { + _key119 = new com.cinchapi.concourse.thrift.TObject(); + _key119.read(iprot); + { + org.apache.thrift.protocol.TSet _set122 = iprot + .readSetBegin(); + _val120 = new LinkedHashSet( + 2 * _set122.size); + long _elem123; + for (int _i124 = 0; _i124 < _set122.size; ++_i124) { + _elem123 = iprot.readI64(); + _val120.add(_elem123); + } + iprot.readSetEnd(); + } + struct.success.put(_key119, _val120); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKey_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter125 : struct.success + .entrySet()) { + _iter125.getKey().write(oprot); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + _iter125.getValue().size())); + for (long _iter126 : _iter125.getValue()) { + oprot.writeI64(_iter126); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKey_resultTupleSchemeFactory + implements SchemeFactory { + public browseKey_resultTupleScheme getScheme() { + return new browseKey_resultTupleScheme(); + } + } + + private static class browseKey_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKey_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter127 : struct.success + .entrySet()) { + _iter127.getKey().write(oprot); + { + oprot.writeI32(_iter127.getValue().size()); + for (long _iter128 : _iter127.getValue()) { + oprot.writeI64(_iter128); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKey_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map129 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map129.size); + com.cinchapi.concourse.thrift.TObject _key130; + Set _val131; + for (int _i132 = 0; _i132 < _map129.size; ++_i132) { + _key130 = new com.cinchapi.concourse.thrift.TObject(); + _key130.read(iprot); + { + org.apache.thrift.protocol.TSet _set133 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + _val131 = new LinkedHashSet( + 2 * _set133.size); + long _elem134; + for (int _i135 = 0; _i135 < _set133.size; ++_i135) { + _elem134 = iprot.readI64(); + _val131.add(_elem134); + } + } + struct.success.put(_key130, _val131); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class browseKeys_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKeys_args"); + + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 3); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKeys_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKeys_argsTupleSchemeFactory()); + } + + public List keys; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEYS((short) 1, "keys"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEYS + return KEYS; + case 2: // CREDS + return CREDS; + case 3: // TRANSACTION + return TRANSACTION; + case 4: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(browseKeys_args.class, metaDataMap); + } + + public browseKeys_args() {} + + public browseKeys_args(List keys, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.keys = keys; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public browseKeys_args(browseKeys_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public browseKeys_args deepCopy() { + return new browseKeys_args(this); + } + + @Override + public void clear() { + this.keys = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public browseKeys_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public browseKeys_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public browseKeys_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public browseKeys_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEYS: + return getKeys(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEYS: + return isSetKeys(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKeys_args) + return this.equals((browseKeys_args) that); + return false; + } + + public boolean equals(browseKeys_args that) { + if(that == null) + return false; + + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKeys_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKeys_args("); + boolean first = true; + + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKeys_argsStandardSchemeFactory + implements SchemeFactory { + public browseKeys_argsStandardScheme getScheme() { + return new browseKeys_argsStandardScheme(); + } + } + + private static class browseKeys_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKeys_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list136 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list136.size); + String _elem137; + for (int _i138 = 0; _i138 < _list136.size; ++_i138) { + _elem137 = iprot.readString(); + struct.keys.add(_elem137); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKeys_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter139 : struct.keys) { + oprot.writeString(_iter139); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKeys_argsTupleSchemeFactory + implements SchemeFactory { + public browseKeys_argsTupleScheme getScheme() { + return new browseKeys_argsTupleScheme(); + } + } + + private static class browseKeys_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKeys_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKeys()) { + optionals.set(0); + } + if(struct.isSetCreds()) { + optionals.set(1); + } + if(struct.isSetTransaction()) { + optionals.set(2); + } + if(struct.isSetEnvironment()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter140 : struct.keys) { + oprot.writeString(_iter140); + } + } + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKeys_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list141 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list141.size); + String _elem142; + for (int _i143 = 0; _i143 < _list141.size; ++_i143) { + _elem142 = iprot.readString(); + struct.keys.add(_elem142); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(2)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(3)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class browseKeys_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKeys_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKeys_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKeys_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(browseKeys_result.class, metaDataMap); + } + + public browseKeys_result() {} + + public browseKeys_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public browseKeys_result(browseKeys_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.TObject other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_key = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_key); + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public browseKeys_result deepCopy() { + return new browseKeys_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(String key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public browseKeys_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public browseKeys_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public browseKeys_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public browseKeys_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKeys_result) + return this.equals((browseKeys_result) that); + return false; + } + + public boolean equals(browseKeys_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKeys_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKeys_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKeys_resultStandardSchemeFactory + implements SchemeFactory { + public browseKeys_resultStandardScheme getScheme() { + return new browseKeys_resultStandardScheme(); + } + } + + private static class browseKeys_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKeys_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map144 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map144.size); + String _key145; + Map> _val146; + for (int _i147 = 0; _i147 < _map144.size; ++_i147) { + _key145 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map148 = iprot + .readMapBegin(); + _val146 = new LinkedHashMap>( + 2 * _map148.size); + com.cinchapi.concourse.thrift.TObject _key149; + Set _val150; + for (int _i151 = 0; _i151 < _map148.size; ++_i151) { + _key149 = new com.cinchapi.concourse.thrift.TObject(); + _key149.read(iprot); + { + org.apache.thrift.protocol.TSet _set152 = iprot + .readSetBegin(); + _val150 = new LinkedHashSet( + 2 * _set152.size); + long _elem153; + for (int _i154 = 0; _i154 < _set152.size; ++_i154) { + _elem153 = iprot.readI64(); + _val150.add(_elem153); + } + iprot.readSetEnd(); + } + _val146.put(_key149, _val150); + } + iprot.readMapEnd(); + } + struct.success.put(_key145, _val146); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKeys_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter155 : struct.success + .entrySet()) { + oprot.writeString(_iter155.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + _iter155.getValue().size())); + for (Map.Entry> _iter156 : _iter155 + .getValue().entrySet()) { + _iter156.getKey().write(oprot); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + _iter156.getValue() + .size())); + for (long _iter157 : _iter156 + .getValue()) { + oprot.writeI64(_iter157); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKeys_resultTupleSchemeFactory + implements SchemeFactory { + public browseKeys_resultTupleScheme getScheme() { + return new browseKeys_resultTupleScheme(); + } + } + + private static class browseKeys_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKeys_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter158 : struct.success + .entrySet()) { + oprot.writeString(_iter158.getKey()); + { + oprot.writeI32(_iter158.getValue().size()); + for (Map.Entry> _iter159 : _iter158 + .getValue().entrySet()) { + _iter159.getKey().write(oprot); + { + oprot.writeI32( + _iter159.getValue().size()); + for (long _iter160 : _iter159 + .getValue()) { + oprot.writeI64(_iter160); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKeys_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map161 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map161.size); + String _key162; + Map> _val163; + for (int _i164 = 0; _i164 < _map161.size; ++_i164) { + _key162 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map165 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val163 = new LinkedHashMap>( + 2 * _map165.size); + com.cinchapi.concourse.thrift.TObject _key166; + Set _val167; + for (int _i168 = 0; _i168 < _map165.size; ++_i168) { + _key166 = new com.cinchapi.concourse.thrift.TObject(); + _key166.read(iprot); + { + org.apache.thrift.protocol.TSet _set169 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + _val167 = new LinkedHashSet( + 2 * _set169.size); + long _elem170; + for (int _i171 = 0; _i171 < _set169.size; ++_i171) { + _elem170 = iprot.readI64(); + _val167.add(_elem170); + } + } + _val163.put(_key166, _val167); + } + } + struct.success.put(_key162, _val163); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class browseKeyTime_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKeyTime_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKeyTime_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKeyTime_argsTupleSchemeFactory()); + } + + public String key; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + browseKeyTime_args.class, metaDataMap); + } + + public browseKeyTime_args() {} + + public browseKeyTime_args(String key, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public browseKeyTime_args(browseKeyTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.timestamp = other.timestamp; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public browseKeyTime_args deepCopy() { + return new browseKeyTime_args(this); + } + + @Override + public void clear() { + this.key = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public browseKeyTime_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public browseKeyTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public browseKeyTime_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public browseKeyTime_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public browseKeyTime_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKeyTime_args) + return this.equals((browseKeyTime_args) that); + return false; + } + + public boolean equals(browseKeyTime_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKeyTime_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKeyTime_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKeyTime_argsStandardSchemeFactory + implements SchemeFactory { + public browseKeyTime_argsStandardScheme getScheme() { + return new browseKeyTime_argsStandardScheme(); + } + } + + private static class browseKeyTime_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKeyTime_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKeyTime_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKeyTime_argsTupleSchemeFactory + implements SchemeFactory { + public browseKeyTime_argsTupleScheme getScheme() { + return new browseKeyTime_argsTupleScheme(); + } + } + + private static class browseKeyTime_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKeyTime_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetTimestamp()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKeyTime_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class browseKeyTime_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKeyTime_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKeyTime_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKeyTime_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + browseKeyTime_result.class, metaDataMap); + } + + public browseKeyTime_result() {} + + public browseKeyTime_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public browseKeyTime_result(browseKeyTime_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.TObject other_element_key = other_element + .getKey(); + Set other_element_value = other_element.getValue(); + + com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( + other_element_key); + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public browseKeyTime_result deepCopy() { + return new browseKeyTime_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public browseKeyTime_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public browseKeyTime_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public browseKeyTime_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public browseKeyTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKeyTime_result) + return this.equals((browseKeyTime_result) that); + return false; + } + + public boolean equals(browseKeyTime_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKeyTime_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKeyTime_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKeyTime_resultStandardSchemeFactory + implements SchemeFactory { + public browseKeyTime_resultStandardScheme getScheme() { + return new browseKeyTime_resultStandardScheme(); + } + } + + private static class browseKeyTime_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKeyTime_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map172 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map172.size); + com.cinchapi.concourse.thrift.TObject _key173; + Set _val174; + for (int _i175 = 0; _i175 < _map172.size; ++_i175) { + _key173 = new com.cinchapi.concourse.thrift.TObject(); + _key173.read(iprot); + { + org.apache.thrift.protocol.TSet _set176 = iprot + .readSetBegin(); + _val174 = new LinkedHashSet( + 2 * _set176.size); + long _elem177; + for (int _i178 = 0; _i178 < _set176.size; ++_i178) { + _elem177 = iprot.readI64(); + _val174.add(_elem177); + } + iprot.readSetEnd(); + } + struct.success.put(_key173, _val174); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKeyTime_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter179 : struct.success + .entrySet()) { + _iter179.getKey().write(oprot); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + _iter179.getValue().size())); + for (long _iter180 : _iter179.getValue()) { + oprot.writeI64(_iter180); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKeyTime_resultTupleSchemeFactory + implements SchemeFactory { + public browseKeyTime_resultTupleScheme getScheme() { + return new browseKeyTime_resultTupleScheme(); + } + } + + private static class browseKeyTime_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKeyTime_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter181 : struct.success + .entrySet()) { + _iter181.getKey().write(oprot); + { + oprot.writeI32(_iter181.getValue().size()); + for (long _iter182 : _iter181.getValue()) { + oprot.writeI64(_iter182); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKeyTime_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map183 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map183.size); + com.cinchapi.concourse.thrift.TObject _key184; + Set _val185; + for (int _i186 = 0; _i186 < _map183.size; ++_i186) { + _key184 = new com.cinchapi.concourse.thrift.TObject(); + _key184.read(iprot); + { + org.apache.thrift.protocol.TSet _set187 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + _val185 = new LinkedHashSet( + 2 * _set187.size); + long _elem188; + for (int _i189 = 0; _i189 < _set187.size; ++_i189) { + _elem188 = iprot.readI64(); + _val185.add(_elem188); + } + } + struct.success.put(_key184, _val185); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class browseKeyTimestr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKeyTimestr_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKeyTimestr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKeyTimestr_argsTupleSchemeFactory()); + } + + public String key; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + browseKeyTimestr_args.class, metaDataMap); + } + + public browseKeyTimestr_args() {} + + public browseKeyTimestr_args(String key, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public browseKeyTimestr_args(browseKeyTimestr_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public browseKeyTimestr_args deepCopy() { + return new browseKeyTimestr_args(this); + } + + @Override + public void clear() { + this.key = null; + this.timestamp = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public browseKeyTimestr_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public String getTimestamp() { + return this.timestamp; + } + + public browseKeyTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public browseKeyTimestr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public browseKeyTimestr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public browseKeyTimestr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKeyTimestr_args) + return this.equals((browseKeyTimestr_args) that); + return false; + } + + public boolean equals(browseKeyTimestr_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKeyTimestr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKeyTimestr_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKeyTimestr_argsStandardSchemeFactory + implements SchemeFactory { + public browseKeyTimestr_argsStandardScheme getScheme() { + return new browseKeyTimestr_argsStandardScheme(); + } + } + + private static class browseKeyTimestr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKeyTimestr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKeyTimestr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKeyTimestr_argsTupleSchemeFactory + implements SchemeFactory { + public browseKeyTimestr_argsTupleScheme getScheme() { + return new browseKeyTimestr_argsTupleScheme(); + } + } + + private static class browseKeyTimestr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKeyTimestr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetTimestamp()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKeyTimestr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class browseKeyTimestr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKeyTimestr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKeyTimestr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKeyTimestr_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + browseKeyTimestr_result.class, metaDataMap); + } + + public browseKeyTimestr_result() {} + + public browseKeyTimestr_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public browseKeyTimestr_result(browseKeyTimestr_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.TObject other_element_key = other_element + .getKey(); + Set other_element_value = other_element.getValue(); + + com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( + other_element_key); + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public browseKeyTimestr_result deepCopy() { + return new browseKeyTimestr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public browseKeyTimestr_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public browseKeyTimestr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public browseKeyTimestr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public browseKeyTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public browseKeyTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKeyTimestr_result) + return this.equals((browseKeyTimestr_result) that); + return false; + } + + public boolean equals(browseKeyTimestr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKeyTimestr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKeyTimestr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKeyTimestr_resultStandardSchemeFactory + implements SchemeFactory { + public browseKeyTimestr_resultStandardScheme getScheme() { + return new browseKeyTimestr_resultStandardScheme(); + } + } + + private static class browseKeyTimestr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKeyTimestr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map190 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map190.size); + com.cinchapi.concourse.thrift.TObject _key191; + Set _val192; + for (int _i193 = 0; _i193 < _map190.size; ++_i193) { + _key191 = new com.cinchapi.concourse.thrift.TObject(); + _key191.read(iprot); + { + org.apache.thrift.protocol.TSet _set194 = iprot + .readSetBegin(); + _val192 = new LinkedHashSet( + 2 * _set194.size); + long _elem195; + for (int _i196 = 0; _i196 < _set194.size; ++_i196) { + _elem195 = iprot.readI64(); + _val192.add(_elem195); + } + iprot.readSetEnd(); + } + struct.success.put(_key191, _val192); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKeyTimestr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter197 : struct.success + .entrySet()) { + _iter197.getKey().write(oprot); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + _iter197.getValue().size())); + for (long _iter198 : _iter197.getValue()) { + oprot.writeI64(_iter198); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKeyTimestr_resultTupleSchemeFactory + implements SchemeFactory { + public browseKeyTimestr_resultTupleScheme getScheme() { + return new browseKeyTimestr_resultTupleScheme(); + } + } + + private static class browseKeyTimestr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKeyTimestr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter199 : struct.success + .entrySet()) { + _iter199.getKey().write(oprot); + { + oprot.writeI32(_iter199.getValue().size()); + for (long _iter200 : _iter199.getValue()) { + oprot.writeI64(_iter200); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKeyTimestr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map201 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map201.size); + com.cinchapi.concourse.thrift.TObject _key202; + Set _val203; + for (int _i204 = 0; _i204 < _map201.size; ++_i204) { + _key202 = new com.cinchapi.concourse.thrift.TObject(); + _key202.read(iprot); + { + org.apache.thrift.protocol.TSet _set205 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + _val203 = new LinkedHashSet( + 2 * _set205.size); + long _elem206; + for (int _i207 = 0; _i207 < _set205.size; ++_i207) { + _elem206 = iprot.readI64(); + _val203.add(_elem206); + } + } + struct.success.put(_key202, _val203); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class browseKeysTime_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKeysTime_args"); + + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKeysTime_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKeysTime_argsTupleSchemeFactory()); + } + + public List keys; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEYS((short) 1, "keys"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEYS + return KEYS; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + browseKeysTime_args.class, metaDataMap); + } + + public browseKeysTime_args() {} + + public browseKeysTime_args(List keys, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.keys = keys; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public browseKeysTime_args(browseKeysTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + this.timestamp = other.timestamp; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public browseKeysTime_args deepCopy() { + return new browseKeysTime_args(this); + } + + @Override + public void clear() { + this.keys = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public browseKeysTime_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public browseKeysTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public browseKeysTime_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public browseKeysTime_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public browseKeysTime_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEYS: + return getKeys(); + + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEYS: + return isSetKeys(); + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKeysTime_args) + return this.equals((browseKeysTime_args) that); + return false; + } + + public boolean equals(browseKeysTime_args that) { + if(that == null) + return false; + + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKeysTime_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKeysTime_args("); + boolean first = true; + + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKeysTime_argsStandardSchemeFactory + implements SchemeFactory { + public browseKeysTime_argsStandardScheme getScheme() { + return new browseKeysTime_argsStandardScheme(); + } + } + + private static class browseKeysTime_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKeysTime_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list208 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list208.size); + String _elem209; + for (int _i210 = 0; _i210 < _list208.size; ++_i210) { + _elem209 = iprot.readString(); + struct.keys.add(_elem209); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKeysTime_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter211 : struct.keys) { + oprot.writeString(_iter211); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKeysTime_argsTupleSchemeFactory + implements SchemeFactory { + public browseKeysTime_argsTupleScheme getScheme() { + return new browseKeysTime_argsTupleScheme(); + } + } + + private static class browseKeysTime_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKeysTime_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKeys()) { + optionals.set(0); + } + if(struct.isSetTimestamp()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter212 : struct.keys) { + oprot.writeString(_iter212); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKeysTime_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list213 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list213.size); + String _elem214; + for (int _i215 = 0; _i215 < _list213.size; ++_i215) { + _elem214 = iprot.readString(); + struct.keys.add(_elem214); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class browseKeysTime_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKeysTime_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKeysTime_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKeysTime_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + browseKeysTime_result.class, metaDataMap); + } + + public browseKeysTime_result() {} + + public browseKeysTime_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public browseKeysTime_result(browseKeysTime_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.TObject other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_key = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_key); + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public browseKeysTime_result deepCopy() { + return new browseKeysTime_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(String key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public browseKeysTime_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public browseKeysTime_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public browseKeysTime_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public browseKeysTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKeysTime_result) + return this.equals((browseKeysTime_result) that); + return false; + } + + public boolean equals(browseKeysTime_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKeysTime_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKeysTime_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKeysTime_resultStandardSchemeFactory + implements SchemeFactory { + public browseKeysTime_resultStandardScheme getScheme() { + return new browseKeysTime_resultStandardScheme(); + } + } + + private static class browseKeysTime_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKeysTime_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map216 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map216.size); + String _key217; + Map> _val218; + for (int _i219 = 0; _i219 < _map216.size; ++_i219) { + _key217 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map220 = iprot + .readMapBegin(); + _val218 = new LinkedHashMap>( + 2 * _map220.size); + com.cinchapi.concourse.thrift.TObject _key221; + Set _val222; + for (int _i223 = 0; _i223 < _map220.size; ++_i223) { + _key221 = new com.cinchapi.concourse.thrift.TObject(); + _key221.read(iprot); + { + org.apache.thrift.protocol.TSet _set224 = iprot + .readSetBegin(); + _val222 = new LinkedHashSet( + 2 * _set224.size); + long _elem225; + for (int _i226 = 0; _i226 < _set224.size; ++_i226) { + _elem225 = iprot.readI64(); + _val222.add(_elem225); + } + iprot.readSetEnd(); + } + _val218.put(_key221, _val222); + } + iprot.readMapEnd(); + } + struct.success.put(_key217, _val218); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKeysTime_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter227 : struct.success + .entrySet()) { + oprot.writeString(_iter227.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + _iter227.getValue().size())); + for (Map.Entry> _iter228 : _iter227 + .getValue().entrySet()) { + _iter228.getKey().write(oprot); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + _iter228.getValue() + .size())); + for (long _iter229 : _iter228 + .getValue()) { + oprot.writeI64(_iter229); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKeysTime_resultTupleSchemeFactory + implements SchemeFactory { + public browseKeysTime_resultTupleScheme getScheme() { + return new browseKeysTime_resultTupleScheme(); + } + } + + private static class browseKeysTime_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKeysTime_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter230 : struct.success + .entrySet()) { + oprot.writeString(_iter230.getKey()); + { + oprot.writeI32(_iter230.getValue().size()); + for (Map.Entry> _iter231 : _iter230 + .getValue().entrySet()) { + _iter231.getKey().write(oprot); + { + oprot.writeI32( + _iter231.getValue().size()); + for (long _iter232 : _iter231 + .getValue()) { + oprot.writeI64(_iter232); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKeysTime_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map233 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map233.size); + String _key234; + Map> _val235; + for (int _i236 = 0; _i236 < _map233.size; ++_i236) { + _key234 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map237 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val235 = new LinkedHashMap>( + 2 * _map237.size); + com.cinchapi.concourse.thrift.TObject _key238; + Set _val239; + for (int _i240 = 0; _i240 < _map237.size; ++_i240) { + _key238 = new com.cinchapi.concourse.thrift.TObject(); + _key238.read(iprot); + { + org.apache.thrift.protocol.TSet _set241 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + _val239 = new LinkedHashSet( + 2 * _set241.size); + long _elem242; + for (int _i243 = 0; _i243 < _set241.size; ++_i243) { + _elem242 = iprot.readI64(); + _val239.add(_elem242); + } + } + _val235.put(_key238, _val239); + } + } + struct.success.put(_key234, _val235); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class browseKeysTimestr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKeysTimestr_args"); + + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKeysTimestr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKeysTimestr_argsTupleSchemeFactory()); + } + + public List keys; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEYS((short) 1, "keys"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEYS + return KEYS; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + browseKeysTimestr_args.class, metaDataMap); + } + + public browseKeysTimestr_args() {} + + public browseKeysTimestr_args(List keys, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.keys = keys; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public browseKeysTimestr_args(browseKeysTimestr_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public browseKeysTimestr_args deepCopy() { + return new browseKeysTimestr_args(this); + } + + @Override + public void clear() { + this.keys = null; + this.timestamp = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public browseKeysTimestr_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public String getTimestamp() { + return this.timestamp; + } + + public browseKeysTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public browseKeysTimestr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public browseKeysTimestr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public browseKeysTimestr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEYS: + return getKeys(); + + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEYS: + return isSetKeys(); + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKeysTimestr_args) + return this.equals((browseKeysTimestr_args) that); + return false; + } + + public boolean equals(browseKeysTimestr_args that) { + if(that == null) + return false; + + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKeysTimestr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKeysTimestr_args("); + boolean first = true; + + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKeysTimestr_argsStandardSchemeFactory + implements SchemeFactory { + public browseKeysTimestr_argsStandardScheme getScheme() { + return new browseKeysTimestr_argsStandardScheme(); + } + } + + private static class browseKeysTimestr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKeysTimestr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list244 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list244.size); + String _elem245; + for (int _i246 = 0; _i246 < _list244.size; ++_i246) { + _elem245 = iprot.readString(); + struct.keys.add(_elem245); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKeysTimestr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter247 : struct.keys) { + oprot.writeString(_iter247); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKeysTimestr_argsTupleSchemeFactory + implements SchemeFactory { + public browseKeysTimestr_argsTupleScheme getScheme() { + return new browseKeysTimestr_argsTupleScheme(); + } + } + + private static class browseKeysTimestr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKeysTimestr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKeys()) { + optionals.set(0); + } + if(struct.isSetTimestamp()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter248 : struct.keys) { + oprot.writeString(_iter248); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKeysTimestr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list249 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list249.size); + String _elem250; + for (int _i251 = 0; _i251 < _list249.size; ++_i251) { + _elem250 = iprot.readString(); + struct.keys.add(_elem250); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class browseKeysTimestr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "browseKeysTimestr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new browseKeysTimestr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new browseKeysTimestr_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + browseKeysTimestr_result.class, metaDataMap); + } + + public browseKeysTimestr_result() {} + + public browseKeysTimestr_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public browseKeysTimestr_result(browseKeysTimestr_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.TObject other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_key = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_key); + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public browseKeysTimestr_result deepCopy() { + return new browseKeysTimestr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(String key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public browseKeysTimestr_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public browseKeysTimestr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public browseKeysTimestr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public browseKeysTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public browseKeysTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof browseKeysTimestr_result) + return this.equals((browseKeysTimestr_result) that); + return false; + } + + public boolean equals(browseKeysTimestr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(browseKeysTimestr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("browseKeysTimestr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class browseKeysTimestr_resultStandardSchemeFactory + implements SchemeFactory { + public browseKeysTimestr_resultStandardScheme getScheme() { + return new browseKeysTimestr_resultStandardScheme(); + } + } + + private static class browseKeysTimestr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + browseKeysTimestr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map252 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map252.size); + String _key253; + Map> _val254; + for (int _i255 = 0; _i255 < _map252.size; ++_i255) { + _key253 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map256 = iprot + .readMapBegin(); + _val254 = new LinkedHashMap>( + 2 * _map256.size); + com.cinchapi.concourse.thrift.TObject _key257; + Set _val258; + for (int _i259 = 0; _i259 < _map256.size; ++_i259) { + _key257 = new com.cinchapi.concourse.thrift.TObject(); + _key257.read(iprot); + { + org.apache.thrift.protocol.TSet _set260 = iprot + .readSetBegin(); + _val258 = new LinkedHashSet( + 2 * _set260.size); + long _elem261; + for (int _i262 = 0; _i262 < _set260.size; ++_i262) { + _elem261 = iprot.readI64(); + _val258.add(_elem261); + } + iprot.readSetEnd(); + } + _val254.put(_key257, _val258); + } + iprot.readMapEnd(); + } + struct.success.put(_key253, _val254); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + browseKeysTimestr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter263 : struct.success + .entrySet()) { + oprot.writeString(_iter263.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + _iter263.getValue().size())); + for (Map.Entry> _iter264 : _iter263 + .getValue().entrySet()) { + _iter264.getKey().write(oprot); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + _iter264.getValue() + .size())); + for (long _iter265 : _iter264 + .getValue()) { + oprot.writeI64(_iter265); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class browseKeysTimestr_resultTupleSchemeFactory + implements SchemeFactory { + public browseKeysTimestr_resultTupleScheme getScheme() { + return new browseKeysTimestr_resultTupleScheme(); + } + } + + private static class browseKeysTimestr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + browseKeysTimestr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter266 : struct.success + .entrySet()) { + oprot.writeString(_iter266.getKey()); + { + oprot.writeI32(_iter266.getValue().size()); + for (Map.Entry> _iter267 : _iter266 + .getValue().entrySet()) { + _iter267.getKey().write(oprot); + { + oprot.writeI32( + _iter267.getValue().size()); + for (long _iter268 : _iter267 + .getValue()) { + oprot.writeI64(_iter268); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + browseKeysTimestr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map269 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map269.size); + String _key270; + Map> _val271; + for (int _i272 = 0; _i272 < _map269.size; ++_i272) { + _key270 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map273 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val271 = new LinkedHashMap>( + 2 * _map273.size); + com.cinchapi.concourse.thrift.TObject _key274; + Set _val275; + for (int _i276 = 0; _i276 < _map273.size; ++_i276) { + _key274 = new com.cinchapi.concourse.thrift.TObject(); + _key274.read(iprot); + { + org.apache.thrift.protocol.TSet _set277 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + _val275 = new LinkedHashSet( + 2 * _set277.size); + long _elem278; + for (int _i279 = 0; _i279 < _set277.size; ++_i279) { + _elem278 = iprot.readI64(); + _val275.add(_elem278); + } + } + _val271.put(_key274, _val275); + } + } + struct.success.put(_key270, _val271); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class chronologizeKeyRecord_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "chronologizeKeyRecord_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new chronologizeKeyRecord_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new chronologizeKeyRecord_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + chronologizeKeyRecord_args.class, metaDataMap); + } + + public chronologizeKeyRecord_args() {} + + public chronologizeKeyRecord_args(String key, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public chronologizeKeyRecord_args(chronologizeKeyRecord_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public chronologizeKeyRecord_args deepCopy() { + return new chronologizeKeyRecord_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public chronologizeKeyRecord_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public chronologizeKeyRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public chronologizeKeyRecord_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public chronologizeKeyRecord_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public chronologizeKeyRecord_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof chronologizeKeyRecord_args) + return this.equals((chronologizeKeyRecord_args) that); + return false; + } + + public boolean equals(chronologizeKeyRecord_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(chronologizeKeyRecord_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("chronologizeKeyRecord_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class chronologizeKeyRecord_argsStandardSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecord_argsStandardScheme getScheme() { + return new chronologizeKeyRecord_argsStandardScheme(); + } + } + + private static class chronologizeKeyRecord_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + chronologizeKeyRecord_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + chronologizeKeyRecord_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class chronologizeKeyRecord_argsTupleSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecord_argsTupleScheme getScheme() { + return new chronologizeKeyRecord_argsTupleScheme(); + } + } + + private static class chronologizeKeyRecord_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class chronologizeKeyRecord_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "chronologizeKeyRecord_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new chronologizeKeyRecord_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new chronologizeKeyRecord_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + chronologizeKeyRecord_result.class, metaDataMap); + } + + public chronologizeKeyRecord_result() {} + + public chronologizeKeyRecord_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public chronologizeKeyRecord_result( + chronologizeKeyRecord_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public chronologizeKeyRecord_result deepCopy() { + return new chronologizeKeyRecord_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public chronologizeKeyRecord_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public chronologizeKeyRecord_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public chronologizeKeyRecord_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public chronologizeKeyRecord_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof chronologizeKeyRecord_result) + return this.equals((chronologizeKeyRecord_result) that); + return false; + } + + public boolean equals(chronologizeKeyRecord_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(chronologizeKeyRecord_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "chronologizeKeyRecord_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class chronologizeKeyRecord_resultStandardSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecord_resultStandardScheme getScheme() { + return new chronologizeKeyRecord_resultStandardScheme(); + } + } + + private static class chronologizeKeyRecord_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + chronologizeKeyRecord_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map280 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map280.size); + long _key281; + Set _val282; + for (int _i283 = 0; _i283 < _map280.size; ++_i283) { + _key281 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set284 = iprot + .readSetBegin(); + _val282 = new LinkedHashSet( + 2 * _set284.size); + com.cinchapi.concourse.thrift.TObject _elem285; + for (int _i286 = 0; _i286 < _set284.size; ++_i286) { + _elem285 = new com.cinchapi.concourse.thrift.TObject(); + _elem285.read(iprot); + _val282.add(_elem285); + } + iprot.readSetEnd(); + } + struct.success.put(_key281, _val282); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + chronologizeKeyRecord_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter287 : struct.success + .entrySet()) { + oprot.writeI64(_iter287.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter287.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter288 : _iter287 + .getValue()) { + _iter288.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class chronologizeKeyRecord_resultTupleSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecord_resultTupleScheme getScheme() { + return new chronologizeKeyRecord_resultTupleScheme(); + } + } + + private static class chronologizeKeyRecord_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter289 : struct.success + .entrySet()) { + oprot.writeI64(_iter289.getKey()); + { + oprot.writeI32(_iter289.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter290 : _iter289 + .getValue()) { + _iter290.write(oprot); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map291 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map291.size); + long _key292; + Set _val293; + for (int _i294 = 0; _i294 < _map291.size; ++_i294) { + _key292 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set295 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val293 = new LinkedHashSet( + 2 * _set295.size); + com.cinchapi.concourse.thrift.TObject _elem296; + for (int _i297 = 0; _i297 < _set295.size; ++_i297) { + _elem296 = new com.cinchapi.concourse.thrift.TObject(); + _elem296.read(iprot); + _val293.add(_elem296); + } + } + struct.success.put(_key292, _val293); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class chronologizeKeyRecordStart_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "chronologizeKeyRecordStart_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new chronologizeKeyRecordStart_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new chronologizeKeyRecordStart_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public long start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __START_ISSET_ID = 1; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + chronologizeKeyRecordStart_args.class, metaDataMap); + } + + public chronologizeKeyRecordStart_args() {} + + public chronologizeKeyRecordStart_args(String key, long record, + long start, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + setStartIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public chronologizeKeyRecordStart_args( + chronologizeKeyRecordStart_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + this.start = other.start; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public chronologizeKeyRecordStart_args deepCopy() { + return new chronologizeKeyRecordStart_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + setStartIsSet(false); + this.start = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public chronologizeKeyRecordStart_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public chronologizeKeyRecordStart_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getStart() { + return this.start; + } + + public chronologizeKeyRecordStart_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public chronologizeKeyRecordStart_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public chronologizeKeyRecordStart_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public chronologizeKeyRecordStart_args setEnvironment( + String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof chronologizeKeyRecordStart_args) + return this.equals((chronologizeKeyRecordStart_args) that); + return false; + } + + public boolean equals(chronologizeKeyRecordStart_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(chronologizeKeyRecordStart_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "chronologizeKeyRecordStart_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class chronologizeKeyRecordStart_argsStandardSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStart_argsStandardScheme getScheme() { + return new chronologizeKeyRecordStart_argsStandardScheme(); + } + } + + private static class chronologizeKeyRecordStart_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + chronologizeKeyRecordStart_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + chronologizeKeyRecordStart_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class chronologizeKeyRecordStart_argsTupleSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStart_argsTupleScheme getScheme() { + return new chronologizeKeyRecordStart_argsTupleScheme(); + } + } + + private static class chronologizeKeyRecordStart_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class chronologizeKeyRecordStart_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "chronologizeKeyRecordStart_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new chronologizeKeyRecordStart_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new chronologizeKeyRecordStart_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + chronologizeKeyRecordStart_result.class, metaDataMap); + } + + public chronologizeKeyRecordStart_result() {} + + public chronologizeKeyRecordStart_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public chronologizeKeyRecordStart_result( + chronologizeKeyRecordStart_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public chronologizeKeyRecordStart_result deepCopy() { + return new chronologizeKeyRecordStart_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public chronologizeKeyRecordStart_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public chronologizeKeyRecordStart_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public chronologizeKeyRecordStart_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public chronologizeKeyRecordStart_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof chronologizeKeyRecordStart_result) + return this.equals((chronologizeKeyRecordStart_result) that); + return false; + } + + public boolean equals(chronologizeKeyRecordStart_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(chronologizeKeyRecordStart_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "chronologizeKeyRecordStart_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class chronologizeKeyRecordStart_resultStandardSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStart_resultStandardScheme getScheme() { + return new chronologizeKeyRecordStart_resultStandardScheme(); + } + } + + private static class chronologizeKeyRecordStart_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + chronologizeKeyRecordStart_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map298 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map298.size); + long _key299; + Set _val300; + for (int _i301 = 0; _i301 < _map298.size; ++_i301) { + _key299 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set302 = iprot + .readSetBegin(); + _val300 = new LinkedHashSet( + 2 * _set302.size); + com.cinchapi.concourse.thrift.TObject _elem303; + for (int _i304 = 0; _i304 < _set302.size; ++_i304) { + _elem303 = new com.cinchapi.concourse.thrift.TObject(); + _elem303.read(iprot); + _val300.add(_elem303); + } + iprot.readSetEnd(); + } + struct.success.put(_key299, _val300); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + chronologizeKeyRecordStart_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter305 : struct.success + .entrySet()) { + oprot.writeI64(_iter305.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter305.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter306 : _iter305 + .getValue()) { + _iter306.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class chronologizeKeyRecordStart_resultTupleSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStart_resultTupleScheme getScheme() { + return new chronologizeKeyRecordStart_resultTupleScheme(); + } + } + + private static class chronologizeKeyRecordStart_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter307 : struct.success + .entrySet()) { + oprot.writeI64(_iter307.getKey()); + { + oprot.writeI32(_iter307.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter308 : _iter307 + .getValue()) { + _iter308.write(oprot); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map309 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map309.size); + long _key310; + Set _val311; + for (int _i312 = 0; _i312 < _map309.size; ++_i312) { + _key310 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set313 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val311 = new LinkedHashSet( + 2 * _set313.size); + com.cinchapi.concourse.thrift.TObject _elem314; + for (int _i315 = 0; _i315 < _set313.size; ++_i315) { + _elem314 = new com.cinchapi.concourse.thrift.TObject(); + _elem314.read(iprot); + _val311.add(_elem314); + } + } + struct.success.put(_key310, _val311); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class chronologizeKeyRecordStartstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "chronologizeKeyRecordStartstr_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new chronologizeKeyRecordStartstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new chronologizeKeyRecordStartstr_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public String start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + chronologizeKeyRecordStartstr_args.class, metaDataMap); + } + + public chronologizeKeyRecordStartstr_args() {} + + public chronologizeKeyRecordStartstr_args(String key, long record, + String start, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public chronologizeKeyRecordStartstr_args( + chronologizeKeyRecordStartstr_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public chronologizeKeyRecordStartstr_args deepCopy() { + return new chronologizeKeyRecordStartstr_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + this.start = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public chronologizeKeyRecordStartstr_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public chronologizeKeyRecordStartstr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getStart() { + return this.start; + } + + public chronologizeKeyRecordStartstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public chronologizeKeyRecordStartstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public chronologizeKeyRecordStartstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public chronologizeKeyRecordStartstr_args setEnvironment( + String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof chronologizeKeyRecordStartstr_args) + return this.equals((chronologizeKeyRecordStartstr_args) that); + return false; + } + + public boolean equals(chronologizeKeyRecordStartstr_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(chronologizeKeyRecordStartstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "chronologizeKeyRecordStartstr_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class chronologizeKeyRecordStartstr_argsStandardSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartstr_argsStandardScheme getScheme() { + return new chronologizeKeyRecordStartstr_argsStandardScheme(); + } + } + + private static class chronologizeKeyRecordStartstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + chronologizeKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + chronologizeKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class chronologizeKeyRecordStartstr_argsTupleSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartstr_argsTupleScheme getScheme() { + return new chronologizeKeyRecordStartstr_argsTupleScheme(); + } + } + + private static class chronologizeKeyRecordStartstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class chronologizeKeyRecordStartstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "chronologizeKeyRecordStartstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new chronologizeKeyRecordStartstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new chronologizeKeyRecordStartstr_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + chronologizeKeyRecordStartstr_result.class, metaDataMap); + } + + public chronologizeKeyRecordStartstr_result() {} + + public chronologizeKeyRecordStartstr_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public chronologizeKeyRecordStartstr_result( + chronologizeKeyRecordStartstr_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public chronologizeKeyRecordStartstr_result deepCopy() { + return new chronologizeKeyRecordStartstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public chronologizeKeyRecordStartstr_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public chronologizeKeyRecordStartstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public chronologizeKeyRecordStartstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public chronologizeKeyRecordStartstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public chronologizeKeyRecordStartstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof chronologizeKeyRecordStartstr_result) + return this.equals((chronologizeKeyRecordStartstr_result) that); + return false; + } + + public boolean equals(chronologizeKeyRecordStartstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(chronologizeKeyRecordStartstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "chronologizeKeyRecordStartstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class chronologizeKeyRecordStartstr_resultStandardSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartstr_resultStandardScheme getScheme() { + return new chronologizeKeyRecordStartstr_resultStandardScheme(); + } + } + + private static class chronologizeKeyRecordStartstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + chronologizeKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map316 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map316.size); + long _key317; + Set _val318; + for (int _i319 = 0; _i319 < _map316.size; ++_i319) { + _key317 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set320 = iprot + .readSetBegin(); + _val318 = new LinkedHashSet( + 2 * _set320.size); + com.cinchapi.concourse.thrift.TObject _elem321; + for (int _i322 = 0; _i322 < _set320.size; ++_i322) { + _elem321 = new com.cinchapi.concourse.thrift.TObject(); + _elem321.read(iprot); + _val318.add(_elem321); + } + iprot.readSetEnd(); + } + struct.success.put(_key317, _val318); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + chronologizeKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter323 : struct.success + .entrySet()) { + oprot.writeI64(_iter323.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter323.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter324 : _iter323 + .getValue()) { + _iter324.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class chronologizeKeyRecordStartstr_resultTupleSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartstr_resultTupleScheme getScheme() { + return new chronologizeKeyRecordStartstr_resultTupleScheme(); + } + } + + private static class chronologizeKeyRecordStartstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter325 : struct.success + .entrySet()) { + oprot.writeI64(_iter325.getKey()); + { + oprot.writeI32(_iter325.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter326 : _iter325 + .getValue()) { + _iter326.write(oprot); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map327 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map327.size); + long _key328; + Set _val329; + for (int _i330 = 0; _i330 < _map327.size; ++_i330) { + _key328 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set331 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val329 = new LinkedHashSet( + 2 * _set331.size); + com.cinchapi.concourse.thrift.TObject _elem332; + for (int _i333 = 0; _i333 < _set331.size; ++_i333) { + _elem332 = new com.cinchapi.concourse.thrift.TObject(); + _elem332.read(iprot); + _val329.add(_elem332); + } + } + struct.success.put(_key328, _val329); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class chronologizeKeyRecordStartEnd_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "chronologizeKeyRecordStartEnd_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.I64, (short) 4); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 6); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 7); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new chronologizeKeyRecordStartEnd_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new chronologizeKeyRecordStartEnd_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public long start; // required + public long tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + TEND((short) 4, "tend"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // TEND + return TEND; + case 5: // CREDS + return CREDS; + case 6: // TRANSACTION + return TRANSACTION; + case 7: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __START_ISSET_ID = 1; + private static final int __TEND_ISSET_ID = 2; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + chronologizeKeyRecordStartEnd_args.class, metaDataMap); + } + + public chronologizeKeyRecordStartEnd_args() {} + + public chronologizeKeyRecordStartEnd_args(String key, long record, + long start, long tend, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + setStartIsSet(true); + this.tend = tend; + setTendIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public chronologizeKeyRecordStartEnd_args( + chronologizeKeyRecordStartEnd_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + this.start = other.start; + this.tend = other.tend; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public chronologizeKeyRecordStartEnd_args deepCopy() { + return new chronologizeKeyRecordStartEnd_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + setStartIsSet(false); + this.start = 0; + setTendIsSet(false); + this.tend = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public chronologizeKeyRecordStartEnd_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public chronologizeKeyRecordStartEnd_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getStart() { + return this.start; + } + + public chronologizeKeyRecordStartEnd_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public long getTend() { + return this.tend; + } + + public chronologizeKeyRecordStartEnd_args setTend(long tend) { + this.tend = tend; + setTendIsSet(true); + return this; + } + + public void unsetTend() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TEND_ISSET_ID); + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + } + + public void setTendIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TEND_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public chronologizeKeyRecordStartEnd_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public chronologizeKeyRecordStartEnd_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public chronologizeKeyRecordStartEnd_args setEnvironment( + String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof chronologizeKeyRecordStartEnd_args) + return this.equals((chronologizeKeyRecordStartEnd_args) that); + return false; + } + + public boolean equals(chronologizeKeyRecordStartEnd_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_tend = true; + boolean that_present_tend = true; + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(this.tend != that.tend) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true; + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(chronologizeKeyRecordStartEnd_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "chronologizeKeyRecordStartEnd_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + sb.append(this.tend); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class chronologizeKeyRecordStartEnd_argsStandardSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartEnd_argsStandardScheme getScheme() { + return new chronologizeKeyRecordStartEnd_argsStandardScheme(); + } + } + + private static class chronologizeKeyRecordStartEnd_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + chronologizeKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 7: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + chronologizeKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeI64(struct.tend); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class chronologizeKeyRecordStartEnd_argsTupleSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartEnd_argsTupleScheme getScheme() { + return new chronologizeKeyRecordStartEnd_argsTupleScheme(); + } + } + + private static class chronologizeKeyRecordStartEnd_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetTend()) { + optionals.set(3); + } + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetTend()) { + oprot.writeI64(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(7); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + if(incoming.get(4)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(5)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(6)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class chronologizeKeyRecordStartEnd_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "chronologizeKeyRecordStartEnd_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new chronologizeKeyRecordStartEnd_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new chronologizeKeyRecordStartEnd_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + chronologizeKeyRecordStartEnd_result.class, metaDataMap); + } + + public chronologizeKeyRecordStartEnd_result() {} + + public chronologizeKeyRecordStartEnd_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public chronologizeKeyRecordStartEnd_result( + chronologizeKeyRecordStartEnd_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public chronologizeKeyRecordStartEnd_result deepCopy() { + return new chronologizeKeyRecordStartEnd_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public chronologizeKeyRecordStartEnd_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public chronologizeKeyRecordStartEnd_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public chronologizeKeyRecordStartEnd_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public chronologizeKeyRecordStartEnd_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof chronologizeKeyRecordStartEnd_result) + return this.equals((chronologizeKeyRecordStartEnd_result) that); + return false; + } + + public boolean equals(chronologizeKeyRecordStartEnd_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(chronologizeKeyRecordStartEnd_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "chronologizeKeyRecordStartEnd_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class chronologizeKeyRecordStartEnd_resultStandardSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartEnd_resultStandardScheme getScheme() { + return new chronologizeKeyRecordStartEnd_resultStandardScheme(); + } + } + + private static class chronologizeKeyRecordStartEnd_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + chronologizeKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map334 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map334.size); + long _key335; + Set _val336; + for (int _i337 = 0; _i337 < _map334.size; ++_i337) { + _key335 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set338 = iprot + .readSetBegin(); + _val336 = new LinkedHashSet( + 2 * _set338.size); + com.cinchapi.concourse.thrift.TObject _elem339; + for (int _i340 = 0; _i340 < _set338.size; ++_i340) { + _elem339 = new com.cinchapi.concourse.thrift.TObject(); + _elem339.read(iprot); + _val336.add(_elem339); + } + iprot.readSetEnd(); + } + struct.success.put(_key335, _val336); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + chronologizeKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter341 : struct.success + .entrySet()) { + oprot.writeI64(_iter341.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter341.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter342 : _iter341 + .getValue()) { + _iter342.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class chronologizeKeyRecordStartEnd_resultTupleSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartEnd_resultTupleScheme getScheme() { + return new chronologizeKeyRecordStartEnd_resultTupleScheme(); + } + } + + private static class chronologizeKeyRecordStartEnd_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter343 : struct.success + .entrySet()) { + oprot.writeI64(_iter343.getKey()); + { + oprot.writeI32(_iter343.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter344 : _iter343 + .getValue()) { + _iter344.write(oprot); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map345 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map345.size); + long _key346; + Set _val347; + for (int _i348 = 0; _i348 < _map345.size; ++_i348) { + _key346 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set349 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val347 = new LinkedHashSet( + 2 * _set349.size); + com.cinchapi.concourse.thrift.TObject _elem350; + for (int _i351 = 0; _i351 < _set349.size; ++_i351) { + _elem350 = new com.cinchapi.concourse.thrift.TObject(); + _elem350.read(iprot); + _val347.add(_elem350); + } + } + struct.success.put(_key346, _val347); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class chronologizeKeyRecordStartstrEndstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "chronologizeKeyRecordStartstrEndstr_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.STRING, (short) 4); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 6); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 7); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new chronologizeKeyRecordStartstrEndstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new chronologizeKeyRecordStartstrEndstr_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public String start; // required + public String tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + TEND((short) 4, "tend"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // TEND + return TEND; + case 5: // CREDS + return CREDS; + case 6: // TRANSACTION + return TRANSACTION; + case 7: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + chronologizeKeyRecordStartstrEndstr_args.class, + metaDataMap); + } + + public chronologizeKeyRecordStartstrEndstr_args() {} + + public chronologizeKeyRecordStartstrEndstr_args(String key, long record, + String start, String tend, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + this.tend = tend; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public chronologizeKeyRecordStartstrEndstr_args( + chronologizeKeyRecordStartstrEndstr_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetTend()) { + this.tend = other.tend; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public chronologizeKeyRecordStartstrEndstr_args deepCopy() { + return new chronologizeKeyRecordStartstrEndstr_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + this.start = null; + this.tend = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public chronologizeKeyRecordStartstrEndstr_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public chronologizeKeyRecordStartstrEndstr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getStart() { + return this.start; + } + + public chronologizeKeyRecordStartstrEndstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public String getTend() { + return this.tend; + } + + public chronologizeKeyRecordStartstrEndstr_args setTend(String tend) { + this.tend = tend; + return this; + } + + public void unsetTend() { + this.tend = null; + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return this.tend != null; + } + + public void setTendIsSet(boolean value) { + if(!value) { + this.tend = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public chronologizeKeyRecordStartstrEndstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public chronologizeKeyRecordStartstrEndstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public chronologizeKeyRecordStartstrEndstr_args setEnvironment( + String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof chronologizeKeyRecordStartstrEndstr_args) + return this.equals( + (chronologizeKeyRecordStartstrEndstr_args) that); + return false; + } + + public boolean equals(chronologizeKeyRecordStartstrEndstr_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_tend = true && this.isSetTend(); + boolean that_present_tend = true && that.isSetTend(); + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(!this.tend.equals(that.tend)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true && (isSetTend()); + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(chronologizeKeyRecordStartstrEndstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "chronologizeKeyRecordStartstrEndstr_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + if(this.tend == null) { + sb.append("null"); + } + else { + sb.append(this.tend); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class chronologizeKeyRecordStartstrEndstr_argsStandardSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartstrEndstr_argsStandardScheme getScheme() { + return new chronologizeKeyRecordStartstrEndstr_argsStandardScheme(); + } + } + + private static class chronologizeKeyRecordStartstrEndstr_argsStandardScheme + extends + StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + chronologizeKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 7: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + chronologizeKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.tend != null) { + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeString(struct.tend); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class chronologizeKeyRecordStartstrEndstr_argsTupleSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartstrEndstr_argsTupleScheme getScheme() { + return new chronologizeKeyRecordStartstrEndstr_argsTupleScheme(); + } + } + + private static class chronologizeKeyRecordStartstrEndstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetTend()) { + optionals.set(3); + } + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetTend()) { + oprot.writeString(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(7); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + if(incoming.get(4)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(5)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(6)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class chronologizeKeyRecordStartstrEndstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "chronologizeKeyRecordStartstrEndstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new chronologizeKeyRecordStartstrEndstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new chronologizeKeyRecordStartstrEndstr_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + chronologizeKeyRecordStartstrEndstr_result.class, + metaDataMap); + } + + public chronologizeKeyRecordStartstrEndstr_result() {} + + public chronologizeKeyRecordStartstrEndstr_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public chronologizeKeyRecordStartstrEndstr_result( + chronologizeKeyRecordStartstrEndstr_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public chronologizeKeyRecordStartstrEndstr_result deepCopy() { + return new chronologizeKeyRecordStartstrEndstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public chronologizeKeyRecordStartstrEndstr_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public chronologizeKeyRecordStartstrEndstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public chronologizeKeyRecordStartstrEndstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public chronologizeKeyRecordStartstrEndstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public chronologizeKeyRecordStartstrEndstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof chronologizeKeyRecordStartstrEndstr_result) + return this.equals( + (chronologizeKeyRecordStartstrEndstr_result) that); + return false; + } + + public boolean equals(chronologizeKeyRecordStartstrEndstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(chronologizeKeyRecordStartstrEndstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "chronologizeKeyRecordStartstrEndstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class chronologizeKeyRecordStartstrEndstr_resultStandardSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartstrEndstr_resultStandardScheme getScheme() { + return new chronologizeKeyRecordStartstrEndstr_resultStandardScheme(); + } + } + + private static class chronologizeKeyRecordStartstrEndstr_resultStandardScheme + extends + StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + chronologizeKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map352 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map352.size); + long _key353; + Set _val354; + for (int _i355 = 0; _i355 < _map352.size; ++_i355) { + _key353 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set356 = iprot + .readSetBegin(); + _val354 = new LinkedHashSet( + 2 * _set356.size); + com.cinchapi.concourse.thrift.TObject _elem357; + for (int _i358 = 0; _i358 < _set356.size; ++_i358) { + _elem357 = new com.cinchapi.concourse.thrift.TObject(); + _elem357.read(iprot); + _val354.add(_elem357); + } + iprot.readSetEnd(); + } + struct.success.put(_key353, _val354); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + chronologizeKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter359 : struct.success + .entrySet()) { + oprot.writeI64(_iter359.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter359.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter360 : _iter359 + .getValue()) { + _iter360.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class chronologizeKeyRecordStartstrEndstr_resultTupleSchemeFactory + implements SchemeFactory { + public chronologizeKeyRecordStartstrEndstr_resultTupleScheme getScheme() { + return new chronologizeKeyRecordStartstrEndstr_resultTupleScheme(); + } + } + + private static class chronologizeKeyRecordStartstrEndstr_resultTupleScheme + extends + TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter361 : struct.success + .entrySet()) { + oprot.writeI64(_iter361.getKey()); + { + oprot.writeI32(_iter361.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter362 : _iter361 + .getValue()) { + _iter362.write(oprot); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + chronologizeKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map363 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map363.size); + long _key364; + Set _val365; + for (int _i366 = 0; _i366 < _map363.size; ++_i366) { + _key364 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set367 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val365 = new LinkedHashSet( + 2 * _set367.size); + com.cinchapi.concourse.thrift.TObject _elem368; + for (int _i369 = 0; _i369 < _set367.size; ++_i369) { + _elem368 = new com.cinchapi.concourse.thrift.TObject(); + _elem368.read(iprot); + _val365.add(_elem368); + } + } + struct.success.put(_key364, _val365); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class clearRecord_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearRecord_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 3); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearRecord_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearRecord_argsTupleSchemeFactory()); + } + + public long record; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // CREDS + return CREDS; + case 3: // TRANSACTION + return TRANSACTION; + case 4: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(clearRecord_args.class, metaDataMap); + } + + public clearRecord_args() {} + + public clearRecord_args(long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public clearRecord_args(clearRecord_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public clearRecord_args deepCopy() { + return new clearRecord_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public clearRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public clearRecord_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public clearRecord_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public clearRecord_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearRecord_args) + return this.equals((clearRecord_args) that); + return false; + } + + public boolean equals(clearRecord_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(clearRecord_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearRecord_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearRecord_argsStandardSchemeFactory + implements SchemeFactory { + public clearRecord_argsStandardScheme getScheme() { + return new clearRecord_argsStandardScheme(); + } + } + + private static class clearRecord_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearRecord_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearRecord_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearRecord_argsTupleSchemeFactory + implements SchemeFactory { + public clearRecord_argsTupleScheme getScheme() { + return new clearRecord_argsTupleScheme(); + } + } + + private static class clearRecord_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetCreds()) { + optionals.set(1); + } + if(struct.isSetTransaction()) { + optionals.set(2); + } + if(struct.isSetEnvironment()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(2)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(3)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class clearRecord_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearRecord_result"); + + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearRecord_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearRecord_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + clearRecord_result.class, metaDataMap); + } + + public clearRecord_result() {} + + public clearRecord_result( + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public clearRecord_result(clearRecord_result other) { + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public clearRecord_result deepCopy() { + return new clearRecord_result(this); + } + + @Override + public void clear() { + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public clearRecord_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public clearRecord_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public clearRecord_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearRecord_result) + return this.equals((clearRecord_result) that); + return false; + } + + public boolean equals(clearRecord_result that) { + if(that == null) + return false; + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(clearRecord_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearRecord_result("); + boolean first = true; + + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearRecord_resultStandardSchemeFactory + implements SchemeFactory { + public clearRecord_resultStandardScheme getScheme() { + return new clearRecord_resultStandardScheme(); + } + } + + private static class clearRecord_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearRecord_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearRecord_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearRecord_resultTupleSchemeFactory + implements SchemeFactory { + public clearRecord_resultTupleScheme getScheme() { + return new clearRecord_resultTupleScheme(); + } + } + + private static class clearRecord_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetEx()) { + optionals.set(0); + } + if(struct.isSetEx2()) { + optionals.set(1); + } + if(struct.isSetEx3()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(1)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(2)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class clearRecords_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearRecords_args"); + + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 3); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearRecords_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearRecords_argsTupleSchemeFactory()); + } + + public List records; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORDS((short) 1, "records"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORDS + return RECORDS; + case 2: // CREDS + return CREDS; + case 3: // TRANSACTION + return TRANSACTION; + case 4: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(clearRecords_args.class, metaDataMap); + } + + public clearRecords_args() {} + + public clearRecords_args(List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.records = records; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public clearRecords_args(clearRecords_args other) { + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public clearRecords_args deepCopy() { + return new clearRecords_args(this); + } + + @Override + public void clear() { + this.records = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public clearRecords_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public clearRecords_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public clearRecords_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public clearRecords_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORDS: + return getRecords(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORDS: + return isSetRecords(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearRecords_args) + return this.equals((clearRecords_args) that); + return false; + } + + public boolean equals(clearRecords_args that) { + if(that == null) + return false; + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(clearRecords_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearRecords_args("); + boolean first = true; + + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearRecords_argsStandardSchemeFactory + implements SchemeFactory { + public clearRecords_argsStandardScheme getScheme() { + return new clearRecords_argsStandardScheme(); + } + } + + private static class clearRecords_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearRecords_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list370 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list370.size); + long _elem371; + for (int _i372 = 0; _i372 < _list370.size; ++_i372) { + _elem371 = iprot.readI64(); + struct.records.add(_elem371); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearRecords_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter373 : struct.records) { + oprot.writeI64(_iter373); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearRecords_argsTupleSchemeFactory + implements SchemeFactory { + public clearRecords_argsTupleScheme getScheme() { + return new clearRecords_argsTupleScheme(); + } + } + + private static class clearRecords_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearRecords_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecords()) { + optionals.set(0); + } + if(struct.isSetCreds()) { + optionals.set(1); + } + if(struct.isSetTransaction()) { + optionals.set(2); + } + if(struct.isSetEnvironment()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter374 : struct.records) { + oprot.writeI64(_iter374); + } + } + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearRecords_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list375 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list375.size); + long _elem376; + for (int _i377 = 0; _i377 < _list375.size; ++_i377) { + _elem376 = iprot.readI64(); + struct.records.add(_elem376); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(1)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(2)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(3)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class clearRecords_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearRecords_result"); + + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearRecords_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearRecords_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + clearRecords_result.class, metaDataMap); + } + + public clearRecords_result() {} + + public clearRecords_result( + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public clearRecords_result(clearRecords_result other) { + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public clearRecords_result deepCopy() { + return new clearRecords_result(this); + } + + @Override + public void clear() { + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public clearRecords_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public clearRecords_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public clearRecords_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearRecords_result) + return this.equals((clearRecords_result) that); + return false; + } + + public boolean equals(clearRecords_result that) { + if(that == null) + return false; + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(clearRecords_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearRecords_result("); + boolean first = true; + + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearRecords_resultStandardSchemeFactory + implements SchemeFactory { + public clearRecords_resultStandardScheme getScheme() { + return new clearRecords_resultStandardScheme(); + } + } + + private static class clearRecords_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearRecords_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearRecords_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearRecords_resultTupleSchemeFactory + implements SchemeFactory { + public clearRecords_resultTupleScheme getScheme() { + return new clearRecords_resultTupleScheme(); + } + } + + private static class clearRecords_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearRecords_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetEx()) { + optionals.set(0); + } + if(struct.isSetEx2()) { + optionals.set(1); + } + if(struct.isSetEx3()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearRecords_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(1)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(2)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class clearKeyRecord_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearKeyRecord_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearKeyRecord_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearKeyRecord_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + clearKeyRecord_args.class, metaDataMap); + } + + public clearKeyRecord_args() {} + + public clearKeyRecord_args(String key, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public clearKeyRecord_args(clearKeyRecord_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public clearKeyRecord_args deepCopy() { + return new clearKeyRecord_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public clearKeyRecord_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public clearKeyRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public clearKeyRecord_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public clearKeyRecord_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public clearKeyRecord_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearKeyRecord_args) + return this.equals((clearKeyRecord_args) that); + return false; + } + + public boolean equals(clearKeyRecord_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(clearKeyRecord_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearKeyRecord_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearKeyRecord_argsStandardSchemeFactory + implements SchemeFactory { + public clearKeyRecord_argsStandardScheme getScheme() { + return new clearKeyRecord_argsStandardScheme(); + } + } + + private static class clearKeyRecord_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearKeyRecord_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearKeyRecord_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearKeyRecord_argsTupleSchemeFactory + implements SchemeFactory { + public clearKeyRecord_argsTupleScheme getScheme() { + return new clearKeyRecord_argsTupleScheme(); + } + } + + private static class clearKeyRecord_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearKeyRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearKeyRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class clearKeyRecord_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearKeyRecord_result"); + + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearKeyRecord_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearKeyRecord_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + clearKeyRecord_result.class, metaDataMap); + } + + public clearKeyRecord_result() {} + + public clearKeyRecord_result( + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public clearKeyRecord_result(clearKeyRecord_result other) { + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public clearKeyRecord_result deepCopy() { + return new clearKeyRecord_result(this); + } + + @Override + public void clear() { + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public clearKeyRecord_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public clearKeyRecord_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public clearKeyRecord_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearKeyRecord_result) + return this.equals((clearKeyRecord_result) that); + return false; + } + + public boolean equals(clearKeyRecord_result that) { + if(that == null) + return false; + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(clearKeyRecord_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearKeyRecord_result("); + boolean first = true; + + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearKeyRecord_resultStandardSchemeFactory + implements SchemeFactory { + public clearKeyRecord_resultStandardScheme getScheme() { + return new clearKeyRecord_resultStandardScheme(); + } + } + + private static class clearKeyRecord_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearKeyRecord_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearKeyRecord_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearKeyRecord_resultTupleSchemeFactory + implements SchemeFactory { + public clearKeyRecord_resultTupleScheme getScheme() { + return new clearKeyRecord_resultTupleScheme(); + } + } + + private static class clearKeyRecord_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearKeyRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetEx()) { + optionals.set(0); + } + if(struct.isSetEx2()) { + optionals.set(1); + } + if(struct.isSetEx3()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearKeyRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(1)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(2)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class clearKeysRecord_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearKeysRecord_args"); + + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearKeysRecord_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearKeysRecord_argsTupleSchemeFactory()); + } + + public List keys; // required + public long record; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEYS((short) 1, "keys"), + RECORD((short) 2, "record"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEYS + return KEYS; + case 2: // RECORD + return RECORD; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + clearKeysRecord_args.class, metaDataMap); + } + + public clearKeysRecord_args() {} + + public clearKeysRecord_args(List keys, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.keys = keys; + this.record = record; + setRecordIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public clearKeysRecord_args(clearKeysRecord_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + this.record = other.record; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public clearKeysRecord_args deepCopy() { + return new clearKeysRecord_args(this); + } + + @Override + public void clear() { + this.keys = null; + setRecordIsSet(false); + this.record = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public clearKeysRecord_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public long getRecord() { + return this.record; + } + + public clearKeysRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public clearKeysRecord_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public clearKeysRecord_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public clearKeysRecord_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEYS: + return getKeys(); + + case RECORD: + return getRecord(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEYS: + return isSetKeys(); + case RECORD: + return isSetRecord(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearKeysRecord_args) + return this.equals((clearKeysRecord_args) that); + return false; + } + + public boolean equals(clearKeysRecord_args that) { + if(that == null) + return false; + + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(clearKeysRecord_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearKeysRecord_args("); + boolean first = true; + + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearKeysRecord_argsStandardSchemeFactory + implements SchemeFactory { + public clearKeysRecord_argsStandardScheme getScheme() { + return new clearKeysRecord_argsStandardScheme(); + } + } + + private static class clearKeysRecord_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearKeysRecord_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list378 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list378.size); + String _elem379; + for (int _i380 = 0; _i380 < _list378.size; ++_i380) { + _elem379 = iprot.readString(); + struct.keys.add(_elem379); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearKeysRecord_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter381 : struct.keys) { + oprot.writeString(_iter381); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearKeysRecord_argsTupleSchemeFactory + implements SchemeFactory { + public clearKeysRecord_argsTupleScheme getScheme() { + return new clearKeysRecord_argsTupleScheme(); + } + } + + private static class clearKeysRecord_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearKeysRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKeys()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter382 : struct.keys) { + oprot.writeString(_iter382); + } + } + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearKeysRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list383 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list383.size); + String _elem384; + for (int _i385 = 0; _i385 < _list383.size; ++_i385) { + _elem384 = iprot.readString(); + struct.keys.add(_elem384); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class clearKeysRecord_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearKeysRecord_result"); + + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearKeysRecord_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearKeysRecord_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + clearKeysRecord_result.class, metaDataMap); + } + + public clearKeysRecord_result() {} + + public clearKeysRecord_result( + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public clearKeysRecord_result(clearKeysRecord_result other) { + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public clearKeysRecord_result deepCopy() { + return new clearKeysRecord_result(this); + } + + @Override + public void clear() { + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public clearKeysRecord_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public clearKeysRecord_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public clearKeysRecord_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearKeysRecord_result) + return this.equals((clearKeysRecord_result) that); + return false; + } + + public boolean equals(clearKeysRecord_result that) { + if(that == null) + return false; + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(clearKeysRecord_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearKeysRecord_result("); + boolean first = true; + + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearKeysRecord_resultStandardSchemeFactory + implements SchemeFactory { + public clearKeysRecord_resultStandardScheme getScheme() { + return new clearKeysRecord_resultStandardScheme(); + } + } + + private static class clearKeysRecord_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearKeysRecord_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearKeysRecord_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearKeysRecord_resultTupleSchemeFactory + implements SchemeFactory { + public clearKeysRecord_resultTupleScheme getScheme() { + return new clearKeysRecord_resultTupleScheme(); + } + } + + private static class clearKeysRecord_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearKeysRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetEx()) { + optionals.set(0); + } + if(struct.isSetEx2()) { + optionals.set(1); + } + if(struct.isSetEx3()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearKeysRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(1)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(2)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class clearKeyRecords_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearKeyRecords_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearKeyRecords_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearKeyRecords_argsTupleSchemeFactory()); + } + + public String key; // required + public List records; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORDS((short) 2, "records"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORDS + return RECORDS; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + clearKeyRecords_args.class, metaDataMap); + } + + public clearKeyRecords_args() {} + + public clearKeyRecords_args(String key, List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.records = records; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public clearKeyRecords_args(clearKeyRecords_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public clearKeyRecords_args deepCopy() { + return new clearKeyRecords_args(this); + } + + @Override + public void clear() { + this.key = null; + this.records = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public clearKeyRecords_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public clearKeyRecords_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public clearKeyRecords_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public clearKeyRecords_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public clearKeyRecords_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORDS: + return getRecords(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORDS: + return isSetRecords(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearKeyRecords_args) + return this.equals((clearKeyRecords_args) that); + return false; + } + + public boolean equals(clearKeyRecords_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(clearKeyRecords_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearKeyRecords_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearKeyRecords_argsStandardSchemeFactory + implements SchemeFactory { + public clearKeyRecords_argsStandardScheme getScheme() { + return new clearKeyRecords_argsStandardScheme(); + } + } + + private static class clearKeyRecords_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearKeyRecords_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list386 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list386.size); + long _elem387; + for (int _i388 = 0; _i388 < _list386.size; ++_i388) { + _elem387 = iprot.readI64(); + struct.records.add(_elem387); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearKeyRecords_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter389 : struct.records) { + oprot.writeI64(_iter389); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearKeyRecords_argsTupleSchemeFactory + implements SchemeFactory { + public clearKeyRecords_argsTupleScheme getScheme() { + return new clearKeyRecords_argsTupleScheme(); + } + } + + private static class clearKeyRecords_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearKeyRecords_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecords()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter390 : struct.records) { + oprot.writeI64(_iter390); + } + } + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearKeyRecords_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list391 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list391.size); + long _elem392; + for (int _i393 = 0; _i393 < _list391.size; ++_i393) { + _elem392 = iprot.readI64(); + struct.records.add(_elem392); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class clearKeyRecords_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearKeyRecords_result"); + + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearKeyRecords_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearKeyRecords_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + clearKeyRecords_result.class, metaDataMap); + } + + public clearKeyRecords_result() {} + + public clearKeyRecords_result( + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public clearKeyRecords_result(clearKeyRecords_result other) { + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public clearKeyRecords_result deepCopy() { + return new clearKeyRecords_result(this); + } + + @Override + public void clear() { + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public clearKeyRecords_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public clearKeyRecords_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public clearKeyRecords_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearKeyRecords_result) + return this.equals((clearKeyRecords_result) that); + return false; + } + + public boolean equals(clearKeyRecords_result that) { + if(that == null) + return false; + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(clearKeyRecords_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearKeyRecords_result("); + boolean first = true; + + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearKeyRecords_resultStandardSchemeFactory + implements SchemeFactory { + public clearKeyRecords_resultStandardScheme getScheme() { + return new clearKeyRecords_resultStandardScheme(); + } + } + + private static class clearKeyRecords_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearKeyRecords_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearKeyRecords_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearKeyRecords_resultTupleSchemeFactory + implements SchemeFactory { + public clearKeyRecords_resultTupleScheme getScheme() { + return new clearKeyRecords_resultTupleScheme(); + } + } + + private static class clearKeyRecords_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearKeyRecords_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetEx()) { + optionals.set(0); + } + if(struct.isSetEx2()) { + optionals.set(1); + } + if(struct.isSetEx3()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearKeyRecords_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(1)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(2)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class clearKeysRecords_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearKeysRecords_args"); + + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearKeysRecords_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearKeysRecords_argsTupleSchemeFactory()); + } + + public List keys; // required + public List records; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + clearKeysRecords_args.class, metaDataMap); + } + + public clearKeysRecords_args() {} + + public clearKeysRecords_args(List keys, List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.keys = keys; + this.records = records; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public clearKeysRecords_args(clearKeysRecords_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public clearKeysRecords_args deepCopy() { + return new clearKeysRecords_args(this); + } + + @Override + public void clear() { + this.keys = null; + this.records = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public clearKeysRecords_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public clearKeysRecords_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public clearKeysRecords_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public clearKeysRecords_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public clearKeysRecords_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEYS: + return getKeys(); + + case RECORDS: + return getRecords(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearKeysRecords_args) + return this.equals((clearKeysRecords_args) that); + return false; + } + + public boolean equals(clearKeysRecords_args that) { + if(that == null) + return false; + + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(clearKeysRecords_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearKeysRecords_args("); + boolean first = true; + + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearKeysRecords_argsStandardSchemeFactory + implements SchemeFactory { + public clearKeysRecords_argsStandardScheme getScheme() { + return new clearKeysRecords_argsStandardScheme(); + } + } + + private static class clearKeysRecords_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearKeysRecords_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list394 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list394.size); + String _elem395; + for (int _i396 = 0; _i396 < _list394.size; ++_i396) { + _elem395 = iprot.readString(); + struct.keys.add(_elem395); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list397 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list397.size); + long _elem398; + for (int _i399 = 0; _i399 < _list397.size; ++_i399) { + _elem398 = iprot.readI64(); + struct.records.add(_elem398); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearKeysRecords_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter400 : struct.keys) { + oprot.writeString(_iter400); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter401 : struct.records) { + oprot.writeI64(_iter401); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearKeysRecords_argsTupleSchemeFactory + implements SchemeFactory { + public clearKeysRecords_argsTupleScheme getScheme() { + return new clearKeysRecords_argsTupleScheme(); + } + } + + private static class clearKeysRecords_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearKeysRecords_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKeys()) { + optionals.set(0); + } + if(struct.isSetRecords()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter402 : struct.keys) { + oprot.writeString(_iter402); + } + } + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter403 : struct.records) { + oprot.writeI64(_iter403); + } + } + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearKeysRecords_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list404 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list404.size); + String _elem405; + for (int _i406 = 0; _i406 < _list404.size; ++_i406) { + _elem405 = iprot.readString(); + struct.keys.add(_elem405); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list407 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list407.size); + long _elem408; + for (int _i409 = 0; _i409 < _list407.size; ++_i409) { + _elem408 = iprot.readI64(); + struct.records.add(_elem408); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class clearKeysRecords_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "clearKeysRecords_result"); + + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new clearKeysRecords_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new clearKeysRecords_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + clearKeysRecords_result.class, metaDataMap); + } + + public clearKeysRecords_result() {} + + public clearKeysRecords_result( + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public clearKeysRecords_result(clearKeysRecords_result other) { + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public clearKeysRecords_result deepCopy() { + return new clearKeysRecords_result(this); + } + + @Override + public void clear() { + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public clearKeysRecords_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public clearKeysRecords_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public clearKeysRecords_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof clearKeysRecords_result) + return this.equals((clearKeysRecords_result) that); + return false; + } + + public boolean equals(clearKeysRecords_result that) { + if(that == null) + return false; + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(clearKeysRecords_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("clearKeysRecords_result("); + boolean first = true; + + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class clearKeysRecords_resultStandardSchemeFactory + implements SchemeFactory { + public clearKeysRecords_resultStandardScheme getScheme() { + return new clearKeysRecords_resultStandardScheme(); + } + } + + private static class clearKeysRecords_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + clearKeysRecords_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + clearKeysRecords_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class clearKeysRecords_resultTupleSchemeFactory + implements SchemeFactory { + public clearKeysRecords_resultTupleScheme getScheme() { + return new clearKeysRecords_resultTupleScheme(); + } + } + + private static class clearKeysRecords_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + clearKeysRecords_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetEx()) { + optionals.set(0); + } + if(struct.isSetEx2()) { + optionals.set(1); + } + if(struct.isSetEx3()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + clearKeysRecords_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(1)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(2)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class commit_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "commit_args"); + + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 2); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new commit_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new commit_argsTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + CREDS((short) 1, "creds"), + TRANSACTION((short) 2, "transaction"), + ENVIRONMENT((short) 3, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // CREDS + return CREDS; + case 2: // TRANSACTION + return TRANSACTION; + case 3: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(commit_args.class, metaDataMap); + } + + public commit_args() {} + + public commit_args(com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public commit_args(commit_args other) { + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public commit_args deepCopy() { + return new commit_args(this); + } + + @Override + public void clear() { + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public commit_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public commit_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public commit_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof commit_args) + return this.equals((commit_args) that); + return false; + } + + public boolean equals(commit_args that) { + if(that == null) + return false; + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(commit_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("commit_args("); + boolean first = true; + + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class commit_argsStandardSchemeFactory + implements SchemeFactory { + public commit_argsStandardScheme getScheme() { + return new commit_argsStandardScheme(); + } + } + + private static class commit_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + commit_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + commit_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class commit_argsTupleSchemeFactory + implements SchemeFactory { + public commit_argsTupleScheme getScheme() { + return new commit_argsTupleScheme(); + } + } + + private static class commit_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + commit_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetCreds()) { + optionals.set(0); + } + if(struct.isSetTransaction()) { + optionals.set(1); + } + if(struct.isSetEnvironment()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + commit_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(1)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(2)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class commit_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "commit_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new commit_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new commit_resultTupleSchemeFactory()); + } + + public boolean success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(commit_result.class, metaDataMap); + } + + public commit_result() {} + + public commit_result(boolean success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + setSuccessIsSet(true); + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public commit_result(commit_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public commit_result deepCopy() { + return new commit_result(this); + } + + @Override + public void clear() { + setSuccessIsSet(false); + this.success = false; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public boolean isSuccess() { + return this.success; + } + + public commit_result setSuccess(boolean success) { + this.success = success; + setSuccessIsSet(true); + return this; + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __SUCCESS_ISSET_ID); + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __SUCCESS_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public commit_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public commit_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public commit_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Boolean) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return isSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof commit_result) + return this.equals((commit_result) that); + return false; + } + + public boolean equals(commit_result that) { + if(that == null) + return false; + + boolean this_present_success = true; + boolean that_present_success = true; + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(this.success != that.success) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true; + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(commit_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("commit_result("); + boolean first = true; + + sb.append("success:"); + sb.append(this.success); + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class commit_resultStandardSchemeFactory + implements SchemeFactory { + public commit_resultStandardScheme getScheme() { + return new commit_resultStandardScheme(); + } + } + + private static class commit_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + commit_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + commit_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class commit_resultTupleSchemeFactory + implements SchemeFactory { + public commit_resultTupleScheme getScheme() { + return new commit_resultTupleScheme(); + } + } + + private static class commit_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + commit_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + oprot.writeBool(struct.success); + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + commit_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class describe_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describe_args"); + + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 2); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describe_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describe_argsTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + CREDS((short) 1, "creds"), + TRANSACTION((short) 2, "transaction"), + ENVIRONMENT((short) 3, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // CREDS + return CREDS; + case 2: // TRANSACTION + return TRANSACTION; + case 3: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(describe_args.class, metaDataMap); + } + + public describe_args() {} + + public describe_args(com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public describe_args(describe_args other) { + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public describe_args deepCopy() { + return new describe_args(this); + } + + @Override + public void clear() { + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public describe_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public describe_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public describe_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describe_args) + return this.equals((describe_args) that); + return false; + } + + public boolean equals(describe_args that) { + if(that == null) + return false; + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(describe_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describe_args("); + boolean first = true; + + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describe_argsStandardSchemeFactory + implements SchemeFactory { + public describe_argsStandardScheme getScheme() { + return new describe_argsStandardScheme(); + } + } + + private static class describe_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describe_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describe_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describe_argsTupleSchemeFactory + implements SchemeFactory { + public describe_argsTupleScheme getScheme() { + return new describe_argsTupleScheme(); + } + } + + private static class describe_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describe_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetCreds()) { + optionals.set(0); + } + if(struct.isSetTransaction()) { + optionals.set(1); + } + if(struct.isSetEnvironment()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describe_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(1)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(2)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class describe_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describe_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.SET, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describe_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describe_resultTupleSchemeFactory()); + } + + public Set success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(describe_result.class, metaDataMap); + } + + public describe_result() {} + + public describe_result(Set success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public describe_result(describe_result other) { + if(other.isSetSuccess()) { + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public describe_result deepCopy() { + return new describe_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { + return this.success; + } + + public describe_result setSuccess(Set success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public describe_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public describe_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public describe_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Set) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describe_result) + return this.equals((describe_result) that); + return false; + } + + public boolean equals(describe_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(describe_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describe_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describe_resultStandardSchemeFactory + implements SchemeFactory { + public describe_resultStandardScheme getScheme() { + return new describe_resultStandardScheme(); + } + } + + private static class describe_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describe_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set410 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set410.size); + String _elem411; + for (int _i412 = 0; _i412 < _set410.size; ++_i412) { + _elem411 = iprot.readString(); + struct.success.add(_elem411); + } + iprot.readSetEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describe_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (String _iter413 : struct.success) { + oprot.writeString(_iter413); + } + oprot.writeSetEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describe_resultTupleSchemeFactory + implements SchemeFactory { + public describe_resultTupleScheme getScheme() { + return new describe_resultTupleScheme(); + } + } + + private static class describe_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describe_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter414 : struct.success) { + oprot.writeString(_iter414); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describe_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TSet _set415 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set415.size); + String _elem416; + for (int _i417 = 0; _i417 < _set415.size; ++_i417) { + _elem416 = iprot.readString(); + struct.success.add(_elem416); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class describeTime_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeTime_args"); + + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 3); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeTime_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeTime_argsTupleSchemeFactory()); + } + + public long timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + TIMESTAMP((short) 1, "timestamp"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // TIMESTAMP + return TIMESTAMP; + case 2: // CREDS + return CREDS; + case 3: // TRANSACTION + return TRANSACTION; + case 4: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(describeTime_args.class, metaDataMap); + } + + public describeTime_args() {} + + public describeTime_args(long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.timestamp = timestamp; + setTimestampIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public describeTime_args(describeTime_args other) { + __isset_bitfield = other.__isset_bitfield; + this.timestamp = other.timestamp; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public describeTime_args deepCopy() { + return new describeTime_args(this); + } + + @Override + public void clear() { + setTimestampIsSet(false); + this.timestamp = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getTimestamp() { + return this.timestamp; + } + + public describeTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public describeTime_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public describeTime_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public describeTime_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeTime_args) + return this.equals((describeTime_args) that); + return false; + } + + public boolean equals(describeTime_args that) { + if(that == null) + return false; + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(describeTime_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeTime_args("); + boolean first = true; + + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeTime_argsStandardSchemeFactory + implements SchemeFactory { + public describeTime_argsStandardScheme getScheme() { + return new describeTime_argsStandardScheme(); + } + } + + private static class describeTime_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeTime_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeTime_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeTime_argsTupleSchemeFactory + implements SchemeFactory { + public describeTime_argsTupleScheme getScheme() { + return new describeTime_argsTupleScheme(); + } + } + + private static class describeTime_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeTime_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetTimestamp()) { + optionals.set(0); + } + if(struct.isSetCreds()) { + optionals.set(1); + } + if(struct.isSetTransaction()) { + optionals.set(2); + } + if(struct.isSetEnvironment()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeTime_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(1)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(2)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(3)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class describeTime_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeTime_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.SET, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeTime_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeTime_resultTupleSchemeFactory()); + } + + public Set success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeTime_result.class, metaDataMap); + } + + public describeTime_result() {} + + public describeTime_result(Set success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public describeTime_result(describeTime_result other) { + if(other.isSetSuccess()) { + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public describeTime_result deepCopy() { + return new describeTime_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { + return this.success; + } + + public describeTime_result setSuccess(Set success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public describeTime_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public describeTime_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public describeTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Set) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeTime_result) + return this.equals((describeTime_result) that); + return false; + } + + public boolean equals(describeTime_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(describeTime_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeTime_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeTime_resultStandardSchemeFactory + implements SchemeFactory { + public describeTime_resultStandardScheme getScheme() { + return new describeTime_resultStandardScheme(); + } + } + + private static class describeTime_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeTime_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set418 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set418.size); + String _elem419; + for (int _i420 = 0; _i420 < _set418.size; ++_i420) { + _elem419 = iprot.readString(); + struct.success.add(_elem419); + } + iprot.readSetEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeTime_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (String _iter421 : struct.success) { + oprot.writeString(_iter421); + } + oprot.writeSetEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeTime_resultTupleSchemeFactory + implements SchemeFactory { + public describeTime_resultTupleScheme getScheme() { + return new describeTime_resultTupleScheme(); + } + } + + private static class describeTime_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeTime_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter422 : struct.success) { + oprot.writeString(_iter422); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeTime_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TSet _set423 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set423.size); + String _elem424; + for (int _i425 = 0; _i425 < _set423.size; ++_i425) { + _elem424 = iprot.readString(); + struct.success.add(_elem424); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class describeTimestr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeTimestr_args"); + + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 1); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 3); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeTimestr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeTimestr_argsTupleSchemeFactory()); + } + + public String timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + TIMESTAMP((short) 1, "timestamp"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // TIMESTAMP + return TIMESTAMP; + case 2: // CREDS + return CREDS; + case 3: // TRANSACTION + return TRANSACTION; + case 4: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeTimestr_args.class, metaDataMap); + } + + public describeTimestr_args() {} + + public describeTimestr_args(String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public describeTimestr_args(describeTimestr_args other) { + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public describeTimestr_args deepCopy() { + return new describeTimestr_args(this); + } + + @Override + public void clear() { + this.timestamp = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getTimestamp() { + return this.timestamp; + } + + public describeTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public describeTimestr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public describeTimestr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public describeTimestr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeTimestr_args) + return this.equals((describeTimestr_args) that); + return false; + } + + public boolean equals(describeTimestr_args that) { + if(that == null) + return false; + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(describeTimestr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeTimestr_args("); + boolean first = true; + + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeTimestr_argsStandardSchemeFactory + implements SchemeFactory { + public describeTimestr_argsStandardScheme getScheme() { + return new describeTimestr_argsStandardScheme(); + } + } + + private static class describeTimestr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeTimestr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeTimestr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeTimestr_argsTupleSchemeFactory + implements SchemeFactory { + public describeTimestr_argsTupleScheme getScheme() { + return new describeTimestr_argsTupleScheme(); + } + } + + private static class describeTimestr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeTimestr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetTimestamp()) { + optionals.set(0); + } + if(struct.isSetCreds()) { + optionals.set(1); + } + if(struct.isSetTransaction()) { + optionals.set(2); + } + if(struct.isSetEnvironment()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeTimestr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(1)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(2)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(3)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class describeTimestr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeTimestr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.SET, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeTimestr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeTimestr_resultTupleSchemeFactory()); + } + + public Set success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeTimestr_result.class, metaDataMap); + } + + public describeTimestr_result() {} + + public describeTimestr_result(Set success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public describeTimestr_result(describeTimestr_result other) { + if(other.isSetSuccess()) { + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public describeTimestr_result deepCopy() { + return new describeTimestr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { + return this.success; + } + + public describeTimestr_result setSuccess(Set success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public describeTimestr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public describeTimestr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public describeTimestr_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Set) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeTimestr_result) + return this.equals((describeTimestr_result) that); + return false; + } + + public boolean equals(describeTimestr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(describeTimestr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeTimestr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeTimestr_resultStandardSchemeFactory + implements SchemeFactory { + public describeTimestr_resultStandardScheme getScheme() { + return new describeTimestr_resultStandardScheme(); + } + } + + private static class describeTimestr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeTimestr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set426 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set426.size); + String _elem427; + for (int _i428 = 0; _i428 < _set426.size; ++_i428) { + _elem427 = iprot.readString(); + struct.success.add(_elem427); + } + iprot.readSetEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeTimestr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (String _iter429 : struct.success) { + oprot.writeString(_iter429); + } + oprot.writeSetEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeTimestr_resultTupleSchemeFactory + implements SchemeFactory { + public describeTimestr_resultTupleScheme getScheme() { + return new describeTimestr_resultTupleScheme(); + } + } + + private static class describeTimestr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeTimestr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter430 : struct.success) { + oprot.writeString(_iter430); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeTimestr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TSet _set431 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set431.size); + String _elem432; + for (int _i433 = 0; _i433 < _set431.size; ++_i433) { + _elem432 = iprot.readString(); + struct.success.add(_elem432); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class describeRecord_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecord_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 3); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecord_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecord_argsTupleSchemeFactory()); + } + + public long record; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // CREDS + return CREDS; + case 3: // TRANSACTION + return TRANSACTION; + case 4: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecord_args.class, metaDataMap); + } + + public describeRecord_args() {} + + public describeRecord_args(long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public describeRecord_args(describeRecord_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public describeRecord_args deepCopy() { + return new describeRecord_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public describeRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public describeRecord_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public describeRecord_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public describeRecord_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecord_args) + return this.equals((describeRecord_args) that); + return false; + } + + public boolean equals(describeRecord_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecord_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeRecord_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecord_argsStandardSchemeFactory + implements SchemeFactory { + public describeRecord_argsStandardScheme getScheme() { + return new describeRecord_argsStandardScheme(); + } + } + + private static class describeRecord_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecord_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecord_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecord_argsTupleSchemeFactory + implements SchemeFactory { + public describeRecord_argsTupleScheme getScheme() { + return new describeRecord_argsTupleScheme(); + } + } + + private static class describeRecord_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetCreds()) { + optionals.set(1); + } + if(struct.isSetTransaction()) { + optionals.set(2); + } + if(struct.isSetEnvironment()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(2)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(3)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class describeRecord_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecord_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.SET, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecord_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecord_resultTupleSchemeFactory()); + } + + public Set success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecord_result.class, metaDataMap); + } + + public describeRecord_result() {} + + public describeRecord_result(Set success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public describeRecord_result(describeRecord_result other) { + if(other.isSetSuccess()) { + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public describeRecord_result deepCopy() { + return new describeRecord_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { + return this.success; + } + + public describeRecord_result setSuccess(Set success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public describeRecord_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public describeRecord_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public describeRecord_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Set) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecord_result) + return this.equals((describeRecord_result) that); + return false; + } + + public boolean equals(describeRecord_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecord_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeRecord_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecord_resultStandardSchemeFactory + implements SchemeFactory { + public describeRecord_resultStandardScheme getScheme() { + return new describeRecord_resultStandardScheme(); + } + } + + private static class describeRecord_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecord_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set434 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set434.size); + String _elem435; + for (int _i436 = 0; _i436 < _set434.size; ++_i436) { + _elem435 = iprot.readString(); + struct.success.add(_elem435); + } + iprot.readSetEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecord_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (String _iter437 : struct.success) { + oprot.writeString(_iter437); + } + oprot.writeSetEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecord_resultTupleSchemeFactory + implements SchemeFactory { + public describeRecord_resultTupleScheme getScheme() { + return new describeRecord_resultTupleScheme(); + } + } + + private static class describeRecord_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter438 : struct.success) { + oprot.writeString(_iter438); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TSet _set439 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set439.size); + String _elem440; + for (int _i441 = 0; _i441 < _set439.size; ++_i441) { + _elem440 = iprot.readString(); + struct.success.add(_elem440); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class describeRecordTime_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecordTime_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecordTime_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecordTime_argsTupleSchemeFactory()); + } + + public long record; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 1; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecordTime_args.class, metaDataMap); + } + + public describeRecordTime_args() {} + + public describeRecordTime_args(long record, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.timestamp = timestamp; + setTimestampIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public describeRecordTime_args(describeRecordTime_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + this.timestamp = other.timestamp; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public describeRecordTime_args deepCopy() { + return new describeRecordTime_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + setTimestampIsSet(false); + this.timestamp = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public describeRecordTime_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getTimestamp() { + return this.timestamp; + } + + public describeRecordTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public describeRecordTime_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public describeRecordTime_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public describeRecordTime_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecordTime_args) + return this.equals((describeRecordTime_args) that); + return false; + } + + public boolean equals(describeRecordTime_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecordTime_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeRecordTime_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecordTime_argsStandardSchemeFactory + implements SchemeFactory { + public describeRecordTime_argsStandardScheme getScheme() { + return new describeRecordTime_argsStandardScheme(); + } + } + + private static class describeRecordTime_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecordTime_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecordTime_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecordTime_argsTupleSchemeFactory + implements SchemeFactory { + public describeRecordTime_argsTupleScheme getScheme() { + return new describeRecordTime_argsTupleScheme(); + } + } + + private static class describeRecordTime_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecordTime_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetTimestamp()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecordTime_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class describeRecordTime_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecordTime_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.SET, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecordTime_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecordTime_resultTupleSchemeFactory()); + } + + public Set success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecordTime_result.class, metaDataMap); + } + + public describeRecordTime_result() {} + + public describeRecordTime_result(Set success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public describeRecordTime_result(describeRecordTime_result other) { + if(other.isSetSuccess()) { + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public describeRecordTime_result deepCopy() { + return new describeRecordTime_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { + return this.success; + } + + public describeRecordTime_result setSuccess(Set success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public describeRecordTime_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public describeRecordTime_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public describeRecordTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Set) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecordTime_result) + return this.equals((describeRecordTime_result) that); + return false; + } + + public boolean equals(describeRecordTime_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecordTime_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeRecordTime_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecordTime_resultStandardSchemeFactory + implements SchemeFactory { + public describeRecordTime_resultStandardScheme getScheme() { + return new describeRecordTime_resultStandardScheme(); + } + } + + private static class describeRecordTime_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecordTime_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set442 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set442.size); + String _elem443; + for (int _i444 = 0; _i444 < _set442.size; ++_i444) { + _elem443 = iprot.readString(); + struct.success.add(_elem443); + } + iprot.readSetEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecordTime_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (String _iter445 : struct.success) { + oprot.writeString(_iter445); + } + oprot.writeSetEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecordTime_resultTupleSchemeFactory + implements SchemeFactory { + public describeRecordTime_resultTupleScheme getScheme() { + return new describeRecordTime_resultTupleScheme(); + } + } + + private static class describeRecordTime_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecordTime_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter446 : struct.success) { + oprot.writeString(_iter446); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecordTime_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TSet _set447 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set447.size); + String _elem448; + for (int _i449 = 0; _i449 < _set447.size; ++_i449) { + _elem448 = iprot.readString(); + struct.success.add(_elem448); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class describeRecordTimestr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecordTimestr_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecordTimestr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecordTimestr_argsTupleSchemeFactory()); + } + + public long record; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecordTimestr_args.class, metaDataMap); + } + + public describeRecordTimestr_args() {} + + public describeRecordTimestr_args(long record, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public describeRecordTimestr_args(describeRecordTimestr_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public describeRecordTimestr_args deepCopy() { + return new describeRecordTimestr_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + this.timestamp = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public describeRecordTimestr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getTimestamp() { + return this.timestamp; + } + + public describeRecordTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public describeRecordTimestr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public describeRecordTimestr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public describeRecordTimestr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecordTimestr_args) + return this.equals((describeRecordTimestr_args) that); + return false; + } + + public boolean equals(describeRecordTimestr_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecordTimestr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeRecordTimestr_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecordTimestr_argsStandardSchemeFactory + implements SchemeFactory { + public describeRecordTimestr_argsStandardScheme getScheme() { + return new describeRecordTimestr_argsStandardScheme(); + } + } + + private static class describeRecordTimestr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecordTimestr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecordTimestr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecordTimestr_argsTupleSchemeFactory + implements SchemeFactory { + public describeRecordTimestr_argsTupleScheme getScheme() { + return new describeRecordTimestr_argsTupleScheme(); + } + } + + private static class describeRecordTimestr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecordTimestr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetTimestamp()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecordTimestr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class describeRecordTimestr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecordTimestr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.SET, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecordTimestr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecordTimestr_resultTupleSchemeFactory()); + } + + public Set success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecordTimestr_result.class, metaDataMap); + } + + public describeRecordTimestr_result() {} + + public describeRecordTimestr_result(Set success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public describeRecordTimestr_result( + describeRecordTimestr_result other) { + if(other.isSetSuccess()) { + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public describeRecordTimestr_result deepCopy() { + return new describeRecordTimestr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { + return this.success; + } + + public describeRecordTimestr_result setSuccess(Set success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public describeRecordTimestr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public describeRecordTimestr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public describeRecordTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public describeRecordTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Set) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecordTimestr_result) + return this.equals((describeRecordTimestr_result) that); + return false; + } + + public boolean equals(describeRecordTimestr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecordTimestr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "describeRecordTimestr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecordTimestr_resultStandardSchemeFactory + implements SchemeFactory { + public describeRecordTimestr_resultStandardScheme getScheme() { + return new describeRecordTimestr_resultStandardScheme(); + } + } + + private static class describeRecordTimestr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecordTimestr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set450 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set450.size); + String _elem451; + for (int _i452 = 0; _i452 < _set450.size; ++_i452) { + _elem451 = iprot.readString(); + struct.success.add(_elem451); + } + iprot.readSetEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecordTimestr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + struct.success.size())); + for (String _iter453 : struct.success) { + oprot.writeString(_iter453); + } + oprot.writeSetEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecordTimestr_resultTupleSchemeFactory + implements SchemeFactory { + public describeRecordTimestr_resultTupleScheme getScheme() { + return new describeRecordTimestr_resultTupleScheme(); + } + } + + private static class describeRecordTimestr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecordTimestr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter454 : struct.success) { + oprot.writeString(_iter454); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecordTimestr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TSet _set455 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set455.size); + String _elem456; + for (int _i457 = 0; _i457 < _set455.size; ++_i457) { + _elem456 = iprot.readString(); + struct.success.add(_elem456); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class describeRecords_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecords_args"); + + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 3); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecords_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecords_argsTupleSchemeFactory()); + } + + public List records; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORDS((short) 1, "records"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORDS + return RECORDS; + case 2: // CREDS + return CREDS; + case 3: // TRANSACTION + return TRANSACTION; + case 4: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecords_args.class, metaDataMap); + } + + public describeRecords_args() {} + + public describeRecords_args(List records, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.records = records; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public describeRecords_args(describeRecords_args other) { + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public describeRecords_args deepCopy() { + return new describeRecords_args(this); + } + + @Override + public void clear() { + this.records = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public describeRecords_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public describeRecords_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public describeRecords_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public describeRecords_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORDS: + return getRecords(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORDS: + return isSetRecords(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecords_args) + return this.equals((describeRecords_args) that); + return false; + } + + public boolean equals(describeRecords_args that) { + if(that == null) + return false; + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecords_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeRecords_args("); + boolean first = true; + + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecords_argsStandardSchemeFactory + implements SchemeFactory { + public describeRecords_argsStandardScheme getScheme() { + return new describeRecords_argsStandardScheme(); + } + } + + private static class describeRecords_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecords_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list458 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list458.size); + long _elem459; + for (int _i460 = 0; _i460 < _list458.size; ++_i460) { + _elem459 = iprot.readI64(); + struct.records.add(_elem459); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecords_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter461 : struct.records) { + oprot.writeI64(_iter461); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecords_argsTupleSchemeFactory + implements SchemeFactory { + public describeRecords_argsTupleScheme getScheme() { + return new describeRecords_argsTupleScheme(); + } + } + + private static class describeRecords_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecords_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecords()) { + optionals.set(0); + } + if(struct.isSetCreds()) { + optionals.set(1); + } + if(struct.isSetTransaction()) { + optionals.set(2); + } + if(struct.isSetEnvironment()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter462 : struct.records) { + oprot.writeI64(_iter462); + } + } + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecords_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list463 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list463.size); + long _elem464; + for (int _i465 = 0; _i465 < _list463.size; ++_i465) { + _elem464 = iprot.readI64(); + struct.records.add(_elem464); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(1)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(2)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(3)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class describeRecords_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecords_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecords_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecords_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecords_result.class, metaDataMap); + } + + public describeRecords_result() {} + + public describeRecords_result(Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public describeRecords_result(describeRecords_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element.getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public describeRecords_result deepCopy() { + return new describeRecords_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public describeRecords_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public describeRecords_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public describeRecords_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public describeRecords_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecords_result) + return this.equals((describeRecords_result) that); + return false; + } + + public boolean equals(describeRecords_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecords_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeRecords_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecords_resultStandardSchemeFactory + implements SchemeFactory { + public describeRecords_resultStandardScheme getScheme() { + return new describeRecords_resultStandardScheme(); + } + } + + private static class describeRecords_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecords_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map466 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map466.size); + long _key467; + Set _val468; + for (int _i469 = 0; _i469 < _map466.size; ++_i469) { + _key467 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set470 = iprot + .readSetBegin(); + _val468 = new LinkedHashSet( + 2 * _set470.size); + String _elem471; + for (int _i472 = 0; _i472 < _set470.size; ++_i472) { + _elem471 = iprot.readString(); + _val468.add(_elem471); + } + iprot.readSetEnd(); + } + struct.success.put(_key467, _val468); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecords_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter473 : struct.success + .entrySet()) { + oprot.writeI64(_iter473.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + _iter473.getValue().size())); + for (String _iter474 : _iter473.getValue()) { + oprot.writeString(_iter474); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecords_resultTupleSchemeFactory + implements SchemeFactory { + public describeRecords_resultTupleScheme getScheme() { + return new describeRecords_resultTupleScheme(); + } + } + + private static class describeRecords_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecords_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter475 : struct.success + .entrySet()) { + oprot.writeI64(_iter475.getKey()); + { + oprot.writeI32(_iter475.getValue().size()); + for (String _iter476 : _iter475.getValue()) { + oprot.writeString(_iter476); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecords_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map477 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map477.size); + long _key478; + Set _val479; + for (int _i480 = 0; _i480 < _map477.size; ++_i480) { + _key478 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set481 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + _val479 = new LinkedHashSet( + 2 * _set481.size); + String _elem482; + for (int _i483 = 0; _i483 < _set481.size; ++_i483) { + _elem482 = iprot.readString(); + _val479.add(_elem482); + } + } + struct.success.put(_key478, _val479); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class describeRecordsTime_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecordsTime_args"); + + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecordsTime_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecordsTime_argsTupleSchemeFactory()); + } + + public List records; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORDS((short) 1, "records"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORDS + return RECORDS; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecordsTime_args.class, metaDataMap); + } + + public describeRecordsTime_args() {} + + public describeRecordsTime_args(List records, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.records = records; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public describeRecordsTime_args(describeRecordsTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + this.timestamp = other.timestamp; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public describeRecordsTime_args deepCopy() { + return new describeRecordsTime_args(this); + } + + @Override + public void clear() { + this.records = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public describeRecordsTime_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public describeRecordsTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public describeRecordsTime_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public describeRecordsTime_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public describeRecordsTime_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORDS: + return getRecords(); + + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecordsTime_args) + return this.equals((describeRecordsTime_args) that); + return false; + } + + public boolean equals(describeRecordsTime_args that) { + if(that == null) + return false; + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecordsTime_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeRecordsTime_args("); + boolean first = true; + + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecordsTime_argsStandardSchemeFactory + implements SchemeFactory { + public describeRecordsTime_argsStandardScheme getScheme() { + return new describeRecordsTime_argsStandardScheme(); + } + } + + private static class describeRecordsTime_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecordsTime_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list484 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list484.size); + long _elem485; + for (int _i486 = 0; _i486 < _list484.size; ++_i486) { + _elem485 = iprot.readI64(); + struct.records.add(_elem485); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecordsTime_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter487 : struct.records) { + oprot.writeI64(_iter487); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecordsTime_argsTupleSchemeFactory + implements SchemeFactory { + public describeRecordsTime_argsTupleScheme getScheme() { + return new describeRecordsTime_argsTupleScheme(); + } + } + + private static class describeRecordsTime_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecordsTime_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecords()) { + optionals.set(0); + } + if(struct.isSetTimestamp()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter488 : struct.records) { + oprot.writeI64(_iter488); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecordsTime_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list489.size); + long _elem490; + for (int _i491 = 0; _i491 < _list489.size; ++_i491) { + _elem490 = iprot.readI64(); + struct.records.add(_elem490); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(1)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class describeRecordsTime_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecordsTime_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecordsTime_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecordsTime_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecordsTime_result.class, metaDataMap); + } + + public describeRecordsTime_result() {} + + public describeRecordsTime_result(Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public describeRecordsTime_result(describeRecordsTime_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element.getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public describeRecordsTime_result deepCopy() { + return new describeRecordsTime_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public describeRecordsTime_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public describeRecordsTime_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public describeRecordsTime_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public describeRecordsTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecordsTime_result) + return this.equals((describeRecordsTime_result) that); + return false; + } + + public boolean equals(describeRecordsTime_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecordsTime_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("describeRecordsTime_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecordsTime_resultStandardSchemeFactory + implements SchemeFactory { + public describeRecordsTime_resultStandardScheme getScheme() { + return new describeRecordsTime_resultStandardScheme(); + } + } + + private static class describeRecordsTime_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecordsTime_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map492 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map492.size); + long _key493; + Set _val494; + for (int _i495 = 0; _i495 < _map492.size; ++_i495) { + _key493 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set496 = iprot + .readSetBegin(); + _val494 = new LinkedHashSet( + 2 * _set496.size); + String _elem497; + for (int _i498 = 0; _i498 < _set496.size; ++_i498) { + _elem497 = iprot.readString(); + _val494.add(_elem497); + } + iprot.readSetEnd(); + } + struct.success.put(_key493, _val494); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecordsTime_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter499 : struct.success + .entrySet()) { + oprot.writeI64(_iter499.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + _iter499.getValue().size())); + for (String _iter500 : _iter499.getValue()) { + oprot.writeString(_iter500); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecordsTime_resultTupleSchemeFactory + implements SchemeFactory { + public describeRecordsTime_resultTupleScheme getScheme() { + return new describeRecordsTime_resultTupleScheme(); + } + } + + private static class describeRecordsTime_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecordsTime_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter501 : struct.success + .entrySet()) { + oprot.writeI64(_iter501.getKey()); + { + oprot.writeI32(_iter501.getValue().size()); + for (String _iter502 : _iter501.getValue()) { + oprot.writeString(_iter502); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecordsTime_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map503 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map503.size); + long _key504; + Set _val505; + for (int _i506 = 0; _i506 < _map503.size; ++_i506) { + _key504 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set507 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + _val505 = new LinkedHashSet( + 2 * _set507.size); + String _elem508; + for (int _i509 = 0; _i509 < _set507.size; ++_i509) { + _elem508 = iprot.readString(); + _val505.add(_elem508); + } + } + struct.success.put(_key504, _val505); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class describeRecordsTimestr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecordsTimestr_args"); + + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecordsTimestr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecordsTimestr_argsTupleSchemeFactory()); + } + + public List records; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORDS((short) 1, "records"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORDS + return RECORDS; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecordsTimestr_args.class, metaDataMap); + } + + public describeRecordsTimestr_args() {} + + public describeRecordsTimestr_args(List records, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.records = records; + this.timestamp = timestamp; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public describeRecordsTimestr_args(describeRecordsTimestr_args other) { + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public describeRecordsTimestr_args deepCopy() { + return new describeRecordsTimestr_args(this); + } + + @Override + public void clear() { + this.records = null; + this.timestamp = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public describeRecordsTimestr_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public String getTimestamp() { + return this.timestamp; + } + + public describeRecordsTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public describeRecordsTimestr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public describeRecordsTimestr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public describeRecordsTimestr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORDS: + return getRecords(); + + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecordsTimestr_args) + return this.equals((describeRecordsTimestr_args) that); + return false; + } + + public boolean equals(describeRecordsTimestr_args that) { + if(that == null) + return false; + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecordsTimestr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "describeRecordsTimestr_args("); + boolean first = true; + + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecordsTimestr_argsStandardSchemeFactory + implements SchemeFactory { + public describeRecordsTimestr_argsStandardScheme getScheme() { + return new describeRecordsTimestr_argsStandardScheme(); + } + } + + private static class describeRecordsTimestr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecordsTimestr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list510 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list510.size); + long _elem511; + for (int _i512 = 0; _i512 < _list510.size; ++_i512) { + _elem511 = iprot.readI64(); + struct.records.add(_elem511); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecordsTimestr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter513 : struct.records) { + oprot.writeI64(_iter513); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecordsTimestr_argsTupleSchemeFactory + implements SchemeFactory { + public describeRecordsTimestr_argsTupleScheme getScheme() { + return new describeRecordsTimestr_argsTupleScheme(); + } + } + + private static class describeRecordsTimestr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecordsTimestr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecords()) { + optionals.set(0); + } + if(struct.isSetTimestamp()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter514 : struct.records) { + oprot.writeI64(_iter514); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecordsTimestr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list515 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list515.size); + long _elem516; + for (int _i517 = 0; _i517 < _list515.size; ++_i517) { + _elem516 = iprot.readI64(); + struct.records.add(_elem516); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(1)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class describeRecordsTimestr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "describeRecordsTimestr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new describeRecordsTimestr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new describeRecordsTimestr_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + describeRecordsTimestr_result.class, metaDataMap); + } + + public describeRecordsTimestr_result() {} + + public describeRecordsTimestr_result(Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public describeRecordsTimestr_result( + describeRecordsTimestr_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element.getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public describeRecordsTimestr_result deepCopy() { + return new describeRecordsTimestr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public describeRecordsTimestr_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public describeRecordsTimestr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public describeRecordsTimestr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public describeRecordsTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public describeRecordsTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof describeRecordsTimestr_result) + return this.equals((describeRecordsTimestr_result) that); + return false; + } + + public boolean equals(describeRecordsTimestr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(describeRecordsTimestr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "describeRecordsTimestr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class describeRecordsTimestr_resultStandardSchemeFactory + implements SchemeFactory { + public describeRecordsTimestr_resultStandardScheme getScheme() { + return new describeRecordsTimestr_resultStandardScheme(); + } + } + + private static class describeRecordsTimestr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + describeRecordsTimestr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map518 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map518.size); + long _key519; + Set _val520; + for (int _i521 = 0; _i521 < _map518.size; ++_i521) { + _key519 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set522 = iprot + .readSetBegin(); + _val520 = new LinkedHashSet( + 2 * _set522.size); + String _elem523; + for (int _i524 = 0; _i524 < _set522.size; ++_i524) { + _elem523 = iprot.readString(); + _val520.add(_elem523); + } + iprot.readSetEnd(); + } + struct.success.put(_key519, _val520); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + describeRecordsTimestr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter525 : struct.success + .entrySet()) { + oprot.writeI64(_iter525.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + _iter525.getValue().size())); + for (String _iter526 : _iter525.getValue()) { + oprot.writeString(_iter526); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class describeRecordsTimestr_resultTupleSchemeFactory + implements SchemeFactory { + public describeRecordsTimestr_resultTupleScheme getScheme() { + return new describeRecordsTimestr_resultTupleScheme(); + } + } + + private static class describeRecordsTimestr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + describeRecordsTimestr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter527 : struct.success + .entrySet()) { + oprot.writeI64(_iter527.getKey()); + { + oprot.writeI32(_iter527.getValue().size()); + for (String _iter528 : _iter527.getValue()) { + oprot.writeString(_iter528); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + describeRecordsTimestr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map529 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map529.size); + long _key530; + Set _val531; + for (int _i532 = 0; _i532 < _map529.size; ++_i532) { + _key530 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set533 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + _val531 = new LinkedHashSet( + 2 * _set533.size); + String _elem534; + for (int _i535 = 0; _i535 < _set533.size; ++_i535) { + _elem534 = iprot.readString(); + _val531.add(_elem534); + } + } + struct.success.put(_key530, _val531); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class diffRecordStart_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffRecordStart_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffRecordStart_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffRecordStart_argsTupleSchemeFactory()); + } + + public long record; // required + public long start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + START((short) 2, "start"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // START + return START; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __START_ISSET_ID = 1; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffRecordStart_args.class, metaDataMap); + } + + public diffRecordStart_args() {} + + public diffRecordStart_args(long record, long start, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.start = start; + setStartIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffRecordStart_args(diffRecordStart_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + this.start = other.start; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffRecordStart_args deepCopy() { + return new diffRecordStart_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + setStartIsSet(false); + this.start = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public diffRecordStart_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getStart() { + return this.start; + } + + public diffRecordStart_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffRecordStart_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffRecordStart_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffRecordStart_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffRecordStart_args) + return this.equals((diffRecordStart_args) that); + return false; + } + + public boolean equals(diffRecordStart_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffRecordStart_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffRecordStart_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffRecordStart_argsStandardSchemeFactory + implements SchemeFactory { + public diffRecordStart_argsStandardScheme getScheme() { + return new diffRecordStart_argsStandardScheme(); + } + } + + private static class diffRecordStart_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffRecordStart_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffRecordStart_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffRecordStart_argsTupleSchemeFactory + implements SchemeFactory { + public diffRecordStart_argsTupleScheme getScheme() { + return new diffRecordStart_argsTupleScheme(); + } + } + + private static class diffRecordStart_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffRecordStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffRecordStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffRecordStart_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffRecordStart_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffRecordStart_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffRecordStart_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffRecordStart_result.class, metaDataMap); + } + + public diffRecordStart_result() {} + + public diffRecordStart_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public diffRecordStart_result(diffRecordStart_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public diffRecordStart_result deepCopy() { + return new diffRecordStart_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(String key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public diffRecordStart_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffRecordStart_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffRecordStart_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public diffRecordStart_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffRecordStart_result) + return this.equals((diffRecordStart_result) that); + return false; + } + + public boolean equals(diffRecordStart_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(diffRecordStart_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffRecordStart_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffRecordStart_resultStandardSchemeFactory + implements SchemeFactory { + public diffRecordStart_resultStandardScheme getScheme() { + return new diffRecordStart_resultStandardScheme(); + } + } + + private static class diffRecordStart_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffRecordStart_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map536 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map536.size); + String _key537; + Map> _val538; + for (int _i539 = 0; _i539 < _map536.size; ++_i539) { + _key537 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map540 = iprot + .readMapBegin(); + _val538 = new LinkedHashMap>( + 2 * _map540.size); + com.cinchapi.concourse.thrift.Diff _key541; + Set _val542; + for (int _i543 = 0; _i543 < _map540.size; ++_i543) { + _key541 = com.cinchapi.concourse.thrift.Diff + .findByValue( + iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set544 = iprot + .readSetBegin(); + _val542 = new LinkedHashSet( + 2 * _set544.size); + com.cinchapi.concourse.thrift.TObject _elem545; + for (int _i546 = 0; _i546 < _set544.size; ++_i546) { + _elem545 = new com.cinchapi.concourse.thrift.TObject(); + _elem545.read(iprot); + _val542.add(_elem545); + } + iprot.readSetEnd(); + } + _val538.put(_key541, _val542); + } + iprot.readMapEnd(); + } + struct.success.put(_key537, _val538); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffRecordStart_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter547 : struct.success + .entrySet()) { + oprot.writeString(_iter547.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + _iter547.getValue().size())); + for (Map.Entry> _iter548 : _iter547 + .getValue().entrySet()) { + oprot.writeI32( + _iter548.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter548.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter549 : _iter548 + .getValue()) { + _iter549.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffRecordStart_resultTupleSchemeFactory + implements SchemeFactory { + public diffRecordStart_resultTupleScheme getScheme() { + return new diffRecordStart_resultTupleScheme(); + } + } + + private static class diffRecordStart_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffRecordStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter550 : struct.success + .entrySet()) { + oprot.writeString(_iter550.getKey()); + { + oprot.writeI32(_iter550.getValue().size()); + for (Map.Entry> _iter551 : _iter550 + .getValue().entrySet()) { + oprot.writeI32( + _iter551.getKey().getValue()); + { + oprot.writeI32( + _iter551.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter552 : _iter551 + .getValue()) { + _iter552.write(oprot); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffRecordStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map553 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map553.size); + String _key554; + Map> _val555; + for (int _i556 = 0; _i556 < _map553.size; ++_i556) { + _key554 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map557 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val555 = new LinkedHashMap>( + 2 * _map557.size); + com.cinchapi.concourse.thrift.Diff _key558; + Set _val559; + for (int _i560 = 0; _i560 < _map557.size; ++_i560) { + _key558 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set561 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val559 = new LinkedHashSet( + 2 * _set561.size); + com.cinchapi.concourse.thrift.TObject _elem562; + for (int _i563 = 0; _i563 < _set561.size; ++_i563) { + _elem562 = new com.cinchapi.concourse.thrift.TObject(); + _elem562.read(iprot); + _val559.add(_elem562); + } + } + _val555.put(_key558, _val559); + } + } + struct.success.put(_key554, _val555); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class diffRecordStartstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffRecordStartstr_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffRecordStartstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffRecordStartstr_argsTupleSchemeFactory()); + } + + public long record; // required + public String start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + START((short) 2, "start"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // START + return START; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffRecordStartstr_args.class, metaDataMap); + } + + public diffRecordStartstr_args() {} + + public diffRecordStartstr_args(long record, String start, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.start = start; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffRecordStartstr_args(diffRecordStartstr_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffRecordStartstr_args deepCopy() { + return new diffRecordStartstr_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + this.start = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public diffRecordStartstr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getStart() { + return this.start; + } + + public diffRecordStartstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffRecordStartstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffRecordStartstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffRecordStartstr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffRecordStartstr_args) + return this.equals((diffRecordStartstr_args) that); + return false; + } + + public boolean equals(diffRecordStartstr_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffRecordStartstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffRecordStartstr_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffRecordStartstr_argsStandardSchemeFactory + implements SchemeFactory { + public diffRecordStartstr_argsStandardScheme getScheme() { + return new diffRecordStartstr_argsStandardScheme(); + } + } + + private static class diffRecordStartstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffRecordStartstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffRecordStartstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffRecordStartstr_argsTupleSchemeFactory + implements SchemeFactory { + public diffRecordStartstr_argsTupleScheme getScheme() { + return new diffRecordStartstr_argsTupleScheme(); + } + } + + private static class diffRecordStartstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffRecordStartstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffRecordStartstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffRecordStartstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffRecordStartstr_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffRecordStartstr_result.class, metaDataMap); + } + + public diffRecordStartstr_result() {} + + public diffRecordStartstr_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public diffRecordStartstr_result(diffRecordStartstr_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public diffRecordStartstr_result deepCopy() { + return new diffRecordStartstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(String key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public diffRecordStartstr_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffRecordStartstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffRecordStartstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public diffRecordStartstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public diffRecordStartstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffRecordStartstr_result) + return this.equals((diffRecordStartstr_result) that); + return false; + } + + public boolean equals(diffRecordStartstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(diffRecordStartstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffRecordStartstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffRecordStartstr_resultStandardSchemeFactory + implements SchemeFactory { + public diffRecordStartstr_resultStandardScheme getScheme() { + return new diffRecordStartstr_resultStandardScheme(); + } + } + + private static class diffRecordStartstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffRecordStartstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map564 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map564.size); + String _key565; + Map> _val566; + for (int _i567 = 0; _i567 < _map564.size; ++_i567) { + _key565 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map568 = iprot + .readMapBegin(); + _val566 = new LinkedHashMap>( + 2 * _map568.size); + com.cinchapi.concourse.thrift.Diff _key569; + Set _val570; + for (int _i571 = 0; _i571 < _map568.size; ++_i571) { + _key569 = com.cinchapi.concourse.thrift.Diff + .findByValue( + iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set572 = iprot + .readSetBegin(); + _val570 = new LinkedHashSet( + 2 * _set572.size); + com.cinchapi.concourse.thrift.TObject _elem573; + for (int _i574 = 0; _i574 < _set572.size; ++_i574) { + _elem573 = new com.cinchapi.concourse.thrift.TObject(); + _elem573.read(iprot); + _val570.add(_elem573); + } + iprot.readSetEnd(); + } + _val566.put(_key569, _val570); + } + iprot.readMapEnd(); + } + struct.success.put(_key565, _val566); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffRecordStartstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter575 : struct.success + .entrySet()) { + oprot.writeString(_iter575.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + _iter575.getValue().size())); + for (Map.Entry> _iter576 : _iter575 + .getValue().entrySet()) { + oprot.writeI32( + _iter576.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter576.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter577 : _iter576 + .getValue()) { + _iter577.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffRecordStartstr_resultTupleSchemeFactory + implements SchemeFactory { + public diffRecordStartstr_resultTupleScheme getScheme() { + return new diffRecordStartstr_resultTupleScheme(); + } + } + + private static class diffRecordStartstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter578 : struct.success + .entrySet()) { + oprot.writeString(_iter578.getKey()); + { + oprot.writeI32(_iter578.getValue().size()); + for (Map.Entry> _iter579 : _iter578 + .getValue().entrySet()) { + oprot.writeI32( + _iter579.getKey().getValue()); + { + oprot.writeI32( + _iter579.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter580 : _iter579 + .getValue()) { + _iter580.write(oprot); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map581 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map581.size); + String _key582; + Map> _val583; + for (int _i584 = 0; _i584 < _map581.size; ++_i584) { + _key582 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map585 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val583 = new LinkedHashMap>( + 2 * _map585.size); + com.cinchapi.concourse.thrift.Diff _key586; + Set _val587; + for (int _i588 = 0; _i588 < _map585.size; ++_i588) { + _key586 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set589 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val587 = new LinkedHashSet( + 2 * _set589.size); + com.cinchapi.concourse.thrift.TObject _elem590; + for (int _i591 = 0; _i591 < _set589.size; ++_i591) { + _elem590 = new com.cinchapi.concourse.thrift.TObject(); + _elem590.read(iprot); + _val587.add(_elem590); + } + } + _val583.put(_key586, _val587); + } + } + struct.success.put(_key582, _val583); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class diffRecordStartEnd_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffRecordStartEnd_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffRecordStartEnd_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffRecordStartEnd_argsTupleSchemeFactory()); + } + + public long record; // required + public long start; // required + public long tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + START((short) 2, "start"), + TEND((short) 3, "tend"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // START + return START; + case 3: // TEND + return TEND; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __START_ISSET_ID = 1; + private static final int __TEND_ISSET_ID = 2; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffRecordStartEnd_args.class, metaDataMap); + } + + public diffRecordStartEnd_args() {} + + public diffRecordStartEnd_args(long record, long start, long tend, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.start = start; + setStartIsSet(true); + this.tend = tend; + setTendIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffRecordStartEnd_args(diffRecordStartEnd_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + this.start = other.start; + this.tend = other.tend; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffRecordStartEnd_args deepCopy() { + return new diffRecordStartEnd_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + setStartIsSet(false); + this.start = 0; + setTendIsSet(false); + this.tend = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public diffRecordStartEnd_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getStart() { + return this.start; + } + + public diffRecordStartEnd_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public long getTend() { + return this.tend; + } + + public diffRecordStartEnd_args setTend(long tend) { + this.tend = tend; + setTendIsSet(true); + return this; + } + + public void unsetTend() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TEND_ISSET_ID); + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + } + + public void setTendIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TEND_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffRecordStartEnd_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffRecordStartEnd_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffRecordStartEnd_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffRecordStartEnd_args) + return this.equals((diffRecordStartEnd_args) that); + return false; + } + + public boolean equals(diffRecordStartEnd_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_tend = true; + boolean that_present_tend = true; + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(this.tend != that.tend) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true; + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffRecordStartEnd_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffRecordStartEnd_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + sb.append(this.tend); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffRecordStartEnd_argsStandardSchemeFactory + implements SchemeFactory { + public diffRecordStartEnd_argsStandardScheme getScheme() { + return new diffRecordStartEnd_argsStandardScheme(); + } + } + + private static class diffRecordStartEnd_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffRecordStartEnd_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffRecordStartEnd_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeI64(struct.tend); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffRecordStartEnd_argsTupleSchemeFactory + implements SchemeFactory { + public diffRecordStartEnd_argsTupleScheme getScheme() { + return new diffRecordStartEnd_argsTupleScheme(); + } + } + + private static class diffRecordStartEnd_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetTend()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetTend()) { + oprot.writeI64(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffRecordStartEnd_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffRecordStartEnd_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffRecordStartEnd_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffRecordStartEnd_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffRecordStartEnd_result.class, metaDataMap); + } + + public diffRecordStartEnd_result() {} + + public diffRecordStartEnd_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public diffRecordStartEnd_result(diffRecordStartEnd_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public diffRecordStartEnd_result deepCopy() { + return new diffRecordStartEnd_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(String key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public diffRecordStartEnd_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffRecordStartEnd_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffRecordStartEnd_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public diffRecordStartEnd_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffRecordStartEnd_result) + return this.equals((diffRecordStartEnd_result) that); + return false; + } + + public boolean equals(diffRecordStartEnd_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(diffRecordStartEnd_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffRecordStartEnd_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffRecordStartEnd_resultStandardSchemeFactory + implements SchemeFactory { + public diffRecordStartEnd_resultStandardScheme getScheme() { + return new diffRecordStartEnd_resultStandardScheme(); + } + } + + private static class diffRecordStartEnd_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffRecordStartEnd_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map592 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map592.size); + String _key593; + Map> _val594; + for (int _i595 = 0; _i595 < _map592.size; ++_i595) { + _key593 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map596 = iprot + .readMapBegin(); + _val594 = new LinkedHashMap>( + 2 * _map596.size); + com.cinchapi.concourse.thrift.Diff _key597; + Set _val598; + for (int _i599 = 0; _i599 < _map596.size; ++_i599) { + _key597 = com.cinchapi.concourse.thrift.Diff + .findByValue( + iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set600 = iprot + .readSetBegin(); + _val598 = new LinkedHashSet( + 2 * _set600.size); + com.cinchapi.concourse.thrift.TObject _elem601; + for (int _i602 = 0; _i602 < _set600.size; ++_i602) { + _elem601 = new com.cinchapi.concourse.thrift.TObject(); + _elem601.read(iprot); + _val598.add(_elem601); + } + iprot.readSetEnd(); + } + _val594.put(_key597, _val598); + } + iprot.readMapEnd(); + } + struct.success.put(_key593, _val594); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffRecordStartEnd_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter603 : struct.success + .entrySet()) { + oprot.writeString(_iter603.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + _iter603.getValue().size())); + for (Map.Entry> _iter604 : _iter603 + .getValue().entrySet()) { + oprot.writeI32( + _iter604.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter604.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter605 : _iter604 + .getValue()) { + _iter605.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffRecordStartEnd_resultTupleSchemeFactory + implements SchemeFactory { + public diffRecordStartEnd_resultTupleScheme getScheme() { + return new diffRecordStartEnd_resultTupleScheme(); + } + } + + private static class diffRecordStartEnd_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter606 : struct.success + .entrySet()) { + oprot.writeString(_iter606.getKey()); + { + oprot.writeI32(_iter606.getValue().size()); + for (Map.Entry> _iter607 : _iter606 + .getValue().entrySet()) { + oprot.writeI32( + _iter607.getKey().getValue()); + { + oprot.writeI32( + _iter607.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter608 : _iter607 + .getValue()) { + _iter608.write(oprot); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map609 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map609.size); + String _key610; + Map> _val611; + for (int _i612 = 0; _i612 < _map609.size; ++_i612) { + _key610 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map613 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val611 = new LinkedHashMap>( + 2 * _map613.size); + com.cinchapi.concourse.thrift.Diff _key614; + Set _val615; + for (int _i616 = 0; _i616 < _map613.size; ++_i616) { + _key614 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set617 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val615 = new LinkedHashSet( + 2 * _set617.size); + com.cinchapi.concourse.thrift.TObject _elem618; + for (int _i619 = 0; _i619 < _set617.size; ++_i619) { + _elem618 = new com.cinchapi.concourse.thrift.TObject(); + _elem618.read(iprot); + _val615.add(_elem618); + } + } + _val611.put(_key614, _val615); + } + } + struct.success.put(_key610, _val611); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class diffRecordStartstrEndstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffRecordStartstrEndstr_args"); + + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffRecordStartstrEndstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffRecordStartstrEndstr_argsTupleSchemeFactory()); + } + + public long record; // required + public String start; // required + public String tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + RECORD((short) 1, "record"), + START((short) 2, "start"), + TEND((short) 3, "tend"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // RECORD + return RECORD; + case 2: // START + return START; + case 3: // TEND + return TEND; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffRecordStartstrEndstr_args.class, metaDataMap); + } + + public diffRecordStartstrEndstr_args() {} + + public diffRecordStartstrEndstr_args(long record, String start, + String tend, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.record = record; + setRecordIsSet(true); + this.start = start; + this.tend = tend; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffRecordStartstrEndstr_args( + diffRecordStartstrEndstr_args other) { + __isset_bitfield = other.__isset_bitfield; + this.record = other.record; + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetTend()) { + this.tend = other.tend; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffRecordStartstrEndstr_args deepCopy() { + return new diffRecordStartstrEndstr_args(this); + } + + @Override + public void clear() { + setRecordIsSet(false); + this.record = 0; + this.start = null; + this.tend = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public long getRecord() { + return this.record; + } + + public diffRecordStartstrEndstr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getStart() { + return this.start; + } + + public diffRecordStartstrEndstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public String getTend() { + return this.tend; + } + + public diffRecordStartstrEndstr_args setTend(String tend) { + this.tend = tend; + return this; + } + + public void unsetTend() { + this.tend = null; + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return this.tend != null; + } + + public void setTendIsSet(boolean value) { + if(!value) { + this.tend = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffRecordStartstrEndstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffRecordStartstrEndstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffRecordStartstrEndstr_args setEnvironment( + String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffRecordStartstrEndstr_args) + return this.equals((diffRecordStartstrEndstr_args) that); + return false; + } + + public boolean equals(diffRecordStartstrEndstr_args that) { + if(that == null) + return false; + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_tend = true && this.isSetTend(); + boolean that_present_tend = true && that.isSetTend(); + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(!this.tend.equals(that.tend)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true && (isSetTend()); + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffRecordStartstrEndstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "diffRecordStartstrEndstr_args("); + boolean first = true; + + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + if(this.tend == null) { + sb.append("null"); + } + else { + sb.append(this.tend); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffRecordStartstrEndstr_argsStandardSchemeFactory + implements SchemeFactory { + public diffRecordStartstrEndstr_argsStandardScheme getScheme() { + return new diffRecordStartstrEndstr_argsStandardScheme(); + } + } + + private static class diffRecordStartstrEndstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.tend != null) { + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeString(struct.tend); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffRecordStartstrEndstr_argsTupleSchemeFactory + implements SchemeFactory { + public diffRecordStartstrEndstr_argsTupleScheme getScheme() { + return new diffRecordStartstrEndstr_argsTupleScheme(); + } + } + + private static class diffRecordStartstrEndstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetRecord()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetTend()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetTend()) { + oprot.writeString(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffRecordStartstrEndstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffRecordStartstrEndstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffRecordStartstrEndstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffRecordStartstrEndstr_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffRecordStartstrEndstr_result.class, metaDataMap); + } + + public diffRecordStartstrEndstr_result() {} + + public diffRecordStartstrEndstr_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public diffRecordStartstrEndstr_result( + diffRecordStartstrEndstr_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public diffRecordStartstrEndstr_result deepCopy() { + return new diffRecordStartstrEndstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(String key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public diffRecordStartstrEndstr_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffRecordStartstrEndstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffRecordStartstrEndstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public diffRecordStartstrEndstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public diffRecordStartstrEndstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffRecordStartstrEndstr_result) + return this.equals((diffRecordStartstrEndstr_result) that); + return false; + } + + public boolean equals(diffRecordStartstrEndstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(diffRecordStartstrEndstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "diffRecordStartstrEndstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffRecordStartstrEndstr_resultStandardSchemeFactory + implements SchemeFactory { + public diffRecordStartstrEndstr_resultStandardScheme getScheme() { + return new diffRecordStartstrEndstr_resultStandardScheme(); + } + } + + private static class diffRecordStartstrEndstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map620 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map620.size); + String _key621; + Map> _val622; + for (int _i623 = 0; _i623 < _map620.size; ++_i623) { + _key621 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map624 = iprot + .readMapBegin(); + _val622 = new LinkedHashMap>( + 2 * _map624.size); + com.cinchapi.concourse.thrift.Diff _key625; + Set _val626; + for (int _i627 = 0; _i627 < _map624.size; ++_i627) { + _key625 = com.cinchapi.concourse.thrift.Diff + .findByValue( + iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set628 = iprot + .readSetBegin(); + _val626 = new LinkedHashSet( + 2 * _set628.size); + com.cinchapi.concourse.thrift.TObject _elem629; + for (int _i630 = 0; _i630 < _set628.size; ++_i630) { + _elem629 = new com.cinchapi.concourse.thrift.TObject(); + _elem629.read(iprot); + _val626.add(_elem629); + } + iprot.readSetEnd(); + } + _val622.put(_key625, _val626); + } + iprot.readMapEnd(); + } + struct.success.put(_key621, _val622); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter631 : struct.success + .entrySet()) { + oprot.writeString(_iter631.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + _iter631.getValue().size())); + for (Map.Entry> _iter632 : _iter631 + .getValue().entrySet()) { + oprot.writeI32( + _iter632.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter632.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter633 : _iter632 + .getValue()) { + _iter633.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffRecordStartstrEndstr_resultTupleSchemeFactory + implements SchemeFactory { + public diffRecordStartstrEndstr_resultTupleScheme getScheme() { + return new diffRecordStartstrEndstr_resultTupleScheme(); + } + } + + private static class diffRecordStartstrEndstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter634 : struct.success + .entrySet()) { + oprot.writeString(_iter634.getKey()); + { + oprot.writeI32(_iter634.getValue().size()); + for (Map.Entry> _iter635 : _iter634 + .getValue().entrySet()) { + oprot.writeI32( + _iter635.getKey().getValue()); + { + oprot.writeI32( + _iter635.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter636 : _iter635 + .getValue()) { + _iter636.write(oprot); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map637 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map637.size); + String _key638; + Map> _val639; + for (int _i640 = 0; _i640 < _map637.size; ++_i640) { + _key638 = iprot.readString(); + { + org.apache.thrift.protocol.TMap _map641 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val639 = new LinkedHashMap>( + 2 * _map641.size); + com.cinchapi.concourse.thrift.Diff _key642; + Set _val643; + for (int _i644 = 0; _i644 < _map641.size; ++_i644) { + _key642 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set645 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val643 = new LinkedHashSet( + 2 * _set645.size); + com.cinchapi.concourse.thrift.TObject _elem646; + for (int _i647 = 0; _i647 < _set645.size; ++_i647) { + _elem646 = new com.cinchapi.concourse.thrift.TObject(); + _elem646.read(iprot); + _val643.add(_elem646); + } + } + _val639.put(_key642, _val643); + } + } + struct.success.put(_key638, _val639); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class diffKeyRecordStart_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyRecordStart_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyRecordStart_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyRecordStart_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public long start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __START_ISSET_ID = 1; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyRecordStart_args.class, metaDataMap); + } + + public diffKeyRecordStart_args() {} + + public diffKeyRecordStart_args(String key, long record, long start, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + setStartIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyRecordStart_args(diffKeyRecordStart_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + this.start = other.start; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffKeyRecordStart_args deepCopy() { + return new diffKeyRecordStart_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + setStartIsSet(false); + this.start = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public diffKeyRecordStart_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public diffKeyRecordStart_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getStart() { + return this.start; + } + + public diffKeyRecordStart_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffKeyRecordStart_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffKeyRecordStart_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffKeyRecordStart_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyRecordStart_args) + return this.equals((diffKeyRecordStart_args) that); + return false; + } + + public boolean equals(diffKeyRecordStart_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyRecordStart_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyRecordStart_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyRecordStart_argsStandardSchemeFactory + implements SchemeFactory { + public diffKeyRecordStart_argsStandardScheme getScheme() { + return new diffKeyRecordStart_argsStandardScheme(); + } + } + + private static class diffKeyRecordStart_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyRecordStart_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyRecordStart_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyRecordStart_argsTupleSchemeFactory + implements SchemeFactory { + public diffKeyRecordStart_argsTupleScheme getScheme() { + return new diffKeyRecordStart_argsTupleScheme(); + } + } + + private static class diffKeyRecordStart_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffKeyRecordStart_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyRecordStart_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyRecordStart_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyRecordStart_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyRecordStart_result.class, metaDataMap); + } + + public diffKeyRecordStart_result() {} + + public diffKeyRecordStart_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyRecordStart_result(diffKeyRecordStart_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_key = other_element + .getKey(); + Set other_element_value = other_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public diffKeyRecordStart_result deepCopy() { + return new diffKeyRecordStart_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.Diff key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public diffKeyRecordStart_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffKeyRecordStart_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffKeyRecordStart_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public diffKeyRecordStart_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyRecordStart_result) + return this.equals((diffKeyRecordStart_result) that); + return false; + } + + public boolean equals(diffKeyRecordStart_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyRecordStart_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyRecordStart_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyRecordStart_resultStandardSchemeFactory + implements SchemeFactory { + public diffKeyRecordStart_resultStandardScheme getScheme() { + return new diffKeyRecordStart_resultStandardScheme(); + } + } + + private static class diffKeyRecordStart_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyRecordStart_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map648 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map648.size); + com.cinchapi.concourse.thrift.Diff _key649; + Set _val650; + for (int _i651 = 0; _i651 < _map648.size; ++_i651) { + _key649 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set652 = iprot + .readSetBegin(); + _val650 = new LinkedHashSet( + 2 * _set652.size); + com.cinchapi.concourse.thrift.TObject _elem653; + for (int _i654 = 0; _i654 < _set652.size; ++_i654) { + _elem653 = new com.cinchapi.concourse.thrift.TObject(); + _elem653.read(iprot); + _val650.add(_elem653); + } + iprot.readSetEnd(); + } + struct.success.put(_key649, _val650); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyRecordStart_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter655 : struct.success + .entrySet()) { + oprot.writeI32(_iter655.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter655.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter656 : _iter655 + .getValue()) { + _iter656.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyRecordStart_resultTupleSchemeFactory + implements SchemeFactory { + public diffKeyRecordStart_resultTupleScheme getScheme() { + return new diffKeyRecordStart_resultTupleScheme(); + } + } + + private static class diffKeyRecordStart_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter657 : struct.success + .entrySet()) { + oprot.writeI32(_iter657.getKey().getValue()); + { + oprot.writeI32(_iter657.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter658 : _iter657 + .getValue()) { + _iter658.write(oprot); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map659 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map659.size); + com.cinchapi.concourse.thrift.Diff _key660; + Set _val661; + for (int _i662 = 0; _i662 < _map659.size; ++_i662) { + _key660 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set663 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val661 = new LinkedHashSet( + 2 * _set663.size); + com.cinchapi.concourse.thrift.TObject _elem664; + for (int _i665 = 0; _i665 < _set663.size; ++_i665) { + _elem664 = new com.cinchapi.concourse.thrift.TObject(); + _elem664.read(iprot); + _val661.add(_elem664); + } + } + struct.success.put(_key660, _val661); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class diffKeyRecordStartstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyRecordStartstr_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyRecordStartstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyRecordStartstr_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public String start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyRecordStartstr_args.class, metaDataMap); + } + + public diffKeyRecordStartstr_args() {} + + public diffKeyRecordStartstr_args(String key, long record, String start, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyRecordStartstr_args(diffKeyRecordStartstr_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffKeyRecordStartstr_args deepCopy() { + return new diffKeyRecordStartstr_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + this.start = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public diffKeyRecordStartstr_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public diffKeyRecordStartstr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getStart() { + return this.start; + } + + public diffKeyRecordStartstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffKeyRecordStartstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffKeyRecordStartstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffKeyRecordStartstr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyRecordStartstr_args) + return this.equals((diffKeyRecordStartstr_args) that); + return false; + } + + public boolean equals(diffKeyRecordStartstr_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyRecordStartstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyRecordStartstr_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyRecordStartstr_argsStandardSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartstr_argsStandardScheme getScheme() { + return new diffKeyRecordStartstr_argsStandardScheme(); + } + } + + private static class diffKeyRecordStartstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyRecordStartstr_argsTupleSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartstr_argsTupleScheme getScheme() { + return new diffKeyRecordStartstr_argsTupleScheme(); + } + } + + private static class diffKeyRecordStartstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffKeyRecordStartstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyRecordStartstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyRecordStartstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyRecordStartstr_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyRecordStartstr_result.class, metaDataMap); + } + + public diffKeyRecordStartstr_result() {} + + public diffKeyRecordStartstr_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyRecordStartstr_result( + diffKeyRecordStartstr_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_key = other_element + .getKey(); + Set other_element_value = other_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public diffKeyRecordStartstr_result deepCopy() { + return new diffKeyRecordStartstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.Diff key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public diffKeyRecordStartstr_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffKeyRecordStartstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffKeyRecordStartstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public diffKeyRecordStartstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public diffKeyRecordStartstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyRecordStartstr_result) + return this.equals((diffKeyRecordStartstr_result) that); + return false; + } + + public boolean equals(diffKeyRecordStartstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyRecordStartstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "diffKeyRecordStartstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyRecordStartstr_resultStandardSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartstr_resultStandardScheme getScheme() { + return new diffKeyRecordStartstr_resultStandardScheme(); + } + } + + private static class diffKeyRecordStartstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map666 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map666.size); + com.cinchapi.concourse.thrift.Diff _key667; + Set _val668; + for (int _i669 = 0; _i669 < _map666.size; ++_i669) { + _key667 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set670 = iprot + .readSetBegin(); + _val668 = new LinkedHashSet( + 2 * _set670.size); + com.cinchapi.concourse.thrift.TObject _elem671; + for (int _i672 = 0; _i672 < _set670.size; ++_i672) { + _elem671 = new com.cinchapi.concourse.thrift.TObject(); + _elem671.read(iprot); + _val668.add(_elem671); + } + iprot.readSetEnd(); + } + struct.success.put(_key667, _val668); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter673 : struct.success + .entrySet()) { + oprot.writeI32(_iter673.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter673.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter674 : _iter673 + .getValue()) { + _iter674.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyRecordStartstr_resultTupleSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartstr_resultTupleScheme getScheme() { + return new diffKeyRecordStartstr_resultTupleScheme(); + } + } + + private static class diffKeyRecordStartstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter675 : struct.success + .entrySet()) { + oprot.writeI32(_iter675.getKey().getValue()); + { + oprot.writeI32(_iter675.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter676 : _iter675 + .getValue()) { + _iter676.write(oprot); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map677 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map677.size); + com.cinchapi.concourse.thrift.Diff _key678; + Set _val679; + for (int _i680 = 0; _i680 < _map677.size; ++_i680) { + _key678 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set681 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val679 = new LinkedHashSet( + 2 * _set681.size); + com.cinchapi.concourse.thrift.TObject _elem682; + for (int _i683 = 0; _i683 < _set681.size; ++_i683) { + _elem682 = new com.cinchapi.concourse.thrift.TObject(); + _elem682.read(iprot); + _val679.add(_elem682); + } + } + struct.success.put(_key678, _val679); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class diffKeyRecordStartEnd_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyRecordStartEnd_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.I64, (short) 4); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 6); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 7); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyRecordStartEnd_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyRecordStartEnd_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public long start; // required + public long tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + TEND((short) 4, "tend"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // TEND + return TEND; + case 5: // CREDS + return CREDS; + case 6: // TRANSACTION + return TRANSACTION; + case 7: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __START_ISSET_ID = 1; + private static final int __TEND_ISSET_ID = 2; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyRecordStartEnd_args.class, metaDataMap); + } + + public diffKeyRecordStartEnd_args() {} + + public diffKeyRecordStartEnd_args(String key, long record, long start, + long tend, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + setStartIsSet(true); + this.tend = tend; + setTendIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyRecordStartEnd_args(diffKeyRecordStartEnd_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + this.start = other.start; + this.tend = other.tend; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffKeyRecordStartEnd_args deepCopy() { + return new diffKeyRecordStartEnd_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + setStartIsSet(false); + this.start = 0; + setTendIsSet(false); + this.tend = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public diffKeyRecordStartEnd_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public diffKeyRecordStartEnd_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getStart() { + return this.start; + } + + public diffKeyRecordStartEnd_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public long getTend() { + return this.tend; + } + + public diffKeyRecordStartEnd_args setTend(long tend) { + this.tend = tend; + setTendIsSet(true); + return this; + } + + public void unsetTend() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TEND_ISSET_ID); + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + } + + public void setTendIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TEND_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffKeyRecordStartEnd_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffKeyRecordStartEnd_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffKeyRecordStartEnd_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyRecordStartEnd_args) + return this.equals((diffKeyRecordStartEnd_args) that); + return false; + } + + public boolean equals(diffKeyRecordStartEnd_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_tend = true; + boolean that_present_tend = true; + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(this.tend != that.tend) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true; + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyRecordStartEnd_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyRecordStartEnd_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + sb.append(this.tend); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyRecordStartEnd_argsStandardSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartEnd_argsStandardScheme getScheme() { + return new diffKeyRecordStartEnd_argsStandardScheme(); + } + } + + private static class diffKeyRecordStartEnd_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 7: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeI64(struct.tend); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyRecordStartEnd_argsTupleSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartEnd_argsTupleScheme getScheme() { + return new diffKeyRecordStartEnd_argsTupleScheme(); + } + } + + private static class diffKeyRecordStartEnd_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetTend()) { + optionals.set(3); + } + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetTend()) { + oprot.writeI64(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(7); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + if(incoming.get(4)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(5)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(6)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffKeyRecordStartEnd_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyRecordStartEnd_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyRecordStartEnd_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyRecordStartEnd_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyRecordStartEnd_result.class, metaDataMap); + } + + public diffKeyRecordStartEnd_result() {} + + public diffKeyRecordStartEnd_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyRecordStartEnd_result( + diffKeyRecordStartEnd_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_key = other_element + .getKey(); + Set other_element_value = other_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public diffKeyRecordStartEnd_result deepCopy() { + return new diffKeyRecordStartEnd_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.Diff key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public diffKeyRecordStartEnd_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffKeyRecordStartEnd_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffKeyRecordStartEnd_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public diffKeyRecordStartEnd_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyRecordStartEnd_result) + return this.equals((diffKeyRecordStartEnd_result) that); + return false; + } + + public boolean equals(diffKeyRecordStartEnd_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyRecordStartEnd_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "diffKeyRecordStartEnd_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyRecordStartEnd_resultStandardSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartEnd_resultStandardScheme getScheme() { + return new diffKeyRecordStartEnd_resultStandardScheme(); + } + } + + private static class diffKeyRecordStartEnd_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map684 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map684.size); + com.cinchapi.concourse.thrift.Diff _key685; + Set _val686; + for (int _i687 = 0; _i687 < _map684.size; ++_i687) { + _key685 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set688 = iprot + .readSetBegin(); + _val686 = new LinkedHashSet( + 2 * _set688.size); + com.cinchapi.concourse.thrift.TObject _elem689; + for (int _i690 = 0; _i690 < _set688.size; ++_i690) { + _elem689 = new com.cinchapi.concourse.thrift.TObject(); + _elem689.read(iprot); + _val686.add(_elem689); + } + iprot.readSetEnd(); + } + struct.success.put(_key685, _val686); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter691 : struct.success + .entrySet()) { + oprot.writeI32(_iter691.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter691.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter692 : _iter691 + .getValue()) { + _iter692.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyRecordStartEnd_resultTupleSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartEnd_resultTupleScheme getScheme() { + return new diffKeyRecordStartEnd_resultTupleScheme(); + } + } + + private static class diffKeyRecordStartEnd_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter693 : struct.success + .entrySet()) { + oprot.writeI32(_iter693.getKey().getValue()); + { + oprot.writeI32(_iter693.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter694 : _iter693 + .getValue()) { + _iter694.write(oprot); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map695 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map695.size); + com.cinchapi.concourse.thrift.Diff _key696; + Set _val697; + for (int _i698 = 0; _i698 < _map695.size; ++_i698) { + _key696 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set699 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val697 = new LinkedHashSet( + 2 * _set699.size); + com.cinchapi.concourse.thrift.TObject _elem700; + for (int _i701 = 0; _i701 < _set699.size; ++_i701) { + _elem700 = new com.cinchapi.concourse.thrift.TObject(); + _elem700.read(iprot); + _val697.add(_elem700); + } + } + struct.success.put(_key696, _val697); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class diffKeyRecordStartstrEndstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyRecordStartstrEndstr_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.STRING, (short) 4); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 6); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 7); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyRecordStartstrEndstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyRecordStartstrEndstr_argsTupleSchemeFactory()); + } + + public String key; // required + public long record; // required + public String start; // required + public String tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + START((short) 3, "start"), + TEND((short) 4, "tend"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // START + return START; + case 4: // TEND + return TEND; + case 5: // CREDS + return CREDS; + case 6: // TRANSACTION + return TRANSACTION; + case 7: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyRecordStartstrEndstr_args.class, metaDataMap); + } + + public diffKeyRecordStartstrEndstr_args() {} + + public diffKeyRecordStartstrEndstr_args(String key, long record, + String start, String tend, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.record = record; + setRecordIsSet(true); + this.start = start; + this.tend = tend; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyRecordStartstrEndstr_args( + diffKeyRecordStartstrEndstr_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.record = other.record; + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetTend()) { + this.tend = other.tend; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffKeyRecordStartstrEndstr_args deepCopy() { + return new diffKeyRecordStartstrEndstr_args(this); + } + + @Override + public void clear() { + this.key = null; + setRecordIsSet(false); + this.record = 0; + this.start = null; + this.tend = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public diffKeyRecordStartstrEndstr_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getRecord() { + return this.record; + } + + public diffKeyRecordStartstrEndstr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getStart() { + return this.start; + } + + public diffKeyRecordStartstrEndstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public String getTend() { + return this.tend; + } + + public diffKeyRecordStartstrEndstr_args setTend(String tend) { + this.tend = tend; + return this; + } + + public void unsetTend() { + this.tend = null; + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return this.tend != null; + } + + public void setTendIsSet(boolean value) { + if(!value) { + this.tend = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffKeyRecordStartstrEndstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffKeyRecordStartstrEndstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffKeyRecordStartstrEndstr_args setEnvironment( + String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case RECORD: + return getRecord(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyRecordStartstrEndstr_args) + return this.equals((diffKeyRecordStartstrEndstr_args) that); + return false; + } + + public boolean equals(diffKeyRecordStartstrEndstr_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_tend = true && this.isSetTend(); + boolean that_present_tend = true && that.isSetTend(); + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(!this.tend.equals(that.tend)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true && (isSetTend()); + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyRecordStartstrEndstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "diffKeyRecordStartstrEndstr_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + if(this.tend == null) { + sb.append("null"); + } + else { + sb.append(this.tend); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyRecordStartstrEndstr_argsStandardSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartstrEndstr_argsStandardScheme getScheme() { + return new diffKeyRecordStartstrEndstr_argsStandardScheme(); + } + } + + private static class diffKeyRecordStartstrEndstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 7: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.tend != null) { + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeString(struct.tend); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyRecordStartstrEndstr_argsTupleSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartstrEndstr_argsTupleScheme getScheme() { + return new diffKeyRecordStartstrEndstr_argsTupleScheme(); + } + } + + private static class diffKeyRecordStartstrEndstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetStart()) { + optionals.set(2); + } + if(struct.isSetTend()) { + optionals.set(3); + } + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetTend()) { + oprot.writeString(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(7); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(3)) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + if(incoming.get(4)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(5)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(6)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffKeyRecordStartstrEndstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyRecordStartstrEndstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyRecordStartstrEndstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyRecordStartstrEndstr_resultTupleSchemeFactory()); + } + + public Map> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyRecordStartstrEndstr_result.class, metaDataMap); + } + + public diffKeyRecordStartstrEndstr_result() {} + + public diffKeyRecordStartstrEndstr_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyRecordStartstrEndstr_result( + diffKeyRecordStartstrEndstr_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_key = other_element + .getKey(); + Set other_element_value = other_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public diffKeyRecordStartstrEndstr_result deepCopy() { + return new diffKeyRecordStartstrEndstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.Diff key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public diffKeyRecordStartstrEndstr_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffKeyRecordStartstrEndstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffKeyRecordStartstrEndstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public diffKeyRecordStartstrEndstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public diffKeyRecordStartstrEndstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyRecordStartstrEndstr_result) + return this.equals((diffKeyRecordStartstrEndstr_result) that); + return false; + } + + public boolean equals(diffKeyRecordStartstrEndstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyRecordStartstrEndstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "diffKeyRecordStartstrEndstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyRecordStartstrEndstr_resultStandardSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartstrEndstr_resultStandardScheme getScheme() { + return new diffKeyRecordStartstrEndstr_resultStandardScheme(); + } + } + + private static class diffKeyRecordStartstrEndstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map702 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map702.size); + com.cinchapi.concourse.thrift.Diff _key703; + Set _val704; + for (int _i705 = 0; _i705 < _map702.size; ++_i705) { + _key703 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set706 = iprot + .readSetBegin(); + _val704 = new LinkedHashSet( + 2 * _set706.size); + com.cinchapi.concourse.thrift.TObject _elem707; + for (int _i708 = 0; _i708 < _set706.size; ++_i708) { + _elem707 = new com.cinchapi.concourse.thrift.TObject(); + _elem707.read(iprot); + _val704.add(_elem707); + } + iprot.readSetEnd(); + } + struct.success.put(_key703, _val704); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter709 : struct.success + .entrySet()) { + oprot.writeI32(_iter709.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter709.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter710 : _iter709 + .getValue()) { + _iter710.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyRecordStartstrEndstr_resultTupleSchemeFactory + implements SchemeFactory { + public diffKeyRecordStartstrEndstr_resultTupleScheme getScheme() { + return new diffKeyRecordStartstrEndstr_resultTupleScheme(); + } + } + + private static class diffKeyRecordStartstrEndstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter711 : struct.success + .entrySet()) { + oprot.writeI32(_iter711.getKey().getValue()); + { + oprot.writeI32(_iter711.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter712 : _iter711 + .getValue()) { + _iter712.write(oprot); + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyRecordStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map713 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map713.size); + com.cinchapi.concourse.thrift.Diff _key714; + Set _val715; + for (int _i716 = 0; _i716 < _map713.size; ++_i716) { + _key714 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set717 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val715 = new LinkedHashSet( + 2 * _set717.size); + com.cinchapi.concourse.thrift.TObject _elem718; + for (int _i719 = 0; _i719 < _set717.size; ++_i719) { + _elem718 = new com.cinchapi.concourse.thrift.TObject(); + _elem718.read(iprot); + _val715.add(_elem718); + } + } + struct.success.put(_key714, _val715); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class diffKeyStart_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyStart_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyStart_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyStart_argsTupleSchemeFactory()); + } + + public String key; // required + public long start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + START((short) 2, "start"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // START + return START; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __START_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(diffKeyStart_args.class, metaDataMap); + } + + public diffKeyStart_args() {} + + public diffKeyStart_args(String key, long start, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.start = start; + setStartIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyStart_args(diffKeyStart_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.start = other.start; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffKeyStart_args deepCopy() { + return new diffKeyStart_args(this); + } + + @Override + public void clear() { + this.key = null; + setStartIsSet(false); + this.start = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public diffKeyStart_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getStart() { + return this.start; + } + + public diffKeyStart_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffKeyStart_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffKeyStart_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffKeyStart_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyStart_args) + return this.equals((diffKeyStart_args) that); + return false; + } + + public boolean equals(diffKeyStart_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyStart_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyStart_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyStart_argsStandardSchemeFactory + implements SchemeFactory { + public diffKeyStart_argsStandardScheme getScheme() { + return new diffKeyStart_argsStandardScheme(); + } + } + + private static class diffKeyStart_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyStart_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyStart_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyStart_argsTupleSchemeFactory + implements SchemeFactory { + public diffKeyStart_argsTupleScheme getScheme() { + return new diffKeyStart_argsTupleScheme(); + } + } + + private static class diffKeyStart_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyStart_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffKeyStart_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyStart_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyStart_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyStart_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyStart_result.class, metaDataMap); + } + + public diffKeyStart_result() {} + + public diffKeyStart_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyStart_result(diffKeyStart_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.TObject other_element_key = other_element + .getKey(); + Map> other_element_value = other_element + .getValue(); + + com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( + other_element_key); + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public diffKeyStart_result deepCopy() { + return new diffKeyStart_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public diffKeyStart_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffKeyStart_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffKeyStart_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public diffKeyStart_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyStart_result) + return this.equals((diffKeyStart_result) that); + return false; + } + + public boolean equals(diffKeyStart_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyStart_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyStart_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyStart_resultStandardSchemeFactory + implements SchemeFactory { + public diffKeyStart_resultStandardScheme getScheme() { + return new diffKeyStart_resultStandardScheme(); + } + } + + private static class diffKeyStart_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyStart_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map720 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map720.size); + com.cinchapi.concourse.thrift.TObject _key721; + Map> _val722; + for (int _i723 = 0; _i723 < _map720.size; ++_i723) { + _key721 = new com.cinchapi.concourse.thrift.TObject(); + _key721.read(iprot); + { + org.apache.thrift.protocol.TMap _map724 = iprot + .readMapBegin(); + _val722 = new LinkedHashMap>( + 2 * _map724.size); + com.cinchapi.concourse.thrift.Diff _key725; + Set _val726; + for (int _i727 = 0; _i727 < _map724.size; ++_i727) { + _key725 = com.cinchapi.concourse.thrift.Diff + .findByValue( + iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set728 = iprot + .readSetBegin(); + _val726 = new LinkedHashSet( + 2 * _set728.size); + long _elem729; + for (int _i730 = 0; _i730 < _set728.size; ++_i730) { + _elem729 = iprot.readI64(); + _val726.add(_elem729); + } + iprot.readSetEnd(); + } + _val722.put(_key725, _val726); + } + iprot.readMapEnd(); + } + struct.success.put(_key721, _val722); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyStart_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter731 : struct.success + .entrySet()) { + _iter731.getKey().write(oprot); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + _iter731.getValue().size())); + for (Map.Entry> _iter732 : _iter731 + .getValue().entrySet()) { + oprot.writeI32( + _iter732.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + _iter732.getValue() + .size())); + for (long _iter733 : _iter732 + .getValue()) { + oprot.writeI64(_iter733); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyStart_resultTupleSchemeFactory + implements SchemeFactory { + public diffKeyStart_resultTupleScheme getScheme() { + return new diffKeyStart_resultTupleScheme(); + } + } + + private static class diffKeyStart_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter734 : struct.success + .entrySet()) { + _iter734.getKey().write(oprot); + { + oprot.writeI32(_iter734.getValue().size()); + for (Map.Entry> _iter735 : _iter734 + .getValue().entrySet()) { + oprot.writeI32( + _iter735.getKey().getValue()); + { + oprot.writeI32( + _iter735.getValue().size()); + for (long _iter736 : _iter735 + .getValue()) { + oprot.writeI64(_iter736); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyStart_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map737 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map737.size); + com.cinchapi.concourse.thrift.TObject _key738; + Map> _val739; + for (int _i740 = 0; _i740 < _map737.size; ++_i740) { + _key738 = new com.cinchapi.concourse.thrift.TObject(); + _key738.read(iprot); + { + org.apache.thrift.protocol.TMap _map741 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val739 = new LinkedHashMap>( + 2 * _map741.size); + com.cinchapi.concourse.thrift.Diff _key742; + Set _val743; + for (int _i744 = 0; _i744 < _map741.size; ++_i744) { + _key742 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set745 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + _val743 = new LinkedHashSet( + 2 * _set745.size); + long _elem746; + for (int _i747 = 0; _i747 < _set745.size; ++_i747) { + _elem746 = iprot.readI64(); + _val743.add(_elem746); + } + } + _val739.put(_key742, _val743); + } + } + struct.success.put(_key738, _val739); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class diffKeyStartstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyStartstr_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyStartstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyStartstr_argsTupleSchemeFactory()); + } + + public String key; // required + public String start; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + START((short) 2, "start"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // START + return START; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyStartstr_args.class, metaDataMap); + } + + public diffKeyStartstr_args() {} + + public diffKeyStartstr_args(String key, String start, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.start = start; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyStartstr_args(diffKeyStartstr_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffKeyStartstr_args deepCopy() { + return new diffKeyStartstr_args(this); + } + + @Override + public void clear() { + this.key = null; + this.start = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public diffKeyStartstr_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public String getStart() { + return this.start; + } + + public diffKeyStartstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffKeyStartstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffKeyStartstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffKeyStartstr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case START: + return getStart(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case START: + return isSetStart(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyStartstr_args) + return this.equals((diffKeyStartstr_args) that); + return false; + } + + public boolean equals(diffKeyStartstr_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyStartstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyStartstr_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyStartstr_argsStandardSchemeFactory + implements SchemeFactory { + public diffKeyStartstr_argsStandardScheme getScheme() { + return new diffKeyStartstr_argsStandardScheme(); + } + } + + private static class diffKeyStartstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyStartstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyStartstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyStartstr_argsTupleSchemeFactory + implements SchemeFactory { + public diffKeyStartstr_argsTupleScheme getScheme() { + return new diffKeyStartstr_argsTupleScheme(); + } + } + + private static class diffKeyStartstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffKeyStartstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyStartstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyStartstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyStartstr_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyStartstr_result.class, metaDataMap); + } + + public diffKeyStartstr_result() {} + + public diffKeyStartstr_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyStartstr_result(diffKeyStartstr_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.TObject other_element_key = other_element + .getKey(); + Map> other_element_value = other_element + .getValue(); + + com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( + other_element_key); + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public diffKeyStartstr_result deepCopy() { + return new diffKeyStartstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public diffKeyStartstr_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffKeyStartstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffKeyStartstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public diffKeyStartstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public diffKeyStartstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyStartstr_result) + return this.equals((diffKeyStartstr_result) that); + return false; + } + + public boolean equals(diffKeyStartstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyStartstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyStartstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyStartstr_resultStandardSchemeFactory + implements SchemeFactory { + public diffKeyStartstr_resultStandardScheme getScheme() { + return new diffKeyStartstr_resultStandardScheme(); + } + } + + private static class diffKeyStartstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyStartstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map748 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map748.size); + com.cinchapi.concourse.thrift.TObject _key749; + Map> _val750; + for (int _i751 = 0; _i751 < _map748.size; ++_i751) { + _key749 = new com.cinchapi.concourse.thrift.TObject(); + _key749.read(iprot); + { + org.apache.thrift.protocol.TMap _map752 = iprot + .readMapBegin(); + _val750 = new LinkedHashMap>( + 2 * _map752.size); + com.cinchapi.concourse.thrift.Diff _key753; + Set _val754; + for (int _i755 = 0; _i755 < _map752.size; ++_i755) { + _key753 = com.cinchapi.concourse.thrift.Diff + .findByValue( + iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set756 = iprot + .readSetBegin(); + _val754 = new LinkedHashSet( + 2 * _set756.size); + long _elem757; + for (int _i758 = 0; _i758 < _set756.size; ++_i758) { + _elem757 = iprot.readI64(); + _val754.add(_elem757); + } + iprot.readSetEnd(); + } + _val750.put(_key753, _val754); + } + iprot.readMapEnd(); + } + struct.success.put(_key749, _val750); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyStartstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter759 : struct.success + .entrySet()) { + _iter759.getKey().write(oprot); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + _iter759.getValue().size())); + for (Map.Entry> _iter760 : _iter759 + .getValue().entrySet()) { + oprot.writeI32( + _iter760.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + _iter760.getValue() + .size())); + for (long _iter761 : _iter760 + .getValue()) { + oprot.writeI64(_iter761); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyStartstr_resultTupleSchemeFactory + implements SchemeFactory { + public diffKeyStartstr_resultTupleScheme getScheme() { + return new diffKeyStartstr_resultTupleScheme(); + } + } + + private static class diffKeyStartstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter762 : struct.success + .entrySet()) { + _iter762.getKey().write(oprot); + { + oprot.writeI32(_iter762.getValue().size()); + for (Map.Entry> _iter763 : _iter762 + .getValue().entrySet()) { + oprot.writeI32( + _iter763.getKey().getValue()); + { + oprot.writeI32( + _iter763.getValue().size()); + for (long _iter764 : _iter763 + .getValue()) { + oprot.writeI64(_iter764); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map765 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map765.size); + com.cinchapi.concourse.thrift.TObject _key766; + Map> _val767; + for (int _i768 = 0; _i768 < _map765.size; ++_i768) { + _key766 = new com.cinchapi.concourse.thrift.TObject(); + _key766.read(iprot); + { + org.apache.thrift.protocol.TMap _map769 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val767 = new LinkedHashMap>( + 2 * _map769.size); + com.cinchapi.concourse.thrift.Diff _key770; + Set _val771; + for (int _i772 = 0; _i772 < _map769.size; ++_i772) { + _key770 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set773 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + _val771 = new LinkedHashSet( + 2 * _set773.size); + long _elem774; + for (int _i775 = 0; _i775 < _set773.size; ++_i775) { + _elem774 = iprot.readI64(); + _val771.add(_elem774); + } + } + _val767.put(_key770, _val771); + } + } + struct.success.put(_key766, _val767); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class diffKeyStartEnd_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyStartEnd_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyStartEnd_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyStartEnd_argsTupleSchemeFactory()); + } + + public String key; // required + public long start; // required + public long tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + START((short) 2, "start"), + TEND((short) 3, "tend"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // START + return START; + case 3: // TEND + return TEND; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __START_ISSET_ID = 0; + private static final int __TEND_ISSET_ID = 1; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyStartEnd_args.class, metaDataMap); + } + + public diffKeyStartEnd_args() {} + + public diffKeyStartEnd_args(String key, long start, long tend, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.start = start; + setStartIsSet(true); + this.tend = tend; + setTendIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyStartEnd_args(diffKeyStartEnd_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + this.start = other.start; + this.tend = other.tend; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffKeyStartEnd_args deepCopy() { + return new diffKeyStartEnd_args(this); + } + + @Override + public void clear() { + this.key = null; + setStartIsSet(false); + this.start = 0; + setTendIsSet(false); + this.tend = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public diffKeyStartEnd_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public long getStart() { + return this.start; + } + + public diffKeyStartEnd_args setStart(long start) { + this.start = start; + setStartIsSet(true); + return this; + } + + public void unsetStart() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __START_ISSET_ID); + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + } + + public void setStartIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __START_ISSET_ID, value); + } + + public long getTend() { + return this.tend; + } + + public diffKeyStartEnd_args setTend(long tend) { + this.tend = tend; + setTendIsSet(true); + return this; + } + + public void unsetTend() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TEND_ISSET_ID); + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + } + + public void setTendIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TEND_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffKeyStartEnd_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffKeyStartEnd_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffKeyStartEnd_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((Long) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyStartEnd_args) + return this.equals((diffKeyStartEnd_args) that); + return false; + } + + public boolean equals(diffKeyStartEnd_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_start = true; + boolean that_present_start = true; + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(this.start != that.start) + return false; + } + + boolean this_present_tend = true; + boolean that_present_tend = true; + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(this.tend != that.tend) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_start = true; + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true; + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyStartEnd_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyStartEnd_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + sb.append(this.start); + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + sb.append(this.tend); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyStartEnd_argsStandardSchemeFactory + implements SchemeFactory { + public diffKeyStartEnd_argsStandardScheme getScheme() { + return new diffKeyStartEnd_argsStandardScheme(); + } + } + + private static class diffKeyStartEnd_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyStartEnd_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyStartEnd_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeI64(struct.start); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeI64(struct.tend); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyStartEnd_argsTupleSchemeFactory + implements SchemeFactory { + public diffKeyStartEnd_argsTupleScheme getScheme() { + return new diffKeyStartEnd_argsTupleScheme(); + } + } + + private static class diffKeyStartEnd_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetTend()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetStart()) { + oprot.writeI64(struct.start); + } + if(struct.isSetTend()) { + oprot.writeI64(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartEnd_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readI64(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.tend = iprot.readI64(); + struct.setTendIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffKeyStartEnd_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyStartEnd_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyStartEnd_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyStartEnd_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyStartEnd_result.class, metaDataMap); + } + + public diffKeyStartEnd_result() {} + + public diffKeyStartEnd_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.PermissionException ex3) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyStartEnd_result(diffKeyStartEnd_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.TObject other_element_key = other_element + .getKey(); + Map> other_element_value = other_element + .getValue(); + + com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( + other_element_key); + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex3); + } + } + + public diffKeyStartEnd_result deepCopy() { + return new diffKeyStartEnd_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public diffKeyStartEnd_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffKeyStartEnd_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffKeyStartEnd_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx3() { + return this.ex3; + } + + public diffKeyStartEnd_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyStartEnd_result) + return this.equals((diffKeyStartEnd_result) that); + return false; + } + + public boolean equals(diffKeyStartEnd_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyStartEnd_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyStartEnd_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyStartEnd_resultStandardSchemeFactory + implements SchemeFactory { + public diffKeyStartEnd_resultStandardScheme getScheme() { + return new diffKeyStartEnd_resultStandardScheme(); + } + } + + private static class diffKeyStartEnd_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyStartEnd_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map776 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map776.size); + com.cinchapi.concourse.thrift.TObject _key777; + Map> _val778; + for (int _i779 = 0; _i779 < _map776.size; ++_i779) { + _key777 = new com.cinchapi.concourse.thrift.TObject(); + _key777.read(iprot); + { + org.apache.thrift.protocol.TMap _map780 = iprot + .readMapBegin(); + _val778 = new LinkedHashMap>( + 2 * _map780.size); + com.cinchapi.concourse.thrift.Diff _key781; + Set _val782; + for (int _i783 = 0; _i783 < _map780.size; ++_i783) { + _key781 = com.cinchapi.concourse.thrift.Diff + .findByValue( + iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set784 = iprot + .readSetBegin(); + _val782 = new LinkedHashSet( + 2 * _set784.size); + long _elem785; + for (int _i786 = 0; _i786 < _set784.size; ++_i786) { + _elem785 = iprot.readI64(); + _val782.add(_elem785); + } + iprot.readSetEnd(); + } + _val778.put(_key781, _val782); + } + iprot.readMapEnd(); + } + struct.success.put(_key777, _val778); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyStartEnd_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter787 : struct.success + .entrySet()) { + _iter787.getKey().write(oprot); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + _iter787.getValue().size())); + for (Map.Entry> _iter788 : _iter787 + .getValue().entrySet()) { + oprot.writeI32( + _iter788.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + _iter788.getValue() + .size())); + for (long _iter789 : _iter788 + .getValue()) { + oprot.writeI64(_iter789); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyStartEnd_resultTupleSchemeFactory + implements SchemeFactory { + public diffKeyStartEnd_resultTupleScheme getScheme() { + return new diffKeyStartEnd_resultTupleScheme(); + } + } + + private static class diffKeyStartEnd_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter790 : struct.success + .entrySet()) { + _iter790.getKey().write(oprot); + { + oprot.writeI32(_iter790.getValue().size()); + for (Map.Entry> _iter791 : _iter790 + .getValue().entrySet()) { + oprot.writeI32( + _iter791.getKey().getValue()); + { + oprot.writeI32( + _iter791.getValue().size()); + for (long _iter792 : _iter791 + .getValue()) { + oprot.writeI64(_iter792); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartEnd_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map793 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map793.size); + com.cinchapi.concourse.thrift.TObject _key794; + Map> _val795; + for (int _i796 = 0; _i796 < _map793.size; ++_i796) { + _key794 = new com.cinchapi.concourse.thrift.TObject(); + _key794.read(iprot); + { + org.apache.thrift.protocol.TMap _map797 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val795 = new LinkedHashMap>( + 2 * _map797.size); + com.cinchapi.concourse.thrift.Diff _key798; + Set _val799; + for (int _i800 = 0; _i800 < _map797.size; ++_i800) { + _key798 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set801 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + _val799 = new LinkedHashSet( + 2 * _set801.size); + long _elem802; + for (int _i803 = 0; _i803 < _set801.size; ++_i803) { + _elem802 = iprot.readI64(); + _val799.add(_elem802); + } + } + _val795.put(_key798, _val799); + } + } + struct.success.put(_key794, _val795); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + } + } + + } + + public static class diffKeyStartstrEndstr_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyStartstrEndstr_args"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( + "start", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( + "tend", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyStartstrEndstr_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyStartstrEndstr_argsTupleSchemeFactory()); + } + + public String key; // required + public String start; // required + public String tend; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + START((short) 2, "start"), + TEND((short) 3, "tend"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // START + return START; + case 3: // TEND + return TEND; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.START, + new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TEND, + new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyStartstrEndstr_args.class, metaDataMap); + } + + public diffKeyStartstrEndstr_args() {} + + public diffKeyStartstrEndstr_args(String key, String start, String tend, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.key = key; + this.start = start; + this.tend = tend; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyStartstrEndstr_args(diffKeyStartstrEndstr_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetStart()) { + this.start = other.start; + } + if(other.isSetTend()) { + this.tend = other.tend; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public diffKeyStartstrEndstr_args deepCopy() { + return new diffKeyStartstrEndstr_args(this); + } + + @Override + public void clear() { + this.key = null; + this.start = null; + this.tend = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getKey() { + return this.key; + } + + public diffKeyStartstrEndstr_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public String getStart() { + return this.start; + } + + public diffKeyStartstrEndstr_args setStart(String start) { + this.start = start; + return this; + } + + public void unsetStart() { + this.start = null; + } + + /** + * Returns true if field start is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetStart() { + return this.start != null; + } + + public void setStartIsSet(boolean value) { + if(!value) { + this.start = null; + } + } + + public String getTend() { + return this.tend; + } + + public diffKeyStartstrEndstr_args setTend(String tend) { + this.tend = tend; + return this; + } + + public void unsetTend() { + this.tend = null; + } + + /** + * Returns true if field tend is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTend() { + return this.tend != null; + } + + public void setTendIsSet(boolean value) { + if(!value) { + this.tend = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public diffKeyStartstrEndstr_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public diffKeyStartstrEndstr_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public diffKeyStartstrEndstr_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case START: + if(value == null) { + unsetStart(); + } + else { + setStart((String) value); + } + break; + + case TEND: + if(value == null) { + unsetTend(); + } + else { + setTend((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case START: + return getStart(); + + case TEND: + return getTend(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case START: + return isSetStart(); + case TEND: + return isSetTend(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyStartstrEndstr_args) + return this.equals((diffKeyStartstrEndstr_args) that); + return false; + } + + public boolean equals(diffKeyStartstrEndstr_args that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_start = true && this.isSetStart(); + boolean that_present_start = true && that.isSetStart(); + if(this_present_start || that_present_start) { + if(!(this_present_start && that_present_start)) + return false; + if(!this.start.equals(that.start)) + return false; + } + + boolean this_present_tend = true && this.isSetTend(); + boolean that_present_tend = true && that.isSetTend(); + if(this_present_tend || that_present_tend) { + if(!(this_present_tend && that_present_tend)) + return false; + if(!this.tend.equals(that.tend)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_start = true && (isSetStart()); + list.add(present_start); + if(present_start) + list.add(start); + + boolean present_tend = true && (isSetTend()); + list.add(present_tend); + if(present_tend) + list.add(tend); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyStartstrEndstr_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetStart()) + .compareTo(other.isSetStart()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetStart()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.start, other.start); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTend()) + .compareTo(other.isSetTend()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTend()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.tend, other.tend); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("diffKeyStartstrEndstr_args("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("start:"); + if(this.start == null) { + sb.append("null"); + } + else { + sb.append(this.start); + } + first = false; + if(!first) + sb.append(", "); + sb.append("tend:"); + if(this.tend == null) { + sb.append("null"); + } + else { + sb.append(this.tend); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyStartstrEndstr_argsStandardSchemeFactory + implements SchemeFactory { + public diffKeyStartstrEndstr_argsStandardScheme getScheme() { + return new diffKeyStartstrEndstr_argsStandardScheme(); + } + } + + private static class diffKeyStartstrEndstr_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyStartstrEndstr_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // START + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TEND + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyStartstrEndstr_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.start != null) { + oprot.writeFieldBegin(START_FIELD_DESC); + oprot.writeString(struct.start); + oprot.writeFieldEnd(); + } + if(struct.tend != null) { + oprot.writeFieldBegin(TEND_FIELD_DESC); + oprot.writeString(struct.tend); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyStartstrEndstr_argsTupleSchemeFactory + implements SchemeFactory { + public diffKeyStartstrEndstr_argsTupleScheme getScheme() { + return new diffKeyStartstrEndstr_argsTupleScheme(); + } + } + + private static class diffKeyStartstrEndstr_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetKey()) { + optionals.set(0); + } + if(struct.isSetStart()) { + optionals.set(1); + } + if(struct.isSetTend()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetStart()) { + oprot.writeString(struct.start); + } + if(struct.isSetTend()) { + oprot.writeString(struct.tend); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartstrEndstr_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.start = iprot.readString(); + struct.setStartIsSet(true); + } + if(incoming.get(2)) { + struct.tend = iprot.readString(); + struct.setTendIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class diffKeyStartstrEndstr_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "diffKeyStartstrEndstr_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new diffKeyStartstrEndstr_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new diffKeyStartstrEndstr_resultTupleSchemeFactory()); + } + + public Map>> success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + diffKeyStartstrEndstr_result.class, metaDataMap); + } + + public diffKeyStartstrEndstr_result() {} + + public diffKeyStartstrEndstr_result( + Map>> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public diffKeyStartstrEndstr_result( + diffKeyStartstrEndstr_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + com.cinchapi.concourse.thrift.TObject other_element_key = other_element + .getKey(); + Map> other_element_value = other_element + .getValue(); + + com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( + other_element_key); + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public diffKeyStartstrEndstr_result deepCopy() { + return new diffKeyStartstrEndstr_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public diffKeyStartstrEndstr_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public diffKeyStartstrEndstr_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public diffKeyStartstrEndstr_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public diffKeyStartstrEndstr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public diffKeyStartstrEndstr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof diffKeyStartstrEndstr_result) + return this.equals((diffKeyStartstrEndstr_result) that); + return false; + } + + public boolean equals(diffKeyStartstrEndstr_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(diffKeyStartstrEndstr_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder( + "diffKeyStartstrEndstr_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class diffKeyStartstrEndstr_resultStandardSchemeFactory + implements SchemeFactory { + public diffKeyStartstrEndstr_resultStandardScheme getScheme() { + return new diffKeyStartstrEndstr_resultStandardScheme(); + } + } + + private static class diffKeyStartstrEndstr_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + diffKeyStartstrEndstr_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map804 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map804.size); + com.cinchapi.concourse.thrift.TObject _key805; + Map> _val806; + for (int _i807 = 0; _i807 < _map804.size; ++_i807) { + _key805 = new com.cinchapi.concourse.thrift.TObject(); + _key805.read(iprot); + { + org.apache.thrift.protocol.TMap _map808 = iprot + .readMapBegin(); + _val806 = new LinkedHashMap>( + 2 * _map808.size); + com.cinchapi.concourse.thrift.Diff _key809; + Set _val810; + for (int _i811 = 0; _i811 < _map808.size; ++_i811) { + _key809 = com.cinchapi.concourse.thrift.Diff + .findByValue( + iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set812 = iprot + .readSetBegin(); + _val810 = new LinkedHashSet( + 2 * _set812.size); + long _elem813; + for (int _i814 = 0; _i814 < _set812.size; ++_i814) { + _elem813 = iprot.readI64(); + _val810.add(_elem813); + } + iprot.readSetEnd(); + } + _val806.put(_key809, _val810); + } + iprot.readMapEnd(); + } + struct.success.put(_key805, _val806); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + diffKeyStartstrEndstr_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter815 : struct.success + .entrySet()) { + _iter815.getKey().write(oprot); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + _iter815.getValue().size())); + for (Map.Entry> _iter816 : _iter815 + .getValue().entrySet()) { + oprot.writeI32( + _iter816.getKey().getValue()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + _iter816.getValue() + .size())); + for (long _iter817 : _iter816 + .getValue()) { + oprot.writeI64(_iter817); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class diffKeyStartstrEndstr_resultTupleSchemeFactory + implements SchemeFactory { + public diffKeyStartstrEndstr_resultTupleScheme getScheme() { + return new diffKeyStartstrEndstr_resultTupleScheme(); + } + } + + private static class diffKeyStartstrEndstr_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter818 : struct.success + .entrySet()) { + _iter818.getKey().write(oprot); + { + oprot.writeI32(_iter818.getValue().size()); + for (Map.Entry> _iter819 : _iter818 + .getValue().entrySet()) { + oprot.writeI32( + _iter819.getKey().getValue()); + { + oprot.writeI32( + _iter819.getValue().size()); + for (long _iter820 : _iter819 + .getValue()) { + oprot.writeI64(_iter820); + } + } + } + } + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + diffKeyStartstrEndstr_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map821 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map821.size); + com.cinchapi.concourse.thrift.TObject _key822; + Map> _val823; + for (int _i824 = 0; _i824 < _map821.size; ++_i824) { + _key822 = new com.cinchapi.concourse.thrift.TObject(); + _key822.read(iprot); + { + org.apache.thrift.protocol.TMap _map825 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val823 = new LinkedHashMap>( + 2 * _map825.size); + com.cinchapi.concourse.thrift.Diff _key826; + Set _val827; + for (int _i828 = 0; _i828 < _map825.size; ++_i828) { + _key826 = com.cinchapi.concourse.thrift.Diff + .findByValue(iprot.readI32()); + { + org.apache.thrift.protocol.TSet _set829 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + _val827 = new LinkedHashSet( + 2 * _set829.size); + long _elem830; + for (int _i831 = 0; _i831 < _set829.size; ++_i831) { + _elem830 = iprot.readI64(); + _val827.add(_elem830); + } + } + _val823.put(_key826, _val827); + } + } + struct.success.put(_key822, _val823); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class invokePlugin_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "invokePlugin_args"); + + private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField( + "id", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField METHOD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "method", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField PARAMS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "params", org.apache.thrift.protocol.TType.LIST, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 6); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new invokePlugin_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new invokePlugin_argsTupleSchemeFactory()); + } + + public String id; // required + public String method; // required + public List params; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + ID((short) 1, "id"), + METHOD((short) 2, "method"), + PARAMS((short) 3, "params"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // ID + return ID; + case 2: // METHOD + return METHOD; + case 3: // PARAMS + return PARAMS; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.ID, + new org.apache.thrift.meta_data.FieldMetaData("id", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.METHOD, + new org.apache.thrift.meta_data.FieldMetaData("method", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PARAMS, + new org.apache.thrift.meta_data.FieldMetaData("params", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.ComplexTObject.class)))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(invokePlugin_args.class, metaDataMap); + } + + public invokePlugin_args() {} + + public invokePlugin_args(String id, String method, + List params, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.id = id; + this.method = method; + this.params = params; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public invokePlugin_args(invokePlugin_args other) { + if(other.isSetId()) { + this.id = other.id; + } + if(other.isSetMethod()) { + this.method = other.method; + } + if(other.isSetParams()) { + List __this__params = new ArrayList( + other.params.size()); + for (com.cinchapi.concourse.thrift.ComplexTObject other_element : other.params) { + __this__params + .add(new com.cinchapi.concourse.thrift.ComplexTObject( + other_element)); + } + this.params = __this__params; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public invokePlugin_args deepCopy() { + return new invokePlugin_args(this); + } + + @Override + public void clear() { + this.id = null; + this.method = null; + this.params = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getId() { + return this.id; + } + + public invokePlugin_args setId(String id) { + this.id = id; + return this; + } + + public void unsetId() { + this.id = null; + } + + /** + * Returns true if field id is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetId() { + return this.id != null; + } + + public void setIdIsSet(boolean value) { + if(!value) { + this.id = null; + } + } + + public String getMethod() { + return this.method; + } + + public invokePlugin_args setMethod(String method) { + this.method = method; + return this; + } + + public void unsetMethod() { + this.method = null; + } + + /** + * Returns true if field method is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetMethod() { + return this.method != null; + } + + public void setMethodIsSet(boolean value) { + if(!value) { + this.method = null; + } + } + + public int getParamsSize() { + return (this.params == null) ? 0 : this.params.size(); + } + + public java.util.Iterator getParamsIterator() { + return (this.params == null) ? null : this.params.iterator(); + } + + public void addToParams( + com.cinchapi.concourse.thrift.ComplexTObject elem) { + if(this.params == null) { + this.params = new ArrayList(); + } + this.params.add(elem); + } + + public List getParams() { + return this.params; + } + + public invokePlugin_args setParams( + List params) { + this.params = params; + return this; + } + + public void unsetParams() { + this.params = null; + } + + /** + * Returns true if field params is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetParams() { + return this.params != null; + } + + public void setParamsIsSet(boolean value) { + if(!value) { + this.params = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public invokePlugin_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public invokePlugin_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public invokePlugin_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case ID: + if(value == null) { + unsetId(); + } + else { + setId((String) value); + } + break; + + case METHOD: + if(value == null) { + unsetMethod(); + } + else { + setMethod((String) value); + } + break; + + case PARAMS: + if(value == null) { + unsetParams(); + } + else { + setParams( + (List) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case ID: + return getId(); + + case METHOD: + return getMethod(); + + case PARAMS: + return getParams(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case ID: + return isSetId(); + case METHOD: + return isSetMethod(); + case PARAMS: + return isSetParams(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof invokePlugin_args) + return this.equals((invokePlugin_args) that); + return false; + } + + public boolean equals(invokePlugin_args that) { + if(that == null) + return false; + + boolean this_present_id = true && this.isSetId(); + boolean that_present_id = true && that.isSetId(); + if(this_present_id || that_present_id) { + if(!(this_present_id && that_present_id)) + return false; + if(!this.id.equals(that.id)) + return false; + } + + boolean this_present_method = true && this.isSetMethod(); + boolean that_present_method = true && that.isSetMethod(); + if(this_present_method || that_present_method) { + if(!(this_present_method && that_present_method)) + return false; + if(!this.method.equals(that.method)) + return false; + } + + boolean this_present_params = true && this.isSetParams(); + boolean that_present_params = true && that.isSetParams(); + if(this_present_params || that_present_params) { + if(!(this_present_params && that_present_params)) + return false; + if(!this.params.equals(that.params)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_id = true && (isSetId()); + list.add(present_id); + if(present_id) + list.add(id); + + boolean present_method = true && (isSetMethod()); + list.add(present_method); + if(present_method) + list.add(method); + + boolean present_params = true && (isSetParams()); + list.add(present_params); + if(present_params) + list.add(params); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(invokePlugin_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetId()) + .compareTo(other.isSetId()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetId()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.id, other.id); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetMethod()) + .compareTo(other.isSetMethod()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetMethod()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.method, other.method); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetParams()) + .compareTo(other.isSetParams()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetParams()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.params, other.params); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("invokePlugin_args("); + boolean first = true; + + sb.append("id:"); + if(this.id == null) { + sb.append("null"); + } + else { + sb.append(this.id); + } + first = false; + if(!first) + sb.append(", "); + sb.append("method:"); + if(this.method == null) { + sb.append("null"); + } + else { + sb.append(this.method); + } + first = false; + if(!first) + sb.append(", "); + sb.append("params:"); + if(this.params == null) { + sb.append("null"); + } + else { + sb.append(this.params); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class invokePlugin_argsStandardSchemeFactory + implements SchemeFactory { + public invokePlugin_argsStandardScheme getScheme() { + return new invokePlugin_argsStandardScheme(); + } + } + + private static class invokePlugin_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + invokePlugin_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // ID + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.id = iprot.readString(); + struct.setIdIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // METHOD + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.method = iprot.readString(); + struct.setMethodIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // PARAMS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list832 = iprot + .readListBegin(); + struct.params = new ArrayList( + _list832.size); + com.cinchapi.concourse.thrift.ComplexTObject _elem833; + for (int _i834 = 0; _i834 < _list832.size; ++_i834) { + _elem833 = new com.cinchapi.concourse.thrift.ComplexTObject(); + _elem833.read(iprot); + struct.params.add(_elem833); + } + iprot.readListEnd(); + } + struct.setParamsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + invokePlugin_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.id != null) { + oprot.writeFieldBegin(ID_FIELD_DESC); + oprot.writeString(struct.id); + oprot.writeFieldEnd(); + } + if(struct.method != null) { + oprot.writeFieldBegin(METHOD_FIELD_DESC); + oprot.writeString(struct.method); + oprot.writeFieldEnd(); + } + if(struct.params != null) { + oprot.writeFieldBegin(PARAMS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, + struct.params.size())); + for (com.cinchapi.concourse.thrift.ComplexTObject _iter835 : struct.params) { + _iter835.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class invokePlugin_argsTupleSchemeFactory + implements SchemeFactory { + public invokePlugin_argsTupleScheme getScheme() { + return new invokePlugin_argsTupleScheme(); + } + } + + private static class invokePlugin_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + invokePlugin_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetId()) { + optionals.set(0); + } + if(struct.isSetMethod()) { + optionals.set(1); + } + if(struct.isSetParams()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetId()) { + oprot.writeString(struct.id); + } + if(struct.isSetMethod()) { + oprot.writeString(struct.method); + } + if(struct.isSetParams()) { + { + oprot.writeI32(struct.params.size()); + for (com.cinchapi.concourse.thrift.ComplexTObject _iter836 : struct.params) { + _iter836.write(oprot); + } + } + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + invokePlugin_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.id = iprot.readString(); + struct.setIdIsSet(true); + } + if(incoming.get(1)) { + struct.method = iprot.readString(); + struct.setMethodIsSet(true); + } + if(incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + struct.params = new ArrayList( + _list837.size); + com.cinchapi.concourse.thrift.ComplexTObject _elem838; + for (int _i839 = 0; _i839 < _list837.size; ++_i839) { + _elem838 = new com.cinchapi.concourse.thrift.ComplexTObject(); + _elem838.read(iprot); + struct.params.add(_elem838); + } + } + struct.setParamsIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class invokePlugin_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "invokePlugin_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new invokePlugin_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new invokePlugin_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.ComplexTObject success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.ComplexTObject.class))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + invokePlugin_result.class, metaDataMap); + } + + public invokePlugin_result() {} + + public invokePlugin_result( + com.cinchapi.concourse.thrift.ComplexTObject success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.InvalidArgumentException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + } + + /** + * Performs a deep copy on other. + */ + public invokePlugin_result(invokePlugin_result other) { + if(other.isSetSuccess()) { + this.success = new com.cinchapi.concourse.thrift.ComplexTObject( + other.success); + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } + } + + public invokePlugin_result deepCopy() { + return new invokePlugin_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public com.cinchapi.concourse.thrift.ComplexTObject getSuccess() { + return this.success; + } + + public invokePlugin_result setSuccess( + com.cinchapi.concourse.thrift.ComplexTObject success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public invokePlugin_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public invokePlugin_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + return this.ex3; + } + + public invokePlugin_result setEx3( + com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public invokePlugin_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (com.cinchapi.concourse.thrift.ComplexTObject) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof invokePlugin_result) + return this.equals((invokePlugin_result) that); + return false; + } + + public boolean equals(invokePlugin_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + return list.hashCode(); + } + + @Override + public int compareTo(invokePlugin_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("invokePlugin_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(success != null) { + success.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class invokePlugin_resultStandardSchemeFactory + implements SchemeFactory { + public invokePlugin_resultStandardScheme getScheme() { + return new invokePlugin_resultStandardScheme(); + } + } + + private static class invokePlugin_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + invokePlugin_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new com.cinchapi.concourse.thrift.ComplexTObject(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + invokePlugin_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + struct.success.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class invokePlugin_resultTupleSchemeFactory + implements SchemeFactory { + public invokePlugin_resultTupleScheme getScheme() { + return new invokePlugin_resultTupleScheme(); + } + } + + private static class invokePlugin_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + invokePlugin_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + struct.success.write(oprot); + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + invokePlugin_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.success = new com.cinchapi.concourse.thrift.ComplexTObject(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + } + } + + } + + public static class login_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "login_args"); + + private static final org.apache.thrift.protocol.TField USERNAME_FIELD_DESC = new org.apache.thrift.protocol.TField( + "username", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField PASSWORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "password", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 3); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new login_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new login_argsTupleSchemeFactory()); + } + + public ByteBuffer username; // required + public ByteBuffer password; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + USERNAME((short) 1, "username"), + PASSWORD((short) 2, "password"), + ENVIRONMENT((short) 3, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // USERNAME + return USERNAME; + case 2: // PASSWORD + return PASSWORD; + case 3: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.USERNAME, + new org.apache.thrift.meta_data.FieldMetaData("username", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING, + true))); + tmpMap.put(_Fields.PASSWORD, + new org.apache.thrift.meta_data.FieldMetaData("password", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING, + true))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(login_args.class, metaDataMap); + } + + public login_args() {} + + public login_args(ByteBuffer username, ByteBuffer password, + String environment) { + this(); + this.username = org.apache.thrift.TBaseHelper.copyBinary(username); + this.password = org.apache.thrift.TBaseHelper.copyBinary(password); + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public login_args(login_args other) { + if(other.isSetUsername()) { + this.username = org.apache.thrift.TBaseHelper + .copyBinary(other.username); + } + if(other.isSetPassword()) { + this.password = org.apache.thrift.TBaseHelper + .copyBinary(other.password); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public login_args deepCopy() { + return new login_args(this); + } + + @Override + public void clear() { + this.username = null; + this.password = null; + this.environment = null; + } + + public byte[] getUsername() { + setUsername(org.apache.thrift.TBaseHelper.rightSize(username)); + return username == null ? null : username.array(); + } + + public ByteBuffer bufferForUsername() { + return org.apache.thrift.TBaseHelper.copyBinary(username); + } + + public login_args setUsername(byte[] username) { + this.username = username == null ? (ByteBuffer) null + : ByteBuffer.wrap(Arrays.copyOf(username, username.length)); + return this; + } + + public login_args setUsername(ByteBuffer username) { + this.username = org.apache.thrift.TBaseHelper.copyBinary(username); + return this; + } + + public void unsetUsername() { + this.username = null; + } + + /** + * Returns true if field username is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetUsername() { + return this.username != null; + } + + public void setUsernameIsSet(boolean value) { + if(!value) { + this.username = null; + } + } + + public byte[] getPassword() { + setPassword(org.apache.thrift.TBaseHelper.rightSize(password)); + return password == null ? null : password.array(); + } + + public ByteBuffer bufferForPassword() { + return org.apache.thrift.TBaseHelper.copyBinary(password); + } + + public login_args setPassword(byte[] password) { + this.password = password == null ? (ByteBuffer) null + : ByteBuffer.wrap(Arrays.copyOf(password, password.length)); + return this; + } + + public login_args setPassword(ByteBuffer password) { + this.password = org.apache.thrift.TBaseHelper.copyBinary(password); + return this; + } + + public void unsetPassword() { + this.password = null; + } + + /** + * Returns true if field password is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetPassword() { + return this.password != null; + } + + public void setPasswordIsSet(boolean value) { + if(!value) { + this.password = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public login_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case USERNAME: + if(value == null) { + unsetUsername(); + } + else { + setUsername((ByteBuffer) value); + } + break; + + case PASSWORD: + if(value == null) { + unsetPassword(); + } + else { + setPassword((ByteBuffer) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case USERNAME: + return getUsername(); + + case PASSWORD: + return getPassword(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case USERNAME: + return isSetUsername(); + case PASSWORD: + return isSetPassword(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof login_args) + return this.equals((login_args) that); + return false; + } + + public boolean equals(login_args that) { + if(that == null) + return false; + + boolean this_present_username = true && this.isSetUsername(); + boolean that_present_username = true && that.isSetUsername(); + if(this_present_username || that_present_username) { + if(!(this_present_username && that_present_username)) + return false; + if(!this.username.equals(that.username)) + return false; + } + + boolean this_present_password = true && this.isSetPassword(); + boolean that_present_password = true && that.isSetPassword(); + if(this_present_password || that_present_password) { + if(!(this_present_password && that_present_password)) + return false; + if(!this.password.equals(that.password)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_username = true && (isSetUsername()); + list.add(present_username); + if(present_username) + list.add(username); + + boolean present_password = true && (isSetPassword()); + list.add(present_password); + if(present_password) + list.add(password); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(login_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetUsername()) + .compareTo(other.isSetUsername()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetUsername()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.username, other.username); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPassword()) + .compareTo(other.isSetPassword()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetPassword()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.password, other.password); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("login_args("); + boolean first = true; + + sb.append("username:"); + if(this.username == null) { + sb.append("null"); + } + else { + org.apache.thrift.TBaseHelper.toString(this.username, sb); + } + first = false; + if(!first) + sb.append(", "); + sb.append("password:"); + if(this.password == null) { + sb.append("null"); + } + else { + org.apache.thrift.TBaseHelper.toString(this.password, sb); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class login_argsStandardSchemeFactory + implements SchemeFactory { + public login_argsStandardScheme getScheme() { + return new login_argsStandardScheme(); + } + } + + private static class login_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + login_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // USERNAME + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.username = iprot.readBinary(); + struct.setUsernameIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // PASSWORD + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.password = iprot.readBinary(); + struct.setPasswordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + login_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.username != null) { + oprot.writeFieldBegin(USERNAME_FIELD_DESC); + oprot.writeBinary(struct.username); + oprot.writeFieldEnd(); + } + if(struct.password != null) { + oprot.writeFieldBegin(PASSWORD_FIELD_DESC); + oprot.writeBinary(struct.password); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class login_argsTupleSchemeFactory + implements SchemeFactory { + public login_argsTupleScheme getScheme() { + return new login_argsTupleScheme(); + } + } + + private static class login_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + login_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetUsername()) { + optionals.set(0); + } + if(struct.isSetPassword()) { + optionals.set(1); + } + if(struct.isSetEnvironment()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetUsername()) { + oprot.writeBinary(struct.username); + } + if(struct.isSetPassword()) { + oprot.writeBinary(struct.password); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + login_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.username = iprot.readBinary(); + struct.setUsernameIsSet(true); + } + if(incoming.get(1)) { + struct.password = iprot.readBinary(); + struct.setPasswordIsSet(true); + } + if(incoming.get(2)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class login_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "login_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new login_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new login_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.AccessToken success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.PermissionException ex2; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(login_result.class, metaDataMap); + } + + public login_result() {} + + public login_result(com.cinchapi.concourse.thrift.AccessToken success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.PermissionException ex2) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + } + + /** + * Performs a deep copy on other. + */ + public login_result(login_result other) { + if(other.isSetSuccess()) { + this.success = new com.cinchapi.concourse.thrift.AccessToken( + other.success); + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex2); + } + } + + public login_result deepCopy() { + return new login_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + } + + public com.cinchapi.concourse.thrift.AccessToken getSuccess() { + return this.success; + } + + public login_result setSuccess( + com.cinchapi.concourse.thrift.AccessToken success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public login_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx2() { + return this.ex2; + } + + public login_result setEx2( + com.cinchapi.concourse.thrift.PermissionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof login_result) + return this.equals((login_result) that); + return false; + } + + public boolean equals(login_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + return list.hashCode(); + } + + @Override + public int compareTo(login_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("login_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(success != null) { + success.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class login_resultStandardSchemeFactory + implements SchemeFactory { + public login_resultStandardScheme getScheme() { + return new login_resultStandardScheme(); + } + } + + private static class login_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + login_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new com.cinchapi.concourse.thrift.AccessToken(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + login_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + struct.success.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class login_resultTupleSchemeFactory + implements SchemeFactory { + public login_resultTupleScheme getScheme() { + return new login_resultTupleScheme(); + } + } + + private static class login_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + login_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetSuccess()) { + struct.success.write(oprot); + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + login_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.success = new com.cinchapi.concourse.thrift.AccessToken(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + } + } + + } + + public static class logout_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "logout_args"); + + private static final org.apache.thrift.protocol.TField TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField( + "token", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 2); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new logout_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new logout_argsTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.AccessToken token; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + TOKEN((short) 1, "token"), ENVIRONMENT((short) 2, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // TOKEN + return TOKEN; + case 2: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.TOKEN, + new org.apache.thrift.meta_data.FieldMetaData("token", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(logout_args.class, metaDataMap); + } + + public logout_args() {} + + public logout_args(com.cinchapi.concourse.thrift.AccessToken token, + String environment) { + this(); + this.token = token; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public logout_args(logout_args other) { + if(other.isSetToken()) { + this.token = new com.cinchapi.concourse.thrift.AccessToken( + other.token); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public logout_args deepCopy() { + return new logout_args(this); + } + + @Override + public void clear() { + this.token = null; + this.environment = null; + } + + public com.cinchapi.concourse.thrift.AccessToken getToken() { + return this.token; + } + + public logout_args setToken( + com.cinchapi.concourse.thrift.AccessToken token) { + this.token = token; + return this; + } + + public void unsetToken() { + this.token = null; + } + + /** + * Returns true if field token is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetToken() { + return this.token != null; + } + + public void setTokenIsSet(boolean value) { + if(!value) { + this.token = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public logout_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case TOKEN: + if(value == null) { + unsetToken(); + } + else { + setToken((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case TOKEN: + return getToken(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case TOKEN: + return isSetToken(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof logout_args) + return this.equals((logout_args) that); + return false; + } + + public boolean equals(logout_args that) { + if(that == null) + return false; + + boolean this_present_token = true && this.isSetToken(); + boolean that_present_token = true && that.isSetToken(); + if(this_present_token || that_present_token) { + if(!(this_present_token && that_present_token)) + return false; + if(!this.token.equals(that.token)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_token = true && (isSetToken()); + list.add(present_token); + if(present_token) + list.add(token); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(logout_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetToken()) + .compareTo(other.isSetToken()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetToken()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.token, other.token); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("logout_args("); + boolean first = true; + + sb.append("token:"); + if(this.token == null) { + sb.append("null"); + } + else { + sb.append(this.token); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(token != null) { + token.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class logout_argsStandardSchemeFactory + implements SchemeFactory { + public logout_argsStandardScheme getScheme() { + return new logout_argsStandardScheme(); + } + } + + private static class logout_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + logout_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // TOKEN + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.token = new com.cinchapi.concourse.thrift.AccessToken(); + struct.token.read(iprot); + struct.setTokenIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + logout_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.token != null) { + oprot.writeFieldBegin(TOKEN_FIELD_DESC); + struct.token.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class logout_argsTupleSchemeFactory + implements SchemeFactory { + public logout_argsTupleScheme getScheme() { + return new logout_argsTupleScheme(); + } + } + + private static class logout_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + logout_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetToken()) { + optionals.set(0); + } + if(struct.isSetEnvironment()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if(struct.isSetToken()) { + struct.token.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + logout_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if(incoming.get(0)) { + struct.token = new com.cinchapi.concourse.thrift.AccessToken(); + struct.token.read(iprot); + struct.setTokenIsSet(true); + } + if(incoming.get(1)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class logout_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "logout_result"); + + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new logout_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new logout_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.PermissionException ex2; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + EX((short) 1, "ex"), EX2((short) 2, "ex2"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(logout_result.class, metaDataMap); + } + + public logout_result() {} + + public logout_result(com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.PermissionException ex2) { + this(); + this.ex = ex; + this.ex2 = ex2; + } + + /** + * Performs a deep copy on other. + */ + public logout_result(logout_result other) { + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex2); + } + } + + public logout_result deepCopy() { + return new logout_result(this); + } + + @Override + public void clear() { + this.ex = null; + this.ex2 = null; + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public logout_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx2() { + return this.ex2; + } + + public logout_result setEx2( + com.cinchapi.concourse.thrift.PermissionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case EX: + return getEx(); + + case EX2: + return getEx2(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof logout_result) + return this.equals((logout_result) that); + return false; + } + + public boolean equals(logout_result that) { + if(that == null) + return false; + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + return list.hashCode(); + } + + @Override + public int compareTo(logout_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("logout_result("); + boolean first = true; + + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class logout_resultStandardSchemeFactory + implements SchemeFactory { + public logout_resultStandardScheme getScheme() { + return new logout_resultStandardScheme(); + } + } + + private static class logout_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + logout_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + logout_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class logout_resultTupleSchemeFactory + implements SchemeFactory { + public logout_resultTupleScheme getScheme() { + return new logout_resultTupleScheme(); + } + } + + private static class logout_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + logout_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetEx()) { + optionals.set(0); + } + if(struct.isSetEx2()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + logout_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if(incoming.get(0)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(1)) { + struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + } + } + + } + + public static class stage_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "stage_args"); + + private static final org.apache.thrift.protocol.TField TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField( + "token", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 2); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new stage_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new stage_argsTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.AccessToken token; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + TOKEN((short) 1, "token"), ENVIRONMENT((short) 2, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // TOKEN + return TOKEN; + case 2: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.TOKEN, + new org.apache.thrift.meta_data.FieldMetaData("token", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(stage_args.class, metaDataMap); + } + + public stage_args() {} + + public stage_args(com.cinchapi.concourse.thrift.AccessToken token, + String environment) { + this(); + this.token = token; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public stage_args(stage_args other) { + if(other.isSetToken()) { + this.token = new com.cinchapi.concourse.thrift.AccessToken( + other.token); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public stage_args deepCopy() { + return new stage_args(this); + } + + @Override + public void clear() { + this.token = null; + this.environment = null; + } + + public com.cinchapi.concourse.thrift.AccessToken getToken() { + return this.token; + } + + public stage_args setToken( + com.cinchapi.concourse.thrift.AccessToken token) { + this.token = token; + return this; + } + + public void unsetToken() { + this.token = null; + } + + /** + * Returns true if field token is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetToken() { + return this.token != null; + } + + public void setTokenIsSet(boolean value) { + if(!value) { + this.token = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public stage_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case TOKEN: + if(value == null) { + unsetToken(); + } + else { + setToken((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case TOKEN: + return getToken(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case TOKEN: + return isSetToken(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof stage_args) + return this.equals((stage_args) that); + return false; + } + + public boolean equals(stage_args that) { + if(that == null) + return false; + + boolean this_present_token = true && this.isSetToken(); + boolean that_present_token = true && that.isSetToken(); + if(this_present_token || that_present_token) { + if(!(this_present_token && that_present_token)) + return false; + if(!this.token.equals(that.token)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_token = true && (isSetToken()); + list.add(present_token); + if(present_token) + list.add(token); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(stage_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetToken()) + .compareTo(other.isSetToken()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetToken()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.token, other.token); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("stage_args("); + boolean first = true; + + sb.append("token:"); + if(this.token == null) { + sb.append("null"); + } + else { + sb.append(this.token); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(token != null) { + token.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class stage_argsStandardSchemeFactory + implements SchemeFactory { + public stage_argsStandardScheme getScheme() { + return new stage_argsStandardScheme(); + } + } + + private static class stage_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + stage_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // TOKEN + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.token = new com.cinchapi.concourse.thrift.AccessToken(); + struct.token.read(iprot); + struct.setTokenIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + stage_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.token != null) { + oprot.writeFieldBegin(TOKEN_FIELD_DESC); + struct.token.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class stage_argsTupleSchemeFactory + implements SchemeFactory { + public stage_argsTupleScheme getScheme() { + return new stage_argsTupleScheme(); + } + } + + private static class stage_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + stage_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetToken()) { + optionals.set(0); + } + if(struct.isSetEnvironment()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if(struct.isSetToken()) { + struct.token.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + stage_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(2); + if(incoming.get(0)) { + struct.token = new com.cinchapi.concourse.thrift.AccessToken(); + struct.token.read(iprot); + struct.setTokenIsSet(true); + } + if(incoming.get(1)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class stage_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "stage_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new stage_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new stage_resultTupleSchemeFactory()); + } + + public com.cinchapi.concourse.thrift.TransactionToken success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.PermissionException ex2; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(stage_result.class, metaDataMap); + } + + public stage_result() {} + + public stage_result( + com.cinchapi.concourse.thrift.TransactionToken success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.PermissionException ex2) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + } + + /** + * Performs a deep copy on other. + */ + public stage_result(stage_result other) { + if(other.isSetSuccess()) { + this.success = new com.cinchapi.concourse.thrift.TransactionToken( + other.success); + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex2); + } + } + + public stage_result deepCopy() { + return new stage_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + } + + public com.cinchapi.concourse.thrift.TransactionToken getSuccess() { + return this.success; + } + + public stage_result setSuccess( + com.cinchapi.concourse.thrift.TransactionToken success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public stage_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx2() { + return this.ex2; + } + + public stage_result setEx2( + com.cinchapi.concourse.thrift.PermissionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof stage_result) + return this.equals((stage_result) that); + return false; + } + + public boolean equals(stage_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + return list.hashCode(); + } + + @Override + public int compareTo(stage_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("stage_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(success != null) { + success.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class stage_resultStandardSchemeFactory + implements SchemeFactory { + public stage_resultStandardScheme getScheme() { + return new stage_resultStandardScheme(); + } + } + + private static class stage_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + stage_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + stage_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + struct.success.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class stage_resultTupleSchemeFactory + implements SchemeFactory { + public stage_resultTupleScheme getScheme() { + return new stage_resultTupleScheme(); + } + } + + private static class stage_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + stage_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if(struct.isSetSuccess()) { + struct.success.write(oprot); + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + stage_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(3); + if(incoming.get(0)) { + struct.success = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + } + } + + } + + public static class insertJson_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "insertJson_args"); + + private static final org.apache.thrift.protocol.TField JSON_FIELD_DESC = new org.apache.thrift.protocol.TField( + "json", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 3); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 4); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new insertJson_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new insertJson_argsTupleSchemeFactory()); + } + + public String json; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + JSON((short) 1, "json"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // JSON + return JSON; + case 2: // CREDS + return CREDS; + case 3: // TRANSACTION + return TRANSACTION; + case 4: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.JSON, + new org.apache.thrift.meta_data.FieldMetaData("json", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(insertJson_args.class, metaDataMap); + } + + public insertJson_args() {} + + public insertJson_args(String json, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.json = json; + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public insertJson_args(insertJson_args other) { + if(other.isSetJson()) { + this.json = other.json; + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public insertJson_args deepCopy() { + return new insertJson_args(this); + } + + @Override + public void clear() { + this.json = null; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getJson() { + return this.json; + } + + public insertJson_args setJson(String json) { + this.json = json; + return this; + } + + public void unsetJson() { + this.json = null; + } + + /** + * Returns true if field json is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetJson() { + return this.json != null; + } + + public void setJsonIsSet(boolean value) { + if(!value) { + this.json = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public insertJson_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public insertJson_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public insertJson_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case JSON: + if(value == null) { + unsetJson(); + } + else { + setJson((String) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case JSON: + return getJson(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case JSON: + return isSetJson(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof insertJson_args) + return this.equals((insertJson_args) that); + return false; + } + + public boolean equals(insertJson_args that) { + if(that == null) + return false; + + boolean this_present_json = true && this.isSetJson(); + boolean that_present_json = true && that.isSetJson(); + if(this_present_json || that_present_json) { + if(!(this_present_json && that_present_json)) + return false; + if(!this.json.equals(that.json)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_json = true && (isSetJson()); + list.add(present_json); + if(present_json) + list.add(json); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(insertJson_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetJson()) + .compareTo(other.isSetJson()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetJson()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.json, other.json); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("insertJson_args("); + boolean first = true; + + sb.append("json:"); + if(this.json == null) { + sb.append("null"); + } + else { + sb.append(this.json); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class insertJson_argsStandardSchemeFactory + implements SchemeFactory { + public insertJson_argsStandardScheme getScheme() { + return new insertJson_argsStandardScheme(); + } + } + + private static class insertJson_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + insertJson_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // JSON + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.json = iprot.readString(); + struct.setJsonIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + insertJson_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.json != null) { + oprot.writeFieldBegin(JSON_FIELD_DESC); + oprot.writeString(struct.json); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class insertJson_argsTupleSchemeFactory + implements SchemeFactory { + public insertJson_argsTupleScheme getScheme() { + return new insertJson_argsTupleScheme(); + } + } + + private static class insertJson_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + insertJson_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetJson()) { + optionals.set(0); + } + if(struct.isSetCreds()) { + optionals.set(1); + } + if(struct.isSetTransaction()) { + optionals.set(2); + } + if(struct.isSetEnvironment()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetJson()) { + oprot.writeString(struct.json); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + insertJson_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if(incoming.get(0)) { + struct.json = iprot.readString(); + struct.setJsonIsSet(true); + } + if(incoming.get(1)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(2)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(3)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class insertJson_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "insertJson_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.SET, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField EX5_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex5", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new insertJson_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new insertJson_resultTupleSchemeFactory()); + } + + public Set success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.InvalidArgumentException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex5; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"), + EX5((short) 5, "ex5"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + case 5: // EX5 + return EX5; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX5, + new org.apache.thrift.meta_data.FieldMetaData("ex5", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(insertJson_result.class, metaDataMap); + } + + public insertJson_result() {} + + public insertJson_result(Set success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.InvalidArgumentException ex4, + com.cinchapi.concourse.thrift.PermissionException ex5) { + this(); + this.success = success; + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + this.ex5 = ex5; + } + + /** + * Performs a deep copy on other. + */ + public insertJson_result(insertJson_result other) { + if(other.isSetSuccess()) { + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; + } + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + other.ex4); + } + if(other.isSetEx5()) { + this.ex5 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex5); + } + } + + public insertJson_result deepCopy() { + return new insertJson_result(this); + } + + @Override + public void clear() { + this.success = null; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + this.ex5 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(long elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { + return this.success; + } + + public insertJson_result setSuccess(Set success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public insertJson_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public insertJson_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public insertJson_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.InvalidArgumentException getEx4() { + return this.ex4; + } + + public insertJson_result setEx4( + com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx5() { + return this.ex5; + } + + public insertJson_result setEx5( + com.cinchapi.concourse.thrift.PermissionException ex5) { + this.ex5 = ex5; + return this; + } + + public void unsetEx5() { + this.ex5 = null; + } + + /** + * Returns true if field ex5 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx5() { + return this.ex5 != null; + } + + public void setEx5IsSet(boolean value) { + if(!value) { + this.ex5 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Set) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + } + break; + + case EX5: + if(value == null) { + unsetEx5(); + } + else { + setEx5((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + case EX: + return getEx(); + + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + case EX5: + return getEx5(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + case EX5: + return isSetEx5(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof insertJson_result) + return this.equals((insertJson_result) that); + return false; + } + + public boolean equals(insertJson_result that) { + if(that == null) + return false; + + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; + } + + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + boolean this_present_ex5 = true && this.isSetEx5(); + boolean that_present_ex5 = true && that.isSetEx5(); + if(this_present_ex5 || that_present_ex5) { + if(!(this_present_ex5 && that_present_ex5)) + return false; + if(!this.ex5.equals(that.ex5)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); + + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + boolean present_ex5 = true && (isSetEx5()); + list.add(present_ex5); + if(present_ex5) + list.add(ex5); + + return list.hashCode(); + } + + @Override + public int compareTo(insertJson_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx5()) + .compareTo(other.isSetEx5()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx5()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex5, other.ex5); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("insertJson_result("); + boolean first = true; + + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex5:"); + if(this.ex5 == null) { + sb.append("null"); + } + else { + sb.append(this.ex5); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class insertJson_resultStandardSchemeFactory + implements SchemeFactory { + public insertJson_resultStandardScheme getScheme() { + return new insertJson_resultStandardScheme(); + } + } + + private static class insertJson_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + insertJson_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set840 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set840.size); + long _elem841; + for (int _i842 = 0; _i842 < _set840.size; ++_i842) { + _elem841 = iprot.readI64(); + struct.success.add(_elem841); + } + iprot.readSetEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // EX5 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex5.read(iprot); + struct.setEx5IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + insertJson_result struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + struct.success.size())); + for (long _iter843 : struct.success) { + oprot.writeI64(_iter843); + } + oprot.writeSetEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex5 != null) { + oprot.writeFieldBegin(EX5_FIELD_DESC); + struct.ex5.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class insertJson_resultTupleSchemeFactory + implements SchemeFactory { + public insertJson_resultTupleScheme getScheme() { + return new insertJson_resultTupleScheme(); + } + } + + private static class insertJson_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + insertJson_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + if(struct.isSetEx5()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (long _iter844 : struct.success) { + oprot.writeI64(_iter844); + } + } + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + if(struct.isSetEx5()) { + struct.ex5.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + insertJson_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + { + org.apache.thrift.protocol.TSet _set845 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set845.size); + long _elem846; + for (int _i847 = 0; _i847 < _set845.size; ++_i847) { + _elem846 = iprot.readI64(); + struct.success.add(_elem846); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + if(incoming.get(5)) { + struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex5.read(iprot); + struct.setEx5IsSet(true); + } + } + } + + } + + public static class insertJsonRecord_args implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "insertJsonRecord_args"); + + private static final org.apache.thrift.protocol.TField JSON_FIELD_DESC = new org.apache.thrift.protocol.TField( + "json", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 4); + private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( + "environment", org.apache.thrift.protocol.TType.STRING, + (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new insertJsonRecord_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new insertJsonRecord_argsTupleSchemeFactory()); + } + + public String json; // required + public long record; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required + public String environment; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + JSON((short) 1, "json"), + RECORD((short) 2, "record"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // JSON + return JSON; + case 2: // RECORD + return RECORD; + case 3: // CREDS + return CREDS; + case 4: // TRANSACTION + return TRANSACTION; + case 5: // ENVIRONMENT + return ENVIRONMENT; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.JSON, + new org.apache.thrift.meta_data.FieldMetaData("json", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); + tmpMap.put(_Fields.ENVIRONMENT, + new org.apache.thrift.meta_data.FieldMetaData("environment", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + insertJsonRecord_args.class, metaDataMap); + } + + public insertJsonRecord_args() {} + + public insertJsonRecord_args(String json, long record, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, + String environment) { + this(); + this.json = json; + this.record = record; + setRecordIsSet(true); + this.creds = creds; + this.transaction = transaction; + this.environment = environment; + } + + /** + * Performs a deep copy on other. + */ + public insertJsonRecord_args(insertJsonRecord_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetJson()) { + this.json = other.json; + } + this.record = other.record; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); + } + if(other.isSetEnvironment()) { + this.environment = other.environment; + } + } + + public insertJsonRecord_args deepCopy() { + return new insertJsonRecord_args(this); + } + + @Override + public void clear() { + this.json = null; + setRecordIsSet(false); + this.record = 0; + this.creds = null; + this.transaction = null; + this.environment = null; + } + + public String getJson() { + return this.json; + } + + public insertJsonRecord_args setJson(String json) { + this.json = json; + return this; + } + + public void unsetJson() { + this.json = null; + } + + /** + * Returns true if field json is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetJson() { + return this.json != null; + } + + public void setJsonIsSet(boolean value) { + if(!value) { + this.json = null; + } + } + + public long getRecord() { + return this.record; + } + + public insertJsonRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public insertJsonRecord_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public insertJsonRecord_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; + } + } + + public String getEnvironment() { + return this.environment; + } + + public insertJsonRecord_args setEnvironment(String environment) { + this.environment = environment; + return this; + } + + public void unsetEnvironment() { + this.environment = null; + } + + /** + * Returns true if field environment is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetEnvironment() { + return this.environment != null; + } + + public void setEnvironmentIsSet(boolean value) { + if(!value) { + this.environment = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case JSON: + if(value == null) { + unsetJson(); + } + else { + setJson((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); + } + break; + + case ENVIRONMENT: + if(value == null) { + unsetEnvironment(); + } + else { + setEnvironment((String) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case JSON: + return getJson(); + + case RECORD: + return getRecord(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); + + case ENVIRONMENT: + return getEnvironment(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case JSON: + return isSetJson(); + case RECORD: + return isSetRecord(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); + case ENVIRONMENT: + return isSetEnvironment(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof insertJsonRecord_args) + return this.equals((insertJsonRecord_args) that); + return false; + } + + public boolean equals(insertJsonRecord_args that) { + if(that == null) + return false; + + boolean this_present_json = true && this.isSetJson(); + boolean that_present_json = true && that.isSetJson(); + if(this_present_json || that_present_json) { + if(!(this_present_json && that_present_json)) + return false; + if(!this.json.equals(that.json)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) + return false; + } + + boolean this_present_environment = true && this.isSetEnvironment(); + boolean that_present_environment = true && that.isSetEnvironment(); + if(this_present_environment || that_present_environment) { + if(!(this_present_environment && that_present_environment)) + return false; + if(!this.environment.equals(that.environment)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_json = true && (isSetJson()); + list.add(present_json); + if(present_json) + list.add(json); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); + + boolean present_environment = true && (isSetEnvironment()); + list.add(present_environment); + if(present_environment) + list.add(environment); + + return list.hashCode(); + } + + @Override + public int compareTo(insertJsonRecord_args other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetJson()) + .compareTo(other.isSetJson()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetJson()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.json, other.json); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEnvironment()) + .compareTo(other.isSetEnvironment()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEnvironment()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.environment, other.environment); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("insertJsonRecord_args("); + boolean first = true; + + sb.append("json:"); + if(this.json == null) { + sb.append("null"); + } + else { + sb.append(this.json); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); + } + first = false; + if(!first) + sb.append(", "); + sb.append("environment:"); + if(this.environment == null) { + sb.append("null"); + } + else { + sb.append(this.environment); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class insertJsonRecord_argsStandardSchemeFactory + implements SchemeFactory { + public insertJsonRecord_argsStandardScheme getScheme() { + return new insertJsonRecord_argsStandardScheme(); + } + } + + private static class insertJsonRecord_argsStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + insertJsonRecord_args struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // JSON + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.json = iprot.readString(); + struct.setJsonIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ENVIRONMENT + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + insertJsonRecord_args struct) + throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.json != null) { + oprot.writeFieldBegin(JSON_FIELD_DESC); + oprot.writeString(struct.json); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.environment != null) { + oprot.writeFieldBegin(ENVIRONMENT_FIELD_DESC); + oprot.writeString(struct.environment); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class insertJsonRecord_argsTupleSchemeFactory + implements SchemeFactory { + public insertJsonRecord_argsTupleScheme getScheme() { + return new insertJsonRecord_argsTupleScheme(); + } + } + + private static class insertJsonRecord_argsTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + insertJsonRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetJson()) { + optionals.set(0); + } + if(struct.isSetRecord()) { + optionals.set(1); + } + if(struct.isSetCreds()) { + optionals.set(2); + } + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetJson()) { + oprot.writeString(struct.json); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); + } + if(struct.isSetEnvironment()) { + oprot.writeString(struct.environment); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + insertJsonRecord_args struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(5); + if(incoming.get(0)) { + struct.json = iprot.readString(); + struct.setJsonIsSet(true); + } + if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(3)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(4)) { + struct.environment = iprot.readString(); + struct.setEnvironmentIsSet(true); + } + } + } + + } + + public static class insertJsonRecord_result implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "insertJsonRecord_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); + private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField EX5_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex5", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + + private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new insertJsonRecord_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new insertJsonRecord_resultTupleSchemeFactory()); + } + + public boolean success; // required + public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.InvalidArgumentException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex5; // required + + /** + * The set of fields this struct contains, along with convenience + * methods for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"), + EX5((short) 5, "ex5"); + + private static final Map byName = new LinkedHashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its + * not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; + case 1: // EX + return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + case 5: // EX5 + return EX5; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an + * exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.EX, + new org.apache.thrift.meta_data.FieldMetaData("ex", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX5, + new org.apache.thrift.meta_data.FieldMetaData("ex5", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + insertJsonRecord_result.class, metaDataMap); + } + + public insertJsonRecord_result() {} + + public insertJsonRecord_result(boolean success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.InvalidArgumentException ex4, + com.cinchapi.concourse.thrift.PermissionException ex5) { + this(); + this.success = success; + setSuccessIsSet(true); + this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + this.ex5 = ex5; + } + + /** + * Performs a deep copy on other. + */ + public insertJsonRecord_result(insertJsonRecord_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; + if(other.isSetEx()) { + this.ex = new com.cinchapi.concourse.thrift.SecurityException( + other.ex); + } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + other.ex4); + } + if(other.isSetEx5()) { + this.ex5 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex5); + } + } + + public insertJsonRecord_result deepCopy() { + return new insertJsonRecord_result(this); + } + + @Override + public void clear() { + setSuccessIsSet(false); + this.success = false; + this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + this.ex5 = null; + } + + public boolean isSuccess() { + return this.success; + } + + public insertJsonRecord_result setSuccess(boolean success) { + this.success = success; + setSuccessIsSet(true); + return this; + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __SUCCESS_ISSET_ID); + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __SUCCESS_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.SecurityException getEx() { + return this.ex; + } + + public insertJsonRecord_result setEx( + com.cinchapi.concourse.thrift.SecurityException ex) { + this.ex = ex; + return this; + } + + public void unsetEx() { + this.ex = null; + } + + /** + * Returns true if field ex is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetEx() { + return this.ex != null; + } + + public void setExIsSet(boolean value) { + if(!value) { + this.ex = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public insertJsonRecord_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public insertJsonRecord_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.InvalidArgumentException getEx4() { + return this.ex4; + } + + public insertJsonRecord_result setEx4( + com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx5() { + return this.ex5; + } + + public insertJsonRecord_result setEx5( + com.cinchapi.concourse.thrift.PermissionException ex5) { + this.ex5 = ex5; + return this; + } + + public void unsetEx5() { + this.ex5 = null; + } + + /** + * Returns true if field ex5 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx5() { + return this.ex5 != null; + } + + public void setEx5IsSet(boolean value) { + if(!value) { + this.ex5 = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Boolean) value); + } + break; + + case EX: + if(value == null) { + unsetEx(); + } + else { + setEx((com.cinchapi.concourse.thrift.SecurityException) value); + } + break; + + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + } + break; + + case EX5: + if(value == null) { + unsetEx5(); + } + else { + setEx5((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + } } - public static class navigateKeysCriteria extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysCriteria() { - super("navigateKeysCriteria"); - } + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return isSuccess(); - public navigateKeysCriteria_args getEmptyArgsInstance() { - return new navigateKeysCriteria_args(); - } + case EX: + return getEx(); - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - navigateKeysCriteria_result result = new navigateKeysCriteria_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } + case EX2: + return getEx2(); - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - navigateKeysCriteria_result result = new navigateKeysCriteria_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; - } + case EX3: + return getEx3(); - protected boolean isOneway() { - return false; - } + case EX4: + return getEx4(); + + case EX5: + return getEx5(); - public void start(I iface, navigateKeysCriteria_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.navigateKeysCriteria(args.keys, args.criteria, args.creds, - args.transaction, args.environment, resultHandler); } + throw new IllegalStateException(); } - public static class navigateKeysCriteriaTime - extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysCriteriaTime() { - super("navigateKeysCriteriaTime"); + /** + * Returns true if field corresponding to fieldID is set (has been + * assigned a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); } - public navigateKeysCriteriaTime_args getEmptyArgsInstance() { - return new navigateKeysCriteriaTime_args(); + switch (field) { + case SUCCESS: + return isSetSuccess(); + case EX: + return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + case EX5: + return isSetEx5(); } + throw new IllegalStateException(); + } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - navigateKeysCriteriaTime_result result = new navigateKeysCriteriaTime_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - navigateKeysCriteriaTime_result result = new navigateKeysCriteriaTime_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; - } + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof insertJsonRecord_result) + return this.equals((insertJsonRecord_result) that); + return false; + } - protected boolean isOneway() { + public boolean equals(insertJsonRecord_result that) { + if(that == null) return false; - } - public void start(I iface, navigateKeysCriteriaTime_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.navigateKeysCriteriaTime(args.keys, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + boolean this_present_success = true; + boolean that_present_success = true; + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(this.success != that.success) + return false; } - } - public static class navigateKeysCriteriaTimestr - extends - org.apache.thrift.AsyncProcessFunction>>> { - public navigateKeysCriteriaTimestr() { - super("navigateKeysCriteriaTimestr"); + boolean this_present_ex = true && this.isSetEx(); + boolean that_present_ex = true && that.isSetEx(); + if(this_present_ex || that_present_ex) { + if(!(this_present_ex && that_present_ex)) + return false; + if(!this.ex.equals(that.ex)) + return false; } - public navigateKeysCriteriaTimestr_args getEmptyArgsInstance() { - return new navigateKeysCriteriaTimestr_args(); + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; } - public AsyncMethodCallback>>> getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>>>() { - public void onComplete( - Map>> o) { - navigateKeysCriteriaTimestr_result result = new navigateKeysCriteriaTimestr_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - navigateKeysCriteriaTimestr_result result = new navigateKeysCriteriaTimestr_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; } - protected boolean isOneway() { - return false; + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; } - public void start(I iface, navigateKeysCriteriaTimestr_args args, - org.apache.thrift.async.AsyncMethodCallback>>> resultHandler) - throws TException { - iface.navigateKeysCriteriaTimestr(args.keys, args.criteria, - args.timestamp, args.creds, args.transaction, - args.environment, resultHandler); + boolean this_present_ex5 = true && this.isSetEx5(); + boolean that_present_ex5 = true && that.isSetEx5(); + if(this_present_ex5 || that_present_ex5) { + if(!(this_present_ex5 && that_present_ex5)) + return false; + if(!this.ex5.equals(that.ex5)) + return false; } + + return true; } - public static class getServerEnvironment extends - org.apache.thrift.AsyncProcessFunction { - public getServerEnvironment() { - super("getServerEnvironment"); - } + @Override + public int hashCode() { + List list = new ArrayList(); - public getServerEnvironment_args getEmptyArgsInstance() { - return new getServerEnvironment_args(); - } + boolean present_success = true; + list.add(present_success); + if(present_success) + list.add(success); - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(String o) { - getServerEnvironment_result result = new getServerEnvironment_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } + boolean present_ex = true && (isSetEx()); + list.add(present_ex); + if(present_ex) + list.add(ex); - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - getServerEnvironment_result result = new getServerEnvironment_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; - } + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); - protected boolean isOneway() { - return false; - } + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); - public void start(I iface, getServerEnvironment_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.getServerEnvironment(args.creds, args.token, - args.environment, resultHandler); - } - } + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); - public static class getServerVersion extends - org.apache.thrift.AsyncProcessFunction { - public getServerVersion() { - super("getServerVersion"); - } + boolean present_ex5 = true && (isSetEx5()); + list.add(present_ex5); + if(present_ex5) + list.add(ex5); - public getServerVersion_args getEmptyArgsInstance() { - return new getServerVersion_args(); + return list.hashCode(); + } + + @Override + public int compareTo(insertJsonRecord_result other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName() + .compareTo(other.getClass().getName()); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(String o) { - getServerVersion_result result = new getServerVersion_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } + int lastComparison = 0; - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - getServerVersion_result result = new getServerVersion_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; } - - protected boolean isOneway() { - return false; + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } } - - public void start(I iface, getServerVersion_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.getServerVersion(resultHandler); + lastComparison = Boolean.valueOf(isSetEx()) + .compareTo(other.isSetEx()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex, other.ex); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx5()) + .compareTo(other.isSetEx5()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx5()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex5, other.ex5); + if(lastComparison != 0) { + return lastComparison; + } } + return 0; } - public static class time extends - org.apache.thrift.AsyncProcessFunction { - public time() { - super("time"); - } + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } - public time_args getEmptyArgsInstance() { - return new time_args(); - } + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - time_result result = new time_result(); - result.success = o; - result.setSuccessIsSet(true); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - time_result result = new time_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex3 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx3IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; - } + @Override + public String toString() { + StringBuilder sb = new StringBuilder("insertJsonRecord_result("); + boolean first = true; - protected boolean isOneway() { - return false; + sb.append("success:"); + sb.append(this.success); + first = false; + if(!first) + sb.append(", "); + sb.append("ex:"); + if(this.ex == null) { + sb.append("null"); + } + else { + sb.append(this.ex); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex5:"); + if(this.ex5 == null) { + sb.append("null"); + } + else { + sb.append(this.ex5); } + first = false; + sb.append(")"); + return sb.toString(); + } - public void start(I iface, time_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.time(args.creds, args.token, args.environment, - resultHandler); + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); } } - public static class timePhrase extends - org.apache.thrift.AsyncProcessFunction { - public timePhrase() { - super("timePhrase"); + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport( + in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); } + } - public timePhrase_args getEmptyArgsInstance() { - return new timePhrase_args(); + private static class insertJsonRecord_resultStandardSchemeFactory + implements SchemeFactory { + public insertJsonRecord_resultStandardScheme getScheme() { + return new insertJsonRecord_resultStandardScheme(); } + } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(Long o) { - timePhrase_result result = new timePhrase_result(); - result.success = o; - result.setSuccessIsSet(true); - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; + private static class insertJsonRecord_resultStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + insertJsonRecord_result struct) + throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); } - fb.close(); - } - - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - timePhrase_result result = new timePhrase_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; + break; + case 1: // EX + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); } - else if(e instanceof com.cinchapi.concourse.thrift.TransactionException) { - result.ex2 = (com.cinchapi.concourse.thrift.TransactionException) e; - result.setEx2IsSet(true); - msg = result; + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); } - else if(e instanceof com.cinchapi.concourse.thrift.ParseException) { - result.ex3 = (com.cinchapi.concourse.thrift.ParseException) e; - result.setEx3IsSet(true); - msg = result; + break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); } - else if(e instanceof com.cinchapi.concourse.thrift.PermissionException) { - result.ex4 = (com.cinchapi.concourse.thrift.PermissionException) e; - result.setEx4IsSet(true); - msg = result; + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); } else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); } - fb.close(); + break; + case 5: // EX5 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex5.read(iprot); + struct.setEx5IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); } - }; - } - - protected boolean isOneway() { - return false; - } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); - public void start(I iface, timePhrase_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.timePhrase(args.phrase, args.creds, args.token, - args.environment, resultHandler); + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); } - } - public static class invokeManagement extends - org.apache.thrift.AsyncProcessFunction { - public invokeManagement() { - super("invokeManagement"); - } + public void write(org.apache.thrift.protocol.TProtocol oprot, + insertJsonRecord_result struct) + throws org.apache.thrift.TException { + struct.validate(); - public invokeManagement_args getEmptyArgsInstance() { - return new invokeManagement_args(); + oprot.writeStructBegin(STRUCT_DESC); + if(struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } + if(struct.ex != null) { + oprot.writeFieldBegin(EX_FIELD_DESC); + struct.ex.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex5 != null) { + oprot.writeFieldBegin(EX5_FIELD_DESC); + struct.ex5.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); } - public AsyncMethodCallback getResultHandler( - final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete( - com.cinchapi.concourse.thrift.ComplexTObject o) { - invokeManagement_result result = new invokeManagement_result(); - result.success = o; - try { - fcall.sendResponse(fb, result, - org.apache.thrift.protocol.TMessageType.REPLY, - seqid); - return; - } - catch (Exception e) { - LOGGER.error( - "Exception writing to internal frame buffer", - e); - } - fb.close(); - } + } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - invokeManagement_result result = new invokeManagement_result(); - if(e instanceof com.cinchapi.concourse.thrift.SecurityException) { - result.ex = (com.cinchapi.concourse.thrift.SecurityException) e; - result.setExIsSet(true); - msg = result; - } - else if(e instanceof com.cinchapi.concourse.thrift.ManagementException) { - result.ex2 = (com.cinchapi.concourse.thrift.ManagementException) e; - result.setEx2IsSet(true); - msg = result; - } - else { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase) new org.apache.thrift.TApplicationException( - org.apache.thrift.TApplicationException.INTERNAL_ERROR, - e.getMessage()); - } - try { - fcall.sendResponse(fb, msg, msgType, seqid); - return; - } - catch (Exception ex) { - LOGGER.error( - "Exception writing to internal frame buffer", - ex); - } - fb.close(); - } - }; + private static class insertJsonRecord_resultTupleSchemeFactory + implements SchemeFactory { + public insertJsonRecord_resultTupleScheme getScheme() { + return new insertJsonRecord_resultTupleScheme(); } + } - protected boolean isOneway() { - return false; + private static class insertJsonRecord_resultTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + insertJsonRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if(struct.isSetSuccess()) { + optionals.set(0); + } + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + if(struct.isSetEx5()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetSuccess()) { + oprot.writeBool(struct.success); + } + if(struct.isSetEx()) { + struct.ex.write(oprot); + } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + if(struct.isSetEx5()) { + struct.ex5.write(oprot); + } } - public void start(I iface, invokeManagement_args args, - org.apache.thrift.async.AsyncMethodCallback resultHandler) - throws TException { - iface.invokeManagement(args.method, args.params, args.creds, - resultHandler); + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + insertJsonRecord_result struct) + throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(6); + if(incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { + struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); + struct.ex.read(iprot); + struct.setExIsSet(true); + } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + if(incoming.get(5)) { + struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex5.read(iprot); + struct.setEx5IsSet(true); + } } } } - public static class abort_args implements - org.apache.thrift.TBase, + public static class insertJsonRecords_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "abort_args"); + "insertJsonRecords_args"); + private static final org.apache.thrift.protocol.TField JSON_FIELD_DESC = new org.apache.thrift.protocol.TField( + "json", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 2); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 3); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new abort_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_argsTupleSchemeFactory()); + new insertJsonRecords_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new insertJsonRecords_argsTupleSchemeFactory()); } + public String json; // required + public List records; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -74117,9 +198545,11 @@ public static class abort_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CREDS((short) 1, "creds"), - TRANSACTION((short) 2, "transaction"), - ENVIRONMENT((short) 3, "environment"); + JSON((short) 1, "json"), + RECORDS((short) 2, "records"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -74135,11 +198565,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CREDS + case 1: // JSON + return JSON; + case 2: // RECORDS + return RECORDS; + case 3: // CREDS return CREDS; - case 2: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 3: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -74189,6 +198623,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.JSON, + new org.apache.thrift.meta_data.FieldMetaData("json", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -74207,16 +198653,19 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(abort_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + insertJsonRecords_args.class, metaDataMap); } - public abort_args() {} + public insertJsonRecords_args() {} - public abort_args(com.cinchapi.concourse.thrift.AccessToken creds, + public insertJsonRecords_args(String json, List records, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.json = json; + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -74225,7 +198674,14 @@ public abort_args(com.cinchapi.concourse.thrift.AccessToken creds, /** * Performs a deep copy on other. */ - public abort_args(abort_args other) { + public insertJsonRecords_args(insertJsonRecords_args other) { + if(other.isSetJson()) { + this.json = other.json; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -74239,22 +198695,93 @@ public abort_args(abort_args other) { } } - public abort_args deepCopy() { - return new abort_args(this); + public insertJsonRecords_args deepCopy() { + return new insertJsonRecords_args(this); } @Override public void clear() { + this.json = null; + this.records = null; this.creds = null; this.transaction = null; this.environment = null; } + public String getJson() { + return this.json; + } + + public insertJsonRecords_args setJson(String json) { + this.json = json; + return this; + } + + public void unsetJson() { + this.json = null; + } + + /** + * Returns true if field json is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetJson() { + return this.json != null; + } + + public void setJsonIsSet(boolean value) { + if(!value) { + this.json = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public insertJsonRecords_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public abort_args setCreds( + public insertJsonRecords_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -74282,7 +198809,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public abort_args setTransaction( + public insertJsonRecords_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -74310,7 +198837,7 @@ public String getEnvironment() { return this.environment; } - public abort_args setEnvironment(String environment) { + public insertJsonRecords_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -74335,6 +198862,24 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case JSON: + if(value == null) { + unsetJson(); + } + else { + setJson((String) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -74368,6 +198913,12 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case JSON: + return getJson(); + + case RECORDS: + return getRecords(); + case CREDS: return getCreds(); @@ -74391,6 +198942,10 @@ public boolean isSet(_Fields field) { } switch (field) { + case JSON: + return isSetJson(); + case RECORDS: + return isSetRecords(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -74405,15 +198960,33 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof abort_args) - return this.equals((abort_args) that); + if(that instanceof insertJsonRecords_args) + return this.equals((insertJsonRecords_args) that); return false; } - public boolean equals(abort_args that) { + public boolean equals(insertJsonRecords_args that) { if(that == null) return false; + boolean this_present_json = true && this.isSetJson(); + boolean that_present_json = true && that.isSetJson(); + if(this_present_json || that_present_json) { + if(!(this_present_json && that_present_json)) + return false; + if(!this.json.equals(that.json)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -74448,6 +199021,16 @@ public boolean equals(abort_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_json = true && (isSetJson()); + list.add(present_json); + if(present_json) + list.add(json); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -74467,7 +199050,7 @@ public int hashCode() { } @Override - public int compareTo(abort_args other) { + public int compareTo(insertJsonRecords_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -74475,6 +199058,30 @@ public int compareTo(abort_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetJson()) + .compareTo(other.isSetJson()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetJson()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.json, other.json); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -74530,9 +199137,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_args("); + StringBuilder sb = new StringBuilder("insertJsonRecords_args("); boolean first = true; + sb.append("json:"); + if(this.json == null) { + sb.append("null"); + } + else { + sb.append(this.json); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); sb.append("creds:"); if(this.creds == null) { sb.append("null"); @@ -74600,18 +199227,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class abort_argsStandardSchemeFactory + private static class insertJsonRecords_argsStandardSchemeFactory implements SchemeFactory { - public abort_argsStandardScheme getScheme() { - return new abort_argsStandardScheme(); + public insertJsonRecords_argsStandardScheme getScheme() { + return new insertJsonRecords_argsStandardScheme(); } } - private static class abort_argsStandardScheme - extends StandardScheme { + private static class insertJsonRecords_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - abort_args struct) throws org.apache.thrift.TException { + insertJsonRecords_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -74620,7 +199248,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CREDS + case 1: // JSON + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.json = iprot.readString(); + struct.setJsonIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list848 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list848.size); + long _elem849; + for (int _i850 = 0; _i850 < _list848.size; ++_i850) { + _elem849 = iprot.readI64(); + struct.records.add(_elem849); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -74631,7 +199290,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -74642,7 +199301,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -74666,10 +199325,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - abort_args struct) throws org.apache.thrift.TException { + insertJsonRecords_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.json != null) { + oprot.writeFieldBegin(JSON_FIELD_DESC); + oprot.writeString(struct.json); + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter851 : struct.records) { + oprot.writeI64(_iter851); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -74691,31 +199370,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class abort_argsTupleSchemeFactory + private static class insertJsonRecords_argsTupleSchemeFactory implements SchemeFactory { - public abort_argsTupleScheme getScheme() { - return new abort_argsTupleScheme(); + public insertJsonRecords_argsTupleScheme getScheme() { + return new insertJsonRecords_argsTupleScheme(); } } - private static class abort_argsTupleScheme - extends TupleScheme { + private static class insertJsonRecords_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - abort_args struct) throws org.apache.thrift.TException { + insertJsonRecords_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCreds()) { + if(struct.isSetJson()) { optionals.set(0); } - if(struct.isSetTransaction()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetTransaction()) { + optionals.set(3); + } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetJson()) { + oprot.writeString(struct.json); + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter852 : struct.records) { + oprot.writeI64(_iter852); + } + } + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -74729,20 +199426,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - abort_args struct) throws org.apache.thrift.TException { + insertJsonRecords_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { + struct.json = iprot.readString(); + struct.setJsonIsSet(true); + } + if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list853.size); + long _elem854; + for (int _i855 = 0; _i855 < _list853.size; ++_i855) { + _elem854 = iprot.readI64(); + struct.records.add(_elem854); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -74751,33 +199467,53 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class abort_result implements - org.apache.thrift.TBase, + public static class insertJsonRecords_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "abort_result"); + "insertJsonRecords_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField EX5_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex5", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new abort_resultStandardSchemeFactory()); + new insertJsonRecords_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new abort_resultTupleSchemeFactory()); + new insertJsonRecords_resultTupleSchemeFactory()); } + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.InvalidArgumentException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex5; // required /** * The set of fields this struct contains, along with convenience * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - EX((short) 1, "ex"); + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"), + EX5((short) 5, "ex5"); private static final Map byName = new LinkedHashMap(); @@ -74793,8 +199529,18 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; + case 2: // EX2 + return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; + case 5: // EX5 + return EX5; default: return null; } @@ -74843,48 +199589,150 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX2, + new org.apache.thrift.meta_data.FieldMetaData("ex2", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX5, + new org.apache.thrift.meta_data.FieldMetaData("ex5", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(abort_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + insertJsonRecords_result.class, metaDataMap); } - public abort_result() {} + public insertJsonRecords_result() {} - public abort_result( - com.cinchapi.concourse.thrift.SecurityException ex) { + public insertJsonRecords_result(Map success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.InvalidArgumentException ex4, + com.cinchapi.concourse.thrift.PermissionException ex5) { this(); + this.success = success; this.ex = ex; + this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; + this.ex5 = ex5; } /** * Performs a deep copy on other. */ - public abort_result(abort_result other) { + public insertJsonRecords_result(insertJsonRecords_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); } + if(other.isSetEx2()) { + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( + other.ex2); + } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + other.ex4); + } + if(other.isSetEx5()) { + this.ex5 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex5); + } } - public abort_result deepCopy() { - return new abort_result(this); + public insertJsonRecords_result deepCopy() { + return new insertJsonRecords_result(this); } @Override public void clear() { + this.success = null; this.ex = null; + this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + this.ex5 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, boolean val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { + return this.success; + } + + public insertJsonRecords_result setSuccess(Map success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public abort_result setEx( + public insertJsonRecords_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -74908,8 +199756,129 @@ public void setExIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TransactionException getEx2() { + return this.ex2; + } + + public insertJsonRecords_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { + this.ex2 = ex2; + return this; + } + + public void unsetEx2() { + this.ex2 = null; + } + + /** + * Returns true if field ex2 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx2() { + return this.ex2 != null; + } + + public void setEx2IsSet(boolean value) { + if(!value) { + this.ex2 = null; + } + } + + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public insertJsonRecords_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.InvalidArgumentException getEx4() { + return this.ex4; + } + + public insertJsonRecords_result setEx4( + com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx5() { + return this.ex5; + } + + public insertJsonRecords_result setEx5( + com.cinchapi.concourse.thrift.PermissionException ex5) { + this.ex5 = ex5; + return this; + } + + public void unsetEx5() { + this.ex5 = null; + } + + /** + * Returns true if field ex5 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx5() { + return this.ex5 != null; + } + + public void setEx5IsSet(boolean value) { + if(!value) { + this.ex5 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess((Map) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -74919,14 +199888,65 @@ public void setFieldValue(_Fields field, Object value) { } break; + case EX2: + if(value == null) { + unsetEx2(); + } + else { + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + } + break; + + case EX5: + if(value == null) { + unsetEx5(); + } + else { + setEx5((com.cinchapi.concourse.thrift.PermissionException) value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); + case EX2: + return getEx2(); + + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + + case EX5: + return getEx5(); + } throw new IllegalStateException(); } @@ -74941,8 +199961,18 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); + case EX2: + return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); + case EX5: + return isSetEx5(); } throw new IllegalStateException(); } @@ -74951,15 +199981,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof abort_result) - return this.equals((abort_result) that); + if(that instanceof insertJsonRecords_result) + return this.equals((insertJsonRecords_result) that); return false; } - public boolean equals(abort_result that) { + public boolean equals(insertJsonRecords_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -74969,6 +200008,42 @@ public boolean equals(abort_result that) { return false; } + boolean this_present_ex2 = true && this.isSetEx2(); + boolean that_present_ex2 = true && that.isSetEx2(); + if(this_present_ex2 || that_present_ex2) { + if(!(this_present_ex2 && that_present_ex2)) + return false; + if(!this.ex2.equals(that.ex2)) + return false; + } + + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + + boolean this_present_ex5 = true && this.isSetEx5(); + boolean that_present_ex5 = true && that.isSetEx5(); + if(this_present_ex5 || that_present_ex5) { + if(!(this_present_ex5 && that_present_ex5)) + return false; + if(!this.ex5.equals(that.ex5)) + return false; + } + return true; } @@ -74976,16 +200051,41 @@ public boolean equals(abort_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) list.add(ex); + boolean present_ex2 = true && (isSetEx2()); + list.add(present_ex2); + if(present_ex2) + list.add(ex2); + + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + + boolean present_ex5 = true && (isSetEx5()); + list.add(present_ex5); + if(present_ex5) + list.add(ex5); + return list.hashCode(); } @Override - public int compareTo(abort_result other) { + public int compareTo(insertJsonRecords_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -74993,6 +200093,18 @@ public int compareTo(abort_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -75005,6 +200117,54 @@ public int compareTo(abort_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx2()) + .compareTo(other.isSetEx2()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx2()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex2, other.ex2); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx5()) + .compareTo(other.isSetEx5()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx5()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex5, other.ex5); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -75024,9 +200184,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_result("); + StringBuilder sb = new StringBuilder("insertJsonRecords_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -75035,6 +200205,46 @@ public String toString() { sb.append(this.ex); } first = false; + if(!first) + sb.append(", "); + sb.append("ex2:"); + if(this.ex2 == null) { + sb.append("null"); + } + else { + sb.append(this.ex2); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex5:"); + if(this.ex5 == null) { + sb.append("null"); + } + else { + sb.append(this.ex5); + } + first = false; sb.append(")"); return sb.toString(); } @@ -75068,18 +200278,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class abort_resultStandardSchemeFactory + private static class insertJsonRecords_resultStandardSchemeFactory implements SchemeFactory { - public abort_resultStandardScheme getScheme() { - return new abort_resultStandardScheme(); + public insertJsonRecords_resultStandardScheme getScheme() { + return new insertJsonRecords_resultStandardScheme(); } } - private static class abort_resultStandardScheme - extends StandardScheme { + private static class insertJsonRecords_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - abort_result struct) throws org.apache.thrift.TException { + insertJsonRecords_result struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -75088,6 +200299,29 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map856 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map856.size); + long _key857; + boolean _val858; + for (int _i859 = 0; _i859 < _map856.size; ++_i859) { + _key857 = iprot.readI64(); + _val858 = iprot.readBool(); + struct.success.put(_key857, _val858); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -75099,6 +200333,50 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 2: // EX2 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // EX5 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex5.read(iprot); + struct.setEx5IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -75113,91 +200391,208 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - abort_result struct) throws org.apache.thrift.TException { + insertJsonRecords_result struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.BOOL, + struct.success.size())); + for (Map.Entry _iter860 : struct.success + .entrySet()) { + oprot.writeI64(_iter860.getKey()); + oprot.writeBool(_iter860.getValue()); + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex2 != null) { + oprot.writeFieldBegin(EX2_FIELD_DESC); + struct.ex2.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex5 != null) { + oprot.writeFieldBegin(EX5_FIELD_DESC); + struct.ex5.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class abort_resultTupleSchemeFactory + private static class insertJsonRecords_resultTupleSchemeFactory implements SchemeFactory { - public abort_resultTupleScheme getScheme() { - return new abort_resultTupleScheme(); + public insertJsonRecords_resultTupleScheme getScheme() { + return new insertJsonRecords_resultTupleScheme(); } } - private static class abort_resultTupleScheme - extends TupleScheme { + private static class insertJsonRecords_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - abort_result struct) throws org.apache.thrift.TException { + insertJsonRecords_result struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if(struct.isSetEx()) { + optionals.set(1); + } + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + if(struct.isSetEx5()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter861 : struct.success + .entrySet()) { + oprot.writeI64(_iter861.getKey()); + oprot.writeBool(_iter861.getValue()); + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } + if(struct.isSetEx2()) { + struct.ex2.write(oprot); + } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } + if(struct.isSetEx5()) { + struct.ex5.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - abort_result struct) throws org.apache.thrift.TException { + insertJsonRecords_result struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map862 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.BOOL, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map862.size); + long _key863; + boolean _val864; + for (int _i865 = 0; _i865 < _map862.size; ++_i865) { + _key863 = iprot.readI64(); + _val864 = iprot.readBool(); + struct.success.put(_key863, _val864); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); + struct.ex2.read(iprot); + struct.setEx2IsSet(true); + } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + if(incoming.get(5)) { + struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex5.read(iprot); + struct.setEx5IsSet(true); + } } } } - public static class addKeyValue_args implements - org.apache.thrift.TBase, + public static class removeKeyValueRecord_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "addKeyValue_args"); + "removeKeyValueRecord_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new addKeyValue_argsStandardSchemeFactory()); + new removeKeyValueRecord_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new addKeyValue_argsTupleSchemeFactory()); + new removeKeyValueRecord_argsTupleSchemeFactory()); } public String key; // required public com.cinchapi.concourse.thrift.TObject value; // required + public long record; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -75209,9 +200604,10 @@ public static class addKeyValue_args implements public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), VALUE((short) 2, "value"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + RECORD((short) 3, "record"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -75231,11 +200627,13 @@ public static _Fields findByThriftId(int fieldId) { return KEY; case 2: // VALUE return VALUE; - case 3: // CREDS + case 3: // RECORD + return RECORD; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -75281,6 +200679,8 @@ public String getFieldName() { } // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -75296,6 +200696,11 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -75314,20 +200719,22 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(addKeyValue_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + removeKeyValueRecord_args.class, metaDataMap); } - public addKeyValue_args() {} + public removeKeyValueRecord_args() {} - public addKeyValue_args(String key, - com.cinchapi.concourse.thrift.TObject value, + public removeKeyValueRecord_args(String key, + com.cinchapi.concourse.thrift.TObject value, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; this.value = value; + this.record = record; + setRecordIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -75336,7 +200743,8 @@ public addKeyValue_args(String key, /** * Performs a deep copy on other. */ - public addKeyValue_args(addKeyValue_args other) { + public removeKeyValueRecord_args(removeKeyValueRecord_args other) { + __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } @@ -75344,6 +200752,7 @@ public addKeyValue_args(addKeyValue_args other) { this.value = new com.cinchapi.concourse.thrift.TObject( other.value); } + this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -75357,14 +200766,16 @@ public addKeyValue_args(addKeyValue_args other) { } } - public addKeyValue_args deepCopy() { - return new addKeyValue_args(this); + public removeKeyValueRecord_args deepCopy() { + return new removeKeyValueRecord_args(this); } @Override public void clear() { this.key = null; this.value = null; + setRecordIsSet(false); + this.record = 0; this.creds = null; this.transaction = null; this.environment = null; @@ -75374,7 +200785,7 @@ public String getKey() { return this.key; } - public addKeyValue_args setKey(String key) { + public removeKeyValueRecord_args setKey(String key) { this.key = key; return this; } @@ -75401,7 +200812,7 @@ public com.cinchapi.concourse.thrift.TObject getValue() { return this.value; } - public addKeyValue_args setValue( + public removeKeyValueRecord_args setValue( com.cinchapi.concourse.thrift.TObject value) { this.value = value; return this; @@ -75425,11 +200836,39 @@ public void setValueIsSet(boolean value) { } } + public long getRecord() { + return this.record; + } + + public removeKeyValueRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public addKeyValue_args setCreds( + public removeKeyValueRecord_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -75457,7 +200896,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public addKeyValue_args setTransaction( + public removeKeyValueRecord_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -75485,7 +200924,7 @@ public String getEnvironment() { return this.environment; } - public addKeyValue_args setEnvironment(String environment) { + public removeKeyValueRecord_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -75528,6 +200967,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -75567,6 +201015,9 @@ public Object getFieldValue(_Fields field) { case VALUE: return getValue(); + case RECORD: + return getRecord(); + case CREDS: return getCreds(); @@ -75594,6 +201045,8 @@ public boolean isSet(_Fields field) { return isSetKey(); case VALUE: return isSetValue(); + case RECORD: + return isSetRecord(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -75608,12 +201061,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof addKeyValue_args) - return this.equals((addKeyValue_args) that); + if(that instanceof removeKeyValueRecord_args) + return this.equals((removeKeyValueRecord_args) that); return false; } - public boolean equals(addKeyValue_args that) { + public boolean equals(removeKeyValueRecord_args that) { if(that == null) return false; @@ -75635,6 +201088,15 @@ public boolean equals(addKeyValue_args that) { return false; } + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -75679,6 +201141,11 @@ public int hashCode() { if(present_value) list.add(value); + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -75698,7 +201165,7 @@ public int hashCode() { } @Override - public int compareTo(addKeyValue_args other) { + public int compareTo(removeKeyValueRecord_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -75730,6 +201197,18 @@ public int compareTo(addKeyValue_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -75785,7 +201264,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("addKeyValue_args("); + StringBuilder sb = new StringBuilder("removeKeyValueRecord_args("); boolean first = true; sb.append("key:"); @@ -75806,6 +201285,11 @@ public String toString() { sb.append(this.value); } first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -75869,6 +201353,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -75878,18 +201366,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class addKeyValue_argsStandardSchemeFactory + private static class removeKeyValueRecord_argsStandardSchemeFactory implements SchemeFactory { - public addKeyValue_argsStandardScheme getScheme() { - return new addKeyValue_argsStandardScheme(); + public removeKeyValueRecord_argsStandardScheme getScheme() { + return new removeKeyValueRecord_argsStandardScheme(); } } - private static class addKeyValue_argsStandardScheme - extends StandardScheme { + private static class removeKeyValueRecord_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - addKeyValue_args struct) + removeKeyValueRecord_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -75920,7 +201408,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -75931,7 +201429,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -75942,7 +201440,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -75966,7 +201464,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - addKeyValue_args struct) + removeKeyValueRecord_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -75981,6 +201479,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.value.write(oprot); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -76002,19 +201503,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class addKeyValue_argsTupleSchemeFactory + private static class removeKeyValueRecord_argsTupleSchemeFactory implements SchemeFactory { - public addKeyValue_argsTupleScheme getScheme() { - return new addKeyValue_argsTupleScheme(); + public removeKeyValueRecord_argsTupleScheme getScheme() { + return new removeKeyValueRecord_argsTupleScheme(); } } - private static class addKeyValue_argsTupleScheme - extends TupleScheme { + private static class removeKeyValueRecord_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - addKeyValue_args struct) + removeKeyValueRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -76024,22 +201525,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetValue()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetRecord()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); if(struct.isSetKey()) { oprot.writeString(struct.key); } if(struct.isSetValue()) { struct.value.write(oprot); } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -76053,10 +201560,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - addKeyValue_args struct) + removeKeyValueRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); @@ -76067,16 +201574,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setValueIsSet(true); } if(incoming.get(2)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -76085,16 +201596,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class addKeyValue_result implements - org.apache.thrift.TBase, + public static class removeKeyValueRecord_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "addKeyValue_result"); + "removeKeyValueRecord_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.I64, (short) 0); + "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -76107,12 +201618,12 @@ public static class addKeyValue_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new addKeyValue_resultStandardSchemeFactory()); + new removeKeyValueRecord_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new addKeyValue_resultTupleSchemeFactory()); + new removeKeyValueRecord_resultTupleSchemeFactory()); } - public long success; // required + public boolean success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required @@ -76207,7 +201718,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -76230,12 +201741,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - addKeyValue_result.class, metaDataMap); + removeKeyValueRecord_result.class, metaDataMap); } - public addKeyValue_result() {} + public removeKeyValueRecord_result() {} - public addKeyValue_result(long success, + public removeKeyValueRecord_result(boolean success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.InvalidArgumentException ex3, @@ -76252,7 +201763,7 @@ public addKeyValue_result(long success, /** * Performs a deep copy on other. */ - public addKeyValue_result(addKeyValue_result other) { + public removeKeyValueRecord_result(removeKeyValueRecord_result other) { __isset_bitfield = other.__isset_bitfield; this.success = other.success; if(other.isSetEx()) { @@ -76273,25 +201784,25 @@ public addKeyValue_result(addKeyValue_result other) { } } - public addKeyValue_result deepCopy() { - return new addKeyValue_result(this); + public removeKeyValueRecord_result deepCopy() { + return new removeKeyValueRecord_result(this); } @Override public void clear() { setSuccessIsSet(false); - this.success = 0; + this.success = false; this.ex = null; this.ex2 = null; this.ex3 = null; this.ex4 = null; } - public long getSuccess() { + public boolean isSuccess() { return this.success; } - public addKeyValue_result setSuccess(long success) { + public removeKeyValueRecord_result setSuccess(boolean success) { this.success = success; setSuccessIsSet(true); return this; @@ -76319,7 +201830,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public addKeyValue_result setEx( + public removeKeyValueRecord_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -76347,7 +201858,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public addKeyValue_result setEx2( + public removeKeyValueRecord_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -76375,7 +201886,7 @@ public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { return this.ex3; } - public addKeyValue_result setEx3( + public removeKeyValueRecord_result setEx3( com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { this.ex3 = ex3; return this; @@ -76403,7 +201914,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public addKeyValue_result setEx4( + public removeKeyValueRecord_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -76434,7 +201945,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Long) value); + setSuccess((Boolean) value); } break; @@ -76480,7 +201991,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return getSuccess(); + return isSuccess(); case EX: return getEx(); @@ -76526,12 +202037,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof addKeyValue_result) - return this.equals((addKeyValue_result) that); + if(that instanceof removeKeyValueRecord_result) + return this.equals((removeKeyValueRecord_result) that); return false; } - public boolean equals(addKeyValue_result that) { + public boolean equals(removeKeyValueRecord_result that) { if(that == null) return false; @@ -76616,7 +202127,7 @@ public int hashCode() { } @Override - public int compareTo(addKeyValue_result other) { + public int compareTo(removeKeyValueRecord_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -76703,7 +202214,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("addKeyValue_result("); + StringBuilder sb = new StringBuilder( + "removeKeyValueRecord_result("); boolean first = true; sb.append("success:"); @@ -76786,18 +202298,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class addKeyValue_resultStandardSchemeFactory + private static class removeKeyValueRecord_resultStandardSchemeFactory implements SchemeFactory { - public addKeyValue_resultStandardScheme getScheme() { - return new addKeyValue_resultStandardScheme(); + public removeKeyValueRecord_resultStandardScheme getScheme() { + return new removeKeyValueRecord_resultStandardScheme(); } } - private static class addKeyValue_resultStandardScheme - extends StandardScheme { + private static class removeKeyValueRecord_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - addKeyValue_result struct) + removeKeyValueRecord_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -76808,8 +202320,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.success = iprot.readI64(); + if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { @@ -76875,14 +202387,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - addKeyValue_result struct) + removeKeyValueRecord_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeI64(struct.success); + oprot.writeBool(struct.success); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -76911,19 +202423,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class addKeyValue_resultTupleSchemeFactory + private static class removeKeyValueRecord_resultTupleSchemeFactory implements SchemeFactory { - public addKeyValue_resultTupleScheme getScheme() { - return new addKeyValue_resultTupleScheme(); + public removeKeyValueRecord_resultTupleScheme getScheme() { + return new removeKeyValueRecord_resultTupleScheme(); } } - private static class addKeyValue_resultTupleScheme - extends TupleScheme { + private static class removeKeyValueRecord_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - addKeyValue_result struct) + removeKeyValueRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -76944,7 +202456,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, } oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - oprot.writeI64(struct.success); + oprot.writeBool(struct.success); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -76962,12 +202474,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - addKeyValue_result struct) + removeKeyValueRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.success = iprot.readI64(); + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -76995,20 +202507,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class addKeyValueRecord_args implements - org.apache.thrift.TBase, + public static class removeKeyValueRecords_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "addKeyValueRecord_args"); + "removeKeyValueRecords_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -77021,14 +202533,14 @@ public static class addKeyValueRecord_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new addKeyValueRecord_argsStandardSchemeFactory()); + new removeKeyValueRecords_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new addKeyValueRecord_argsTupleSchemeFactory()); + new removeKeyValueRecords_argsTupleSchemeFactory()); } public String key; // required public com.cinchapi.concourse.thrift.TObject value; // required - public long record; // required + public List records; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -77040,7 +202552,7 @@ public static class addKeyValueRecord_args implements public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), VALUE((short) 2, "value"), - RECORD((short) 3, "record"), + RECORDS((short) 3, "records"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -77063,8 +202575,8 @@ public static _Fields findByThriftId(int fieldId) { return KEY; case 2: // VALUE return VALUE; - case 3: // RECORD - return RECORD; + case 3: // RECORDS + return RECORDS; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -77115,8 +202627,6 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -77132,11 +202642,13 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -77156,21 +202668,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - addKeyValueRecord_args.class, metaDataMap); + removeKeyValueRecords_args.class, metaDataMap); } - public addKeyValueRecord_args() {} + public removeKeyValueRecords_args() {} - public addKeyValueRecord_args(String key, - com.cinchapi.concourse.thrift.TObject value, long record, + public removeKeyValueRecords_args(String key, + com.cinchapi.concourse.thrift.TObject value, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; this.value = value; - this.record = record; - setRecordIsSet(true); + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -77179,8 +202690,7 @@ public addKeyValueRecord_args(String key, /** * Performs a deep copy on other. */ - public addKeyValueRecord_args(addKeyValueRecord_args other) { - __isset_bitfield = other.__isset_bitfield; + public removeKeyValueRecords_args(removeKeyValueRecords_args other) { if(other.isSetKey()) { this.key = other.key; } @@ -77188,7 +202698,10 @@ public addKeyValueRecord_args(addKeyValueRecord_args other) { this.value = new com.cinchapi.concourse.thrift.TObject( other.value); } - this.record = other.record; + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -77202,16 +202715,15 @@ public addKeyValueRecord_args(addKeyValueRecord_args other) { } } - public addKeyValueRecord_args deepCopy() { - return new addKeyValueRecord_args(this); + public removeKeyValueRecords_args deepCopy() { + return new removeKeyValueRecords_args(this); } @Override public void clear() { this.key = null; this.value = null; - setRecordIsSet(false); - this.record = 0; + this.records = null; this.creds = null; this.transaction = null; this.environment = null; @@ -77221,7 +202733,7 @@ public String getKey() { return this.key; } - public addKeyValueRecord_args setKey(String key) { + public removeKeyValueRecords_args setKey(String key) { this.key = key; return this; } @@ -77248,7 +202760,7 @@ public com.cinchapi.concourse.thrift.TObject getValue() { return this.value; } - public addKeyValueRecord_args setValue( + public removeKeyValueRecords_args setValue( com.cinchapi.concourse.thrift.TObject value) { this.value = value; return this; @@ -77272,39 +202784,53 @@ public void setValueIsSet(boolean value) { } } - public long getRecord() { - return this.record; + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - public addKeyValueRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public removeKeyValueRecords_args setRecords(List records) { + this.records = records; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetRecords() { + this.records = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetRecords() { + return this.records != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public addKeyValueRecord_args setCreds( + public removeKeyValueRecords_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -77332,7 +202858,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public addKeyValueRecord_args setTransaction( + public removeKeyValueRecords_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -77360,7 +202886,7 @@ public String getEnvironment() { return this.environment; } - public addKeyValueRecord_args setEnvironment(String environment) { + public removeKeyValueRecords_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -77403,12 +202929,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORD: + case RECORDS: if(value == null) { - unsetRecord(); + unsetRecords(); } else { - setRecord((Long) value); + setRecords((List) value); } break; @@ -77451,8 +202977,8 @@ public Object getFieldValue(_Fields field) { case VALUE: return getValue(); - case RECORD: - return getRecord(); + case RECORDS: + return getRecords(); case CREDS: return getCreds(); @@ -77481,8 +203007,8 @@ public boolean isSet(_Fields field) { return isSetKey(); case VALUE: return isSetValue(); - case RECORD: - return isSetRecord(); + case RECORDS: + return isSetRecords(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -77497,12 +203023,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof addKeyValueRecord_args) - return this.equals((addKeyValueRecord_args) that); + if(that instanceof removeKeyValueRecords_args) + return this.equals((removeKeyValueRecords_args) that); return false; } - public boolean equals(addKeyValueRecord_args that) { + public boolean equals(removeKeyValueRecords_args that) { if(that == null) return false; @@ -77524,12 +203050,12 @@ public boolean equals(addKeyValueRecord_args that) { return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(this.record != that.record) + if(!this.records.equals(that.records)) return false; } @@ -77577,10 +203103,10 @@ public int hashCode() { if(present_value) list.add(value); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -77601,7 +203127,7 @@ public int hashCode() { } @Override - public int compareTo(addKeyValueRecord_args other) { + public int compareTo(removeKeyValueRecords_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -77633,14 +203159,14 @@ public int compareTo(addKeyValueRecord_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } @@ -77700,7 +203226,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("addKeyValueRecord_args("); + StringBuilder sb = new StringBuilder("removeKeyValueRecords_args("); boolean first = true; sb.append("key:"); @@ -77723,8 +203249,13 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } first = false; if(!first) sb.append(", "); @@ -77789,10 +203320,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -77802,18 +203329,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class addKeyValueRecord_argsStandardSchemeFactory + private static class removeKeyValueRecords_argsStandardSchemeFactory implements SchemeFactory { - public addKeyValueRecord_argsStandardScheme getScheme() { - return new addKeyValueRecord_argsStandardScheme(); + public removeKeyValueRecords_argsStandardScheme getScheme() { + return new removeKeyValueRecords_argsStandardScheme(); } } - private static class addKeyValueRecord_argsStandardScheme - extends StandardScheme { + private static class removeKeyValueRecords_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - addKeyValueRecord_args struct) + removeKeyValueRecords_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -77844,10 +203371,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 3: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list866 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list866.size); + long _elem867; + for (int _i868 = 0; _i868 < _list866.size; ++_i868) { + _elem867 = iprot.readI64(); + struct.records.add(_elem867); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -77900,7 +203438,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - addKeyValueRecord_args struct) + removeKeyValueRecords_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -77915,9 +203453,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.value.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter869 : struct.records) { + oprot.writeI64(_iter869); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -77939,19 +203488,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class addKeyValueRecord_argsTupleSchemeFactory + private static class removeKeyValueRecords_argsTupleSchemeFactory implements SchemeFactory { - public addKeyValueRecord_argsTupleScheme getScheme() { - return new addKeyValueRecord_argsTupleScheme(); + public removeKeyValueRecords_argsTupleScheme getScheme() { + return new removeKeyValueRecords_argsTupleScheme(); } } - private static class addKeyValueRecord_argsTupleScheme - extends TupleScheme { + private static class removeKeyValueRecords_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - addKeyValueRecord_args struct) + removeKeyValueRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -77961,7 +203510,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetValue()) { optionals.set(1); } - if(struct.isSetRecord()) { + if(struct.isSetRecords()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -77980,8 +203529,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetValue()) { struct.value.write(oprot); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter870 : struct.records) { + oprot.writeI64(_iter870); + } + } } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -77996,7 +203550,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - addKeyValueRecord_args struct) + removeKeyValueRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); @@ -78010,8 +203564,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setValueIsSet(true); } if(incoming.get(2)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + { + org.apache.thrift.protocol.TList _list871 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list871.size); + long _elem872; + for (int _i873 = 0; _i873 < _list871.size; ++_i873) { + _elem872 = iprot.readI64(); + struct.records.add(_elem872); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -78032,16 +203596,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class addKeyValueRecord_result implements - org.apache.thrift.TBase, + public static class removeKeyValueRecords_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "addKeyValueRecord_result"); + "removeKeyValueRecords_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -78054,12 +203618,12 @@ public static class addKeyValueRecord_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new addKeyValueRecord_resultStandardSchemeFactory()); + new removeKeyValueRecords_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new addKeyValueRecord_resultTupleSchemeFactory()); + new removeKeyValueRecords_resultTupleSchemeFactory()); } - public boolean success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required @@ -78144,8 +203708,6 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -78153,8 +203715,12 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -78177,19 +203743,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - addKeyValueRecord_result.class, metaDataMap); + removeKeyValueRecords_result.class, metaDataMap); } - public addKeyValueRecord_result() {} + public removeKeyValueRecords_result() {} - public addKeyValueRecord_result(boolean success, + public removeKeyValueRecords_result(Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.InvalidArgumentException ex3, com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; - setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; @@ -78199,9 +203764,13 @@ public addKeyValueRecord_result(boolean success, /** * Performs a deep copy on other. */ - public addKeyValueRecord_result(addKeyValueRecord_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public removeKeyValueRecords_result( + removeKeyValueRecords_result other) { + if(other.isSetSuccess()) { + Map __this__success = new LinkedHashMap( + other.success); + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -78220,33 +203789,42 @@ public addKeyValueRecord_result(addKeyValueRecord_result other) { } } - public addKeyValueRecord_result deepCopy() { - return new addKeyValueRecord_result(this); + public removeKeyValueRecords_result deepCopy() { + return new removeKeyValueRecords_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; this.ex4 = null; } - public boolean isSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, boolean val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { return this.success; } - public addKeyValueRecord_result setSuccess(boolean success) { + public removeKeyValueRecords_result setSuccess( + Map success) { this.success = success; - setSuccessIsSet(true); return this; } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __SUCCESS_ISSET_ID); + this.success = null; } /** @@ -78254,19 +203832,20 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __SUCCESS_ISSET_ID, value); + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public addKeyValueRecord_result setEx( + public removeKeyValueRecords_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -78294,7 +203873,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public addKeyValueRecord_result setEx2( + public removeKeyValueRecords_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -78322,7 +203901,7 @@ public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { return this.ex3; } - public addKeyValueRecord_result setEx3( + public removeKeyValueRecords_result setEx3( com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { this.ex3 = ex3; return this; @@ -78350,7 +203929,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public addKeyValueRecord_result setEx4( + public removeKeyValueRecords_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -78381,7 +203960,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Boolean) value); + setSuccess((Map) value); } break; @@ -78427,7 +204006,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); case EX: return getEx(); @@ -78473,21 +204052,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof addKeyValueRecord_result) - return this.equals((addKeyValueRecord_result) that); + if(that instanceof removeKeyValueRecords_result) + return this.equals((removeKeyValueRecords_result) that); return false; } - public boolean equals(addKeyValueRecord_result that) { + public boolean equals(removeKeyValueRecords_result that) { if(that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(this.success != that.success) + if(!this.success.equals(that.success)) return false; } @@ -78534,7 +204113,7 @@ public boolean equals(addKeyValueRecord_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if(present_success) list.add(success); @@ -78563,7 +204142,7 @@ public int hashCode() { } @Override - public int compareTo(addKeyValueRecord_result other) { + public int compareTo(removeKeyValueRecords_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -78650,11 +204229,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("addKeyValueRecord_result("); + StringBuilder sb = new StringBuilder( + "removeKeyValueRecords_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } first = false; if(!first) sb.append(", "); @@ -78720,10 +204305,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -78733,18 +204314,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class addKeyValueRecord_resultStandardSchemeFactory + private static class removeKeyValueRecords_resultStandardSchemeFactory implements SchemeFactory { - public addKeyValueRecord_resultStandardScheme getScheme() { - return new addKeyValueRecord_resultStandardScheme(); + public removeKeyValueRecords_resultStandardScheme getScheme() { + return new removeKeyValueRecords_resultStandardScheme(); } } - private static class addKeyValueRecord_resultStandardScheme - extends StandardScheme { + private static class removeKeyValueRecords_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - addKeyValueRecord_result struct) + removeKeyValueRecords_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -78755,8 +204336,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map874 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map874.size); + long _key875; + boolean _val876; + for (int _i877 = 0; _i877 < _map874.size; ++_i877) { + _key875 = iprot.readI64(); + _val876 = iprot.readBool(); + struct.success.put(_key875, _val876); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -78822,14 +204416,25 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - addKeyValueRecord_result struct) + removeKeyValueRecords_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.isSetSuccess()) { + if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.BOOL, + struct.success.size())); + for (Map.Entry _iter878 : struct.success + .entrySet()) { + oprot.writeI64(_iter878.getKey()); + oprot.writeBool(_iter878.getValue()); + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -78858,19 +204463,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class addKeyValueRecord_resultTupleSchemeFactory + private static class removeKeyValueRecords_resultTupleSchemeFactory implements SchemeFactory { - public addKeyValueRecord_resultTupleScheme getScheme() { - return new addKeyValueRecord_resultTupleScheme(); + public removeKeyValueRecords_resultTupleScheme getScheme() { + return new removeKeyValueRecords_resultTupleScheme(); } } - private static class addKeyValueRecord_resultTupleScheme - extends TupleScheme { + private static class removeKeyValueRecords_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - addKeyValueRecord_result struct) + removeKeyValueRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -78891,7 +204496,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, } oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - oprot.writeBool(struct.success); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter879 : struct.success + .entrySet()) { + oprot.writeI64(_iter879.getKey()); + oprot.writeBool(_iter879.getValue()); + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -78909,12 +204521,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - addKeyValueRecord_result struct) + removeKeyValueRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.success = iprot.readBool(); + { + org.apache.thrift.protocol.TMap _map880 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.BOOL, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map880.size); + long _key881; + boolean _val882; + for (int _i883 = 0; _i883 < _map880.size; ++_i883) { + _key881 = iprot.readI64(); + _val882 = iprot.readBool(); + struct.success.put(_key881, _val882); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -78942,20 +204568,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class addKeyValueRecords_args implements - org.apache.thrift.TBase, + public static class setKeyValueRecord_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "addKeyValueRecords_args"); + "setKeyValueRecord_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 3); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -78968,14 +204594,14 @@ public static class addKeyValueRecords_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new addKeyValueRecords_argsStandardSchemeFactory()); + new setKeyValueRecord_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new addKeyValueRecords_argsTupleSchemeFactory()); + new setKeyValueRecord_argsTupleSchemeFactory()); } public String key; // required public com.cinchapi.concourse.thrift.TObject value; // required - public List records; // required + public long record; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -78987,7 +204613,7 @@ public static class addKeyValueRecords_args implements public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), VALUE((short) 2, "value"), - RECORDS((short) 3, "records"), + RECORD((short) 3, "record"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -79010,8 +204636,8 @@ public static _Fields findByThriftId(int fieldId) { return KEY; case 2: // VALUE return VALUE; - case 3: // RECORDS - return RECORDS; + case 3: // RECORD + return RECORD; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -79062,6 +204688,8 @@ public String getFieldName() { } // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -79077,13 +204705,11 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -79103,20 +204729,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - addKeyValueRecords_args.class, metaDataMap); + setKeyValueRecord_args.class, metaDataMap); } - public addKeyValueRecords_args() {} + public setKeyValueRecord_args() {} - public addKeyValueRecords_args(String key, - com.cinchapi.concourse.thrift.TObject value, List records, + public setKeyValueRecord_args(String key, + com.cinchapi.concourse.thrift.TObject value, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; this.value = value; - this.records = records; + this.record = record; + setRecordIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -79125,7 +204752,8 @@ public addKeyValueRecords_args(String key, /** * Performs a deep copy on other. */ - public addKeyValueRecords_args(addKeyValueRecords_args other) { + public setKeyValueRecord_args(setKeyValueRecord_args other) { + __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } @@ -79133,10 +204761,7 @@ public addKeyValueRecords_args(addKeyValueRecords_args other) { this.value = new com.cinchapi.concourse.thrift.TObject( other.value); } - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; - } + this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -79150,15 +204775,16 @@ public addKeyValueRecords_args(addKeyValueRecords_args other) { } } - public addKeyValueRecords_args deepCopy() { - return new addKeyValueRecords_args(this); + public setKeyValueRecord_args deepCopy() { + return new setKeyValueRecord_args(this); } @Override public void clear() { this.key = null; this.value = null; - this.records = null; + setRecordIsSet(false); + this.record = 0; this.creds = null; this.transaction = null; this.environment = null; @@ -79168,7 +204794,7 @@ public String getKey() { return this.key; } - public addKeyValueRecords_args setKey(String key) { + public setKeyValueRecord_args setKey(String key) { this.key = key; return this; } @@ -79195,7 +204821,7 @@ public com.cinchapi.concourse.thrift.TObject getValue() { return this.value; } - public addKeyValueRecords_args setValue( + public setKeyValueRecord_args setValue( com.cinchapi.concourse.thrift.TObject value) { this.value = value; return this; @@ -79219,53 +204845,39 @@ public void setValueIsSet(boolean value) { } } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); - } - - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); - } - - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); - } - this.records.add(elem); - } - - public List getRecords() { - return this.records; + public long getRecord() { + return this.record; } - public addKeyValueRecords_args setRecords(List records) { - this.records = records; + public setKeyValueRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); return this; } - public void unsetRecords() { - this.records = null; + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field record is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); } - public void setRecordsIsSet(boolean value) { - if(!value) { - this.records = null; - } + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public addKeyValueRecords_args setCreds( + public setKeyValueRecord_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -79293,7 +204905,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public addKeyValueRecords_args setTransaction( + public setKeyValueRecord_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -79321,7 +204933,7 @@ public String getEnvironment() { return this.environment; } - public addKeyValueRecords_args setEnvironment(String environment) { + public setKeyValueRecord_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -79364,12 +204976,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORDS: + case RECORD: if(value == null) { - unsetRecords(); + unsetRecord(); } else { - setRecords((List) value); + setRecord((Long) value); } break; @@ -79412,8 +205024,8 @@ public Object getFieldValue(_Fields field) { case VALUE: return getValue(); - case RECORDS: - return getRecords(); + case RECORD: + return getRecord(); case CREDS: return getCreds(); @@ -79442,8 +205054,8 @@ public boolean isSet(_Fields field) { return isSetKey(); case VALUE: return isSetValue(); - case RECORDS: - return isSetRecords(); + case RECORD: + return isSetRecord(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -79458,12 +205070,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof addKeyValueRecords_args) - return this.equals((addKeyValueRecords_args) that); + if(that instanceof setKeyValueRecord_args) + return this.equals((setKeyValueRecord_args) that); return false; } - public boolean equals(addKeyValueRecords_args that) { + public boolean equals(setKeyValueRecord_args that) { if(that == null) return false; @@ -79485,12 +205097,12 @@ public boolean equals(addKeyValueRecords_args that) { return false; } - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) return false; - if(!this.records.equals(that.records)) + if(this.record != that.record) return false; } @@ -79538,10 +205150,10 @@ public int hashCode() { if(present_value) list.add(value); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -79562,7 +205174,7 @@ public int hashCode() { } @Override - public int compareTo(addKeyValueRecords_args other) { + public int compareTo(setKeyValueRecord_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -79594,14 +205206,14 @@ public int compareTo(addKeyValueRecords_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetRecord()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.record, other.record); if(lastComparison != 0) { return lastComparison; } @@ -79661,7 +205273,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("addKeyValueRecords_args("); + StringBuilder sb = new StringBuilder("setKeyValueRecord_args("); boolean first = true; sb.append("key:"); @@ -79684,13 +205296,8 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("records:"); - if(this.records == null) { - sb.append("null"); - } - else { - sb.append(this.records); - } + sb.append("record:"); + sb.append(this.record); first = false; if(!first) sb.append(", "); @@ -79755,6 +205362,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -79764,18 +205375,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class addKeyValueRecords_argsStandardSchemeFactory + private static class setKeyValueRecord_argsStandardSchemeFactory implements SchemeFactory { - public addKeyValueRecords_argsStandardScheme getScheme() { - return new addKeyValueRecords_argsStandardScheme(); + public setKeyValueRecord_argsStandardScheme getScheme() { + return new setKeyValueRecord_argsStandardScheme(); } } - private static class addKeyValueRecords_argsStandardScheme - extends StandardScheme { + private static class setKeyValueRecord_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - addKeyValueRecords_args struct) + setKeyValueRecord_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -79806,21 +205417,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list0 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list0.size); - long _elem1; - for (int _i2 = 0; _i2 < _list0.size; ++_i2) { - _elem1 = iprot.readI64(); - struct.records.add(_elem1); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 3: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -79873,7 +205473,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - addKeyValueRecords_args struct) + setKeyValueRecord_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -79888,20 +205488,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.value.write(oprot); oprot.writeFieldEnd(); } - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter3 : struct.records) { - oprot.writeI64(_iter3); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -79923,19 +205512,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class addKeyValueRecords_argsTupleSchemeFactory + private static class setKeyValueRecord_argsTupleSchemeFactory implements SchemeFactory { - public addKeyValueRecords_argsTupleScheme getScheme() { - return new addKeyValueRecords_argsTupleScheme(); + public setKeyValueRecord_argsTupleScheme getScheme() { + return new setKeyValueRecord_argsTupleScheme(); } } - private static class addKeyValueRecords_argsTupleScheme - extends TupleScheme { + private static class setKeyValueRecord_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - addKeyValueRecords_args struct) + setKeyValueRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -79945,7 +205534,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetValue()) { optionals.set(1); } - if(struct.isSetRecords()) { + if(struct.isSetRecord()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -79964,13 +205553,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetValue()) { struct.value.write(oprot); } - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter4 : struct.records) { - oprot.writeI64(_iter4); - } - } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -79985,7 +205569,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - addKeyValueRecords_args struct) + setKeyValueRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); @@ -79999,18 +205583,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setValueIsSet(true); } if(incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list5.size); - long _elem6; - for (int _i7 = 0; _i7 < _list5.size; ++_i7) { - _elem6 = iprot.readI64(); - struct.records.add(_elem6); - } - } - struct.setRecordsIsSet(true); + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -80031,16 +205605,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class addKeyValueRecords_result implements - org.apache.thrift.TBase, + public static class setKeyValueRecord_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "addKeyValueRecords_result"); + "setKeyValueRecord_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -80053,12 +205625,11 @@ public static class addKeyValueRecords_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new addKeyValueRecords_resultStandardSchemeFactory()); + new setKeyValueRecord_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new addKeyValueRecords_resultTupleSchemeFactory()); + new setKeyValueRecord_resultTupleSchemeFactory()); } - public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required @@ -80069,7 +205640,6 @@ public static class addKeyValueRecords_result implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"), @@ -80089,8 +205659,6 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 0: // SUCCESS - return SUCCESS; case 1: // EX return EX; case 2: // EX2 @@ -80147,15 +205715,6 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.SUCCESS, - new org.apache.thrift.meta_data.FieldMetaData("success", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -80178,18 +205737,17 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - addKeyValueRecords_result.class, metaDataMap); + setKeyValueRecord_result.class, metaDataMap); } - public addKeyValueRecords_result() {} + public setKeyValueRecord_result() {} - public addKeyValueRecords_result(Map success, + public setKeyValueRecord_result( com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.InvalidArgumentException ex3, com.cinchapi.concourse.thrift.PermissionException ex4) { this(); - this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; @@ -80199,12 +205757,7 @@ public addKeyValueRecords_result(Map success, /** * Performs a deep copy on other. */ - public addKeyValueRecords_result(addKeyValueRecords_result other) { - if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); - this.success = __this__success; - } + public setKeyValueRecord_result(setKeyValueRecord_result other) { if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -80223,63 +205776,23 @@ public addKeyValueRecords_result(addKeyValueRecords_result other) { } } - public addKeyValueRecords_result deepCopy() { - return new addKeyValueRecords_result(this); + public setKeyValueRecord_result deepCopy() { + return new setKeyValueRecord_result(this); } @Override public void clear() { - this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; this.ex4 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, boolean val) { - if(this.success == null) { - this.success = new LinkedHashMap(); - } - this.success.put(key, val); - } - - public Map getSuccess() { - return this.success; - } - - public addKeyValueRecords_result setSuccess( - Map success) { - this.success = success; - return this; - } - - public void unsetSuccess() { - this.success = null; - } - - /** - * Returns true if field success is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetSuccess() { - return this.success != null; - } - - public void setSuccessIsSet(boolean value) { - if(!value) { - this.success = null; - } - } - public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public addKeyValueRecords_result setEx( + public setKeyValueRecord_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -80307,7 +205820,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public addKeyValueRecords_result setEx2( + public setKeyValueRecord_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -80335,7 +205848,7 @@ public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { return this.ex3; } - public addKeyValueRecords_result setEx3( + public setKeyValueRecord_result setEx3( com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { this.ex3 = ex3; return this; @@ -80363,7 +205876,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public addKeyValueRecords_result setEx4( + public setKeyValueRecord_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -80389,15 +205902,6 @@ public void setEx4IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case SUCCESS: - if(value == null) { - unsetSuccess(); - } - else { - setSuccess((Map) value); - } - break; - case EX: if(value == null) { unsetEx(); @@ -80439,9 +205943,6 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case SUCCESS: - return getSuccess(); - case EX: return getEx(); @@ -80468,8 +205969,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); case EX: return isSetEx(); case EX2: @@ -80486,24 +205985,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof addKeyValueRecords_result) - return this.equals((addKeyValueRecords_result) that); + if(that instanceof setKeyValueRecord_result) + return this.equals((setKeyValueRecord_result) that); return false; } - public boolean equals(addKeyValueRecords_result that) { + public boolean equals(setKeyValueRecord_result that) { if(that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); - if(this_present_success || that_present_success) { - if(!(this_present_success && that_present_success)) - return false; - if(!this.success.equals(that.success)) - return false; - } - boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -80547,11 +206037,6 @@ public boolean equals(addKeyValueRecords_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); - list.add(present_success); - if(present_success) - list.add(success); - boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -80576,7 +206061,7 @@ public int hashCode() { } @Override - public int compareTo(addKeyValueRecords_result other) { + public int compareTo(setKeyValueRecord_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -80584,18 +206069,6 @@ public int compareTo(addKeyValueRecords_result other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetSuccess()) - .compareTo(other.isSetSuccess()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.success, other.success); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -80663,19 +206136,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("addKeyValueRecords_result("); + StringBuilder sb = new StringBuilder("setKeyValueRecord_result("); boolean first = true; - sb.append("success:"); - if(this.success == null) { - sb.append("null"); - } - else { - sb.append(this.success); - } - first = false; - if(!first) - sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -80747,18 +206210,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class addKeyValueRecords_resultStandardSchemeFactory + private static class setKeyValueRecord_resultStandardSchemeFactory implements SchemeFactory { - public addKeyValueRecords_resultStandardScheme getScheme() { - return new addKeyValueRecords_resultStandardScheme(); + public setKeyValueRecord_resultStandardScheme getScheme() { + return new setKeyValueRecord_resultStandardScheme(); } } - private static class addKeyValueRecords_resultStandardScheme - extends StandardScheme { + private static class setKeyValueRecord_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - addKeyValueRecords_result struct) + setKeyValueRecord_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -80768,29 +206231,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map8 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map8.size); - long _key9; - boolean _val10; - for (int _i11 = 0; _i11 < _map8.size; ++_i11) { - _key9 = iprot.readI64(); - _val10 = iprot.readBool(); - struct.success.put(_key9, _val10); - } - iprot.readMapEnd(); - } - struct.setSuccessIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -80849,27 +206289,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - addKeyValueRecords_result struct) + setKeyValueRecord_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.success != null) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.BOOL, - struct.success.size())); - for (Map.Entry _iter12 : struct.success - .entrySet()) { - oprot.writeI64(_iter12.getKey()); - oprot.writeBool(_iter12.getValue()); - } - oprot.writeMapEnd(); - } - oprot.writeFieldEnd(); - } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -80896,48 +206320,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class addKeyValueRecords_resultTupleSchemeFactory + private static class setKeyValueRecord_resultTupleSchemeFactory implements SchemeFactory { - public addKeyValueRecords_resultTupleScheme getScheme() { - return new addKeyValueRecords_resultTupleScheme(); + public setKeyValueRecord_resultTupleScheme getScheme() { + return new setKeyValueRecord_resultTupleScheme(); } } - private static class addKeyValueRecords_resultTupleScheme - extends TupleScheme { + private static class setKeyValueRecord_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - addKeyValueRecords_result struct) + setKeyValueRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetSuccess()) { - optionals.set(0); - } if(struct.isSetEx()) { - optionals.set(1); + optionals.set(0); } if(struct.isSetEx2()) { - optionals.set(2); + optionals.set(1); } if(struct.isSetEx3()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); - if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry _iter13 : struct.success - .entrySet()) { - oprot.writeI64(_iter13.getKey()); - oprot.writeBool(_iter13.getValue()); - } - } + optionals.set(3); } + oprot.writeBitSet(optionals, 4); if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -80954,44 +206365,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - addKeyValueRecords_result struct) + setKeyValueRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map14 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.BOOL, - iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map14.size); - long _key15; - boolean _val16; - for (int _i17 = 0; _i17 < _map14.size; ++_i17) { - _key15 = iprot.readI64(); - _val16 = iprot.readBool(); - struct.success.put(_key15, _val16); - } - } - struct.setSuccessIsSet(true); - } - if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(1)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(3)) { + if(incoming.get(2)) { struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex4.read(iprot); struct.setEx4IsSet(true); @@ -81001,34 +206394,37 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditRecord_args implements - org.apache.thrift.TBase, + public static class setKeyValue_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditRecord_args"); + "setKeyValue_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( + "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditRecord_argsStandardSchemeFactory()); + new setKeyValue_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditRecord_argsTupleSchemeFactory()); + new setKeyValue_argsTupleSchemeFactory()); } - public long record; // required + public String key; // required + public com.cinchapi.concourse.thrift.TObject value; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -81038,10 +206434,11 @@ public static class auditRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEY((short) 1, "key"), + VALUE((short) 2, "value"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -81057,13 +206454,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // CREDS + case 1: // KEY + return KEY; + case 2: // VALUE + return VALUE; + case 3: // CREDS return CREDS; - case 3: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -81109,17 +206508,21 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.VALUE, + new org.apache.thrift.meta_data.FieldMetaData("value", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -81139,18 +206542,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(auditRecord_args.class, metaDataMap); + .addStructMetaDataMap(setKeyValue_args.class, metaDataMap); } - public auditRecord_args() {} + public setKeyValue_args() {} - public auditRecord_args(long record, + public setKeyValue_args(String key, + com.cinchapi.concourse.thrift.TObject value, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); + this.key = key; + this.value = value; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -81159,9 +206563,14 @@ public auditRecord_args(long record, /** * Performs a deep copy on other. */ - public auditRecord_args(auditRecord_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; + public setKeyValue_args(setKeyValue_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetValue()) { + this.value = new com.cinchapi.concourse.thrift.TObject( + other.value); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -81175,52 +206584,79 @@ public auditRecord_args(auditRecord_args other) { } } - public auditRecord_args deepCopy() { - return new auditRecord_args(this); + public setKeyValue_args deepCopy() { + return new setKeyValue_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; + this.key = null; + this.value = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public String getKey() { + return this.key; } - public auditRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public setKeyValue_args setKey(String key) { + this.key = key; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetKey() { + this.key = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetKey() { + return this.key != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public com.cinchapi.concourse.thrift.TObject getValue() { + return this.value; + } + + public setKeyValue_args setValue( + com.cinchapi.concourse.thrift.TObject value) { + this.value = value; + return this; + } + + public void unsetValue() { + this.value = null; + } + + /** + * Returns true if field value is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetValue() { + return this.value != null; + } + + public void setValueIsSet(boolean value) { + if(!value) { + this.value = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public auditRecord_args setCreds( + public setKeyValue_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -81248,7 +206684,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public auditRecord_args setTransaction( + public setKeyValue_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -81276,7 +206712,7 @@ public String getEnvironment() { return this.environment; } - public auditRecord_args setEnvironment(String environment) { + public setKeyValue_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -81301,12 +206737,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case KEY: if(value == null) { - unsetRecord(); + unsetKey(); } else { - setRecord((Long) value); + setKey((String) value); + } + break; + + case VALUE: + if(value == null) { + unsetValue(); + } + else { + setValue((com.cinchapi.concourse.thrift.TObject) value); } break; @@ -81343,8 +206788,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case KEY: + return getKey(); + + case VALUE: + return getValue(); case CREDS: return getCreds(); @@ -81369,8 +206817,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); + case KEY: + return isSetKey(); + case VALUE: + return isSetValue(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -81385,21 +206835,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditRecord_args) - return this.equals((auditRecord_args) that); + if(that instanceof setKeyValue_args) + return this.equals((setKeyValue_args) that); return false; } - public boolean equals(auditRecord_args that) { + public boolean equals(setKeyValue_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(this.record != that.record) + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_value = true && this.isSetValue(); + boolean that_present_value = true && that.isSetValue(); + if(this_present_value || that_present_value) { + if(!(this_present_value && that_present_value)) + return false; + if(!this.value.equals(that.value)) return false; } @@ -81437,10 +206896,15 @@ public boolean equals(auditRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_value = true && (isSetValue()); + list.add(present_value); + if(present_value) + list.add(value); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -81461,7 +206925,7 @@ public int hashCode() { } @Override - public int compareTo(auditRecord_args other) { + public int compareTo(setKeyValue_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -81469,14 +206933,26 @@ public int compareTo(auditRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValue()) + .compareTo(other.isSetValue()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetValue()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.value, other.value); if(lastComparison != 0) { return lastComparison; } @@ -81536,11 +207012,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditRecord_args("); + StringBuilder sb = new StringBuilder("setKeyValue_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("value:"); + if(this.value == null) { + sb.append("null"); + } + else { + sb.append(this.value); + } first = false; if(!first) sb.append(", "); @@ -81579,6 +207070,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(value != null) { + value.validate(); + } if(creds != null) { creds.validate(); } @@ -81602,10 +207096,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -81615,18 +207105,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditRecord_argsStandardSchemeFactory + private static class setKeyValue_argsStandardSchemeFactory implements SchemeFactory { - public auditRecord_argsStandardScheme getScheme() { - return new auditRecord_argsStandardScheme(); + public setKeyValue_argsStandardScheme getScheme() { + return new setKeyValue_argsStandardScheme(); } } - private static class auditRecord_argsStandardScheme - extends StandardScheme { + private static class setKeyValue_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditRecord_args struct) + setKeyValue_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -81636,17 +207126,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // VALUE + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -81657,7 +207158,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -81668,7 +207169,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -81692,14 +207193,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditRecord_args struct) + setKeyValue_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.value != null) { + oprot.writeFieldBegin(VALUE_FIELD_DESC); + struct.value.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -81721,37 +207229,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditRecord_argsTupleSchemeFactory + private static class setKeyValue_argsTupleSchemeFactory implements SchemeFactory { - public auditRecord_argsTupleScheme getScheme() { - return new auditRecord_argsTupleScheme(); + public setKeyValue_argsTupleScheme getScheme() { + return new setKeyValue_argsTupleScheme(); } } - private static class auditRecord_argsTupleScheme - extends TupleScheme { + private static class setKeyValue_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditRecord_args struct) + setKeyValue_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetValue()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetValue()) { + struct.value.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -81766,25 +207280,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditRecord_args struct) + setKeyValue_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); + } + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -81793,35 +207312,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditRecord_result implements - org.apache.thrift.TBase, + public static class setKeyValue_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditRecord_result"); + "setKeyValue_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.I64, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditRecord_resultStandardSchemeFactory()); + new setKeyValue_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditRecord_resultTupleSchemeFactory()); + new setKeyValue_resultTupleSchemeFactory()); } - public Map success; // required + public long success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -81831,7 +207353,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -81855,6 +207378,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -81899,6 +207424,8 @@ public String getFieldName() { } // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -81906,12 +207433,8 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -81927,33 +207450,38 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditRecord_result.class, metaDataMap); + setKeyValue_result.class, metaDataMap); } - public auditRecord_result() {} + public setKeyValue_result() {} - public auditRecord_result(Map success, + public setKeyValue_result(long success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.InvalidArgumentException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; + setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public auditRecord_result(auditRecord_result other) { - if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); - this.success = __this__success; - } + public setKeyValue_result(setKeyValue_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -81963,45 +207491,42 @@ public auditRecord_result(auditRecord_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public auditRecord_result deepCopy() { - return new auditRecord_result(this); + public setKeyValue_result deepCopy() { + return new setKeyValue_result(this); } @Override public void clear() { - this.success = null; + setSuccessIsSet(false); + this.success = 0; this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, String val) { - if(this.success == null) { - this.success = new LinkedHashMap(); - } - this.success.put(key, val); - } - - public Map getSuccess() { + public long getSuccess() { return this.success; } - public auditRecord_result setSuccess(Map success) { + public setKeyValue_result setSuccess(long success) { this.success = success; + setSuccessIsSet(true); return this; } public void unsetSuccess() { - this.success = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __SUCCESS_ISSET_ID); } /** @@ -82009,20 +207534,19 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return this.success != null; + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - if(!value) { - this.success = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __SUCCESS_ISSET_ID, value); } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public auditRecord_result setEx( + public setKeyValue_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -82050,7 +207574,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public auditRecord_result setEx2( + public setKeyValue_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -82074,12 +207598,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { return this.ex3; } - public auditRecord_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public setKeyValue_result setEx3( + com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { this.ex3 = ex3; return this; } @@ -82102,6 +207626,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public setKeyValue_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -82109,7 +207661,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map) value); + setSuccess((Long) value); } break; @@ -82136,7 +207688,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -82157,6 +207718,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -82179,6 +207743,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -82187,21 +207753,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditRecord_result) - return this.equals((auditRecord_result) that); + if(that instanceof setKeyValue_result) + return this.equals((setKeyValue_result) that); return false; } - public boolean equals(auditRecord_result that) { + public boolean equals(setKeyValue_result that) { if(that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); + boolean this_present_success = true; + boolean that_present_success = true; if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(!this.success.equals(that.success)) + if(this.success != that.success) return false; } @@ -82232,6 +207798,15 @@ public boolean equals(auditRecord_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -82239,7 +207814,7 @@ public boolean equals(auditRecord_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); + boolean present_success = true; list.add(present_success); if(present_success) list.add(success); @@ -82259,11 +207834,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(auditRecord_result other) { + public int compareTo(setKeyValue_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -82319,6 +207899,18 @@ public int compareTo(auditRecord_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -82338,16 +207930,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditRecord_result("); + StringBuilder sb = new StringBuilder("setKeyValue_result("); boolean first = true; sb.append("success:"); - if(this.success == null) { - sb.append("null"); - } - else { - sb.append(this.success); - } + sb.append(this.success); first = false; if(!first) sb.append(", "); @@ -82379,6 +207966,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -82403,6 +208000,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -82412,18 +208013,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditRecord_resultStandardSchemeFactory + private static class setKeyValue_resultStandardSchemeFactory implements SchemeFactory { - public auditRecord_resultStandardScheme getScheme() { - return new auditRecord_resultStandardScheme(); + public setKeyValue_resultStandardScheme getScheme() { + return new setKeyValue_resultStandardScheme(); } } - private static class auditRecord_resultStandardScheme - extends StandardScheme { + private static class setKeyValue_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditRecord_result struct) + setKeyValue_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -82434,21 +208035,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map18 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map18.size); - long _key19; - String _val20; - for (int _i21 = 0; _i21 < _map18.size; ++_i21) { - _key19 = iprot.readI64(); - _val20 = iprot.readString(); - struct.success.put(_key19, _val20); - } - iprot.readMapEnd(); - } + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.success = iprot.readI64(); struct.setSuccessIsSet(true); } else { @@ -82480,7 +208068,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -82489,6 +208077,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -82503,25 +208102,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditRecord_result struct) + setKeyValue_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.success != null) { + if(struct.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, - struct.success.size())); - for (Map.Entry _iter22 : struct.success - .entrySet()) { - oprot.writeI64(_iter22.getKey()); - oprot.writeString(_iter22.getValue()); - } - oprot.writeMapEnd(); - } + oprot.writeI64(struct.success); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -82539,25 +208127,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class auditRecord_resultTupleSchemeFactory + private static class setKeyValue_resultTupleSchemeFactory implements SchemeFactory { - public auditRecord_resultTupleScheme getScheme() { - return new auditRecord_resultTupleScheme(); + public setKeyValue_resultTupleScheme getScheme() { + return new setKeyValue_resultTupleScheme(); } } - private static class auditRecord_resultTupleScheme - extends TupleScheme { + private static class setKeyValue_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditRecord_result struct) + setKeyValue_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -82573,16 +208166,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry _iter23 : struct.success - .entrySet()) { - oprot.writeI64(_iter23.getKey()); - oprot.writeString(_iter23.getValue()); - } - } + oprot.writeI64(struct.success); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -82593,30 +208182,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditRecord_result struct) + setKeyValue_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map24 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map24.size); - long _key25; - String _val26; - for (int _i27 = 0; _i27 < _map24.size; ++_i27) { - _key25 = iprot.readI64(); - _val26 = iprot.readString(); - struct.success.put(_key25, _val26); - } - } + struct.success = iprot.readI64(); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -82630,46 +208208,54 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class auditRecordStart_args implements - org.apache.thrift.TBase, + public static class setKeyValueRecords_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditRecordStart_args"); + "setKeyValueRecords_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( + "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditRecordStart_argsStandardSchemeFactory()); + new setKeyValueRecords_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditRecordStart_argsTupleSchemeFactory()); + new setKeyValueRecords_argsTupleSchemeFactory()); } - public long record; // required - public long start; // required + public String key; // required + public com.cinchapi.concourse.thrift.TObject value; // required + public List records; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -82679,11 +208265,12 @@ public static class auditRecordStart_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - START((short) 2, "start"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + VALUE((short) 2, "value"), + RECORDS((short) 3, "records"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -82699,15 +208286,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // START - return START; - case 3: // CREDS + case 1: // KEY + return KEY; + case 2: // VALUE + return VALUE; + case 3: // RECORDS + return RECORDS; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -82753,23 +208342,28 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __START_ISSET_ID = 1; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.VALUE, + new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -82789,20 +208383,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditRecordStart_args.class, metaDataMap); + setKeyValueRecords_args.class, metaDataMap); } - public auditRecordStart_args() {} + public setKeyValueRecords_args() {} - public auditRecordStart_args(long record, long start, + public setKeyValueRecords_args(String key, + com.cinchapi.concourse.thrift.TObject value, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); - this.start = start; - setStartIsSet(true); + this.key = key; + this.value = value; + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -82811,10 +208405,18 @@ public auditRecordStart_args(long record, long start, /** * Performs a deep copy on other. */ - public auditRecordStart_args(auditRecordStart_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; - this.start = other.start; + public setKeyValueRecords_args(setKeyValueRecords_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetValue()) { + this.value = new com.cinchapi.concourse.thrift.TObject( + other.value); + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -82828,82 +208430,122 @@ public auditRecordStart_args(auditRecordStart_args other) { } } - public auditRecordStart_args deepCopy() { - return new auditRecordStart_args(this); + public setKeyValueRecords_args deepCopy() { + return new setKeyValueRecords_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; - setStartIsSet(false); - this.start = 0; + this.key = null; + this.value = null; + this.records = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public String getKey() { + return this.key; } - public auditRecordStart_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public setKeyValueRecords_args setKey(String key) { + this.key = key; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetKey() { + this.key = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetKey() { + return this.key != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } } - public long getStart() { - return this.start; + public com.cinchapi.concourse.thrift.TObject getValue() { + return this.value; } - public auditRecordStart_args setStart(long start) { - this.start = start; - setStartIsSet(true); + public setKeyValueRecords_args setValue( + com.cinchapi.concourse.thrift.TObject value) { + this.value = value; return this; } - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); + public void unsetValue() { + this.value = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field value is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + public boolean isSetValue() { + return this.value != null; } - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); + public void setValueIsSet(boolean value) { + if(!value) { + this.value = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public setKeyValueRecords_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public auditRecordStart_args setCreds( + public setKeyValueRecords_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -82931,7 +208573,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public auditRecordStart_args setTransaction( + public setKeyValueRecords_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -82959,7 +208601,7 @@ public String getEnvironment() { return this.environment; } - public auditRecordStart_args setEnvironment(String environment) { + public setKeyValueRecords_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -82984,21 +208626,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case KEY: if(value == null) { - unsetRecord(); + unsetKey(); } else { - setRecord((Long) value); + setKey((String) value); } break; - case START: + case VALUE: if(value == null) { - unsetStart(); + unsetValue(); } else { - setStart((Long) value); + setValue((com.cinchapi.concourse.thrift.TObject) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); } break; @@ -83035,11 +208686,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case KEY: + return getKey(); - case START: - return getStart(); + case VALUE: + return getValue(); + + case RECORDS: + return getRecords(); case CREDS: return getCreds(); @@ -83064,10 +208718,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); + case KEY: + return isSetKey(); + case VALUE: + return isSetValue(); + case RECORDS: + return isSetRecords(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -83082,30 +208738,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditRecordStart_args) - return this.equals((auditRecordStart_args) that); + if(that instanceof setKeyValueRecords_args) + return this.equals((setKeyValueRecords_args) that); return false; } - public boolean equals(auditRecordStart_args that) { + public boolean equals(setKeyValueRecords_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(this.record != that.record) + if(!this.key.equals(that.key)) return false; } - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_value = true && this.isSetValue(); + boolean that_present_value = true && that.isSetValue(); + if(this_present_value || that_present_value) { + if(!(this_present_value && that_present_value)) return false; - if(this.start != that.start) + if(!this.value.equals(that.value)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) return false; } @@ -83143,15 +208808,20 @@ public boolean equals(auditRecordStart_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); + boolean present_value = true && (isSetValue()); + list.add(present_value); + if(present_value) + list.add(value); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -83172,7 +208842,7 @@ public int hashCode() { } @Override - public int compareTo(auditRecordStart_args other) { + public int compareTo(setKeyValueRecords_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -83180,26 +208850,38 @@ public int compareTo(auditRecordStart_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetValue()) + .compareTo(other.isSetValue()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetValue()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.value, other.value); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } @@ -83259,16 +208941,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditRecordStart_args("); + StringBuilder sb = new StringBuilder("setKeyValueRecords_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } first = false; if(!first) sb.append(", "); - sb.append("start:"); - sb.append(this.start); + sb.append("value:"); + if(this.value == null) { + sb.append("null"); + } + else { + sb.append(this.value); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } first = false; if(!first) sb.append(", "); @@ -83307,6 +209009,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(value != null) { + value.validate(); + } if(creds != null) { creds.validate(); } @@ -83330,10 +209035,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -83343,18 +209044,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditRecordStart_argsStandardSchemeFactory + private static class setKeyValueRecords_argsStandardSchemeFactory implements SchemeFactory { - public auditRecordStart_argsStandardScheme getScheme() { - return new auditRecordStart_argsStandardScheme(); + public setKeyValueRecords_argsStandardScheme getScheme() { + return new setKeyValueRecords_argsStandardScheme(); } } - private static class auditRecordStart_argsStandardScheme - extends StandardScheme { + private static class setKeyValueRecords_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditRecordStart_args struct) + setKeyValueRecords_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -83364,27 +209065,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + case 2: // VALUE + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list884 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list884.size); + long _elem885; + for (int _i886 = 0; _i886 < _list884.size; ++_i886) { + _elem885 = iprot.readI64(); + struct.records.add(_elem885); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -83395,7 +209118,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -83406,7 +209129,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -83430,17 +209153,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditRecordStart_args struct) + setKeyValueRecords_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.value != null) { + oprot.writeFieldBegin(VALUE_FIELD_DESC); + struct.value.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter887 : struct.records) { + oprot.writeI64(_iter887); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -83462,43 +209203,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditRecordStart_argsTupleSchemeFactory + private static class setKeyValueRecords_argsTupleSchemeFactory implements SchemeFactory { - public auditRecordStart_argsTupleScheme getScheme() { - return new auditRecordStart_argsTupleScheme(); + public setKeyValueRecords_argsTupleScheme getScheme() { + return new setKeyValueRecords_argsTupleScheme(); } } - private static class auditRecordStart_argsTupleScheme - extends TupleScheme { + private static class setKeyValueRecords_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditRecordStart_args struct) + setKeyValueRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetStart()) { + if(struct.isSetValue()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetRecords()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetEnvironment()) { + optionals.set(5); } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetValue()) { + struct.value.write(oprot); + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter888 : struct.records) { + oprot.writeI64(_iter888); + } + } } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -83513,29 +209265,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditRecordStart_args struct) + setKeyValueRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); } if(incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list889 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list889.size); + long _elem890; + for (int _i891 = 0; _i891 < _list889.size; ++_i891) { + _elem890 = iprot.readI64(); + struct.records.add(_elem890); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -83544,45 +209311,45 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditRecordStart_result implements - org.apache.thrift.TBase, + public static class setKeyValueRecords_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditRecordStart_result"); + "setKeyValueRecords_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditRecordStart_resultStandardSchemeFactory()); + new setKeyValueRecords_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditRecordStart_resultTupleSchemeFactory()); + new setKeyValueRecords_resultTupleSchemeFactory()); } - public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -83598,14 +209365,14 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 0: // SUCCESS - return SUCCESS; case 1: // EX return EX; case 2: // EX2 return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -83654,15 +209421,6 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.SUCCESS, - new org.apache.thrift.meta_data.FieldMetaData("success", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -83678,33 +209436,34 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditRecordStart_result.class, metaDataMap); + setKeyValueRecords_result.class, metaDataMap); } - public auditRecordStart_result() {} + public setKeyValueRecords_result() {} - public auditRecordStart_result(Map success, + public setKeyValueRecords_result( com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.InvalidArgumentException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); - this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public auditRecordStart_result(auditRecordStart_result other) { - if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); - this.success = __this__success; - } + public setKeyValueRecords_result(setKeyValueRecords_result other) { if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -83714,66 +209473,32 @@ public auditRecordStart_result(auditRecordStart_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public auditRecordStart_result deepCopy() { - return new auditRecordStart_result(this); + public setKeyValueRecords_result deepCopy() { + return new setKeyValueRecords_result(this); } @Override public void clear() { - this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; - } - - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, String val) { - if(this.success == null) { - this.success = new LinkedHashMap(); - } - this.success.put(key, val); - } - - public Map getSuccess() { - return this.success; - } - - public auditRecordStart_result setSuccess(Map success) { - this.success = success; - return this; - } - - public void unsetSuccess() { - this.success = null; - } - - /** - * Returns true if field success is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetSuccess() { - return this.success != null; - } - - public void setSuccessIsSet(boolean value) { - if(!value) { - this.success = null; - } + this.ex4 = null; } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public auditRecordStart_result setEx( + public setKeyValueRecords_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -83801,7 +209526,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public auditRecordStart_result setEx2( + public setKeyValueRecords_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -83825,12 +209550,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { return this.ex3; } - public auditRecordStart_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public setKeyValueRecords_result setEx3( + com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { this.ex3 = ex3; return this; } @@ -83853,17 +209578,36 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public setKeyValueRecords_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { - case SUCCESS: - if(value == null) { - unsetSuccess(); - } - else { - setSuccess((Map) value); - } - break; - case EX: if(value == null) { unsetEx(); @@ -83887,7 +209631,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -83896,9 +209649,6 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case SUCCESS: - return getSuccess(); - case EX: return getEx(); @@ -83908,6 +209658,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -83922,14 +209675,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); case EX: return isSetEx(); case EX2: return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -83938,24 +209691,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditRecordStart_result) - return this.equals((auditRecordStart_result) that); + if(that instanceof setKeyValueRecords_result) + return this.equals((setKeyValueRecords_result) that); return false; } - public boolean equals(auditRecordStart_result that) { + public boolean equals(setKeyValueRecords_result that) { if(that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); - if(this_present_success || that_present_success) { - if(!(this_present_success && that_present_success)) - return false; - if(!this.success.equals(that.success)) - return false; - } - boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -83983,6 +209727,15 @@ public boolean equals(auditRecordStart_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -83990,11 +209743,6 @@ public boolean equals(auditRecordStart_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); - list.add(present_success); - if(present_success) - list.add(success); - boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -84010,11 +209758,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(auditRecordStart_result other) { + public int compareTo(setKeyValueRecords_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -84022,18 +209775,6 @@ public int compareTo(auditRecordStart_result other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetSuccess()) - .compareTo(other.isSetSuccess()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.success, other.success); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -84070,6 +209811,18 @@ public int compareTo(auditRecordStart_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -84089,19 +209842,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditRecordStart_result("); + StringBuilder sb = new StringBuilder("setKeyValueRecords_result("); boolean first = true; - sb.append("success:"); - if(this.success == null) { - sb.append("null"); - } - else { - sb.append(this.success); - } - first = false; - if(!first) - sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -84130,6 +209873,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -84163,18 +209916,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditRecordStart_resultStandardSchemeFactory + private static class setKeyValueRecords_resultStandardSchemeFactory implements SchemeFactory { - public auditRecordStart_resultStandardScheme getScheme() { - return new auditRecordStart_resultStandardScheme(); + public setKeyValueRecords_resultStandardScheme getScheme() { + return new setKeyValueRecords_resultStandardScheme(); } } - private static class auditRecordStart_resultStandardScheme - extends StandardScheme { + private static class setKeyValueRecords_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditRecordStart_result struct) + setKeyValueRecords_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -84184,29 +209937,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map28 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map28.size); - long _key29; - String _val30; - for (int _i31 = 0; _i31 < _map28.size; ++_i31) { - _key29 = iprot.readI64(); - _val30 = iprot.readString(); - struct.success.put(_key29, _val30); - } - iprot.readMapEnd(); - } - struct.setSuccessIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -84231,7 +209961,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -84240,6 +209970,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -84254,27 +209995,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditRecordStart_result struct) + setKeyValueRecords_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.success != null) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, - struct.success.size())); - for (Map.Entry _iter32 : struct.success - .entrySet()) { - oprot.writeI64(_iter32.getKey()); - oprot.writeString(_iter32.getValue()); - } - oprot.writeMapEnd(); - } - oprot.writeFieldEnd(); - } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -84290,51 +210015,46 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class auditRecordStart_resultTupleSchemeFactory + private static class setKeyValueRecords_resultTupleSchemeFactory implements SchemeFactory { - public auditRecordStart_resultTupleScheme getScheme() { - return new auditRecordStart_resultTupleScheme(); + public setKeyValueRecords_resultTupleScheme getScheme() { + return new setKeyValueRecords_resultTupleScheme(); } } - private static class auditRecordStart_resultTupleScheme - extends TupleScheme { + private static class setKeyValueRecords_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditRecordStart_result struct) + setKeyValueRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetSuccess()) { + if(struct.isSetEx()) { optionals.set(0); } - if(struct.isSetEx()) { + if(struct.isSetEx2()) { optionals.set(1); } - if(struct.isSetEx2()) { + if(struct.isSetEx3()) { optionals.set(2); } - if(struct.isSetEx3()) { + if(struct.isSetEx4()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); - if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry _iter33 : struct.success - .entrySet()) { - oprot.writeI64(_iter33.getKey()); - oprot.writeString(_iter33.getValue()); - } - } - } if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -84344,83 +210064,76 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditRecordStart_result struct) + setKeyValueRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map34 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map34.size); - long _key35; - String _val36; - for (int _i37 = 0; _i37 < _map34.size; ++_i37) { - _key35 = iprot.readI64(); - _val36 = iprot.readString(); - struct.success.put(_key35, _val36); - } - } - struct.setSuccessIsSet(true); - } - if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(1)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + if(incoming.get(2)) { + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(3)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class auditRecordStartstr_args implements - org.apache.thrift.TBase, + public static class reconcileKeyRecordValues_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditRecordStartstr_args"); + "reconcileKeyRecordValues_args"); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 2); + "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( + "values", org.apache.thrift.protocol.TType.SET, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditRecordStartstr_argsStandardSchemeFactory()); + new reconcileKeyRecordValues_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditRecordStartstr_argsTupleSchemeFactory()); + new reconcileKeyRecordValues_argsTupleSchemeFactory()); } + public String key; // required public long record; // required - public String start; // required + public Set values; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -84430,11 +210143,12 @@ public static class auditRecordStartstr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - START((short) 2, "start"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + VALUES((short) 3, "values"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -84450,15 +210164,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD + case 1: // KEY + return KEY; + case 2: // RECORD return RECORD; - case 2: // START - return START; - case 3: // CREDS + case 3: // VALUES + return VALUES; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -84510,16 +210226,24 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.RECORD, new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.VALUES, + new org.apache.thrift.meta_data.FieldMetaData("values", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -84539,19 +210263,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditRecordStartstr_args.class, metaDataMap); + reconcileKeyRecordValues_args.class, metaDataMap); } - public auditRecordStartstr_args() {} + public reconcileKeyRecordValues_args() {} - public auditRecordStartstr_args(long record, String start, + public reconcileKeyRecordValues_args(String key, long record, + Set values, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.key = key; this.record = record; setRecordIsSet(true); - this.start = start; + this.values = values; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -84560,11 +210286,22 @@ public auditRecordStartstr_args(long record, String start, /** * Performs a deep copy on other. */ - public auditRecordStartstr_args(auditRecordStartstr_args other) { + public reconcileKeyRecordValues_args( + reconcileKeyRecordValues_args other) { __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } this.record = other.record; - if(other.isSetStart()) { - this.start = other.start; + if(other.isSetValues()) { + Set __this__values = new LinkedHashSet( + other.values.size()); + for (com.cinchapi.concourse.thrift.TObject other_element : other.values) { + __this__values + .add(new com.cinchapi.concourse.thrift.TObject( + other_element)); + } + this.values = __this__values; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -84579,25 +210316,53 @@ public auditRecordStartstr_args(auditRecordStartstr_args other) { } } - public auditRecordStartstr_args deepCopy() { - return new auditRecordStartstr_args(this); + public reconcileKeyRecordValues_args deepCopy() { + return new reconcileKeyRecordValues_args(this); } @Override public void clear() { + this.key = null; setRecordIsSet(false); this.record = 0; - this.start = null; + this.values = null; this.creds = null; this.transaction = null; this.environment = null; } + public String getKey() { + return this.key; + } + + public reconcileKeyRecordValues_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + public long getRecord() { return this.record; } - public auditRecordStartstr_args setRecord(long record) { + public reconcileKeyRecordValues_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -84621,30 +210386,46 @@ public void setRecordIsSet(boolean value) { __RECORD_ISSET_ID, value); } - public String getStart() { - return this.start; + public int getValuesSize() { + return (this.values == null) ? 0 : this.values.size(); } - public auditRecordStartstr_args setStart(String start) { - this.start = start; + public java.util.Iterator getValuesIterator() { + return (this.values == null) ? null : this.values.iterator(); + } + + public void addToValues(com.cinchapi.concourse.thrift.TObject elem) { + if(this.values == null) { + this.values = new LinkedHashSet(); + } + this.values.add(elem); + } + + public Set getValues() { + return this.values; + } + + public reconcileKeyRecordValues_args setValues( + Set values) { + this.values = values; return this; } - public void unsetStart() { - this.start = null; + public void unsetValues() { + this.values = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field values is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetValues() { + return this.values != null; } - public void setStartIsSet(boolean value) { + public void setValuesIsSet(boolean value) { if(!value) { - this.start = null; + this.values = null; } } @@ -84652,7 +210433,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public auditRecordStartstr_args setCreds( + public reconcileKeyRecordValues_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -84680,7 +210461,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public auditRecordStartstr_args setTransaction( + public reconcileKeyRecordValues_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -84708,7 +210489,8 @@ public String getEnvironment() { return this.environment; } - public auditRecordStartstr_args setEnvironment(String environment) { + public reconcileKeyRecordValues_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -84733,6 +210515,15 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + case RECORD: if(value == null) { unsetRecord(); @@ -84742,12 +210533,13 @@ public void setFieldValue(_Fields field, Object value) { } break; - case START: + case VALUES: if(value == null) { - unsetStart(); + unsetValues(); } else { - setStart((String) value); + setValues( + (Set) value); } break; @@ -84784,11 +210576,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case KEY: + return getKey(); + case RECORD: return getRecord(); - case START: - return getStart(); + case VALUES: + return getValues(); case CREDS: return getCreds(); @@ -84813,10 +210608,12 @@ public boolean isSet(_Fields field) { } switch (field) { + case KEY: + return isSetKey(); case RECORD: return isSetRecord(); - case START: - return isSetStart(); + case VALUES: + return isSetValues(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -84831,15 +210628,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditRecordStartstr_args) - return this.equals((auditRecordStartstr_args) that); + if(that instanceof reconcileKeyRecordValues_args) + return this.equals((reconcileKeyRecordValues_args) that); return false; } - public boolean equals(auditRecordStartstr_args that) { + public boolean equals(reconcileKeyRecordValues_args that) { if(that == null) return false; + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + boolean this_present_record = true; boolean that_present_record = true; if(this_present_record || that_present_record) { @@ -84849,12 +210655,12 @@ public boolean equals(auditRecordStartstr_args that) { return false; } - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_values = true && this.isSetValues(); + boolean that_present_values = true && that.isSetValues(); + if(this_present_values || that_present_values) { + if(!(this_present_values && that_present_values)) return false; - if(!this.start.equals(that.start)) + if(!this.values.equals(that.values)) return false; } @@ -84892,15 +210698,20 @@ public boolean equals(auditRecordStartstr_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + boolean present_record = true; list.add(present_record); if(present_record) list.add(record); - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_values = true && (isSetValues()); + list.add(present_values); + if(present_values) + list.add(values); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -84921,7 +210732,7 @@ public int hashCode() { } @Override - public int compareTo(auditRecordStartstr_args other) { + public int compareTo(reconcileKeyRecordValues_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -84929,6 +210740,18 @@ public int compareTo(auditRecordStartstr_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetRecord()) .compareTo(other.isSetRecord()); if(lastComparison != 0) { @@ -84941,14 +210764,14 @@ public int compareTo(auditRecordStartstr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetValues()) + .compareTo(other.isSetValues()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetValues()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.values, other.values); if(lastComparison != 0) { return lastComparison; } @@ -85008,20 +210831,31 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditRecordStartstr_args("); + StringBuilder sb = new StringBuilder( + "reconcileKeyRecordValues_args("); boolean first = true; + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); sb.append("record:"); sb.append(this.record); first = false; if(!first) sb.append(", "); - sb.append("start:"); - if(this.start == null) { + sb.append("values:"); + if(this.values == null) { sb.append("null"); } else { - sb.append(this.start); + sb.append(this.values); } first = false; if(!first) @@ -85097,18 +210931,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditRecordStartstr_argsStandardSchemeFactory + private static class reconcileKeyRecordValues_argsStandardSchemeFactory implements SchemeFactory { - public auditRecordStartstr_argsStandardScheme getScheme() { - return new auditRecordStartstr_argsStandardScheme(); + public reconcileKeyRecordValues_argsStandardScheme getScheme() { + return new reconcileKeyRecordValues_argsStandardScheme(); } } - private static class auditRecordStartstr_argsStandardScheme - extends StandardScheme { + private static class reconcileKeyRecordValues_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditRecordStartstr_args struct) + reconcileKeyRecordValues_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -85118,7 +210952,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORD if(schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.record = iprot.readI64(); struct.setRecordIsSet(true); @@ -85128,17 +210972,29 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // START - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + case 3: // VALUES + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set892 = iprot + .readSetBegin(); + struct.values = new LinkedHashSet( + 2 * _set892.size); + com.cinchapi.concourse.thrift.TObject _elem893; + for (int _i894 = 0; _i894 < _set892.size; ++_i894) { + _elem893 = new com.cinchapi.concourse.thrift.TObject(); + _elem893.read(iprot); + struct.values.add(_elem893); + } + iprot.readSetEnd(); + } + struct.setValuesIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -85149,7 +211005,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -85160,7 +211016,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -85184,17 +211040,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditRecordStartstr_args struct) + reconcileKeyRecordValues_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } oprot.writeFieldBegin(RECORD_FIELD_DESC); oprot.writeI64(struct.record); oprot.writeFieldEnd(); - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); + if(struct.values != null) { + oprot.writeFieldBegin(VALUES_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + struct.values.size())); + for (com.cinchapi.concourse.thrift.TObject _iter895 : struct.values) { + _iter895.write(oprot); + } + oprot.writeSetEnd(); + } oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -85218,43 +211087,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditRecordStartstr_argsTupleSchemeFactory + private static class reconcileKeyRecordValues_argsTupleSchemeFactory implements SchemeFactory { - public auditRecordStartstr_argsTupleScheme getScheme() { - return new auditRecordStartstr_argsTupleScheme(); + public reconcileKeyRecordValues_argsTupleScheme getScheme() { + return new reconcileKeyRecordValues_argsTupleScheme(); } } - private static class auditRecordStartstr_argsTupleScheme - extends TupleScheme { + private static class reconcileKeyRecordValues_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartstr_args struct) + reconcileKeyRecordValues_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetStart()) { + if(struct.isSetRecord()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetValues()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } if(struct.isSetRecord()) { oprot.writeI64(struct.record); } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + if(struct.isSetValues()) { + { + oprot.writeI32(struct.values.size()); + for (com.cinchapi.concourse.thrift.TObject _iter896 : struct.values) { + _iter896.write(oprot); + } + } } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -85269,29 +211149,45 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartstr_args struct) + reconcileKeyRecordValues_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } if(incoming.get(2)) { + { + org.apache.thrift.protocol.TSet _set897 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + struct.values = new LinkedHashSet( + 2 * _set897.size); + com.cinchapi.concourse.thrift.TObject _elem898; + for (int _i899 = 0; _i899 < _set897.size; ++_i899) { + _elem898 = new com.cinchapi.concourse.thrift.TObject(); + _elem898.read(iprot); + struct.values.add(_elem898); + } + } + struct.setValuesIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -85300,16 +211196,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditRecordStartstr_result implements - org.apache.thrift.TBase, + public static class reconcileKeyRecordValues_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditRecordStartstr_result"); + "reconcileKeyRecordValues_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -85322,15 +211216,14 @@ public static class auditRecordStartstr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditRecordStartstr_resultStandardSchemeFactory()); + new reconcileKeyRecordValues_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditRecordStartstr_resultTupleSchemeFactory()); + new reconcileKeyRecordValues_resultTupleSchemeFactory()); } - public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** @@ -85338,7 +211231,6 @@ public static class auditRecordStartstr_result implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"), @@ -85358,8 +211250,6 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 0: // SUCCESS - return SUCCESS; case 1: // EX return EX; case 2: // EX2 @@ -85416,15 +211306,6 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.SUCCESS, - new org.apache.thrift.meta_data.FieldMetaData("success", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -85447,18 +211328,17 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditRecordStartstr_result.class, metaDataMap); + reconcileKeyRecordValues_result.class, metaDataMap); } - public auditRecordStartstr_result() {} + public reconcileKeyRecordValues_result() {} - public auditRecordStartstr_result(Map success, + public reconcileKeyRecordValues_result( com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.InvalidArgumentException ex3, com.cinchapi.concourse.thrift.PermissionException ex4) { this(); - this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; @@ -85468,12 +211348,8 @@ public auditRecordStartstr_result(Map success, /** * Performs a deep copy on other. */ - public auditRecordStartstr_result(auditRecordStartstr_result other) { - if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); - this.success = __this__success; - } + public reconcileKeyRecordValues_result( + reconcileKeyRecordValues_result other) { if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -85483,7 +211359,7 @@ public auditRecordStartstr_result(auditRecordStartstr_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( other.ex3); } if(other.isSetEx4()) { @@ -85492,63 +211368,23 @@ public auditRecordStartstr_result(auditRecordStartstr_result other) { } } - public auditRecordStartstr_result deepCopy() { - return new auditRecordStartstr_result(this); + public reconcileKeyRecordValues_result deepCopy() { + return new reconcileKeyRecordValues_result(this); } @Override public void clear() { - this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; this.ex4 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, String val) { - if(this.success == null) { - this.success = new LinkedHashMap(); - } - this.success.put(key, val); - } - - public Map getSuccess() { - return this.success; - } - - public auditRecordStartstr_result setSuccess( - Map success) { - this.success = success; - return this; - } - - public void unsetSuccess() { - this.success = null; - } - - /** - * Returns true if field success is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetSuccess() { - return this.success != null; - } - - public void setSuccessIsSet(boolean value) { - if(!value) { - this.success = null; - } - } - public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public auditRecordStartstr_result setEx( + public reconcileKeyRecordValues_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -85576,7 +211412,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public auditRecordStartstr_result setEx2( + public reconcileKeyRecordValues_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -85600,12 +211436,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { return this.ex3; } - public auditRecordStartstr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public reconcileKeyRecordValues_result setEx3( + com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { this.ex3 = ex3; return this; } @@ -85632,7 +211468,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public auditRecordStartstr_result setEx4( + public reconcileKeyRecordValues_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -85658,15 +211494,6 @@ public void setEx4IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case SUCCESS: - if(value == null) { - unsetSuccess(); - } - else { - setSuccess((Map) value); - } - break; - case EX: if(value == null) { unsetEx(); @@ -85690,7 +211517,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); + setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); } break; @@ -85708,9 +211535,6 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case SUCCESS: - return getSuccess(); - case EX: return getEx(); @@ -85737,8 +211561,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); case EX: return isSetEx(); case EX2: @@ -85755,24 +211577,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditRecordStartstr_result) - return this.equals((auditRecordStartstr_result) that); + if(that instanceof reconcileKeyRecordValues_result) + return this.equals((reconcileKeyRecordValues_result) that); return false; } - public boolean equals(auditRecordStartstr_result that) { + public boolean equals(reconcileKeyRecordValues_result that) { if(that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); - if(this_present_success || that_present_success) { - if(!(this_present_success && that_present_success)) - return false; - if(!this.success.equals(that.success)) - return false; - } - boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -85816,11 +211629,6 @@ public boolean equals(auditRecordStartstr_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); - list.add(present_success); - if(present_success) - list.add(success); - boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -85845,7 +211653,7 @@ public int hashCode() { } @Override - public int compareTo(auditRecordStartstr_result other) { + public int compareTo(reconcileKeyRecordValues_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -85853,18 +211661,6 @@ public int compareTo(auditRecordStartstr_result other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetSuccess()) - .compareTo(other.isSetSuccess()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.success, other.success); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -85932,19 +211728,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditRecordStartstr_result("); + StringBuilder sb = new StringBuilder( + "reconcileKeyRecordValues_result("); boolean first = true; - sb.append("success:"); - if(this.success == null) { - sb.append("null"); - } - else { - sb.append(this.success); - } - first = false; - if(!first) - sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -86016,18 +211803,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditRecordStartstr_resultStandardSchemeFactory + private static class reconcileKeyRecordValues_resultStandardSchemeFactory implements SchemeFactory { - public auditRecordStartstr_resultStandardScheme getScheme() { - return new auditRecordStartstr_resultStandardScheme(); + public reconcileKeyRecordValues_resultStandardScheme getScheme() { + return new reconcileKeyRecordValues_resultStandardScheme(); } } - private static class auditRecordStartstr_resultStandardScheme - extends StandardScheme { + private static class reconcileKeyRecordValues_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditRecordStartstr_result struct) + reconcileKeyRecordValues_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -86037,29 +211824,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map38 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map38.size); - long _key39; - String _val40; - for (int _i41 = 0; _i41 < _map38.size; ++_i41) { - _key39 = iprot.readI64(); - _val40 = iprot.readString(); - struct.success.put(_key39, _val40); - } - iprot.readMapEnd(); - } - struct.setSuccessIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -86084,7 +211848,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -86118,27 +211882,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditRecordStartstr_result struct) + reconcileKeyRecordValues_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.success != null) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, - struct.success.size())); - for (Map.Entry _iter42 : struct.success - .entrySet()) { - oprot.writeI64(_iter42.getKey()); - oprot.writeString(_iter42.getValue()); - } - oprot.writeMapEnd(); - } - oprot.writeFieldEnd(); - } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -86165,48 +211913,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditRecordStartstr_resultTupleSchemeFactory + private static class reconcileKeyRecordValues_resultTupleSchemeFactory implements SchemeFactory { - public auditRecordStartstr_resultTupleScheme getScheme() { - return new auditRecordStartstr_resultTupleScheme(); + public reconcileKeyRecordValues_resultTupleScheme getScheme() { + return new reconcileKeyRecordValues_resultTupleScheme(); } } - private static class auditRecordStartstr_resultTupleScheme - extends TupleScheme { + private static class reconcileKeyRecordValues_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartstr_result struct) + reconcileKeyRecordValues_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetSuccess()) { - optionals.set(0); - } if(struct.isSetEx()) { - optionals.set(1); + optionals.set(0); } if(struct.isSetEx2()) { - optionals.set(2); + optionals.set(1); } if(struct.isSetEx3()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); - if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry _iter43 : struct.success - .entrySet()) { - oprot.writeI64(_iter43.getKey()); - oprot.writeString(_iter43.getValue()); - } - } + optionals.set(3); } + oprot.writeBitSet(optionals, 4); if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -86223,44 +211958,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartstr_result struct) + reconcileKeyRecordValues_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map44 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map44.size); - long _key45; - String _val46; - for (int _i47 = 0; _i47 < _map44.size; ++_i47) { - _key45 = iprot.readI64(); - _val46 = iprot.readString(); - struct.success.put(_key45, _val46); - } - } - struct.setSuccessIsSet(true); - } - if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(1)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + if(incoming.get(2)) { + struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex4.read(iprot); struct.setEx4IsSet(true); @@ -86270,40 +211987,31 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditRecordStartEnd_args implements - org.apache.thrift.TBase, + public static class inventory_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditRecordStartEnd_args"); + "inventory_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 2); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 3); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditRecordStartEnd_argsStandardSchemeFactory()); + new inventory_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditRecordStartEnd_argsTupleSchemeFactory()); + new inventory_argsTupleSchemeFactory()); } - public long record; // required - public long start; // required - public long tend; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -86313,12 +212021,9 @@ public static class auditRecordStartEnd_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - START((short) 2, "start"), - TEND((short) 3, "tend"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CREDS((short) 1, "creds"), + TRANSACTION((short) 2, "transaction"), + ENVIRONMENT((short) 3, "environment"); private static final Map byName = new LinkedHashMap(); @@ -86334,17 +212039,11 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // START - return START; - case 3: // TEND - return TEND; - case 4: // CREDS + case 1: // CREDS return CREDS; - case 5: // TRANSACTION + case 2: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 3: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -86390,29 +212089,10 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __START_ISSET_ID = 1; - private static final int __TEND_ISSET_ID = 2; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -86431,23 +212111,16 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditRecordStartEnd_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(inventory_args.class, metaDataMap); } - public auditRecordStartEnd_args() {} + public inventory_args() {} - public auditRecordStartEnd_args(long record, long start, long tend, - com.cinchapi.concourse.thrift.AccessToken creds, + public inventory_args(com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); - this.start = start; - setStartIsSet(true); - this.tend = tend; - setTendIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -86456,11 +212129,7 @@ public auditRecordStartEnd_args(long record, long start, long tend, /** * Performs a deep copy on other. */ - public auditRecordStartEnd_args(auditRecordStartEnd_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; - this.start = other.start; - this.tend = other.tend; + public inventory_args(inventory_args other) { if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -86474,112 +212143,22 @@ public auditRecordStartEnd_args(auditRecordStartEnd_args other) { } } - public auditRecordStartEnd_args deepCopy() { - return new auditRecordStartEnd_args(this); + public inventory_args deepCopy() { + return new inventory_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; - setStartIsSet(false); - this.start = 0; - setTendIsSet(false); - this.tend = 0; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; - } - - public auditRecordStartEnd_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); - } - - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - - public long getStart() { - return this.start; - } - - public auditRecordStartEnd_args setStart(long start) { - this.start = start; - setStartIsSet(true); - return this; - } - - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); - } - - /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); - } - - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); - } - - public long getTend() { - return this.tend; - } - - public auditRecordStartEnd_args setTend(long tend) { - this.tend = tend; - setTendIsSet(true); - return this; - } - - public void unsetTend() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TEND_ISSET_ID); - } - - /** - * Returns true if field tend is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetTend() { - return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); - } - - public void setTendIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TEND_ISSET_ID, value); - } - public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public auditRecordStartEnd_args setCreds( + public inventory_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -86607,7 +212186,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public auditRecordStartEnd_args setTransaction( + public inventory_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -86635,7 +212214,7 @@ public String getEnvironment() { return this.environment; } - public auditRecordStartEnd_args setEnvironment(String environment) { + public inventory_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -86660,33 +212239,6 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: - if(value == null) { - unsetRecord(); - } - else { - setRecord((Long) value); - } - break; - - case START: - if(value == null) { - unsetStart(); - } - else { - setStart((Long) value); - } - break; - - case TEND: - if(value == null) { - unsetTend(); - } - else { - setTend((Long) value); - } - break; - case CREDS: if(value == null) { unsetCreds(); @@ -86720,15 +212272,6 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); - - case START: - return getStart(); - - case TEND: - return getTend(); - case CREDS: return getCreds(); @@ -86752,12 +212295,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -86772,42 +212309,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditRecordStartEnd_args) - return this.equals((auditRecordStartEnd_args) that); + if(that instanceof inventory_args) + return this.equals((inventory_args) that); return false; } - public boolean equals(auditRecordStartEnd_args that) { + public boolean equals(inventory_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) - return false; - if(this.record != that.record) - return false; - } - - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) - return false; - if(this.start != that.start) - return false; - } - - boolean this_present_tend = true; - boolean that_present_tend = true; - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) - return false; - if(this.tend != that.tend) - return false; - } - boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -86842,21 +212352,6 @@ public boolean equals(auditRecordStartEnd_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); - - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); - - boolean present_tend = true; - list.add(present_tend); - if(present_tend) - list.add(tend); - boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -86876,7 +212371,7 @@ public int hashCode() { } @Override - public int compareTo(auditRecordStartEnd_args other) { + public int compareTo(inventory_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -86884,42 +212379,6 @@ public int compareTo(auditRecordStartEnd_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetRecord()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetStart()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetTend()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -86975,24 +212434,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditRecordStartEnd_args("); + StringBuilder sb = new StringBuilder("inventory_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - sb.append(this.start); - first = false; - if(!first) - sb.append(", "); - sb.append("tend:"); - sb.append(this.tend); - first = false; - if(!first) - sb.append(", "); sb.append("creds:"); if(this.creds == null) { sb.append("null"); @@ -87051,10 +212495,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -87064,19 +212504,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditRecordStartEnd_argsStandardSchemeFactory + private static class inventory_argsStandardSchemeFactory implements SchemeFactory { - public auditRecordStartEnd_argsStandardScheme getScheme() { - return new auditRecordStartEnd_argsStandardScheme(); + public inventory_argsStandardScheme getScheme() { + return new inventory_argsStandardScheme(); } } - private static class auditRecordStartEnd_argsStandardScheme - extends StandardScheme { + private static class inventory_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditRecordStartEnd_args struct) - throws org.apache.thrift.TException { + inventory_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -87085,37 +212524,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // TEND - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 4: // CREDS + case 1: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -87126,7 +212535,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 2: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -87137,7 +212546,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 3: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -87161,20 +212570,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditRecordStartEnd_args struct) - throws org.apache.thrift.TException { + inventory_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeI64(struct.tend); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -87196,50 +212595,31 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditRecordStartEnd_argsTupleSchemeFactory + private static class inventory_argsTupleSchemeFactory implements SchemeFactory { - public auditRecordStartEnd_argsTupleScheme getScheme() { - return new auditRecordStartEnd_argsTupleScheme(); + public inventory_argsTupleScheme getScheme() { + return new inventory_argsTupleScheme(); } } - private static class auditRecordStartEnd_argsTupleScheme - extends TupleScheme { + private static class inventory_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartEnd_args struct) - throws org.apache.thrift.TException { + inventory_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { - optionals.set(0); - } - if(struct.isSetStart()) { - optionals.set(1); - } - if(struct.isSetTend()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(0); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(1); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); - } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); - } - if(struct.isSetTend()) { - oprot.writeI64(struct.tend); + optionals.set(2); } + oprot.writeBitSet(optionals, 3); if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -87253,33 +212633,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartEnd_args struct) - throws org.apache.thrift.TException { + inventory_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(3); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - if(incoming.get(1)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); - } - if(incoming.get(2)) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(1)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(2)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -87288,16 +212655,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditRecordStartEnd_result implements - org.apache.thrift.TBase, + public static class inventory_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditRecordStartEnd_result"); + "inventory_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -87308,12 +212675,12 @@ public static class auditRecordStartEnd_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditRecordStartEnd_resultStandardSchemeFactory()); + new inventory_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditRecordStartEnd_resultTupleSchemeFactory()); + new inventory_resultTupleSchemeFactory()); } - public Map success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -87401,12 +212768,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -87423,13 +212788,13 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditRecordStartEnd_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(inventory_result.class, metaDataMap); } - public auditRecordStartEnd_result() {} + public inventory_result() {} - public auditRecordStartEnd_result(Map success, + public inventory_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -87443,9 +212808,9 @@ public auditRecordStartEnd_result(Map success, /** * Performs a deep copy on other. */ - public auditRecordStartEnd_result(auditRecordStartEnd_result other) { + public inventory_result(inventory_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( + Set __this__success = new LinkedHashSet( other.success); this.success = __this__success; } @@ -87463,8 +212828,8 @@ public auditRecordStartEnd_result(auditRecordStartEnd_result other) { } } - public auditRecordStartEnd_result deepCopy() { - return new auditRecordStartEnd_result(this); + public inventory_result deepCopy() { + return new inventory_result(this); } @Override @@ -87479,19 +212844,22 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, String val) { + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(long elem) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashSet(); } - this.success.put(key, val); + this.success.add(elem); } - public Map getSuccess() { + public Set getSuccess() { return this.success; } - public auditRecordStartEnd_result setSuccess( - Map success) { + public inventory_result setSuccess(Set success) { this.success = success; return this; } @@ -87518,7 +212886,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public auditRecordStartEnd_result setEx( + public inventory_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -87546,7 +212914,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public auditRecordStartEnd_result setEx2( + public inventory_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -87574,7 +212942,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public auditRecordStartEnd_result setEx3( + public inventory_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -87605,7 +212973,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map) value); + setSuccess((Set) value); } break; @@ -87683,12 +213051,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditRecordStartEnd_result) - return this.equals((auditRecordStartEnd_result) that); + if(that instanceof inventory_result) + return this.equals((inventory_result) that); return false; } - public boolean equals(auditRecordStartEnd_result that) { + public boolean equals(inventory_result that) { if(that == null) return false; @@ -87759,7 +213127,7 @@ public int hashCode() { } @Override - public int compareTo(auditRecordStartEnd_result other) { + public int compareTo(inventory_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -87834,7 +213202,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditRecordStartEnd_result("); + StringBuilder sb = new StringBuilder("inventory_result("); boolean first = true; sb.append("success:"); @@ -87908,18 +213276,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditRecordStartEnd_resultStandardSchemeFactory + private static class inventory_resultStandardSchemeFactory implements SchemeFactory { - public auditRecordStartEnd_resultStandardScheme getScheme() { - return new auditRecordStartEnd_resultStandardScheme(); + public inventory_resultStandardScheme getScheme() { + return new inventory_resultStandardScheme(); } } - private static class auditRecordStartEnd_resultStandardScheme - extends StandardScheme { + private static class inventory_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditRecordStartEnd_result struct) + inventory_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -87930,20 +213298,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TMap _map48 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map48.size); - long _key49; - String _val50; - for (int _i51 = 0; _i51 < _map48.size; ++_i51) { - _key49 = iprot.readI64(); - _val50 = iprot.readString(); - struct.success.put(_key49, _val50); + org.apache.thrift.protocol.TSet _set900 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set900.size); + long _elem901; + for (int _i902 = 0; _i902 < _set900.size; ++_i902) { + _elem901 = iprot.readI64(); + struct.success.add(_elem901); } - iprot.readMapEnd(); + iprot.readSetEnd(); } struct.setSuccessIsSet(true); } @@ -87999,7 +213365,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditRecordStartEnd_result struct) + inventory_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -88007,16 +213373,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (Map.Entry _iter52 : struct.success - .entrySet()) { - oprot.writeI64(_iter52.getKey()); - oprot.writeString(_iter52.getValue()); + for (long _iter903 : struct.success) { + oprot.writeI64(_iter903); } - oprot.writeMapEnd(); + oprot.writeSetEnd(); } oprot.writeFieldEnd(); } @@ -88041,19 +213404,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditRecordStartEnd_resultTupleSchemeFactory + private static class inventory_resultTupleSchemeFactory implements SchemeFactory { - public auditRecordStartEnd_resultTupleScheme getScheme() { - return new auditRecordStartEnd_resultTupleScheme(); + public inventory_resultTupleScheme getScheme() { + return new inventory_resultTupleScheme(); } } - private static class auditRecordStartEnd_resultTupleScheme - extends TupleScheme { + private static class inventory_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartEnd_result struct) + inventory_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -88073,10 +213436,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter53 : struct.success - .entrySet()) { - oprot.writeI64(_iter53.getKey()); - oprot.writeString(_iter53.getValue()); + for (long _iter904 : struct.success) { + oprot.writeI64(_iter904); } } } @@ -88093,24 +213454,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartEnd_result struct) + inventory_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map54 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TSet _set905 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map54.size); - long _key55; - String _val56; - for (int _i57 = 0; _i57 < _map54.size; ++_i57) { - _key55 = iprot.readI64(); - _val56 = iprot.readString(); - struct.success.put(_key55, _val56); + struct.success = new LinkedHashSet( + 2 * _set905.size); + long _elem906; + for (int _i907 = 0; _i907 < _set905.size; ++_i907) { + _elem906 = iprot.readI64(); + struct.success.add(_elem906); } } struct.setSuccessIsSet(true); @@ -88135,40 +213493,34 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditRecordStartstrEndstr_args implements - org.apache.thrift.TBase, + public static class selectRecord_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditRecordStartstrEndstr_args"); + "selectRecord_args"); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( "record", org.apache.thrift.protocol.TType.I64, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 2); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.STRING, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 3); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditRecordStartstrEndstr_argsStandardSchemeFactory()); + new selectRecord_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditRecordStartstrEndstr_argsTupleSchemeFactory()); + new selectRecord_argsTupleSchemeFactory()); } public long record; // required - public String start; // required - public String tend; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -88179,11 +213531,9 @@ public static class auditRecordStartstrEndstr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { RECORD((short) 1, "record"), - START((short) 2, "start"), - TEND((short) 3, "tend"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); private static final Map byName = new LinkedHashMap(); @@ -88201,15 +213551,11 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // RECORD return RECORD; - case 2: // START - return START; - case 3: // TEND - return TEND; - case 4: // CREDS + case 2: // CREDS return CREDS; - case 5: // TRANSACTION + case 3: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 4: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -88266,16 +213612,6 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -88294,21 +213630,19 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditRecordStartstrEndstr_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(selectRecord_args.class, metaDataMap); } - public auditRecordStartstrEndstr_args() {} + public selectRecord_args() {} - public auditRecordStartstrEndstr_args(long record, String start, - String tend, com.cinchapi.concourse.thrift.AccessToken creds, + public selectRecord_args(long record, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.record = record; setRecordIsSet(true); - this.start = start; - this.tend = tend; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -88317,16 +213651,9 @@ public auditRecordStartstrEndstr_args(long record, String start, /** * Performs a deep copy on other. */ - public auditRecordStartstrEndstr_args( - auditRecordStartstrEndstr_args other) { + public selectRecord_args(selectRecord_args other) { __isset_bitfield = other.__isset_bitfield; this.record = other.record; - if(other.isSetStart()) { - this.start = other.start; - } - if(other.isSetTend()) { - this.tend = other.tend; - } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -88340,16 +213667,14 @@ public auditRecordStartstrEndstr_args( } } - public auditRecordStartstrEndstr_args deepCopy() { - return new auditRecordStartstrEndstr_args(this); + public selectRecord_args deepCopy() { + return new selectRecord_args(this); } @Override public void clear() { setRecordIsSet(false); this.record = 0; - this.start = null; - this.tend = null; this.creds = null; this.transaction = null; this.environment = null; @@ -88359,7 +213684,7 @@ public long getRecord() { return this.record; } - public auditRecordStartstrEndstr_args setRecord(long record) { + public selectRecord_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -88383,65 +213708,11 @@ public void setRecordIsSet(boolean value) { __RECORD_ISSET_ID, value); } - public String getStart() { - return this.start; - } - - public auditRecordStartstrEndstr_args setStart(String start) { - this.start = start; - return this; - } - - public void unsetStart() { - this.start = null; - } - - /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetStart() { - return this.start != null; - } - - public void setStartIsSet(boolean value) { - if(!value) { - this.start = null; - } - } - - public String getTend() { - return this.tend; - } - - public auditRecordStartstrEndstr_args setTend(String tend) { - this.tend = tend; - return this; - } - - public void unsetTend() { - this.tend = null; - } - - /** - * Returns true if field tend is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetTend() { - return this.tend != null; - } - - public void setTendIsSet(boolean value) { - if(!value) { - this.tend = null; - } - } - public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public auditRecordStartstrEndstr_args setCreds( + public selectRecord_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -88469,7 +213740,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public auditRecordStartstrEndstr_args setTransaction( + public selectRecord_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -88497,8 +213768,7 @@ public String getEnvironment() { return this.environment; } - public auditRecordStartstrEndstr_args setEnvironment( - String environment) { + public selectRecord_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -88532,24 +213802,6 @@ public void setFieldValue(_Fields field, Object value) { } break; - case START: - if(value == null) { - unsetStart(); - } - else { - setStart((String) value); - } - break; - - case TEND: - if(value == null) { - unsetTend(); - } - else { - setTend((String) value); - } - break; - case CREDS: if(value == null) { unsetCreds(); @@ -88586,12 +213838,6 @@ public Object getFieldValue(_Fields field) { case RECORD: return getRecord(); - case START: - return getStart(); - - case TEND: - return getTend(); - case CREDS: return getCreds(); @@ -88617,10 +213863,6 @@ public boolean isSet(_Fields field) { switch (field) { case RECORD: return isSetRecord(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -88635,12 +213877,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditRecordStartstrEndstr_args) - return this.equals((auditRecordStartstrEndstr_args) that); + if(that instanceof selectRecord_args) + return this.equals((selectRecord_args) that); return false; } - public boolean equals(auditRecordStartstrEndstr_args that) { + public boolean equals(selectRecord_args that) { if(that == null) return false; @@ -88653,24 +213895,6 @@ public boolean equals(auditRecordStartstrEndstr_args that) { return false; } - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) - return false; - if(!this.start.equals(that.start)) - return false; - } - - boolean this_present_tend = true && this.isSetTend(); - boolean that_present_tend = true && that.isSetTend(); - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) - return false; - if(!this.tend.equals(that.tend)) - return false; - } - boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -88710,16 +213934,6 @@ public int hashCode() { if(present_record) list.add(record); - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); - - boolean present_tend = true && (isSetTend()); - list.add(present_tend); - if(present_tend) - list.add(tend); - boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -88739,7 +213953,7 @@ public int hashCode() { } @Override - public int compareTo(auditRecordStartstrEndstr_args other) { + public int compareTo(selectRecord_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -88759,30 +213973,6 @@ public int compareTo(auditRecordStartstrEndstr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetStart()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetTend()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -88838,33 +214028,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "auditRecordStartstrEndstr_args("); + StringBuilder sb = new StringBuilder("selectRecord_args("); boolean first = true; sb.append("record:"); sb.append(this.record); first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - if(this.start == null) { - sb.append("null"); - } - else { - sb.append(this.start); - } - first = false; - if(!first) - sb.append(", "); - sb.append("tend:"); - if(this.tend == null) { - sb.append("null"); - } - else { - sb.append(this.tend); - } - first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -88938,18 +214107,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditRecordStartstrEndstr_argsStandardSchemeFactory + private static class selectRecord_argsStandardSchemeFactory implements SchemeFactory { - public auditRecordStartstrEndstr_argsStandardScheme getScheme() { - return new auditRecordStartstrEndstr_argsStandardScheme(); + public selectRecord_argsStandardScheme getScheme() { + return new selectRecord_argsStandardScheme(); } } - private static class auditRecordStartstrEndstr_argsStandardScheme - extends StandardScheme { + private static class selectRecord_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditRecordStartstrEndstr_args struct) + selectRecord_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -88969,27 +214138,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // START - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // TEND - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 4: // CREDS + case 2: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -89000,7 +214149,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 3: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -89011,7 +214160,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 4: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -89035,7 +214184,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditRecordStartstrEndstr_args struct) + selectRecord_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -89043,16 +214192,6 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(RECORD_FIELD_DESC); oprot.writeI64(struct.record); oprot.writeFieldEnd(); - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); - oprot.writeFieldEnd(); - } - if(struct.tend != null) { - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeString(struct.tend); - oprot.writeFieldEnd(); - } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -89074,50 +214213,38 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditRecordStartstrEndstr_argsTupleSchemeFactory + private static class selectRecord_argsTupleSchemeFactory implements SchemeFactory { - public auditRecordStartstrEndstr_argsTupleScheme getScheme() { - return new auditRecordStartstrEndstr_argsTupleScheme(); + public selectRecord_argsTupleScheme getScheme() { + return new selectRecord_argsTupleScheme(); } } - private static class auditRecordStartstrEndstr_argsTupleScheme - extends TupleScheme { + private static class selectRecord_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartstrEndstr_args struct) + selectRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetRecord()) { optionals.set(0); } - if(struct.isSetStart()) { - optionals.set(1); - } - if(struct.isSetTend()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(1); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(2); } if(struct.isSetEnvironment()) { - optionals.set(5); + optionals.set(3); } - oprot.writeBitSet(optionals, 6); + oprot.writeBitSet(optionals, 4); if(struct.isSetRecord()) { oprot.writeI64(struct.record); } - if(struct.isSetStart()) { - oprot.writeString(struct.start); - } - if(struct.isSetTend()) { - oprot.writeString(struct.tend); - } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -89131,33 +214258,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartstrEndstr_args struct) + selectRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { struct.record = iprot.readI64(); struct.setRecordIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); - } - if(incoming.get(2)) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(2)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(3)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -89166,13 +214285,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditRecordStartstrEndstr_result implements - org.apache.thrift.TBase, + public static class selectRecord_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditRecordStartstrEndstr_result"); + "selectRecord_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -89182,22 +214301,19 @@ public static class auditRecordStartstrEndstr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditRecordStartstrEndstr_resultStandardSchemeFactory()); + new selectRecord_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditRecordStartstrEndstr_resultTupleSchemeFactory()); + new selectRecord_resultTupleSchemeFactory()); } - public Map success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -89207,8 +214323,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -89232,8 +214347,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -89288,9 +214401,12 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -89306,39 +214422,52 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditRecordStartstrEndstr_result.class, metaDataMap); + selectRecord_result.class, metaDataMap); } - public auditRecordStartstrEndstr_result() {} + public selectRecord_result() {} - public auditRecordStartstrEndstr_result(Map success, + public selectRecord_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public auditRecordStartstrEndstr_result( - auditRecordStartstrEndstr_result other) { + public selectRecord_result(selectRecord_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -89350,17 +214479,13 @@ public auditRecordStartstrEndstr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public auditRecordStartstrEndstr_result deepCopy() { - return new auditRecordStartstrEndstr_result(this); + public selectRecord_result deepCopy() { + return new selectRecord_result(this); } @Override @@ -89369,26 +214494,26 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, String val) { + public void putToSuccess(String key, + Set val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map> getSuccess() { return this.success; } - public auditRecordStartstrEndstr_result setSuccess( - Map success) { + public selectRecord_result setSuccess( + Map> success) { this.success = success; return this; } @@ -89415,7 +214540,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public auditRecordStartstrEndstr_result setEx( + public selectRecord_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -89443,7 +214568,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public auditRecordStartstrEndstr_result setEx2( + public selectRecord_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -89467,12 +214592,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public auditRecordStartstrEndstr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public selectRecord_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -89495,34 +214620,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public auditRecordStartstrEndstr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -89530,7 +214627,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map) value); + setSuccess( + (Map>) value); } break; @@ -89557,16 +214655,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -89587,9 +214676,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -89612,8 +214698,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -89622,12 +214706,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditRecordStartstrEndstr_result) - return this.equals((auditRecordStartstrEndstr_result) that); + if(that instanceof selectRecord_result) + return this.equals((selectRecord_result) that); return false; } - public boolean equals(auditRecordStartstrEndstr_result that) { + public boolean equals(selectRecord_result that) { if(that == null) return false; @@ -89667,15 +214751,6 @@ public boolean equals(auditRecordStartstrEndstr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -89703,16 +214778,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(auditRecordStartstrEndstr_result other) { + public int compareTo(selectRecord_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -89768,18 +214838,6 @@ public int compareTo(auditRecordStartstrEndstr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -89799,8 +214857,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "auditRecordStartstrEndstr_result("); + StringBuilder sb = new StringBuilder("selectRecord_result("); boolean first = true; sb.append("success:"); @@ -89841,16 +214898,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -89884,18 +214931,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditRecordStartstrEndstr_resultStandardSchemeFactory + private static class selectRecord_resultStandardSchemeFactory implements SchemeFactory { - public auditRecordStartstrEndstr_resultStandardScheme getScheme() { - return new auditRecordStartstrEndstr_resultStandardScheme(); + public selectRecord_resultStandardScheme getScheme() { + return new selectRecord_resultStandardScheme(); } } - private static class auditRecordStartstrEndstr_resultStandardScheme - extends StandardScheme { + private static class selectRecord_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditRecordStartstrEndstr_result struct) + selectRecord_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -89908,16 +214955,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map58 = iprot + org.apache.thrift.protocol.TMap _map908 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map58.size); - long _key59; - String _val60; - for (int _i61 = 0; _i61 < _map58.size; ++_i61) { - _key59 = iprot.readI64(); - _val60 = iprot.readString(); - struct.success.put(_key59, _val60); + struct.success = new LinkedHashMap>( + 2 * _map908.size); + String _key909; + Set _val910; + for (int _i911 = 0; _i911 < _map908.size; ++_i911) { + _key909 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set912 = iprot + .readSetBegin(); + _val910 = new LinkedHashSet( + 2 * _set912.size); + com.cinchapi.concourse.thrift.TObject _elem913; + for (int _i914 = 0; _i914 < _set912.size; ++_i914) { + _elem913 = new com.cinchapi.concourse.thrift.TObject(); + _elem913.read(iprot); + _val910.add(_elem913); + } + iprot.readSetEnd(); + } + struct.success.put(_key909, _val910); } iprot.readMapEnd(); } @@ -89952,7 +215011,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -89961,17 +215020,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -89986,7 +215034,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditRecordStartstrEndstr_result struct) + selectRecord_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -89995,13 +215043,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry _iter62 : struct.success + for (Map.Entry> _iter915 : struct.success .entrySet()) { - oprot.writeI64(_iter62.getKey()); - oprot.writeString(_iter62.getValue()); + oprot.writeString(_iter915.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter915.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter916 : _iter915 + .getValue()) { + _iter916.write(oprot); + } + oprot.writeSetEnd(); + } } oprot.writeMapEnd(); } @@ -90022,30 +215080,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class auditRecordStartstrEndstr_resultTupleSchemeFactory + private static class selectRecord_resultTupleSchemeFactory implements SchemeFactory { - public auditRecordStartstrEndstr_resultTupleScheme getScheme() { - return new auditRecordStartstrEndstr_resultTupleScheme(); + public selectRecord_resultTupleScheme getScheme() { + return new selectRecord_resultTupleScheme(); } } - private static class auditRecordStartstrEndstr_resultTupleScheme - extends TupleScheme { + private static class selectRecord_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartstrEndstr_result struct) + selectRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -90061,17 +215114,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter63 : struct.success + for (Map.Entry> _iter917 : struct.success .entrySet()) { - oprot.writeI64(_iter63.getKey()); - oprot.writeString(_iter63.getValue()); + oprot.writeString(_iter917.getKey()); + { + oprot.writeI32(_iter917.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter918 : _iter917 + .getValue()) { + _iter918.write(oprot); + } + } } } } @@ -90084,31 +215140,40 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditRecordStartstrEndstr_result struct) + selectRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map64 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TMap _map919 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map64.size); - long _key65; - String _val66; - for (int _i67 = 0; _i67 < _map64.size; ++_i67) { - _key65 = iprot.readI64(); - _val66 = iprot.readString(); - struct.success.put(_key65, _val66); + struct.success = new LinkedHashMap>( + 2 * _map919.size); + String _key920; + Set _val921; + for (int _i922 = 0; _i922 < _map919.size; ++_i922) { + _key920 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set923 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val921 = new LinkedHashSet( + 2 * _set923.size); + com.cinchapi.concourse.thrift.TObject _elem924; + for (int _i925 = 0; _i925 < _set923.size; ++_i925) { + _elem924 = new com.cinchapi.concourse.thrift.TObject(); + _elem924.read(iprot); + _val921.add(_elem924); + } + } + struct.success.put(_key920, _val921); } } struct.setSuccessIsSet(true); @@ -90124,51 +215189,43 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class auditKeyRecord_args implements - org.apache.thrift.TBase, + public static class selectRecords_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditKeyRecord_args"); + "selectRecords_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 3); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditKeyRecord_argsStandardSchemeFactory()); + new selectRecords_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditKeyRecord_argsTupleSchemeFactory()); + new selectRecords_argsTupleSchemeFactory()); } - public String key; // required - public long record; // required + public List records; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -90178,11 +215235,10 @@ public static class auditKeyRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - RECORD((short) 2, "record"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + RECORDS((short) 1, "records"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); private static final Map byName = new LinkedHashMap(); @@ -90198,15 +215254,13 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // RECORD - return RECORD; - case 3: // CREDS + case 1: // RECORDS + return RECORDS; + case 2: // CREDS return CREDS; - case 4: // TRANSACTION + case 3: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 4: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -90252,22 +215306,17 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -90287,19 +215336,17 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditKeyRecord_args.class, metaDataMap); + selectRecords_args.class, metaDataMap); } - public auditKeyRecord_args() {} + public selectRecords_args() {} - public auditKeyRecord_args(String key, long record, + public selectRecords_args(List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.record = record; - setRecordIsSet(true); + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -90308,12 +215355,11 @@ public auditKeyRecord_args(String key, long record, /** * Performs a deep copy on other. */ - public auditKeyRecord_args(auditKeyRecord_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public selectRecords_args(selectRecords_args other) { + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; } - this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -90327,80 +215373,65 @@ public auditKeyRecord_args(auditKeyRecord_args other) { } } - public auditKeyRecord_args deepCopy() { - return new auditKeyRecord_args(this); + public selectRecords_args deepCopy() { + return new selectRecords_args(this); } @Override public void clear() { - this.key = null; - setRecordIsSet(false); - this.record = 0; + this.records = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; - } - - public auditKeyRecord_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); } - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); } + this.records.add(elem); } - public long getRecord() { - return this.record; + public List getRecords() { + return this.records; } - public auditKeyRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectRecords_args setRecords(List records) { + this.records = records; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetRecords() { + this.records = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetRecords() { + return this.records != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public auditKeyRecord_args setCreds( + public selectRecords_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -90428,7 +215459,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public auditKeyRecord_args setTransaction( + public selectRecords_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -90456,7 +215487,7 @@ public String getEnvironment() { return this.environment; } - public auditKeyRecord_args setEnvironment(String environment) { + public selectRecords_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -90481,21 +215512,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case RECORD: + case RECORDS: if(value == null) { - unsetRecord(); + unsetRecords(); } else { - setRecord((Long) value); + setRecords((List) value); } break; @@ -90532,11 +215554,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case RECORD: - return getRecord(); + case RECORDS: + return getRecords(); case CREDS: return getCreds(); @@ -90561,10 +215580,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case RECORD: - return isSetRecord(); + case RECORDS: + return isSetRecords(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -90579,30 +215596,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditKeyRecord_args) - return this.equals((auditKeyRecord_args) that); + if(that instanceof selectRecords_args) + return this.equals((selectRecords_args) that); return false; } - public boolean equals(auditKeyRecord_args that) { + public boolean equals(selectRecords_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(this.record != that.record) + if(!this.records.equals(that.records)) return false; } @@ -90640,15 +215648,10 @@ public boolean equals(auditKeyRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -90669,7 +215672,7 @@ public int hashCode() { } @Override - public int compareTo(auditKeyRecord_args other) { + public int compareTo(selectRecords_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -90677,26 +215680,14 @@ public int compareTo(auditKeyRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } @@ -90756,22 +215747,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditKeyRecord_args("); + StringBuilder sb = new StringBuilder("selectRecords_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("records:"); + if(this.records == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.records); } first = false; - if(!first) - sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -90832,10 +215818,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -90845,18 +215827,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditKeyRecord_argsStandardSchemeFactory + private static class selectRecords_argsStandardSchemeFactory implements SchemeFactory { - public auditKeyRecord_argsStandardScheme getScheme() { - return new auditKeyRecord_argsStandardScheme(); + public selectRecords_argsStandardScheme getScheme() { + return new selectRecords_argsStandardScheme(); } } - private static class auditKeyRecord_argsStandardScheme - extends StandardScheme { + private static class selectRecords_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditKeyRecord_args struct) + selectRecords_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -90866,27 +215848,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list926 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list926.size); + long _elem927; + for (int _i928 = 0; _i928 < _list926.size; ++_i928) { + _elem927 = iprot.readI64(); + struct.records.add(_elem927); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 2: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -90897,7 +215880,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 3: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -90908,7 +215891,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 4: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -90932,19 +215915,25 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditKeyRecord_args struct) + selectRecords_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter929 : struct.records) { + oprot.writeI64(_iter929); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -90966,43 +215955,42 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditKeyRecord_argsTupleSchemeFactory + private static class selectRecords_argsTupleSchemeFactory implements SchemeFactory { - public auditKeyRecord_argsTupleScheme getScheme() { - return new auditKeyRecord_argsTupleScheme(); + public selectRecords_argsTupleScheme getScheme() { + return new selectRecords_argsTupleScheme(); } } - private static class auditKeyRecord_argsTupleScheme - extends TupleScheme { + private static class selectRecords_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecord_args struct) + selectRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetRecords()) { optionals.set(0); } - if(struct.isSetRecord()) { - optionals.set(1); - } if(struct.isSetCreds()) { - optionals.set(2); + optionals.set(1); } if(struct.isSetTransaction()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetEnvironment()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + optionals.set(3); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + oprot.writeBitSet(optionals, 4); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter930 : struct.records) { + oprot.writeI64(_iter930); + } + } } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -91017,29 +216005,35 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecord_args struct) + selectRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list931.size); + long _elem932; + for (int _i933 = 0; _i933 < _list931.size; ++_i933) { + _elem932 = iprot.readI64(); + struct.records.add(_elem932); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(2)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -91048,13 +216042,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditKeyRecord_result implements - org.apache.thrift.TBase, + public static class selectRecords_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditKeyRecord_result"); + "selectRecords_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -91068,12 +216062,12 @@ public static class auditKeyRecord_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditKeyRecord_resultStandardSchemeFactory()); + new selectRecords_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditKeyRecord_resultTupleSchemeFactory()); + new selectRecords_resultTupleSchemeFactory()); } - public Map success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -91165,8 +216159,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -91184,12 +216185,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditKeyRecord_result.class, metaDataMap); + selectRecords_result.class, metaDataMap); } - public auditKeyRecord_result() {} + public selectRecords_result() {} - public auditKeyRecord_result(Map success, + public selectRecords_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -91203,10 +216205,47 @@ public auditKeyRecord_result(Map success, /** * Performs a deep copy on other. */ - public auditKeyRecord_result(auditKeyRecord_result other) { + public selectRecords_result(selectRecords_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -91223,8 +216262,8 @@ public auditKeyRecord_result(auditKeyRecord_result other) { } } - public auditKeyRecord_result deepCopy() { - return new auditKeyRecord_result(this); + public selectRecords_result deepCopy() { + return new selectRecords_result(this); } @Override @@ -91239,18 +216278,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, String val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map>> getSuccess() { return this.success; } - public auditKeyRecord_result setSuccess(Map success) { + public selectRecords_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -91277,7 +216318,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public auditKeyRecord_result setEx( + public selectRecords_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -91305,7 +216346,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public auditKeyRecord_result setEx2( + public selectRecords_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -91333,7 +216374,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public auditKeyRecord_result setEx3( + public selectRecords_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -91364,7 +216405,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map) value); + setSuccess( + (Map>>) value); } break; @@ -91442,12 +216484,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditKeyRecord_result) - return this.equals((auditKeyRecord_result) that); + if(that instanceof selectRecords_result) + return this.equals((selectRecords_result) that); return false; } - public boolean equals(auditKeyRecord_result that) { + public boolean equals(selectRecords_result that) { if(that == null) return false; @@ -91518,7 +216560,7 @@ public int hashCode() { } @Override - public int compareTo(auditKeyRecord_result other) { + public int compareTo(selectRecords_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -91593,7 +216635,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditKeyRecord_result("); + StringBuilder sb = new StringBuilder("selectRecords_result("); boolean first = true; sb.append("success:"); @@ -91667,18 +216709,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditKeyRecord_resultStandardSchemeFactory + private static class selectRecords_resultStandardSchemeFactory implements SchemeFactory { - public auditKeyRecord_resultStandardScheme getScheme() { - return new auditKeyRecord_resultStandardScheme(); + public selectRecords_resultStandardScheme getScheme() { + return new selectRecords_resultStandardScheme(); } } - private static class auditKeyRecord_resultStandardScheme - extends StandardScheme { + private static class selectRecords_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditKeyRecord_result struct) + selectRecords_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -91691,16 +216733,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map68 = iprot + org.apache.thrift.protocol.TMap _map934 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map68.size); - long _key69; - String _val70; - for (int _i71 = 0; _i71 < _map68.size; ++_i71) { - _key69 = iprot.readI64(); - _val70 = iprot.readString(); - struct.success.put(_key69, _val70); + struct.success = new LinkedHashMap>>( + 2 * _map934.size); + long _key935; + Map> _val936; + for (int _i937 = 0; _i937 < _map934.size; ++_i937) { + _key935 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map938 = iprot + .readMapBegin(); + _val936 = new LinkedHashMap>( + 2 * _map938.size); + String _key939; + Set _val940; + for (int _i941 = 0; _i941 < _map938.size; ++_i941) { + _key939 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set942 = iprot + .readSetBegin(); + _val940 = new LinkedHashSet( + 2 * _set942.size); + com.cinchapi.concourse.thrift.TObject _elem943; + for (int _i944 = 0; _i944 < _set942.size; ++_i944) { + _elem943 = new com.cinchapi.concourse.thrift.TObject(); + _elem943.read(iprot); + _val940.add(_elem943); + } + iprot.readSetEnd(); + } + _val936.put(_key939, _val940); + } + iprot.readMapEnd(); + } + struct.success.put(_key935, _val936); } iprot.readMapEnd(); } @@ -91758,7 +216825,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditKeyRecord_result struct) + selectRecords_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -91768,12 +216835,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry _iter72 : struct.success + for (Map.Entry>> _iter945 : struct.success .entrySet()) { - oprot.writeI64(_iter72.getKey()); - oprot.writeString(_iter72.getValue()); + oprot.writeI64(_iter945.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter945.getValue().size())); + for (Map.Entry> _iter946 : _iter945 + .getValue().entrySet()) { + oprot.writeString(_iter946.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter946.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter947 : _iter946 + .getValue()) { + _iter947.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } oprot.writeMapEnd(); } @@ -91800,19 +216890,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditKeyRecord_resultTupleSchemeFactory + private static class selectRecords_resultTupleSchemeFactory implements SchemeFactory { - public auditKeyRecord_resultTupleScheme getScheme() { - return new auditKeyRecord_resultTupleScheme(); + public selectRecords_resultTupleScheme getScheme() { + return new selectRecords_resultTupleScheme(); } } - private static class auditKeyRecord_resultTupleScheme - extends TupleScheme { + private static class selectRecords_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecord_result struct) + selectRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -91832,10 +216922,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter73 : struct.success + for (Map.Entry>> _iter948 : struct.success .entrySet()) { - oprot.writeI64(_iter73.getKey()); - oprot.writeString(_iter73.getValue()); + oprot.writeI64(_iter948.getKey()); + { + oprot.writeI32(_iter948.getValue().size()); + for (Map.Entry> _iter949 : _iter948 + .getValue().entrySet()) { + oprot.writeString(_iter949.getKey()); + { + oprot.writeI32( + _iter949.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter950 : _iter949 + .getValue()) { + _iter950.write(oprot); + } + } + } + } } } } @@ -91852,24 +216956,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecord_result struct) + selectRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map74 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map951 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map74.size); - long _key75; - String _val76; - for (int _i77 = 0; _i77 < _map74.size; ++_i77) { - _key75 = iprot.readI64(); - _val76 = iprot.readString(); - struct.success.put(_key75, _val76); + struct.success = new LinkedHashMap>>( + 2 * _map951.size); + long _key952; + Map> _val953; + for (int _i954 = 0; _i954 < _map951.size; ++_i954) { + _key952 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map955 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val953 = new LinkedHashMap>( + 2 * _map955.size); + String _key956; + Set _val957; + for (int _i958 = 0; _i958 < _map955.size; ++_i958) { + _key956 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set959 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val957 = new LinkedHashSet( + 2 * _set959.size); + com.cinchapi.concourse.thrift.TObject _elem960; + for (int _i961 = 0; _i961 < _set959.size; ++_i961) { + _elem960 = new com.cinchapi.concourse.thrift.TObject(); + _elem960.read(iprot); + _val957.add(_elem960); + } + } + _val953.put(_key956, _val957); + } + } + struct.success.put(_key952, _val953); } } struct.setSuccessIsSet(true); @@ -91894,40 +217024,37 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditKeyRecordStart_args implements - org.apache.thrift.TBase, + public static class selectRecordsOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditKeyRecordStart_args"); + "selectRecordsOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditKeyRecordStart_argsStandardSchemeFactory()); + new selectRecordsOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditKeyRecordStart_argsTupleSchemeFactory()); + new selectRecordsOrder_argsTupleSchemeFactory()); } - public String key; // required - public long record; // required - public long start; // required + public List records; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -91937,12 +217064,11 @@ public static class auditKeyRecordStart_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - RECORD((short) 2, "record"), - START((short) 3, "start"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + RECORDS((short) 1, "records"), + ORDER((short) 2, "order"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -91958,17 +217084,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // RECORD - return RECORD; - case 3: // START - return START; - case 4: // CREDS + case 1: // RECORDS + return RECORDS; + case 2: // ORDER + return ORDER; + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -92014,28 +217138,23 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __START_ISSET_ID = 1; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -92055,21 +217174,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditKeyRecordStart_args.class, metaDataMap); + selectRecordsOrder_args.class, metaDataMap); } - public auditKeyRecordStart_args() {} + public selectRecordsOrder_args() {} - public auditKeyRecordStart_args(String key, long record, long start, + public selectRecordsOrder_args(List records, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.record = record; - setRecordIsSet(true); - this.start = start; - setStartIsSet(true); + this.records = records; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -92078,13 +217195,15 @@ public auditKeyRecordStart_args(String key, long record, long start, /** * Performs a deep copy on other. */ - public auditKeyRecordStart_args(auditKeyRecordStart_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public selectRecordsOrder_args(selectRecordsOrder_args other) { + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.record = other.record; - this.start = other.start; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -92098,110 +217217,94 @@ public auditKeyRecordStart_args(auditKeyRecordStart_args other) { } } - public auditKeyRecordStart_args deepCopy() { - return new auditKeyRecordStart_args(this); + public selectRecordsOrder_args deepCopy() { + return new selectRecordsOrder_args(this); } @Override public void clear() { - this.key = null; - setRecordIsSet(false); - this.record = 0; - setStartIsSet(false); - this.start = 0; + this.records = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; - } - - public auditKeyRecordStart_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); } - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); } + this.records.add(elem); } - public long getRecord() { - return this.record; + public List getRecords() { + return this.records; } - public auditKeyRecordStart_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectRecordsOrder_args setRecords(List records) { + this.records = records; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetRecords() { + this.records = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetRecords() { + return this.records != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } } - public long getStart() { - return this.start; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public auditKeyRecordStart_args setStart(long start) { - this.start = start; - setStartIsSet(true); + public selectRecordsOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); + public void unsetOrder() { + this.order = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + public boolean isSetOrder() { + return this.order != null; } - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public auditKeyRecordStart_args setCreds( + public selectRecordsOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -92229,7 +217332,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public auditKeyRecordStart_args setTransaction( + public selectRecordsOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -92257,7 +217360,7 @@ public String getEnvironment() { return this.environment; } - public auditKeyRecordStart_args setEnvironment(String environment) { + public selectRecordsOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -92282,30 +217385,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case RECORD: + case RECORDS: if(value == null) { - unsetRecord(); + unsetRecords(); } else { - setRecord((Long) value); + setRecords((List) value); } break; - case START: + case ORDER: if(value == null) { - unsetStart(); + unsetOrder(); } else { - setStart((Long) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -92342,14 +217436,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case RECORD: - return getRecord(); + case RECORDS: + return getRecords(); - case START: - return getStart(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -92374,12 +217465,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); + case RECORDS: + return isSetRecords(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -92394,39 +217483,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditKeyRecordStart_args) - return this.equals((auditKeyRecordStart_args) that); + if(that instanceof selectRecordsOrder_args) + return this.equals((selectRecordsOrder_args) that); return false; } - public boolean equals(auditKeyRecordStart_args that) { + public boolean equals(selectRecordsOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(this.record != that.record) + if(!this.records.equals(that.records)) return false; } - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(this.start != that.start) + if(!this.order.equals(that.order)) return false; } @@ -92464,20 +217544,15 @@ public boolean equals(auditKeyRecordStart_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -92498,7 +217573,7 @@ public int hashCode() { } @Override - public int compareTo(auditKeyRecordStart_args other) { + public int compareTo(selectRecordsOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -92506,38 +217581,26 @@ public int compareTo(auditKeyRecordStart_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -92597,26 +217660,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditKeyRecordStart_args("); + StringBuilder sb = new StringBuilder("selectRecordsOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("records:"); + if(this.records == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.records); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - sb.append(this.start); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -92655,6 +217718,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -92678,10 +217744,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -92691,18 +217753,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditKeyRecordStart_argsStandardSchemeFactory + private static class selectRecordsOrder_argsStandardSchemeFactory implements SchemeFactory { - public auditKeyRecordStart_argsStandardScheme getScheme() { - return new auditKeyRecordStart_argsStandardScheme(); + public selectRecordsOrder_argsStandardScheme getScheme() { + return new selectRecordsOrder_argsStandardScheme(); } } - private static class auditKeyRecordStart_argsStandardScheme - extends StandardScheme { + private static class selectRecordsOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditKeyRecordStart_args struct) + selectRecordsOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -92712,37 +217774,39 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list962 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list962.size); + long _elem963; + for (int _i964 = 0; _i964 < _list962.size; ++_i964) { + _elem963 = iprot.readI64(); + struct.records.add(_elem963); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + case 2: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -92753,7 +217817,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -92764,7 +217828,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -92788,22 +217852,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditKeyRecordStart_args struct) + selectRecordsOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter965 : struct.records) { + oprot.writeI64(_iter965); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -92825,49 +217897,48 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditKeyRecordStart_argsTupleSchemeFactory + private static class selectRecordsOrder_argsTupleSchemeFactory implements SchemeFactory { - public auditKeyRecordStart_argsTupleScheme getScheme() { - return new auditKeyRecordStart_argsTupleScheme(); + public selectRecordsOrder_argsTupleScheme getScheme() { + return new selectRecordsOrder_argsTupleScheme(); } } - private static class auditKeyRecordStart_argsTupleScheme - extends TupleScheme { + private static class selectRecordsOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStart_args struct) + selectRecordsOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetRecords()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetOrder()) { optionals.set(1); } - if(struct.isSetStart()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + optionals.set(4); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter966 : struct.records) { + oprot.writeI64(_iter966); + } + } } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -92882,33 +217953,40 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStart_args struct) + selectRecordsOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list967 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list967.size); + long _elem968; + for (int _i969 = 0; _i969 < _list967.size; ++_i969) { + _elem968 = iprot.readI64(); + struct.records.add(_elem968); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(2)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -92917,13 +217995,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditKeyRecordStart_result implements - org.apache.thrift.TBase, + public static class selectRecordsOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditKeyRecordStart_result"); + "selectRecordsOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -92937,12 +218015,12 @@ public static class auditKeyRecordStart_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditKeyRecordStart_resultStandardSchemeFactory()); + new selectRecordsOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditKeyRecordStart_resultTupleSchemeFactory()); + new selectRecordsOrder_resultTupleSchemeFactory()); } - public Map success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -93034,8 +218112,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -93053,12 +218138,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditKeyRecordStart_result.class, metaDataMap); + selectRecordsOrder_result.class, metaDataMap); } - public auditKeyRecordStart_result() {} + public selectRecordsOrder_result() {} - public auditKeyRecordStart_result(Map success, + public selectRecordsOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -93072,10 +218158,47 @@ public auditKeyRecordStart_result(Map success, /** * Performs a deep copy on other. */ - public auditKeyRecordStart_result(auditKeyRecordStart_result other) { + public selectRecordsOrder_result(selectRecordsOrder_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -93092,8 +218215,8 @@ public auditKeyRecordStart_result(auditKeyRecordStart_result other) { } } - public auditKeyRecordStart_result deepCopy() { - return new auditKeyRecordStart_result(this); + public selectRecordsOrder_result deepCopy() { + return new selectRecordsOrder_result(this); } @Override @@ -93108,19 +218231,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, String val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map>> getSuccess() { return this.success; } - public auditKeyRecordStart_result setSuccess( - Map success) { + public selectRecordsOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -93147,7 +218271,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public auditKeyRecordStart_result setEx( + public selectRecordsOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -93175,7 +218299,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public auditKeyRecordStart_result setEx2( + public selectRecordsOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -93203,7 +218327,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public auditKeyRecordStart_result setEx3( + public selectRecordsOrder_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -93234,7 +218358,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map) value); + setSuccess( + (Map>>) value); } break; @@ -93312,12 +218437,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditKeyRecordStart_result) - return this.equals((auditKeyRecordStart_result) that); + if(that instanceof selectRecordsOrder_result) + return this.equals((selectRecordsOrder_result) that); return false; } - public boolean equals(auditKeyRecordStart_result that) { + public boolean equals(selectRecordsOrder_result that) { if(that == null) return false; @@ -93388,7 +218513,7 @@ public int hashCode() { } @Override - public int compareTo(auditKeyRecordStart_result other) { + public int compareTo(selectRecordsOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -93463,7 +218588,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("auditKeyRecordStart_result("); + StringBuilder sb = new StringBuilder("selectRecordsOrder_result("); boolean first = true; sb.append("success:"); @@ -93537,18 +218662,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditKeyRecordStart_resultStandardSchemeFactory + private static class selectRecordsOrder_resultStandardSchemeFactory implements SchemeFactory { - public auditKeyRecordStart_resultStandardScheme getScheme() { - return new auditKeyRecordStart_resultStandardScheme(); + public selectRecordsOrder_resultStandardScheme getScheme() { + return new selectRecordsOrder_resultStandardScheme(); } } - private static class auditKeyRecordStart_resultStandardScheme - extends StandardScheme { + private static class selectRecordsOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditKeyRecordStart_result struct) + selectRecordsOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -93561,16 +218686,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map78 = iprot + org.apache.thrift.protocol.TMap _map970 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map78.size); - long _key79; - String _val80; - for (int _i81 = 0; _i81 < _map78.size; ++_i81) { - _key79 = iprot.readI64(); - _val80 = iprot.readString(); - struct.success.put(_key79, _val80); + struct.success = new LinkedHashMap>>( + 2 * _map970.size); + long _key971; + Map> _val972; + for (int _i973 = 0; _i973 < _map970.size; ++_i973) { + _key971 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map974 = iprot + .readMapBegin(); + _val972 = new LinkedHashMap>( + 2 * _map974.size); + String _key975; + Set _val976; + for (int _i977 = 0; _i977 < _map974.size; ++_i977) { + _key975 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set978 = iprot + .readSetBegin(); + _val976 = new LinkedHashSet( + 2 * _set978.size); + com.cinchapi.concourse.thrift.TObject _elem979; + for (int _i980 = 0; _i980 < _set978.size; ++_i980) { + _elem979 = new com.cinchapi.concourse.thrift.TObject(); + _elem979.read(iprot); + _val976.add(_elem979); + } + iprot.readSetEnd(); + } + _val972.put(_key975, _val976); + } + iprot.readMapEnd(); + } + struct.success.put(_key971, _val972); } iprot.readMapEnd(); } @@ -93628,7 +218778,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditKeyRecordStart_result struct) + selectRecordsOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -93638,12 +218788,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry _iter82 : struct.success + for (Map.Entry>> _iter981 : struct.success .entrySet()) { - oprot.writeI64(_iter82.getKey()); - oprot.writeString(_iter82.getValue()); + oprot.writeI64(_iter981.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter981.getValue().size())); + for (Map.Entry> _iter982 : _iter981 + .getValue().entrySet()) { + oprot.writeString(_iter982.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter982.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter983 : _iter982 + .getValue()) { + _iter983.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } oprot.writeMapEnd(); } @@ -93670,19 +218843,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditKeyRecordStart_resultTupleSchemeFactory + private static class selectRecordsOrder_resultTupleSchemeFactory implements SchemeFactory { - public auditKeyRecordStart_resultTupleScheme getScheme() { - return new auditKeyRecordStart_resultTupleScheme(); + public selectRecordsOrder_resultTupleScheme getScheme() { + return new selectRecordsOrder_resultTupleScheme(); } } - private static class auditKeyRecordStart_resultTupleScheme - extends TupleScheme { + private static class selectRecordsOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStart_result struct) + selectRecordsOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -93702,10 +218875,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter83 : struct.success + for (Map.Entry>> _iter984 : struct.success .entrySet()) { - oprot.writeI64(_iter83.getKey()); - oprot.writeString(_iter83.getValue()); + oprot.writeI64(_iter984.getKey()); + { + oprot.writeI32(_iter984.getValue().size()); + for (Map.Entry> _iter985 : _iter984 + .getValue().entrySet()) { + oprot.writeString(_iter985.getKey()); + { + oprot.writeI32( + _iter985.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter986 : _iter985 + .getValue()) { + _iter986.write(oprot); + } + } + } + } } } } @@ -93722,24 +218909,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStart_result struct) + selectRecordsOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map84 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map987 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map84.size); - long _key85; - String _val86; - for (int _i87 = 0; _i87 < _map84.size; ++_i87) { - _key85 = iprot.readI64(); - _val86 = iprot.readString(); - struct.success.put(_key85, _val86); + struct.success = new LinkedHashMap>>( + 2 * _map987.size); + long _key988; + Map> _val989; + for (int _i990 = 0; _i990 < _map987.size; ++_i990) { + _key988 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map991 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val989 = new LinkedHashMap>( + 2 * _map991.size); + String _key992; + Set _val993; + for (int _i994 = 0; _i994 < _map991.size; ++_i994) { + _key992 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set995 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val993 = new LinkedHashSet( + 2 * _set995.size); + com.cinchapi.concourse.thrift.TObject _elem996; + for (int _i997 = 0; _i997 < _set995.size; ++_i997) { + _elem996 = new com.cinchapi.concourse.thrift.TObject(); + _elem996.read(iprot); + _val993.add(_elem996); + } + } + _val989.put(_key992, _val993); + } + } + struct.success.put(_key988, _val989); } } struct.setSuccessIsSet(true); @@ -93764,40 +218977,37 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditKeyRecordStartstr_args implements - org.apache.thrift.TBase, + public static class selectRecordTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditKeyRecordStartstr_args"); + "selectRecordTime_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 3); + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditKeyRecordStartstr_argsStandardSchemeFactory()); + new selectRecordTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditKeyRecordStartstr_argsTupleSchemeFactory()); + new selectRecordTime_argsTupleSchemeFactory()); } - public String key; // required public long record; // required - public String start; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -93807,12 +219017,11 @@ public static class auditKeyRecordStartstr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - RECORD((short) 2, "record"), - START((short) 3, "start"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + RECORD((short) 1, "record"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -93828,17 +219037,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // RECORD + case 1: // RECORD return RECORD; - case 3: // START - return START; - case 4: // CREDS + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -93885,26 +219092,22 @@ public String getFieldName() { // isset id assignments private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 1; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.RECORD, new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -93924,20 +219127,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditKeyRecordStartstr_args.class, metaDataMap); + selectRecordTime_args.class, metaDataMap); } - public auditKeyRecordStartstr_args() {} + public selectRecordTime_args() {} - public auditKeyRecordStartstr_args(String key, long record, - String start, com.cinchapi.concourse.thrift.AccessToken creds, + public selectRecordTime_args(long record, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; this.record = record; setRecordIsSet(true); - this.start = start; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -93946,15 +219149,10 @@ public auditKeyRecordStartstr_args(String key, long record, /** * Performs a deep copy on other. */ - public auditKeyRecordStartstr_args(auditKeyRecordStartstr_args other) { + public selectRecordTime_args(selectRecordTime_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; - } this.record = other.record; - if(other.isSetStart()) { - this.start = other.start; - } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -93968,53 +219166,26 @@ public auditKeyRecordStartstr_args(auditKeyRecordStartstr_args other) { } } - public auditKeyRecordStartstr_args deepCopy() { - return new auditKeyRecordStartstr_args(this); + public selectRecordTime_args deepCopy() { + return new selectRecordTime_args(this); } @Override public void clear() { - this.key = null; setRecordIsSet(false); this.record = 0; - this.start = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; - } - - public auditKeyRecordStartstr_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; - } - - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; - } - - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; - } - } - public long getRecord() { return this.record; } - public auditKeyRecordStartstr_args setRecord(long record) { + public selectRecordTime_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -94038,38 +219209,40 @@ public void setRecordIsSet(boolean value) { __RECORD_ISSET_ID, value); } - public String getStart() { - return this.start; + public long getTimestamp() { + return this.timestamp; } - public auditKeyRecordStartstr_args setStart(String start) { - this.start = start; + public selectRecordTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetStart() { - this.start = null; + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setStartIsSet(boolean value) { - if(!value) { - this.start = null; - } + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public auditKeyRecordStartstr_args setCreds( + public selectRecordTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -94097,7 +219270,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public auditKeyRecordStartstr_args setTransaction( + public selectRecordTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -94125,7 +219298,7 @@ public String getEnvironment() { return this.environment; } - public auditKeyRecordStartstr_args setEnvironment(String environment) { + public selectRecordTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -94150,15 +219323,6 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - case RECORD: if(value == null) { unsetRecord(); @@ -94168,12 +219332,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case START: + case TIMESTAMP: if(value == null) { - unsetStart(); + unsetTimestamp(); } else { - setStart((String) value); + setTimestamp((Long) value); } break; @@ -94210,14 +219374,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - case RECORD: return getRecord(); - case START: - return getStart(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -94242,12 +219403,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); case RECORD: return isSetRecord(); - case START: - return isSetStart(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -94262,24 +219421,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditKeyRecordStartstr_args) - return this.equals((auditKeyRecordStartstr_args) that); + if(that instanceof selectRecordTime_args) + return this.equals((selectRecordTime_args) that); return false; } - public boolean equals(auditKeyRecordStartstr_args that) { + public boolean equals(selectRecordTime_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - boolean this_present_record = true; boolean that_present_record = true; if(this_present_record || that_present_record) { @@ -94289,12 +219439,12 @@ public boolean equals(auditKeyRecordStartstr_args that) { return false; } - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.start.equals(that.start)) + if(this.timestamp != that.timestamp) return false; } @@ -94332,20 +219482,15 @@ public boolean equals(auditKeyRecordStartstr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - boolean present_record = true; list.add(present_record); if(present_record) list.add(record); - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -94366,7 +219511,7 @@ public int hashCode() { } @Override - public int compareTo(auditKeyRecordStartstr_args other) { + public int compareTo(selectRecordTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -94374,18 +219519,6 @@ public int compareTo(auditKeyRecordStartstr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetRecord()) .compareTo(other.isSetRecord()); if(lastComparison != 0) { @@ -94398,14 +219531,14 @@ public int compareTo(auditKeyRecordStartstr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -94465,32 +219598,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "auditKeyRecordStartstr_args("); + StringBuilder sb = new StringBuilder("selectRecordTime_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { - sb.append("null"); - } - else { - sb.append(this.key); - } - first = false; - if(!first) - sb.append(", "); sb.append("record:"); sb.append(this.record); first = false; if(!first) sb.append(", "); - sb.append("start:"); - if(this.start == null) { - sb.append("null"); - } - else { - sb.append(this.start); - } + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -94565,18 +219682,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditKeyRecordStartstr_argsStandardSchemeFactory + private static class selectRecordTime_argsStandardSchemeFactory implements SchemeFactory { - public auditKeyRecordStartstr_argsStandardScheme getScheme() { - return new auditKeyRecordStartstr_argsStandardScheme(); + public selectRecordTime_argsStandardScheme getScheme() { + return new selectRecordTime_argsStandardScheme(); } } - private static class auditKeyRecordStartstr_argsStandardScheme - extends StandardScheme { + private static class selectRecordTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditKeyRecordStartstr_args struct) + selectRecordTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -94586,17 +219703,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // RECORD + case 1: // RECORD if(schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.record = iprot.readI64(); struct.setRecordIsSet(true); @@ -94606,17 +219713,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // START - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -94627,7 +219734,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -94638,7 +219745,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -94662,24 +219769,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditKeyRecordStartstr_args struct) + selectRecordTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } oprot.writeFieldBegin(RECORD_FIELD_DESC); oprot.writeI64(struct.record); oprot.writeFieldEnd(); - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -94701,49 +219801,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditKeyRecordStartstr_argsTupleSchemeFactory + private static class selectRecordTime_argsTupleSchemeFactory implements SchemeFactory { - public auditKeyRecordStartstr_argsTupleScheme getScheme() { - return new auditKeyRecordStartstr_argsTupleScheme(); + public selectRecordTime_argsTupleScheme getScheme() { + return new selectRecordTime_argsTupleScheme(); } } - private static class auditKeyRecordStartstr_argsTupleScheme - extends TupleScheme { + private static class selectRecordTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartstr_args struct) + selectRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetRecord()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetStart()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + optionals.set(4); } + oprot.writeBitSet(optionals, 5); if(struct.isSetRecord()) { oprot.writeI64(struct.record); } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -94758,33 +219852,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartstr_args struct) + selectRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - if(incoming.get(1)) { struct.record = iprot.readI64(); struct.setRecordIsSet(true); } - if(incoming.get(2)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + if(incoming.get(1)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -94793,13 +219883,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditKeyRecordStartstr_result implements - org.apache.thrift.TBase, + public static class selectRecordTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditKeyRecordStartstr_result"); + "selectRecordTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -94809,22 +219899,19 @@ public static class auditKeyRecordStartstr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditKeyRecordStartstr_resultStandardSchemeFactory()); + new selectRecordTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditKeyRecordStartstr_resultTupleSchemeFactory()); + new selectRecordTime_resultTupleSchemeFactory()); } - public Map success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -94834,8 +219921,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -94859,8 +219945,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -94915,9 +219999,12 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -94933,39 +220020,52 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditKeyRecordStartstr_result.class, metaDataMap); + selectRecordTime_result.class, metaDataMap); } - public auditKeyRecordStartstr_result() {} + public selectRecordTime_result() {} - public auditKeyRecordStartstr_result(Map success, + public selectRecordTime_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public auditKeyRecordStartstr_result( - auditKeyRecordStartstr_result other) { + public selectRecordTime_result(selectRecordTime_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -94977,17 +220077,13 @@ public auditKeyRecordStartstr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public auditKeyRecordStartstr_result deepCopy() { - return new auditKeyRecordStartstr_result(this); + public selectRecordTime_result deepCopy() { + return new selectRecordTime_result(this); } @Override @@ -94996,26 +220092,26 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, String val) { + public void putToSuccess(String key, + Set val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map> getSuccess() { return this.success; } - public auditKeyRecordStartstr_result setSuccess( - Map success) { + public selectRecordTime_result setSuccess( + Map> success) { this.success = success; return this; } @@ -95042,7 +220138,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public auditKeyRecordStartstr_result setEx( + public selectRecordTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -95070,7 +220166,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public auditKeyRecordStartstr_result setEx2( + public selectRecordTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -95094,12 +220190,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public auditKeyRecordStartstr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public selectRecordTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -95122,34 +220218,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public auditKeyRecordStartstr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -95157,7 +220225,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map) value); + setSuccess( + (Map>) value); } break; @@ -95184,16 +220253,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -95214,9 +220274,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -95239,8 +220296,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -95249,12 +220304,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditKeyRecordStartstr_result) - return this.equals((auditKeyRecordStartstr_result) that); + if(that instanceof selectRecordTime_result) + return this.equals((selectRecordTime_result) that); return false; } - public boolean equals(auditKeyRecordStartstr_result that) { + public boolean equals(selectRecordTime_result that) { if(that == null) return false; @@ -95294,15 +220349,6 @@ public boolean equals(auditKeyRecordStartstr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -95330,16 +220376,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(auditKeyRecordStartstr_result other) { + public int compareTo(selectRecordTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -95395,18 +220436,6 @@ public int compareTo(auditKeyRecordStartstr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -95426,8 +220455,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "auditKeyRecordStartstr_result("); + StringBuilder sb = new StringBuilder("selectRecordTime_result("); boolean first = true; sb.append("success:"); @@ -95468,16 +220496,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -95511,18 +220529,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditKeyRecordStartstr_resultStandardSchemeFactory + private static class selectRecordTime_resultStandardSchemeFactory implements SchemeFactory { - public auditKeyRecordStartstr_resultStandardScheme getScheme() { - return new auditKeyRecordStartstr_resultStandardScheme(); + public selectRecordTime_resultStandardScheme getScheme() { + return new selectRecordTime_resultStandardScheme(); } } - private static class auditKeyRecordStartstr_resultStandardScheme - extends StandardScheme { + private static class selectRecordTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditKeyRecordStartstr_result struct) + selectRecordTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -95535,16 +220553,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map88 = iprot + org.apache.thrift.protocol.TMap _map998 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map88.size); - long _key89; - String _val90; - for (int _i91 = 0; _i91 < _map88.size; ++_i91) { - _key89 = iprot.readI64(); - _val90 = iprot.readString(); - struct.success.put(_key89, _val90); + struct.success = new LinkedHashMap>( + 2 * _map998.size); + String _key999; + Set _val1000; + for (int _i1001 = 0; _i1001 < _map998.size; ++_i1001) { + _key999 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1002 = iprot + .readSetBegin(); + _val1000 = new LinkedHashSet( + 2 * _set1002.size); + com.cinchapi.concourse.thrift.TObject _elem1003; + for (int _i1004 = 0; _i1004 < _set1002.size; ++_i1004) { + _elem1003 = new com.cinchapi.concourse.thrift.TObject(); + _elem1003.read(iprot); + _val1000.add(_elem1003); + } + iprot.readSetEnd(); + } + struct.success.put(_key999, _val1000); } iprot.readMapEnd(); } @@ -95579,7 +220609,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -95588,17 +220618,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -95613,7 +220632,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditKeyRecordStartstr_result struct) + selectRecordTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -95622,13 +220641,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry _iter92 : struct.success + for (Map.Entry> _iter1005 : struct.success .entrySet()) { - oprot.writeI64(_iter92.getKey()); - oprot.writeString(_iter92.getValue()); + oprot.writeString(_iter1005.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1005.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1006 : _iter1005 + .getValue()) { + _iter1006.write(oprot); + } + oprot.writeSetEnd(); + } } oprot.writeMapEnd(); } @@ -95649,30 +220678,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class auditKeyRecordStartstr_resultTupleSchemeFactory + private static class selectRecordTime_resultTupleSchemeFactory implements SchemeFactory { - public auditKeyRecordStartstr_resultTupleScheme getScheme() { - return new auditKeyRecordStartstr_resultTupleScheme(); + public selectRecordTime_resultTupleScheme getScheme() { + return new selectRecordTime_resultTupleScheme(); } } - private static class auditKeyRecordStartstr_resultTupleScheme - extends TupleScheme { + private static class selectRecordTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartstr_result struct) + selectRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -95688,17 +220712,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter93 : struct.success + for (Map.Entry> _iter1007 : struct.success .entrySet()) { - oprot.writeI64(_iter93.getKey()); - oprot.writeString(_iter93.getValue()); + oprot.writeString(_iter1007.getKey()); + { + oprot.writeI32(_iter1007.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1008 : _iter1007 + .getValue()) { + _iter1008.write(oprot); + } + } } } } @@ -95711,31 +220738,40 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartstr_result struct) + selectRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map94 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TMap _map1009 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map94.size); - long _key95; - String _val96; - for (int _i97 = 0; _i97 < _map94.size; ++_i97) { - _key95 = iprot.readI64(); - _val96 = iprot.readString(); - struct.success.put(_key95, _val96); + struct.success = new LinkedHashMap>( + 2 * _map1009.size); + String _key1010; + Set _val1011; + for (int _i1012 = 0; _i1012 < _map1009.size; ++_i1012) { + _key1010 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1013 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1011 = new LinkedHashSet( + 2 * _set1013.size); + com.cinchapi.concourse.thrift.TObject _elem1014; + for (int _i1015 = 0; _i1015 < _set1013.size; ++_i1015) { + _elem1014 = new com.cinchapi.concourse.thrift.TObject(); + _elem1014.read(iprot); + _val1011.add(_elem1014); + } + } + struct.success.put(_key1010, _val1011); } } struct.setSuccessIsSet(true); @@ -95751,57 +220787,47 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class auditKeyRecordStartEnd_args implements - org.apache.thrift.TBase, + public static class selectRecordTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditKeyRecordStartEnd_args"); + "selectRecordTimestr_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 3); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.I64, (short) 4); + "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 6); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 7); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditKeyRecordStartEnd_argsStandardSchemeFactory()); + new selectRecordTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditKeyRecordStartEnd_argsTupleSchemeFactory()); + new selectRecordTimestr_argsTupleSchemeFactory()); } - public String key; // required public long record; // required - public long start; // required - public long tend; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -95811,13 +220837,11 @@ public static class auditKeyRecordStartEnd_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - RECORD((short) 2, "record"), - START((short) 3, "start"), - TEND((short) 4, "tend"), - CREDS((short) 5, "creds"), - TRANSACTION((short) 6, "transaction"), - ENVIRONMENT((short) 7, "environment"); + RECORD((short) 1, "record"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -95833,19 +220857,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // RECORD + case 1: // RECORD return RECORD; - case 3: // START - return START; - case 4: // TEND - return TEND; - case 5: // CREDS + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS return CREDS; - case 6: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 7: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -95892,33 +220912,21 @@ public String getFieldName() { // isset id assignments private static final int __RECORD_ISSET_ID = 0; - private static final int __START_ISSET_ID = 1; - private static final int __TEND_ISSET_ID = 2; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.RECORD, new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -95938,23 +220946,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditKeyRecordStartEnd_args.class, metaDataMap); + selectRecordTimestr_args.class, metaDataMap); } - public auditKeyRecordStartEnd_args() {} + public selectRecordTimestr_args() {} - public auditKeyRecordStartEnd_args(String key, long record, long start, - long tend, com.cinchapi.concourse.thrift.AccessToken creds, + public selectRecordTimestr_args(long record, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; this.record = record; setRecordIsSet(true); - this.start = start; - setStartIsSet(true); - this.tend = tend; - setTendIsSet(true); + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -95963,14 +220967,12 @@ public auditKeyRecordStartEnd_args(String key, long record, long start, /** * Performs a deep copy on other. */ - public auditKeyRecordStartEnd_args(auditKeyRecordStartEnd_args other) { + public selectRecordTimestr_args(selectRecordTimestr_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; - } this.record = other.record; - this.start = other.start; - this.tend = other.tend; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -95984,56 +220986,25 @@ public auditKeyRecordStartEnd_args(auditKeyRecordStartEnd_args other) { } } - public auditKeyRecordStartEnd_args deepCopy() { - return new auditKeyRecordStartEnd_args(this); + public selectRecordTimestr_args deepCopy() { + return new selectRecordTimestr_args(this); } @Override public void clear() { - this.key = null; setRecordIsSet(false); this.record = 0; - setStartIsSet(false); - this.start = 0; - setTendIsSet(false); - this.tend = 0; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; - } - - public auditKeyRecordStartEnd_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; - } - - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; - } - - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; - } - } - public long getRecord() { return this.record; } - public auditKeyRecordStartEnd_args setRecord(long record) { + public selectRecordTimestr_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -96057,67 +221028,38 @@ public void setRecordIsSet(boolean value) { __RECORD_ISSET_ID, value); } - public long getStart() { - return this.start; - } - - public auditKeyRecordStartEnd_args setStart(long start) { - this.start = start; - setStartIsSet(true); - return this; - } - - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); - } - - /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); - } - - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); - } - - public long getTend() { - return this.tend; + public String getTimestamp() { + return this.timestamp; } - public auditKeyRecordStartEnd_args setTend(long tend) { - this.tend = tend; - setTendIsSet(true); + public selectRecordTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetTend() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TEND_ISSET_ID); + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field tend is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetTend() { - return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + public boolean isSetTimestamp() { + return this.timestamp != null; } - public void setTendIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TEND_ISSET_ID, value); + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public auditKeyRecordStartEnd_args setCreds( + public selectRecordTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -96145,7 +221087,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public auditKeyRecordStartEnd_args setTransaction( + public selectRecordTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -96173,7 +221115,7 @@ public String getEnvironment() { return this.environment; } - public auditKeyRecordStartEnd_args setEnvironment(String environment) { + public selectRecordTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -96198,15 +221140,6 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - case RECORD: if(value == null) { unsetRecord(); @@ -96216,21 +221149,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case START: - if(value == null) { - unsetStart(); - } - else { - setStart((Long) value); - } - break; - - case TEND: + case TIMESTAMP: if(value == null) { - unsetTend(); + unsetTimestamp(); } else { - setTend((Long) value); + setTimestamp((String) value); } break; @@ -96267,17 +221191,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - case RECORD: return getRecord(); - case START: - return getStart(); - - case TEND: - return getTend(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -96302,14 +221220,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); case RECORD: return isSetRecord(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -96324,24 +221238,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditKeyRecordStartEnd_args) - return this.equals((auditKeyRecordStartEnd_args) that); + if(that instanceof selectRecordTimestr_args) + return this.equals((selectRecordTimestr_args) that); return false; } - public boolean equals(auditKeyRecordStartEnd_args that) { + public boolean equals(selectRecordTimestr_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - boolean this_present_record = true; boolean that_present_record = true; if(this_present_record || that_present_record) { @@ -96351,21 +221256,12 @@ public boolean equals(auditKeyRecordStartEnd_args that) { return false; } - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) - return false; - if(this.start != that.start) - return false; - } - - boolean this_present_tend = true; - boolean that_present_tend = true; - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.tend != that.tend) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -96403,25 +221299,15 @@ public boolean equals(auditKeyRecordStartEnd_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - boolean present_record = true; list.add(present_record); if(present_record) list.add(record); - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); - - boolean present_tend = true; - list.add(present_tend); - if(present_tend) - list.add(tend); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -96442,7 +221328,7 @@ public int hashCode() { } @Override - public int compareTo(auditKeyRecordStartEnd_args other) { + public int compareTo(selectRecordTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -96450,18 +221336,6 @@ public int compareTo(auditKeyRecordStartEnd_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetRecord()) .compareTo(other.isSetRecord()); if(lastComparison != 0) { @@ -96474,26 +221348,14 @@ public int compareTo(auditKeyRecordStartEnd_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetStart()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetTend()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -96553,32 +221415,21 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "auditKeyRecordStartEnd_args("); + StringBuilder sb = new StringBuilder("selectRecordTimestr_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { - sb.append("null"); - } - else { - sb.append(this.key); - } - first = false; - if(!first) - sb.append(", "); sb.append("record:"); sb.append(this.record); first = false; if(!first) sb.append(", "); - sb.append("start:"); - sb.append(this.start); - first = false; - if(!first) - sb.append(", "); - sb.append("tend:"); - sb.append(this.tend); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -96653,18 +221504,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditKeyRecordStartEnd_argsStandardSchemeFactory + private static class selectRecordTimestr_argsStandardSchemeFactory implements SchemeFactory { - public auditKeyRecordStartEnd_argsStandardScheme getScheme() { - return new auditKeyRecordStartEnd_argsStandardScheme(); + public selectRecordTimestr_argsStandardScheme getScheme() { + return new selectRecordTimestr_argsStandardScheme(); } } - private static class auditKeyRecordStartEnd_argsStandardScheme - extends StandardScheme { + private static class selectRecordTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditKeyRecordStartEnd_args struct) + selectRecordTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -96674,17 +221525,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // RECORD + case 1: // RECORD if(schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.record = iprot.readI64(); struct.setRecordIsSet(true); @@ -96694,27 +221535,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 4: // TEND - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 5: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -96725,7 +221556,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -96736,7 +221567,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 7: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -96760,25 +221591,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditKeyRecordStartEnd_args struct) + selectRecordTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } oprot.writeFieldBegin(RECORD_FIELD_DESC); oprot.writeI64(struct.record); oprot.writeFieldEnd(); - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeI64(struct.tend); - oprot.writeFieldEnd(); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -96800,55 +221625,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditKeyRecordStartEnd_argsTupleSchemeFactory + private static class selectRecordTimestr_argsTupleSchemeFactory implements SchemeFactory { - public auditKeyRecordStartEnd_argsTupleScheme getScheme() { - return new auditKeyRecordStartEnd_argsTupleScheme(); + public selectRecordTimestr_argsTupleScheme getScheme() { + return new selectRecordTimestr_argsTupleScheme(); } } - private static class auditKeyRecordStartEnd_argsTupleScheme - extends TupleScheme { + private static class selectRecordTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartEnd_args struct) + selectRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetRecord()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetStart()) { - optionals.set(2); - } - if(struct.isSetTend()) { - optionals.set(3); - } if(struct.isSetCreds()) { - optionals.set(4); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(5); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(6); - } - oprot.writeBitSet(optionals, 7); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + optionals.set(4); } + oprot.writeBitSet(optionals, 5); if(struct.isSetRecord()) { oprot.writeI64(struct.record); } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); - } - if(struct.isSetTend()) { - oprot.writeI64(struct.tend); + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -96863,37 +221676,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartEnd_args struct) + selectRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(7); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - if(incoming.get(1)) { struct.record = iprot.readI64(); struct.setRecordIsSet(true); } - if(incoming.get(2)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); - } - if(incoming.get(3)) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); + if(incoming.get(1)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(6)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -96902,13 +221707,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditKeyRecordStartEnd_result implements - org.apache.thrift.TBase, + public static class selectRecordTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditKeyRecordStartEnd_result"); + "selectRecordTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -96918,19 +221723,22 @@ public static class auditKeyRecordStartEnd_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditKeyRecordStartEnd_resultStandardSchemeFactory()); + new selectRecordTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditKeyRecordStartEnd_resultTupleSchemeFactory()); + new selectRecordTimestr_resultTupleSchemeFactory()); } - public Map success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -96940,7 +221748,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -96964,6 +221773,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -97018,9 +221829,12 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -97036,32 +221850,59 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditKeyRecordStartEnd_result.class, metaDataMap); + selectRecordTimestr_result.class, metaDataMap); } - public auditKeyRecordStartEnd_result() {} + public selectRecordTimestr_result() {} - public auditKeyRecordStartEnd_result(Map success, + public selectRecordTimestr_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public auditKeyRecordStartEnd_result( - auditKeyRecordStartEnd_result other) { + public selectRecordTimestr_result(selectRecordTimestr_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -97073,13 +221914,17 @@ public auditKeyRecordStartEnd_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public auditKeyRecordStartEnd_result deepCopy() { - return new auditKeyRecordStartEnd_result(this); + public selectRecordTimestr_result deepCopy() { + return new selectRecordTimestr_result(this); } @Override @@ -97088,25 +221933,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, String val) { + public void putToSuccess(String key, + Set val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map> getSuccess() { return this.success; } - public auditKeyRecordStartEnd_result setSuccess( - Map success) { + public selectRecordTimestr_result setSuccess( + Map> success) { this.success = success; return this; } @@ -97133,7 +221980,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public auditKeyRecordStartEnd_result setEx( + public selectRecordTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -97161,7 +222008,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public auditKeyRecordStartEnd_result setEx2( + public selectRecordTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -97185,12 +222032,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public auditKeyRecordStartEnd_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectRecordTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -97213,6 +222060,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectRecordTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -97220,7 +222095,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map) value); + setSuccess( + (Map>) value); } break; @@ -97247,7 +222123,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -97268,6 +222153,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -97290,6 +222178,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -97298,12 +222188,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditKeyRecordStartEnd_result) - return this.equals((auditKeyRecordStartEnd_result) that); + if(that instanceof selectRecordTimestr_result) + return this.equals((selectRecordTimestr_result) that); return false; } - public boolean equals(auditKeyRecordStartEnd_result that) { + public boolean equals(selectRecordTimestr_result that) { if(that == null) return false; @@ -97343,6 +222233,15 @@ public boolean equals(auditKeyRecordStartEnd_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -97370,11 +222269,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(auditKeyRecordStartEnd_result other) { + public int compareTo(selectRecordTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -97430,6 +222334,18 @@ public int compareTo(auditKeyRecordStartEnd_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -97449,8 +222365,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "auditKeyRecordStartEnd_result("); + StringBuilder sb = new StringBuilder("selectRecordTimestr_result("); boolean first = true; sb.append("success:"); @@ -97491,6 +222406,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -97524,18 +222449,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditKeyRecordStartEnd_resultStandardSchemeFactory + private static class selectRecordTimestr_resultStandardSchemeFactory implements SchemeFactory { - public auditKeyRecordStartEnd_resultStandardScheme getScheme() { - return new auditKeyRecordStartEnd_resultStandardScheme(); + public selectRecordTimestr_resultStandardScheme getScheme() { + return new selectRecordTimestr_resultStandardScheme(); } } - private static class auditKeyRecordStartEnd_resultStandardScheme - extends StandardScheme { + private static class selectRecordTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditKeyRecordStartEnd_result struct) + selectRecordTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -97548,16 +222473,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map98 = iprot + org.apache.thrift.protocol.TMap _map1016 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map98.size); - long _key99; - String _val100; - for (int _i101 = 0; _i101 < _map98.size; ++_i101) { - _key99 = iprot.readI64(); - _val100 = iprot.readString(); - struct.success.put(_key99, _val100); + struct.success = new LinkedHashMap>( + 2 * _map1016.size); + String _key1017; + Set _val1018; + for (int _i1019 = 0; _i1019 < _map1016.size; ++_i1019) { + _key1017 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1020 = iprot + .readSetBegin(); + _val1018 = new LinkedHashSet( + 2 * _set1020.size); + com.cinchapi.concourse.thrift.TObject _elem1021; + for (int _i1022 = 0; _i1022 < _set1020.size; ++_i1022) { + _elem1021 = new com.cinchapi.concourse.thrift.TObject(); + _elem1021.read(iprot); + _val1018.add(_elem1021); + } + iprot.readSetEnd(); + } + struct.success.put(_key1017, _val1018); } iprot.readMapEnd(); } @@ -97592,7 +222529,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -97601,6 +222538,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -97615,7 +222563,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditKeyRecordStartEnd_result struct) + selectRecordTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -97624,13 +222572,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry _iter102 : struct.success + for (Map.Entry> _iter1023 : struct.success .entrySet()) { - oprot.writeI64(_iter102.getKey()); - oprot.writeString(_iter102.getValue()); + oprot.writeString(_iter1023.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1023.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1024 : _iter1023 + .getValue()) { + _iter1024.write(oprot); + } + oprot.writeSetEnd(); + } } oprot.writeMapEnd(); } @@ -97651,25 +222609,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class auditKeyRecordStartEnd_resultTupleSchemeFactory + private static class selectRecordTimestr_resultTupleSchemeFactory implements SchemeFactory { - public auditKeyRecordStartEnd_resultTupleScheme getScheme() { - return new auditKeyRecordStartEnd_resultTupleScheme(); + public selectRecordTimestr_resultTupleScheme getScheme() { + return new selectRecordTimestr_resultTupleScheme(); } } - private static class auditKeyRecordStartEnd_resultTupleScheme - extends TupleScheme { + private static class selectRecordTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartEnd_result struct) + selectRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -97685,14 +222648,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter103 : struct.success + for (Map.Entry> _iter1025 : struct.success .entrySet()) { - oprot.writeI64(_iter103.getKey()); - oprot.writeString(_iter103.getValue()); + oprot.writeString(_iter1025.getKey()); + { + oprot.writeI32(_iter1025.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1026 : _iter1025 + .getValue()) { + _iter1026.write(oprot); + } + } } } } @@ -97705,28 +222677,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartEnd_result struct) + selectRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map104 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TMap _map1027 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map104.size); - long _key105; - String _val106; - for (int _i107 = 0; _i107 < _map104.size; ++_i107) { - _key105 = iprot.readI64(); - _val106 = iprot.readString(); - struct.success.put(_key105, _val106); + struct.success = new LinkedHashMap>( + 2 * _map1027.size); + String _key1028; + Set _val1029; + for (int _i1030 = 0; _i1030 < _map1027.size; ++_i1030) { + _key1028 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1031 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1029 = new LinkedHashSet( + 2 * _set1031.size); + com.cinchapi.concourse.thrift.TObject _elem1032; + for (int _i1033 = 0; _i1033 < _set1031.size; ++_i1033) { + _elem1032 = new com.cinchapi.concourse.thrift.TObject(); + _elem1032.read(iprot); + _val1029.add(_elem1032); + } + } + struct.success.put(_key1028, _val1029); } } struct.setSuccessIsSet(true); @@ -97742,52 +222729,51 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class auditKeyRecordStartstrEndstr_args implements - org.apache.thrift.TBase, + public static class selectRecordsTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditKeyRecordStartstrEndstr_args"); + "selectRecordsTime_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 3); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.STRING, (short) 4); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 6); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 7); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditKeyRecordStartstrEndstr_argsStandardSchemeFactory()); + new selectRecordsTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditKeyRecordStartstrEndstr_argsTupleSchemeFactory()); + new selectRecordsTime_argsTupleSchemeFactory()); } - public String key; // required - public long record; // required - public String start; // required - public String tend; // required + public List records; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -97797,13 +222783,11 @@ public static class auditKeyRecordStartstrEndstr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - RECORD((short) 2, "record"), - START((short) 3, "start"), - TEND((short) 4, "tend"), - CREDS((short) 5, "creds"), - TRANSACTION((short) 6, "transaction"), - ENVIRONMENT((short) 7, "environment"); + RECORDS((short) 1, "records"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -97819,19 +222803,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // RECORD - return RECORD; - case 3: // START - return START; - case 4: // TEND - return TEND; - case 5: // CREDS + case 1: // RECORDS + return RECORDS; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS return CREDS; - case 6: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 7: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -97877,32 +222857,24 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -97922,22 +222894,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditKeyRecordStartstrEndstr_args.class, metaDataMap); + selectRecordsTime_args.class, metaDataMap); } - public auditKeyRecordStartstrEndstr_args() {} + public selectRecordsTime_args() {} - public auditKeyRecordStartstrEndstr_args(String key, long record, - String start, String tend, + public selectRecordsTime_args(List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.record = record; - setRecordIsSet(true); - this.start = start; - this.tend = tend; + this.records = records; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -97946,19 +222915,13 @@ public auditKeyRecordStartstrEndstr_args(String key, long record, /** * Performs a deep copy on other. */ - public auditKeyRecordStartstrEndstr_args( - auditKeyRecordStartstrEndstr_args other) { + public selectRecordsTime_args(selectRecordsTime_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; - } - this.record = other.record; - if(other.isSetStart()) { - this.start = other.start; - } - if(other.isSetTend()) { - this.tend = other.tend; + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -97972,136 +222935,96 @@ public auditKeyRecordStartstrEndstr_args( } } - public auditKeyRecordStartstrEndstr_args deepCopy() { - return new auditKeyRecordStartstrEndstr_args(this); + public selectRecordsTime_args deepCopy() { + return new selectRecordsTime_args(this); } @Override public void clear() { - this.key = null; - setRecordIsSet(false); - this.record = 0; - this.start = null; - this.tend = null; + this.records = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; - } - - public auditKeyRecordStartstrEndstr_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); } - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); } + this.records.add(elem); } - public long getRecord() { - return this.record; - } - - public auditKeyRecordStartstrEndstr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); - } - - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - - public String getStart() { - return this.start; + public List getRecords() { + return this.records; } - public auditKeyRecordStartstrEndstr_args setStart(String start) { - this.start = start; + public selectRecordsTime_args setRecords(List records) { + this.records = records; return this; } - public void unsetStart() { - this.start = null; + public void unsetRecords() { + this.records = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetRecords() { + return this.records != null; } - public void setStartIsSet(boolean value) { + public void setRecordsIsSet(boolean value) { if(!value) { - this.start = null; + this.records = null; } } - public String getTend() { - return this.tend; + public long getTimestamp() { + return this.timestamp; } - public auditKeyRecordStartstrEndstr_args setTend(String tend) { - this.tend = tend; + public selectRecordsTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetTend() { - this.tend = null; + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field tend is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetTend() { - return this.tend != null; + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setTendIsSet(boolean value) { - if(!value) { - this.tend = null; - } + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public auditKeyRecordStartstrEndstr_args setCreds( + public selectRecordsTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -98129,7 +223052,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public auditKeyRecordStartstrEndstr_args setTransaction( + public selectRecordsTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -98157,8 +223080,7 @@ public String getEnvironment() { return this.environment; } - public auditKeyRecordStartstrEndstr_args setEnvironment( - String environment) { + public selectRecordsTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -98183,39 +223105,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case RECORD: - if(value == null) { - unsetRecord(); - } - else { - setRecord((Long) value); - } - break; - - case START: + case RECORDS: if(value == null) { - unsetStart(); + unsetRecords(); } else { - setStart((String) value); + setRecords((List) value); } break; - case TEND: + case TIMESTAMP: if(value == null) { - unsetTend(); + unsetTimestamp(); } else { - setTend((String) value); + setTimestamp((Long) value); } break; @@ -98252,17 +223156,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case RECORD: - return getRecord(); - - case START: - return getStart(); + case RECORDS: + return getRecords(); - case TEND: - return getTend(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -98287,14 +223185,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -98309,48 +223203,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditKeyRecordStartstrEndstr_args) - return this.equals((auditKeyRecordStartstrEndstr_args) that); + if(that instanceof selectRecordsTime_args) + return this.equals((selectRecordsTime_args) that); return false; } - public boolean equals(auditKeyRecordStartstrEndstr_args that) { + public boolean equals(selectRecordsTime_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) - return false; - if(this.record != that.record) - return false; - } - - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(!this.start.equals(that.start)) + if(!this.records.equals(that.records)) return false; } - boolean this_present_tend = true && this.isSetTend(); - boolean that_present_tend = true && that.isSetTend(); - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.tend.equals(that.tend)) + if(this.timestamp != that.timestamp) return false; } @@ -98388,25 +223264,15 @@ public boolean equals(auditKeyRecordStartstrEndstr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); - - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); - boolean present_tend = true && (isSetTend()); - list.add(present_tend); - if(present_tend) - list.add(tend); + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -98427,7 +223293,7 @@ public int hashCode() { } @Override - public int compareTo(auditKeyRecordStartstrEndstr_args other) { + public int compareTo(selectRecordsTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -98435,50 +223301,26 @@ public int compareTo(auditKeyRecordStartstrEndstr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetRecord()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetTend()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -98538,42 +223380,21 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "auditKeyRecordStartstrEndstr_args("); + StringBuilder sb = new StringBuilder("selectRecordsTime_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { - sb.append("null"); - } - else { - sb.append(this.key); - } - first = false; - if(!first) - sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - if(this.start == null) { + sb.append("records:"); + if(this.records == null) { sb.append("null"); } else { - sb.append(this.start); + sb.append(this.records); } first = false; if(!first) sb.append(", "); - sb.append("tend:"); - if(this.tend == null) { - sb.append("null"); - } - else { - sb.append(this.tend); - } + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -98648,18 +223469,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditKeyRecordStartstrEndstr_argsStandardSchemeFactory + private static class selectRecordsTime_argsStandardSchemeFactory implements SchemeFactory { - public auditKeyRecordStartstrEndstr_argsStandardScheme getScheme() { - return new auditKeyRecordStartstrEndstr_argsStandardScheme(); + public selectRecordsTime_argsStandardScheme getScheme() { + return new selectRecordsTime_argsStandardScheme(); } } - private static class auditKeyRecordStartstrEndstr_argsStandardScheme - extends StandardScheme { + private static class selectRecordsTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditKeyRecordStartstrEndstr_args struct) + selectRecordsTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -98669,47 +223490,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1034 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1034.size); + long _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { + _elem1035 = iprot.readI64(); + struct.records.add(_elem1035); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // RECORD + case 2: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // START - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 4: // TEND - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 5: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -98720,7 +223532,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -98731,7 +223543,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 7: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -98755,29 +223567,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditKeyRecordStartstrEndstr_args struct) + selectRecordsTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1037 : struct.records) { + oprot.writeI64(_iter1037); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); - oprot.writeFieldEnd(); - } - if(struct.tend != null) { - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeString(struct.tend); - oprot.writeFieldEnd(); - } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -98799,55 +223610,48 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class auditKeyRecordStartstrEndstr_argsTupleSchemeFactory + private static class selectRecordsTime_argsTupleSchemeFactory implements SchemeFactory { - public auditKeyRecordStartstrEndstr_argsTupleScheme getScheme() { - return new auditKeyRecordStartstrEndstr_argsTupleScheme(); + public selectRecordsTime_argsTupleScheme getScheme() { + return new selectRecordsTime_argsTupleScheme(); } } - private static class auditKeyRecordStartstrEndstr_argsTupleScheme - extends TupleScheme { + private static class selectRecordsTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartstrEndstr_args struct) + selectRecordsTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetRecords()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetStart()) { - optionals.set(2); - } - if(struct.isSetTend()) { - optionals.set(3); - } if(struct.isSetCreds()) { - optionals.set(4); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(5); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(6); - } - oprot.writeBitSet(optionals, 7); - if(struct.isSetKey()) { - oprot.writeString(struct.key); - } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + optionals.set(4); } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1038 : struct.records) { + oprot.writeI64(_iter1038); + } + } } - if(struct.isSetTend()) { - oprot.writeString(struct.tend); + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -98862,37 +223666,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartstrEndstr_args struct) + selectRecordsTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(7); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1039.size); + long _elem1040; + for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) { + _elem1040 = iprot.readI64(); + struct.records.add(_elem1040); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } if(incoming.get(2)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); - } - if(incoming.get(3)) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); - } - if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(6)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -98901,13 +223707,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class auditKeyRecordStartstrEndstr_result implements - org.apache.thrift.TBase, + public static class selectRecordsTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "auditKeyRecordStartstrEndstr_result"); + "selectRecordsTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -98917,22 +223723,19 @@ public static class auditKeyRecordStartstrEndstr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new auditKeyRecordStartstrEndstr_resultStandardSchemeFactory()); + new selectRecordsTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new auditKeyRecordStartstrEndstr_resultTupleSchemeFactory()); + new selectRecordsTime_resultTupleSchemeFactory()); } - public Map success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -98942,8 +223745,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -98967,8 +223769,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -99024,8 +223824,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -99041,39 +223848,69 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - auditKeyRecordStartstrEndstr_result.class, metaDataMap); + selectRecordsTime_result.class, metaDataMap); } - public auditKeyRecordStartstrEndstr_result() {} + public selectRecordsTime_result() {} - public auditKeyRecordStartstrEndstr_result(Map success, + public selectRecordsTime_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public auditKeyRecordStartstrEndstr_result( - auditKeyRecordStartstrEndstr_result other) { + public selectRecordsTime_result(selectRecordsTime_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -99085,17 +223922,13 @@ public auditKeyRecordStartstrEndstr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public auditKeyRecordStartstrEndstr_result deepCopy() { - return new auditKeyRecordStartstrEndstr_result(this); + public selectRecordsTime_result deepCopy() { + return new selectRecordsTime_result(this); } @Override @@ -99104,26 +223937,26 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, String val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map>> getSuccess() { return this.success; } - public auditKeyRecordStartstrEndstr_result setSuccess( - Map success) { + public selectRecordsTime_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -99150,7 +223983,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public auditKeyRecordStartstrEndstr_result setEx( + public selectRecordsTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -99178,7 +224011,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public auditKeyRecordStartstrEndstr_result setEx2( + public selectRecordsTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -99202,12 +224035,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public auditKeyRecordStartstrEndstr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public selectRecordsTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -99230,34 +224063,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public auditKeyRecordStartstrEndstr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -99265,7 +224070,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map) value); + setSuccess( + (Map>>) value); } break; @@ -99292,16 +224098,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -99322,9 +224119,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -99347,8 +224141,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -99357,12 +224149,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof auditKeyRecordStartstrEndstr_result) - return this.equals((auditKeyRecordStartstrEndstr_result) that); + if(that instanceof selectRecordsTime_result) + return this.equals((selectRecordsTime_result) that); return false; } - public boolean equals(auditKeyRecordStartstrEndstr_result that) { + public boolean equals(selectRecordsTime_result that) { if(that == null) return false; @@ -99402,15 +224194,6 @@ public boolean equals(auditKeyRecordStartstrEndstr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -99438,16 +224221,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(auditKeyRecordStartstrEndstr_result other) { + public int compareTo(selectRecordsTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -99503,18 +224281,6 @@ public int compareTo(auditKeyRecordStartstrEndstr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -99534,8 +224300,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "auditKeyRecordStartstrEndstr_result("); + StringBuilder sb = new StringBuilder("selectRecordsTime_result("); boolean first = true; sb.append("success:"); @@ -99576,16 +224341,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -99619,18 +224374,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class auditKeyRecordStartstrEndstr_resultStandardSchemeFactory + private static class selectRecordsTime_resultStandardSchemeFactory implements SchemeFactory { - public auditKeyRecordStartstrEndstr_resultStandardScheme getScheme() { - return new auditKeyRecordStartstrEndstr_resultStandardScheme(); + public selectRecordsTime_resultStandardScheme getScheme() { + return new selectRecordsTime_resultStandardScheme(); } } - private static class auditKeyRecordStartstrEndstr_resultStandardScheme - extends StandardScheme { + private static class selectRecordsTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - auditKeyRecordStartstrEndstr_result struct) + selectRecordsTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -99643,16 +224398,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map108 = iprot + org.apache.thrift.protocol.TMap _map1042 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map108.size); - long _key109; - String _val110; - for (int _i111 = 0; _i111 < _map108.size; ++_i111) { - _key109 = iprot.readI64(); - _val110 = iprot.readString(); - struct.success.put(_key109, _val110); + struct.success = new LinkedHashMap>>( + 2 * _map1042.size); + long _key1043; + Map> _val1044; + for (int _i1045 = 0; _i1045 < _map1042.size; ++_i1045) { + _key1043 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1046 = iprot + .readMapBegin(); + _val1044 = new LinkedHashMap>( + 2 * _map1046.size); + String _key1047; + Set _val1048; + for (int _i1049 = 0; _i1049 < _map1046.size; ++_i1049) { + _key1047 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1050 = iprot + .readSetBegin(); + _val1048 = new LinkedHashSet( + 2 * _set1050.size); + com.cinchapi.concourse.thrift.TObject _elem1051; + for (int _i1052 = 0; _i1052 < _set1050.size; ++_i1052) { + _elem1051 = new com.cinchapi.concourse.thrift.TObject(); + _elem1051.read(iprot); + _val1048.add(_elem1051); + } + iprot.readSetEnd(); + } + _val1044.put(_key1047, _val1048); + } + iprot.readMapEnd(); + } + struct.success.put(_key1043, _val1044); } iprot.readMapEnd(); } @@ -99687,7 +224467,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -99696,17 +224476,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -99721,7 +224490,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - auditKeyRecordStartstrEndstr_result struct) + selectRecordsTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -99731,12 +224500,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry _iter112 : struct.success + for (Map.Entry>> _iter1053 : struct.success .entrySet()) { - oprot.writeI64(_iter112.getKey()); - oprot.writeString(_iter112.getValue()); + oprot.writeI64(_iter1053.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1053.getValue().size())); + for (Map.Entry> _iter1054 : _iter1053 + .getValue().entrySet()) { + oprot.writeString(_iter1054.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1054.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1055 : _iter1054 + .getValue()) { + _iter1055.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } oprot.writeMapEnd(); } @@ -99757,30 +224549,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class auditKeyRecordStartstrEndstr_resultTupleSchemeFactory + private static class selectRecordsTime_resultTupleSchemeFactory implements SchemeFactory { - public auditKeyRecordStartstrEndstr_resultTupleScheme getScheme() { - return new auditKeyRecordStartstrEndstr_resultTupleScheme(); + public selectRecordsTime_resultTupleScheme getScheme() { + return new selectRecordsTime_resultTupleScheme(); } } - private static class auditKeyRecordStartstrEndstr_resultTupleScheme - extends TupleScheme { + private static class selectRecordsTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartstrEndstr_result struct) + selectRecordsTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -99796,17 +224583,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter113 : struct.success + for (Map.Entry>> _iter1056 : struct.success .entrySet()) { - oprot.writeI64(_iter113.getKey()); - oprot.writeString(_iter113.getValue()); + oprot.writeI64(_iter1056.getKey()); + { + oprot.writeI32(_iter1056.getValue().size()); + for (Map.Entry> _iter1057 : _iter1056 + .getValue().entrySet()) { + oprot.writeString(_iter1057.getKey()); + { + oprot.writeI32( + _iter1057.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1058 : _iter1057 + .getValue()) { + _iter1058.write(oprot); + } + } + } + } } } } @@ -99819,31 +224617,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - auditKeyRecordStartstrEndstr_result struct) + selectRecordsTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map114 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map1059 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map114.size); - long _key115; - String _val116; - for (int _i117 = 0; _i117 < _map114.size; ++_i117) { - _key115 = iprot.readI64(); - _val116 = iprot.readString(); - struct.success.put(_key115, _val116); + struct.success = new LinkedHashMap>>( + 2 * _map1059.size); + long _key1060; + Map> _val1061; + for (int _i1062 = 0; _i1062 < _map1059.size; ++_i1062) { + _key1060 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1063 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val1061 = new LinkedHashMap>( + 2 * _map1063.size); + String _key1064; + Set _val1065; + for (int _i1066 = 0; _i1066 < _map1063.size; ++_i1066) { + _key1064 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1067 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1065 = new LinkedHashSet( + 2 * _set1067.size); + com.cinchapi.concourse.thrift.TObject _elem1068; + for (int _i1069 = 0; _i1069 < _set1067.size; ++_i1069) { + _elem1068 = new com.cinchapi.concourse.thrift.TObject(); + _elem1068.read(iprot); + _val1065.add(_elem1068); + } + } + _val1061.put(_key1064, _val1065); + } + } + struct.success.put(_key1060, _val1061); } } struct.setSuccessIsSet(true); @@ -99859,48 +224680,49 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class browseKey_args implements - org.apache.thrift.TBase, + public static class selectRecordsTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKey_args"); + "selectRecordsTimeOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKey_argsStandardSchemeFactory()); + new selectRecordsTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKey_argsTupleSchemeFactory()); + new selectRecordsTimeOrder_argsTupleSchemeFactory()); } - public String key; // required + public List records; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -99910,10 +224732,12 @@ public static class browseKey_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + RECORDS((short) 1, "records"), + TIMESTAMP((short) 2, "timestamp"), + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -99929,13 +224753,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // CREDS + case 1: // RECORDS + return RECORDS; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 3: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -99981,15 +224809,30 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -100008,18 +224851,22 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(browseKey_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectRecordsTimeOrder_args.class, metaDataMap); } - public browseKey_args() {} + public selectRecordsTimeOrder_args() {} - public browseKey_args(String key, + public selectRecordsTimeOrder_args(List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; + this.records = records; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -100028,9 +224875,16 @@ public browseKey_args(String key, /** * Performs a deep copy on other. */ - public browseKey_args(browseKey_args other) { - if(other.isSetKey()) { - this.key = other.key; + public selectRecordsTimeOrder_args(selectRecordsTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -100045,42 +224899,117 @@ public browseKey_args(browseKey_args other) { } } - public browseKey_args deepCopy() { - return new browseKey_args(this); + public selectRecordsTimeOrder_args deepCopy() { + return new selectRecordsTimeOrder_args(this); } @Override public void clear() { - this.key = null; + this.records = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - public browseKey_args setKey(String key) { - this.key = key; + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public selectRecordsTimeOrder_args setRecords(List records) { + this.records = records; return this; } - public void unsetKey() { - this.key = null; + public void unsetRecords() { + this.records = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetRecords() { + return this.records != null; } - public void setKeyIsSet(boolean value) { + public void setRecordsIsSet(boolean value) { if(!value) { - this.key = null; + this.records = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public selectRecordsTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectRecordsTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; } } @@ -100088,7 +225017,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public browseKey_args setCreds( + public selectRecordsTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -100116,7 +225045,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public browseKey_args setTransaction( + public selectRecordsTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -100144,7 +225073,7 @@ public String getEnvironment() { return this.environment; } - public browseKey_args setEnvironment(String environment) { + public selectRecordsTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -100169,12 +225098,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case RECORDS: if(value == null) { - unsetKey(); + unsetRecords(); } else { - setKey((String) value); + setRecords((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -100211,8 +225158,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case RECORDS: + return getRecords(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -100237,8 +225190,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -100253,21 +225210,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKey_args) - return this.equals((browseKey_args) that); + if(that instanceof selectRecordsTimeOrder_args) + return this.equals((selectRecordsTimeOrder_args) that); return false; } - public boolean equals(browseKey_args that) { + public boolean equals(selectRecordsTimeOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(!this.key.equals(that.key)) + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -100305,10 +225280,20 @@ public boolean equals(browseKey_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -100329,7 +225314,7 @@ public int hashCode() { } @Override - public int compareTo(browseKey_args other) { + public int compareTo(selectRecordsTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -100337,14 +225322,38 @@ public int compareTo(browseKey_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -100404,15 +225413,31 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKey_args("); + StringBuilder sb = new StringBuilder( + "selectRecordsTimeOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("records:"); + if(this.records == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -100452,6 +225477,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -100475,6 +225503,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -100484,18 +225516,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKey_argsStandardSchemeFactory + private static class selectRecordsTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public browseKey_argsStandardScheme getScheme() { - return new browseKey_argsStandardScheme(); + public selectRecordsTimeOrder_argsStandardScheme getScheme() { + return new selectRecordsTimeOrder_argsStandardScheme(); } } - private static class browseKey_argsStandardScheme - extends StandardScheme { + private static class selectRecordsTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKey_args struct) throws org.apache.thrift.TException { + selectRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -100504,17 +225537,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1070 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1070.size); + long _elem1071; + for (int _i1072 = 0; _i1072 < _list1070.size; ++_i1072) { + _elem1071 = iprot.readI64(); + struct.records.add(_elem1071); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -100525,7 +225590,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -100536,7 +225601,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -100560,13 +225625,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKey_args struct) throws org.apache.thrift.TException { + selectRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1073 : struct.records) { + oprot.writeI64(_iter1073); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -100590,36 +225673,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class browseKey_argsTupleSchemeFactory + private static class selectRecordsTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public browseKey_argsTupleScheme getScheme() { - return new browseKey_argsTupleScheme(); + public selectRecordsTimeOrder_argsTupleScheme getScheme() { + return new selectRecordsTimeOrder_argsTupleScheme(); } } - private static class browseKey_argsTupleScheme - extends TupleScheme { + private static class selectRecordsTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKey_args struct) throws org.apache.thrift.TException { + selectRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetRecords()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1074 : struct.records) { + oprot.writeI64(_iter1074); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -100634,24 +225735,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKey_args struct) throws org.apache.thrift.TException { + selectRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list1075 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1075.size); + long _elem1076; + for (int _i1077 = 0; _i1077 < _list1075.size; ++_i1077) { + _elem1076 = iprot.readI64(); + struct.records.add(_elem1076); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(1)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -100660,13 +225781,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class browseKey_result implements - org.apache.thrift.TBase, + public static class selectRecordsTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKey_result"); + "selectRecordsTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -100680,12 +225801,12 @@ public static class browseKey_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKey_resultStandardSchemeFactory()); + new selectRecordsTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKey_resultTupleSchemeFactory()); + new selectRecordsTimeOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -100775,13 +225896,17 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))))); + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -100798,14 +225923,14 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(browseKey_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectRecordsTimeOrder_result.class, metaDataMap); } - public browseKey_result() {} + public selectRecordsTimeOrder_result() {} - public browseKey_result( - Map> success, + public selectRecordsTimeOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -100819,22 +225944,44 @@ public browseKey_result( /** * Performs a deep copy on other. */ - public browseKey_result(browseKey_result other) { + public selectRecordsTimeOrder_result( + selectRecordsTimeOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - com.cinchapi.concourse.thrift.TObject other_element_key = other_element - .getKey(); - Set other_element_value = other_element.getValue(); + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); - com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( - other_element_key); + Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( - other_element_value); + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -100855,8 +226002,8 @@ public browseKey_result(browseKey_result other) { } } - public browseKey_result deepCopy() { - return new browseKey_result(this); + public selectRecordsTimeOrder_result deepCopy() { + return new selectRecordsTimeOrder_result(this); } @Override @@ -100871,20 +226018,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, - Set val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public browseKey_result setSuccess( - Map> success) { + public selectRecordsTimeOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -100911,7 +226058,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public browseKey_result setEx( + public selectRecordsTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -100939,7 +226086,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public browseKey_result setEx2( + public selectRecordsTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -100967,7 +226114,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public browseKey_result setEx3( + public selectRecordsTimeOrder_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -100999,7 +226146,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>>) value); } break; @@ -101077,12 +226224,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKey_result) - return this.equals((browseKey_result) that); + if(that instanceof selectRecordsTimeOrder_result) + return this.equals((selectRecordsTimeOrder_result) that); return false; } - public boolean equals(browseKey_result that) { + public boolean equals(selectRecordsTimeOrder_result that) { if(that == null) return false; @@ -101153,7 +226300,7 @@ public int hashCode() { } @Override - public int compareTo(browseKey_result other) { + public int compareTo(selectRecordsTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -101228,7 +226375,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKey_result("); + StringBuilder sb = new StringBuilder( + "selectRecordsTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -101302,18 +226450,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKey_resultStandardSchemeFactory + private static class selectRecordsTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public browseKey_resultStandardScheme getScheme() { - return new browseKey_resultStandardScheme(); + public selectRecordsTimeOrder_resultStandardScheme getScheme() { + return new selectRecordsTimeOrder_resultStandardScheme(); } } - private static class browseKey_resultStandardScheme - extends StandardScheme { + private static class selectRecordsTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKey_result struct) + selectRecordsTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -101326,28 +226474,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map118 = iprot + org.apache.thrift.protocol.TMap _map1078 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map118.size); - com.cinchapi.concourse.thrift.TObject _key119; - Set _val120; - for (int _i121 = 0; _i121 < _map118.size; ++_i121) { - _key119 = new com.cinchapi.concourse.thrift.TObject(); - _key119.read(iprot); + struct.success = new LinkedHashMap>>( + 2 * _map1078.size); + long _key1079; + Map> _val1080; + for (int _i1081 = 0; _i1081 < _map1078.size; ++_i1081) { + _key1079 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set122 = iprot - .readSetBegin(); - _val120 = new LinkedHashSet( - 2 * _set122.size); - long _elem123; - for (int _i124 = 0; _i124 < _set122.size; ++_i124) { - _elem123 = iprot.readI64(); - _val120.add(_elem123); + org.apache.thrift.protocol.TMap _map1082 = iprot + .readMapBegin(); + _val1080 = new LinkedHashMap>( + 2 * _map1082.size); + String _key1083; + Set _val1084; + for (int _i1085 = 0; _i1085 < _map1082.size; ++_i1085) { + _key1083 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1086 = iprot + .readSetBegin(); + _val1084 = new LinkedHashSet( + 2 * _set1086.size); + com.cinchapi.concourse.thrift.TObject _elem1087; + for (int _i1088 = 0; _i1088 < _set1086.size; ++_i1088) { + _elem1087 = new com.cinchapi.concourse.thrift.TObject(); + _elem1087.read(iprot); + _val1084.add(_elem1087); + } + iprot.readSetEnd(); + } + _val1080.put(_key1083, _val1084); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key119, _val120); + struct.success.put(_key1079, _val1080); } iprot.readMapEnd(); } @@ -101405,7 +226566,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKey_result struct) + selectRecordsTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -101414,21 +226575,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter125 : struct.success + for (Map.Entry>> _iter1089 : struct.success .entrySet()) { - _iter125.getKey().write(oprot); + oprot.writeI64(_iter1089.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - _iter125.getValue().size())); - for (long _iter126 : _iter125.getValue()) { - oprot.writeI64(_iter126); + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1089.getValue().size())); + for (Map.Entry> _iter1090 : _iter1089 + .getValue().entrySet()) { + oprot.writeString(_iter1090.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1090.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1091 : _iter1090 + .getValue()) { + _iter1091.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -101456,19 +226631,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class browseKey_resultTupleSchemeFactory + private static class selectRecordsTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public browseKey_resultTupleScheme getScheme() { - return new browseKey_resultTupleScheme(); + public selectRecordsTimeOrder_resultTupleScheme getScheme() { + return new selectRecordsTimeOrder_resultTupleScheme(); } } - private static class browseKey_resultTupleScheme - extends TupleScheme { + private static class selectRecordsTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKey_result struct) + selectRecordsTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -101488,13 +226663,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter127 : struct.success + for (Map.Entry>> _iter1092 : struct.success .entrySet()) { - _iter127.getKey().write(oprot); + oprot.writeI64(_iter1092.getKey()); { - oprot.writeI32(_iter127.getValue().size()); - for (long _iter128 : _iter127.getValue()) { - oprot.writeI64(_iter128); + oprot.writeI32(_iter1092.getValue().size()); + for (Map.Entry> _iter1093 : _iter1092 + .getValue().entrySet()) { + oprot.writeString(_iter1093.getKey()); + { + oprot.writeI32( + _iter1093.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1094 : _iter1093 + .getValue()) { + _iter1094.write(oprot); + } + } } } } @@ -101513,36 +226697,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKey_result struct) + selectRecordsTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map129 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TMap _map1095 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map129.size); - com.cinchapi.concourse.thrift.TObject _key130; - Set _val131; - for (int _i132 = 0; _i132 < _map129.size; ++_i132) { - _key130 = new com.cinchapi.concourse.thrift.TObject(); - _key130.read(iprot); + struct.success = new LinkedHashMap>>( + 2 * _map1095.size); + long _key1096; + Map> _val1097; + for (int _i1098 = 0; _i1098 < _map1095.size; ++_i1098) { + _key1096 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set133 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TMap _map1099 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val131 = new LinkedHashSet( - 2 * _set133.size); - long _elem134; - for (int _i135 = 0; _i135 < _set133.size; ++_i135) { - _elem134 = iprot.readI64(); - _val131.add(_elem134); + _val1097 = new LinkedHashMap>( + 2 * _map1099.size); + String _key1100; + Set _val1101; + for (int _i1102 = 0; _i1102 < _map1099.size; ++_i1102) { + _key1100 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1103 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1101 = new LinkedHashSet( + 2 * _set1103.size); + com.cinchapi.concourse.thrift.TObject _elem1104; + for (int _i1105 = 0; _i1105 < _set1103.size; ++_i1105) { + _elem1104 = new com.cinchapi.concourse.thrift.TObject(); + _elem1104.read(iprot); + _val1101.add(_elem1104); + } + } + _val1097.put(_key1100, _val1101); } } - struct.success.put(_key130, _val131); + struct.success.put(_key1096, _val1097); } } struct.setSuccessIsSet(true); @@ -101567,34 +226765,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class browseKeys_args implements - org.apache.thrift.TBase, + public static class selectRecordsTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKeys_args"); + "selectRecordsTimestr_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKeys_argsStandardSchemeFactory()); + new selectRecordsTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKeys_argsTupleSchemeFactory()); + new selectRecordsTimestr_argsTupleSchemeFactory()); } - public List keys; // required + public List records; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -101604,10 +226806,11 @@ public static class browseKeys_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + RECORDS((short) 1, "records"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -101623,13 +226826,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CREDS + case 1: // RECORDS + return RECORDS; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS return CREDS; - case 3: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -101679,13 +226884,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -101704,18 +226914,19 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(browseKeys_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectRecordsTimestr_args.class, metaDataMap); } - public browseKeys_args() {} + public selectRecordsTimestr_args() {} - public browseKeys_args(List keys, + public selectRecordsTimestr_args(List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; + this.records = records; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -101724,10 +226935,13 @@ public browseKeys_args(List keys, /** * Performs a deep copy on other. */ - public browseKeys_args(browseKeys_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public selectRecordsTimestr_args(selectRecordsTimestr_args other) { + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -101742,57 +226956,85 @@ public browseKeys_args(browseKeys_args other) { } } - public browseKeys_args deepCopy() { - return new browseKeys_args(this); + public selectRecordsTimestr_args deepCopy() { + return new selectRecordsTimestr_args(this); } @Override public void clear() { - this.keys = null; + this.records = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); } - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); } - this.keys.add(elem); + this.records.add(elem); } - public List getKeys() { - return this.keys; + public List getRecords() { + return this.records; } - public browseKeys_args setKeys(List keys) { - this.keys = keys; + public selectRecordsTimestr_args setRecords(List records) { + this.records = records; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetRecords() { + this.records = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetRecords() { + return this.records != null; } - public void setKeysIsSet(boolean value) { + public void setRecordsIsSet(boolean value) { if(!value) { - this.keys = null; + this.records = null; + } + } + + public String getTimestamp() { + return this.timestamp; + } + + public selectRecordsTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; } } @@ -101800,7 +227042,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public browseKeys_args setCreds( + public selectRecordsTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -101828,7 +227070,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public browseKeys_args setTransaction( + public selectRecordsTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -101856,7 +227098,7 @@ public String getEnvironment() { return this.environment; } - public browseKeys_args setEnvironment(String environment) { + public selectRecordsTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -101881,12 +227123,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case RECORDS: if(value == null) { - unsetKeys(); + unsetRecords(); } else { - setKeys((List) value); + setRecords((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); } break; @@ -101923,8 +227174,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case RECORDS: + return getRecords(); + + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -101949,8 +227203,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -101965,21 +227221,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKeys_args) - return this.equals((browseKeys_args) that); + if(that instanceof selectRecordsTimestr_args) + return this.equals((selectRecordsTimestr_args) that); return false; } - public boolean equals(browseKeys_args that) { + public boolean equals(selectRecordsTimestr_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(!this.keys.equals(that.keys)) + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -102017,10 +227282,15 @@ public boolean equals(browseKeys_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -102041,7 +227311,7 @@ public int hashCode() { } @Override - public int compareTo(browseKeys_args other) { + public int compareTo(selectRecordsTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -102049,14 +227319,26 @@ public int compareTo(browseKeys_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -102116,15 +227398,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKeys_args("); + StringBuilder sb = new StringBuilder("selectRecordsTimestr_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("records:"); + if(this.records == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); } first = false; if(!first) @@ -102196,18 +227488,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKeys_argsStandardSchemeFactory + private static class selectRecordsTimestr_argsStandardSchemeFactory implements SchemeFactory { - public browseKeys_argsStandardScheme getScheme() { - return new browseKeys_argsStandardScheme(); + public selectRecordsTimestr_argsStandardScheme getScheme() { + return new selectRecordsTimestr_argsStandardScheme(); } } - private static class browseKeys_argsStandardScheme - extends StandardScheme { + private static class selectRecordsTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKeys_args struct) + selectRecordsTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -102217,28 +227509,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS + case 1: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list136 = iprot + org.apache.thrift.protocol.TList _list1106 = iprot .readListBegin(); - struct.keys = new ArrayList( - _list136.size); - String _elem137; - for (int _i138 = 0; _i138 < _list136.size; ++_i138) { - _elem137 = iprot.readString(); - struct.keys.add(_elem137); + struct.records = new ArrayList( + _list1106.size); + long _elem1107; + for (int _i1108 = 0; _i1108 < _list1106.size; ++_i1108) { + _elem1107 = iprot.readI64(); + struct.records.add(_elem1107); } iprot.readListEnd(); } - struct.setKeysIsSet(true); + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -102249,7 +227551,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -102260,7 +227562,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -102284,25 +227586,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKeys_args struct) + selectRecordsTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter139 : struct.keys) { - oprot.writeString(_iter139); + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1109 : struct.records) { + oprot.writeI64(_iter1109); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -102324,43 +227631,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class browseKeys_argsTupleSchemeFactory + private static class selectRecordsTimestr_argsTupleSchemeFactory implements SchemeFactory { - public browseKeys_argsTupleScheme getScheme() { - return new browseKeys_argsTupleScheme(); + public selectRecordsTimestr_argsTupleScheme getScheme() { + return new selectRecordsTimestr_argsTupleScheme(); } } - private static class browseKeys_argsTupleScheme - extends TupleScheme { + private static class selectRecordsTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKeys_args struct) + selectRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetRecords()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetKeys()) { + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetRecords()) { { - oprot.writeI32(struct.keys.size()); - for (String _iter140 : struct.keys) { - oprot.writeString(_iter140); + oprot.writeI32(struct.records.size()); + for (long _iter1110 : struct.records) { + oprot.writeI64(_iter1110); } } } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -102374,35 +227687,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKeys_args struct) + selectRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list141 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TList _list1111 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.keys = new ArrayList(_list141.size); - String _elem142; - for (int _i143 = 0; _i143 < _list141.size; ++_i143) { - _elem142 = iprot.readString(); - struct.keys.add(_elem142); + struct.records = new ArrayList(_list1111.size); + long _elem1112; + for (int _i1113 = 0; _i1113 < _list1111.size; ++_i1113) { + _elem1112 = iprot.readI64(); + struct.records.add(_elem1112); } } - struct.setKeysIsSet(true); + struct.setRecordsIsSet(true); } if(incoming.get(1)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -102411,13 +227728,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class browseKeys_result implements - org.apache.thrift.TBase, + public static class selectRecordsTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKeys_result"); + "selectRecordsTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -102427,19 +227744,22 @@ public static class browseKeys_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKeys_resultStandardSchemeFactory()); + new selectRecordsTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKeys_resultTupleSchemeFactory()); + new selectRecordsTimestr_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -102449,7 +227769,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -102473,6 +227794,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -102527,16 +227850,16 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), + org.apache.thrift.protocol.TType.I64), new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.SetMetaData( org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -102552,56 +227875,67 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(browseKeys_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectRecordsTimestr_result.class, metaDataMap); } - public browseKeys_result() {} + public selectRecordsTimestr_result() {} - public browseKeys_result( - Map>> success, + public selectRecordsTimestr_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public browseKeys_result(browseKeys_result other) { + public selectRecordsTimestr_result(selectRecordsTimestr_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry> other_element_value_element : other_element_value .entrySet()) { - com.cinchapi.concourse.thrift.TObject other_element_value_element_key = other_element_value_element + String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + Set other_element_value_element_value = other_element_value_element .getValue(); - com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_key = new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_key); + String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value); + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -102622,13 +227956,17 @@ public browseKeys_result(browseKeys_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public browseKeys_result deepCopy() { - return new browseKeys_result(this); + public selectRecordsTimestr_result deepCopy() { + return new selectRecordsTimestr_result(this); } @Override @@ -102637,26 +227975,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Map> val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map>> getSuccess() { return this.success; } - public browseKeys_result setSuccess( - Map>> success) { + public selectRecordsTimestr_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -102683,7 +228022,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public browseKeys_result setEx( + public selectRecordsTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -102711,7 +228050,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public browseKeys_result setEx2( + public selectRecordsTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -102735,12 +228074,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public browseKeys_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectRecordsTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -102763,6 +228102,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectRecordsTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -102771,7 +228138,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>>) value); } break; @@ -102798,7 +228165,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -102819,6 +228195,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -102841,6 +228220,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -102849,12 +228230,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKeys_result) - return this.equals((browseKeys_result) that); + if(that instanceof selectRecordsTimestr_result) + return this.equals((selectRecordsTimestr_result) that); return false; } - public boolean equals(browseKeys_result that) { + public boolean equals(selectRecordsTimestr_result that) { if(that == null) return false; @@ -102894,6 +228275,15 @@ public boolean equals(browseKeys_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -102921,11 +228311,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(browseKeys_result other) { + public int compareTo(selectRecordsTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -102981,6 +228376,18 @@ public int compareTo(browseKeys_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -103000,7 +228407,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKeys_result("); + StringBuilder sb = new StringBuilder( + "selectRecordsTimestr_result("); boolean first = true; sb.append("success:"); @@ -103041,6 +228449,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -103074,18 +228492,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKeys_resultStandardSchemeFactory + private static class selectRecordsTimestr_resultStandardSchemeFactory implements SchemeFactory { - public browseKeys_resultStandardScheme getScheme() { - return new browseKeys_resultStandardScheme(); + public selectRecordsTimestr_resultStandardScheme getScheme() { + return new selectRecordsTimestr_resultStandardScheme(); } } - private static class browseKeys_resultStandardScheme - extends StandardScheme { + private static class selectRecordsTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKeys_result struct) + selectRecordsTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -103098,41 +228516,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map144 = iprot + org.apache.thrift.protocol.TMap _map1114 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map144.size); - String _key145; - Map> _val146; - for (int _i147 = 0; _i147 < _map144.size; ++_i147) { - _key145 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map1114.size); + long _key1115; + Map> _val1116; + for (int _i1117 = 0; _i1117 < _map1114.size; ++_i1117) { + _key1115 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map148 = iprot + org.apache.thrift.protocol.TMap _map1118 = iprot .readMapBegin(); - _val146 = new LinkedHashMap>( - 2 * _map148.size); - com.cinchapi.concourse.thrift.TObject _key149; - Set _val150; - for (int _i151 = 0; _i151 < _map148.size; ++_i151) { - _key149 = new com.cinchapi.concourse.thrift.TObject(); - _key149.read(iprot); + _val1116 = new LinkedHashMap>( + 2 * _map1118.size); + String _key1119; + Set _val1120; + for (int _i1121 = 0; _i1121 < _map1118.size; ++_i1121) { + _key1119 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set152 = iprot + org.apache.thrift.protocol.TSet _set1122 = iprot .readSetBegin(); - _val150 = new LinkedHashSet( - 2 * _set152.size); - long _elem153; - for (int _i154 = 0; _i154 < _set152.size; ++_i154) { - _elem153 = iprot.readI64(); - _val150.add(_elem153); + _val1120 = new LinkedHashSet( + 2 * _set1122.size); + com.cinchapi.concourse.thrift.TObject _elem1123; + for (int _i1124 = 0; _i1124 < _set1122.size; ++_i1124) { + _elem1123 = new com.cinchapi.concourse.thrift.TObject(); + _elem1123.read(iprot); + _val1120.add(_elem1123); } iprot.readSetEnd(); } - _val146.put(_key149, _val150); + _val1116.put(_key1119, _val1120); } iprot.readMapEnd(); } - struct.success.put(_key145, _val146); + struct.success.put(_key1115, _val1116); } iprot.readMapEnd(); } @@ -103167,7 +228585,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -103176,6 +228594,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -103190,7 +228619,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKeys_result struct) + selectRecordsTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -103199,30 +228628,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter155 : struct.success + for (Map.Entry>> _iter1125 : struct.success .entrySet()) { - oprot.writeString(_iter155.getKey()); + oprot.writeI64(_iter1125.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter155.getValue().size())); - for (Map.Entry> _iter156 : _iter155 + _iter1125.getValue().size())); + for (Map.Entry> _iter1126 : _iter1125 .getValue().entrySet()) { - _iter156.getKey().write(oprot); + oprot.writeString(_iter1126.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - _iter156.getValue() + org.apache.thrift.protocol.TType.STRUCT, + _iter1126.getValue() .size())); - for (long _iter157 : _iter156 + for (com.cinchapi.concourse.thrift.TObject _iter1127 : _iter1126 .getValue()) { - oprot.writeI64(_iter157); + _iter1127.write(oprot); } oprot.writeSetEnd(); } @@ -103249,25 +228678,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class browseKeys_resultTupleSchemeFactory + private static class selectRecordsTimestr_resultTupleSchemeFactory implements SchemeFactory { - public browseKeys_resultTupleScheme getScheme() { - return new browseKeys_resultTupleScheme(); + public selectRecordsTimestr_resultTupleScheme getScheme() { + return new selectRecordsTimestr_resultTupleScheme(); } } - private static class browseKeys_resultTupleScheme - extends TupleScheme { + private static class selectRecordsTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKeys_result struct) + selectRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -103283,24 +228717,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter158 : struct.success + for (Map.Entry>> _iter1128 : struct.success .entrySet()) { - oprot.writeString(_iter158.getKey()); + oprot.writeI64(_iter1128.getKey()); { - oprot.writeI32(_iter158.getValue().size()); - for (Map.Entry> _iter159 : _iter158 + oprot.writeI32(_iter1128.getValue().size()); + for (Map.Entry> _iter1129 : _iter1128 .getValue().entrySet()) { - _iter159.getKey().write(oprot); + oprot.writeString(_iter1129.getKey()); { oprot.writeI32( - _iter159.getValue().size()); - for (long _iter160 : _iter159 + _iter1129.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1130 : _iter1129 .getValue()) { - oprot.writeI64(_iter160); + _iter1130.write(oprot); } } } @@ -103317,54 +228754,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKeys_result struct) + selectRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map161 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1131 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map161.size); - String _key162; - Map> _val163; - for (int _i164 = 0; _i164 < _map161.size; ++_i164) { - _key162 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map1131.size); + long _key1132; + Map> _val1133; + for (int _i1134 = 0; _i1134 < _map1131.size; ++_i1134) { + _key1132 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map165 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TMap _map1135 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val163 = new LinkedHashMap>( - 2 * _map165.size); - com.cinchapi.concourse.thrift.TObject _key166; - Set _val167; - for (int _i168 = 0; _i168 < _map165.size; ++_i168) { - _key166 = new com.cinchapi.concourse.thrift.TObject(); - _key166.read(iprot); + _val1133 = new LinkedHashMap>( + 2 * _map1135.size); + String _key1136; + Set _val1137; + for (int _i1138 = 0; _i1138 < _map1135.size; ++_i1138) { + _key1136 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set169 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TSet _set1139 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val167 = new LinkedHashSet( - 2 * _set169.size); - long _elem170; - for (int _i171 = 0; _i171 < _set169.size; ++_i171) { - _elem170 = iprot.readI64(); - _val167.add(_elem170); + _val1137 = new LinkedHashSet( + 2 * _set1139.size); + com.cinchapi.concourse.thrift.TObject _elem1140; + for (int _i1141 = 0; _i1141 < _set1139.size; ++_i1141) { + _elem1140 = new com.cinchapi.concourse.thrift.TObject(); + _elem1140.read(iprot); + _val1137.add(_elem1140); } } - _val163.put(_key166, _val167); + _val1133.put(_key1136, _val1137); } } - struct.success.put(_key162, _val163); + struct.success.put(_key1132, _val1133); } } struct.setSuccessIsSet(true); @@ -103380,46 +228820,55 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class browseKeyTime_args implements - org.apache.thrift.TBase, + public static class selectRecordsTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKeyTime_args"); + "selectRecordsTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKeyTime_argsStandardSchemeFactory()); + new selectRecordsTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKeyTime_argsTupleSchemeFactory()); + new selectRecordsTimestrOrder_argsTupleSchemeFactory()); } - public String key; // required - public long timestamp; // required + public List records; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -103429,11 +228878,12 @@ public static class browseKeyTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), + RECORDS((short) 1, "records"), TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -103449,15 +228899,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; + case 1: // RECORDS + return RECORDS; case 2: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -103503,22 +228955,28 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -103538,19 +228996,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - browseKeyTime_args.class, metaDataMap); + selectRecordsTimestrOrder_args.class, metaDataMap); } - public browseKeyTime_args() {} + public selectRecordsTimestrOrder_args() {} - public browseKeyTime_args(String key, long timestamp, + public selectRecordsTimestrOrder_args(List records, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; + this.records = records; this.timestamp = timestamp; - setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -103559,12 +229018,19 @@ public browseKeyTime_args(String key, long timestamp, /** * Performs a deep copy on other. */ - public browseKeyTime_args(browseKeyTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public selectRecordsTimestrOrder_args( + selectRecordsTimestrOrder_args other) { + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -103578,60 +229044,73 @@ public browseKeyTime_args(browseKeyTime_args other) { } } - public browseKeyTime_args deepCopy() { - return new browseKeyTime_args(this); + public selectRecordsTimestrOrder_args deepCopy() { + return new selectRecordsTimestrOrder_args(this); } @Override public void clear() { - this.key = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.records = null; + this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - public browseKeyTime_args setKey(String key) { - this.key = key; + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public selectRecordsTimestrOrder_args setRecords(List records) { + this.records = records; return this; } - public void unsetKey() { - this.key = null; + public void unsetRecords() { + this.records = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetRecords() { + return this.records != null; } - public void setKeyIsSet(boolean value) { + public void setRecordsIsSet(boolean value) { if(!value) { - this.key = null; + this.records = null; } } - public long getTimestamp() { + public String getTimestamp() { return this.timestamp; } - public browseKeyTime_args setTimestamp(long timestamp) { + public selectRecordsTimestrOrder_args setTimestamp(String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -103639,20 +229118,48 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectRecordsTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public browseKeyTime_args setCreds( + public selectRecordsTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -103680,7 +229187,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public browseKeyTime_args setTransaction( + public selectRecordsTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -103708,7 +229215,8 @@ public String getEnvironment() { return this.environment; } - public browseKeyTime_args setEnvironment(String environment) { + public selectRecordsTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -103733,12 +229241,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case RECORDS: if(value == null) { - unsetKey(); + unsetRecords(); } else { - setKey((String) value); + setRecords((List) value); } break; @@ -103747,7 +229255,16 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -103784,12 +229301,15 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case RECORDS: + return getRecords(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -103813,10 +229333,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); + case RECORDS: + return isSetRecords(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -103831,30 +229353,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKeyTime_args) - return this.equals((browseKeyTime_args) that); + if(that instanceof selectRecordsTimestrOrder_args) + return this.equals((selectRecordsTimestrOrder_args) that); return false; } - public boolean equals(browseKeyTime_args that) { + public boolean equals(selectRecordsTimestrOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(!this.key.equals(that.key)) + if(!this.records.equals(that.records)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -103892,16 +229423,21 @@ public boolean equals(browseKeyTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); - boolean present_timestamp = true; + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -103921,7 +229457,7 @@ public int hashCode() { } @Override - public int compareTo(browseKeyTime_args other) { + public int compareTo(selectRecordsTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -103929,14 +229465,14 @@ public int compareTo(browseKeyTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } @@ -103953,6 +229489,18 @@ public int compareTo(browseKeyTime_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -104008,21 +229556,37 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKeyTime_args("); + StringBuilder sb = new StringBuilder( + "selectRecordsTimestrOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("records:"); + if(this.records == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.records); } first = false; if(!first) sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -104061,6 +229625,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -104084,10 +229651,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -104097,18 +229660,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKeyTime_argsStandardSchemeFactory + private static class selectRecordsTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public browseKeyTime_argsStandardScheme getScheme() { - return new browseKeyTime_argsStandardScheme(); + public selectRecordsTimestrOrder_argsStandardScheme getScheme() { + return new selectRecordsTimestrOrder_argsStandardScheme(); } } - private static class browseKeyTime_argsStandardScheme - extends StandardScheme { + private static class selectRecordsTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKeyTime_args struct) + selectRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -104118,10 +229681,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1142 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1142.size); + long _elem1143; + for (int _i1144 = 0; _i1144 < _list1142.size; ++_i1144) { + _elem1143 = iprot.readI64(); + struct.records.add(_elem1143); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -104129,8 +229703,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -104138,7 +229712,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -104149,7 +229734,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -104160,7 +229745,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -104184,19 +229769,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKeyTime_args struct) + selectRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1145 : struct.records) { + oprot.writeI64(_iter1145); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -104218,43 +229819,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class browseKeyTime_argsTupleSchemeFactory + private static class selectRecordsTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public browseKeyTime_argsTupleScheme getScheme() { - return new browseKeyTime_argsTupleScheme(); + public selectRecordsTimestrOrder_argsTupleScheme getScheme() { + return new selectRecordsTimestrOrder_argsTupleScheme(); } } - private static class browseKeyTime_argsTupleScheme - extends TupleScheme { + private static class selectRecordsTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKeyTime_args struct) + selectRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetRecords()) { optionals.set(0); } if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1146 : struct.records) { + oprot.writeI64(_iter1146); + } + } } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -104269,29 +229881,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKeyTime_args struct) + selectRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list1147 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1147.size); + long _elem1148; + for (int _i1149 = 0; _i1149 < _list1147.size; ++_i1149) { + _elem1148 = iprot.readI64(); + struct.records.add(_elem1148); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readI64(); + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -104300,13 +229927,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class browseKeyTime_result implements - org.apache.thrift.TBase, + public static class selectRecordsTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKeyTime_result"); + "selectRecordsTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -104316,19 +229943,22 @@ public static class browseKeyTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKeyTime_resultStandardSchemeFactory()); + new selectRecordsTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKeyTime_resultTupleSchemeFactory()); + new selectRecordsTimestrOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -104338,7 +229968,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -104362,6 +229993,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -104415,13 +230048,17 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))))); + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -104437,44 +230074,73 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - browseKeyTime_result.class, metaDataMap); + selectRecordsTimestrOrder_result.class, metaDataMap); } - public browseKeyTime_result() {} + public selectRecordsTimestrOrder_result() {} - public browseKeyTime_result( - Map> success, + public selectRecordsTimestrOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public browseKeyTime_result(browseKeyTime_result other) { + public selectRecordsTimestrOrder_result( + selectRecordsTimestrOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - com.cinchapi.concourse.thrift.TObject other_element_key = other_element - .getKey(); - Set other_element_value = other_element.getValue(); + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); - com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( - other_element_key); + Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( - other_element_value); + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -104490,13 +230156,17 @@ public browseKeyTime_result(browseKeyTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public browseKeyTime_result deepCopy() { - return new browseKeyTime_result(this); + public selectRecordsTimestrOrder_result deepCopy() { + return new selectRecordsTimestrOrder_result(this); } @Override @@ -104505,26 +230175,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, - Set val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public browseKeyTime_result setSuccess( - Map> success) { + public selectRecordsTimestrOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -104551,7 +230222,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public browseKeyTime_result setEx( + public selectRecordsTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -104579,7 +230250,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public browseKeyTime_result setEx2( + public selectRecordsTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -104603,12 +230274,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public browseKeyTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectRecordsTimestrOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -104631,6 +230302,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectRecordsTimestrOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -104639,7 +230338,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>>) value); } break; @@ -104666,7 +230365,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -104687,6 +230395,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -104709,6 +230420,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -104717,12 +230430,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKeyTime_result) - return this.equals((browseKeyTime_result) that); + if(that instanceof selectRecordsTimestrOrder_result) + return this.equals((selectRecordsTimestrOrder_result) that); return false; } - public boolean equals(browseKeyTime_result that) { + public boolean equals(selectRecordsTimestrOrder_result that) { if(that == null) return false; @@ -104762,6 +230475,15 @@ public boolean equals(browseKeyTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -104789,11 +230511,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(browseKeyTime_result other) { + public int compareTo(selectRecordsTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -104849,6 +230576,18 @@ public int compareTo(browseKeyTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -104868,7 +230607,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKeyTime_result("); + StringBuilder sb = new StringBuilder( + "selectRecordsTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -104909,6 +230649,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -104942,18 +230692,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKeyTime_resultStandardSchemeFactory + private static class selectRecordsTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public browseKeyTime_resultStandardScheme getScheme() { - return new browseKeyTime_resultStandardScheme(); + public selectRecordsTimestrOrder_resultStandardScheme getScheme() { + return new selectRecordsTimestrOrder_resultStandardScheme(); } } - private static class browseKeyTime_resultStandardScheme - extends StandardScheme { + private static class selectRecordsTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKeyTime_result struct) + selectRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -104966,28 +230716,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map172 = iprot + org.apache.thrift.protocol.TMap _map1150 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map172.size); - com.cinchapi.concourse.thrift.TObject _key173; - Set _val174; - for (int _i175 = 0; _i175 < _map172.size; ++_i175) { - _key173 = new com.cinchapi.concourse.thrift.TObject(); - _key173.read(iprot); + struct.success = new LinkedHashMap>>( + 2 * _map1150.size); + long _key1151; + Map> _val1152; + for (int _i1153 = 0; _i1153 < _map1150.size; ++_i1153) { + _key1151 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set176 = iprot - .readSetBegin(); - _val174 = new LinkedHashSet( - 2 * _set176.size); - long _elem177; - for (int _i178 = 0; _i178 < _set176.size; ++_i178) { - _elem177 = iprot.readI64(); - _val174.add(_elem177); + org.apache.thrift.protocol.TMap _map1154 = iprot + .readMapBegin(); + _val1152 = new LinkedHashMap>( + 2 * _map1154.size); + String _key1155; + Set _val1156; + for (int _i1157 = 0; _i1157 < _map1154.size; ++_i1157) { + _key1155 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1158 = iprot + .readSetBegin(); + _val1156 = new LinkedHashSet( + 2 * _set1158.size); + com.cinchapi.concourse.thrift.TObject _elem1159; + for (int _i1160 = 0; _i1160 < _set1158.size; ++_i1160) { + _elem1159 = new com.cinchapi.concourse.thrift.TObject(); + _elem1159.read(iprot); + _val1156.add(_elem1159); + } + iprot.readSetEnd(); + } + _val1152.put(_key1155, _val1156); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key173, _val174); + struct.success.put(_key1151, _val1152); } iprot.readMapEnd(); } @@ -105022,7 +230785,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -105031,6 +230794,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -105045,7 +230819,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKeyTime_result struct) + selectRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -105054,21 +230828,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter179 : struct.success + for (Map.Entry>> _iter1161 : struct.success .entrySet()) { - _iter179.getKey().write(oprot); + oprot.writeI64(_iter1161.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - _iter179.getValue().size())); - for (long _iter180 : _iter179.getValue()) { - oprot.writeI64(_iter180); + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1161.getValue().size())); + for (Map.Entry> _iter1162 : _iter1161 + .getValue().entrySet()) { + oprot.writeString(_iter1162.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1162.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1163 : _iter1162 + .getValue()) { + _iter1163.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -105090,25 +230878,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class browseKeyTime_resultTupleSchemeFactory + private static class selectRecordsTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public browseKeyTime_resultTupleScheme getScheme() { - return new browseKeyTime_resultTupleScheme(); + public selectRecordsTimestrOrder_resultTupleScheme getScheme() { + return new selectRecordsTimestrOrder_resultTupleScheme(); } } - private static class browseKeyTime_resultTupleScheme - extends TupleScheme { + private static class selectRecordsTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKeyTime_result struct) + selectRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -105124,17 +230917,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter181 : struct.success + for (Map.Entry>> _iter1164 : struct.success .entrySet()) { - _iter181.getKey().write(oprot); + oprot.writeI64(_iter1164.getKey()); { - oprot.writeI32(_iter181.getValue().size()); - for (long _iter182 : _iter181.getValue()) { - oprot.writeI64(_iter182); + oprot.writeI32(_iter1164.getValue().size()); + for (Map.Entry> _iter1165 : _iter1164 + .getValue().entrySet()) { + oprot.writeString(_iter1165.getKey()); + { + oprot.writeI32( + _iter1165.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1166 : _iter1165 + .getValue()) { + _iter1166.write(oprot); + } + } } } } @@ -105149,40 +230954,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKeyTime_result struct) + selectRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map183 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TMap _map1167 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map183.size); - com.cinchapi.concourse.thrift.TObject _key184; - Set _val185; - for (int _i186 = 0; _i186 < _map183.size; ++_i186) { - _key184 = new com.cinchapi.concourse.thrift.TObject(); - _key184.read(iprot); + struct.success = new LinkedHashMap>>( + 2 * _map1167.size); + long _key1168; + Map> _val1169; + for (int _i1170 = 0; _i1170 < _map1167.size; ++_i1170) { + _key1168 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set187 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TMap _map1171 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val185 = new LinkedHashSet( - 2 * _set187.size); - long _elem188; - for (int _i189 = 0; _i189 < _set187.size; ++_i189) { - _elem188 = iprot.readI64(); - _val185.add(_elem188); + _val1169 = new LinkedHashMap>( + 2 * _map1171.size); + String _key1172; + Set _val1173; + for (int _i1174 = 0; _i1174 < _map1171.size; ++_i1174) { + _key1172 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1175 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1173 = new LinkedHashSet( + 2 * _set1175.size); + com.cinchapi.concourse.thrift.TObject _elem1176; + for (int _i1177 = 0; _i1177 < _set1175.size; ++_i1177) { + _elem1176 = new com.cinchapi.concourse.thrift.TObject(); + _elem1176.read(iprot); + _val1173.add(_elem1176); + } + } + _val1169.put(_key1172, _val1173); } } - struct.success.put(_key184, _val185); + struct.success.put(_key1168, _val1169); } } struct.setSuccessIsSet(true); @@ -105198,28 +231020,32 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class browseKeyTimestr_args implements - org.apache.thrift.TBase, + public static class selectKeyRecord_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKeyTimestr_args"); + "selectKeyRecord_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -105232,13 +231058,13 @@ public static class browseKeyTimestr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKeyTimestr_argsStandardSchemeFactory()); + new selectKeyRecord_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKeyTimestr_argsTupleSchemeFactory()); + new selectKeyRecord_argsTupleSchemeFactory()); } public String key; // required - public String timestamp; // required + public long record; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -105249,7 +231075,7 @@ public static class browseKeyTimestr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - TIMESTAMP((short) 2, "timestamp"), + RECORD((short) 2, "record"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -105270,8 +231096,8 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // TIMESTAMP - return TIMESTAMP; + case 2: // RECORD + return RECORD; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -105322,6 +231148,8 @@ public String getFieldName() { } // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -105331,11 +231159,11 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -105355,18 +231183,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - browseKeyTimestr_args.class, metaDataMap); + selectKeyRecord_args.class, metaDataMap); } - public browseKeyTimestr_args() {} + public selectKeyRecord_args() {} - public browseKeyTimestr_args(String key, String timestamp, + public selectKeyRecord_args(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.timestamp = timestamp; + this.record = record; + setRecordIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -105375,13 +231204,12 @@ public browseKeyTimestr_args(String key, String timestamp, /** * Performs a deep copy on other. */ - public browseKeyTimestr_args(browseKeyTimestr_args other) { + public selectKeyRecord_args(selectKeyRecord_args other) { + __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; - } + this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -105395,14 +231223,15 @@ public browseKeyTimestr_args(browseKeyTimestr_args other) { } } - public browseKeyTimestr_args deepCopy() { - return new browseKeyTimestr_args(this); + public selectKeyRecord_args deepCopy() { + return new selectKeyRecord_args(this); } @Override public void clear() { this.key = null; - this.timestamp = null; + setRecordIsSet(false); + this.record = 0; this.creds = null; this.transaction = null; this.environment = null; @@ -105412,7 +231241,7 @@ public String getKey() { return this.key; } - public browseKeyTimestr_args setKey(String key) { + public selectKeyRecord_args setKey(String key) { this.key = key; return this; } @@ -105435,38 +231264,39 @@ public void setKeyIsSet(boolean value) { } } - public String getTimestamp() { - return this.timestamp; + public long getRecord() { + return this.record; } - public browseKeyTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; + public selectKeyRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); return this; } - public void unsetTimestamp() { - this.timestamp = null; + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field record is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return this.timestamp != null; + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); } - public void setTimestampIsSet(boolean value) { - if(!value) { - this.timestamp = null; - } + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public browseKeyTimestr_args setCreds( + public selectKeyRecord_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -105494,7 +231324,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public browseKeyTimestr_args setTransaction( + public selectKeyRecord_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -105522,7 +231352,7 @@ public String getEnvironment() { return this.environment; } - public browseKeyTimestr_args setEnvironment(String environment) { + public selectKeyRecord_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -105556,12 +231386,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case TIMESTAMP: + case RECORD: if(value == null) { - unsetTimestamp(); + unsetRecord(); } else { - setTimestamp((String) value); + setRecord((Long) value); } break; @@ -105601,8 +231431,8 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case TIMESTAMP: - return getTimestamp(); + case RECORD: + return getRecord(); case CREDS: return getCreds(); @@ -105629,8 +231459,8 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case TIMESTAMP: - return isSetTimestamp(); + case RECORD: + return isSetRecord(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -105645,12 +231475,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKeyTimestr_args) - return this.equals((browseKeyTimestr_args) that); + if(that instanceof selectKeyRecord_args) + return this.equals((selectKeyRecord_args) that); return false; } - public boolean equals(browseKeyTimestr_args that) { + public boolean equals(selectKeyRecord_args that) { if(that == null) return false; @@ -105663,12 +231493,12 @@ public boolean equals(browseKeyTimestr_args that) { return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(this.record != that.record) return false; } @@ -105711,10 +231541,10 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_timestamp = true && (isSetTimestamp()); - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -105735,7 +231565,7 @@ public int hashCode() { } @Override - public int compareTo(browseKeyTimestr_args other) { + public int compareTo(selectKeyRecord_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -105755,14 +231585,14 @@ public int compareTo(browseKeyTimestr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetRecord()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.record, other.record); if(lastComparison != 0) { return lastComparison; } @@ -105822,7 +231652,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKeyTimestr_args("); + StringBuilder sb = new StringBuilder("selectKeyRecord_args("); boolean first = true; sb.append("key:"); @@ -105835,13 +231665,8 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { - sb.append("null"); - } - else { - sb.append(this.timestamp); - } + sb.append("record:"); + sb.append(this.record); first = false; if(!first) sb.append(", "); @@ -105903,6 +231728,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -105912,18 +231741,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKeyTimestr_argsStandardSchemeFactory + private static class selectKeyRecord_argsStandardSchemeFactory implements SchemeFactory { - public browseKeyTimestr_argsStandardScheme getScheme() { - return new browseKeyTimestr_argsStandardScheme(); + public selectKeyRecord_argsStandardScheme getScheme() { + return new selectKeyRecord_argsStandardScheme(); } } - private static class browseKeyTimestr_argsStandardScheme - extends StandardScheme { + private static class selectKeyRecord_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKeyTimestr_args struct) + selectKeyRecord_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -105943,10 +231772,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -105999,7 +231828,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKeyTimestr_args struct) + selectKeyRecord_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -106009,11 +231838,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -106035,26 +231862,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class browseKeyTimestr_argsTupleSchemeFactory + private static class selectKeyRecord_argsTupleSchemeFactory implements SchemeFactory { - public browseKeyTimestr_argsTupleScheme getScheme() { - return new browseKeyTimestr_argsTupleScheme(); + public selectKeyRecord_argsTupleScheme getScheme() { + return new selectKeyRecord_argsTupleScheme(); } } - private static class browseKeyTimestr_argsTupleScheme - extends TupleScheme { + private static class selectKeyRecord_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKeyTimestr_args struct) + selectKeyRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetRecord()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -106070,8 +231897,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -106086,7 +231913,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKeyTimestr_args struct) + selectKeyRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); @@ -106095,8 +231922,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -106117,38 +231944,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class browseKeyTimestr_result implements - org.apache.thrift.TBase, + public static class selectKeyRecord_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKeyTimestr_result"); + "selectKeyRecord_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKeyTimestr_resultStandardSchemeFactory()); + new selectKeyRecord_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKeyTimestr_resultTupleSchemeFactory()); + new selectKeyRecord_resultTupleSchemeFactory()); } - public Map> success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -106158,8 +231982,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -106183,8 +232006,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -106236,15 +232057,11 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))))); + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -106260,54 +232077,36 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - browseKeyTimestr_result.class, metaDataMap); + selectKeyRecord_result.class, metaDataMap); } - public browseKeyTimestr_result() {} + public selectKeyRecord_result() {} - public browseKeyTimestr_result( - Map> success, + public selectKeyRecord_result( + Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public browseKeyTimestr_result(browseKeyTimestr_result other) { + public selectKeyRecord_result(selectKeyRecord_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Set __this__success = new LinkedHashSet( other.success.size()); - for (Map.Entry> other_element : other.success - .entrySet()) { - - com.cinchapi.concourse.thrift.TObject other_element_key = other_element - .getKey(); - Set other_element_value = other_element.getValue(); - - com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( - other_element_key); - - Set __this__success_copy_value = new LinkedHashSet( - other_element_value); - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); + for (com.cinchapi.concourse.thrift.TObject other_element : other.success) { + __this__success + .add(new com.cinchapi.concourse.thrift.TObject( + other_element)); } this.success = __this__success; } @@ -106320,17 +232119,13 @@ public browseKeyTimestr_result(browseKeyTimestr_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public browseKeyTimestr_result deepCopy() { - return new browseKeyTimestr_result(this); + public selectKeyRecord_result deepCopy() { + return new selectKeyRecord_result(this); } @Override @@ -106339,27 +232134,29 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, - Set val) { + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(com.cinchapi.concourse.thrift.TObject elem) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashSet(); } - this.success.put(key, val); + this.success.add(elem); } - public Map> getSuccess() { + public Set getSuccess() { return this.success; } - public browseKeyTimestr_result setSuccess( - Map> success) { + public selectKeyRecord_result setSuccess( + Set success) { this.success = success; return this; } @@ -106386,7 +232183,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public browseKeyTimestr_result setEx( + public selectKeyRecord_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -106414,7 +232211,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public browseKeyTimestr_result setEx2( + public selectKeyRecord_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -106438,12 +232235,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public browseKeyTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public selectKeyRecord_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -106466,34 +232263,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public browseKeyTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -106502,7 +232271,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Set) value); } break; @@ -106529,16 +232298,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -106559,9 +232319,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -106584,8 +232341,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -106594,12 +232349,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKeyTimestr_result) - return this.equals((browseKeyTimestr_result) that); + if(that instanceof selectKeyRecord_result) + return this.equals((selectKeyRecord_result) that); return false; } - public boolean equals(browseKeyTimestr_result that) { + public boolean equals(selectKeyRecord_result that) { if(that == null) return false; @@ -106639,15 +232394,6 @@ public boolean equals(browseKeyTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -106675,16 +232421,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(browseKeyTimestr_result other) { + public int compareTo(selectKeyRecord_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -106740,18 +232481,6 @@ public int compareTo(browseKeyTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -106771,7 +232500,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKeyTimestr_result("); + StringBuilder sb = new StringBuilder("selectKeyRecord_result("); boolean first = true; sb.append("success:"); @@ -106812,16 +232541,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -106855,18 +232574,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKeyTimestr_resultStandardSchemeFactory + private static class selectKeyRecord_resultStandardSchemeFactory implements SchemeFactory { - public browseKeyTimestr_resultStandardScheme getScheme() { - return new browseKeyTimestr_resultStandardScheme(); + public selectKeyRecord_resultStandardScheme getScheme() { + return new selectKeyRecord_resultStandardScheme(); } } - private static class browseKeyTimestr_resultStandardScheme - extends StandardScheme { + private static class selectKeyRecord_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKeyTimestr_result struct) + selectKeyRecord_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -106877,32 +232596,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TMap _map190 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map190.size); - com.cinchapi.concourse.thrift.TObject _key191; - Set _val192; - for (int _i193 = 0; _i193 < _map190.size; ++_i193) { - _key191 = new com.cinchapi.concourse.thrift.TObject(); - _key191.read(iprot); - { - org.apache.thrift.protocol.TSet _set194 = iprot - .readSetBegin(); - _val192 = new LinkedHashSet( - 2 * _set194.size); - long _elem195; - for (int _i196 = 0; _i196 < _set194.size; ++_i196) { - _elem195 = iprot.readI64(); - _val192.add(_elem195); - } - iprot.readSetEnd(); - } - struct.success.put(_key191, _val192); + org.apache.thrift.protocol.TSet _set1178 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set1178.size); + com.cinchapi.concourse.thrift.TObject _elem1179; + for (int _i1180 = 0; _i1180 < _set1178.size; ++_i1180) { + _elem1179 = new com.cinchapi.concourse.thrift.TObject(); + _elem1179.read(iprot); + struct.success.add(_elem1179); } - iprot.readMapEnd(); + iprot.readSetEnd(); } struct.setSuccessIsSet(true); } @@ -106935,7 +232641,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -106944,17 +232650,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -106969,7 +232664,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKeyTimestr_result struct) + selectKeyRecord_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -106977,25 +232672,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter197 : struct.success - .entrySet()) { - _iter197.getKey().write(oprot); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - _iter197.getValue().size())); - for (long _iter198 : _iter197.getValue()) { - oprot.writeI64(_iter198); - } - oprot.writeSetEnd(); - } + for (com.cinchapi.concourse.thrift.TObject _iter1181 : struct.success) { + _iter1181.write(oprot); } - oprot.writeMapEnd(); + oprot.writeSetEnd(); } oprot.writeFieldEnd(); } @@ -107014,30 +232697,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class browseKeyTimestr_resultTupleSchemeFactory + private static class selectKeyRecord_resultTupleSchemeFactory implements SchemeFactory { - public browseKeyTimestr_resultTupleScheme getScheme() { - return new browseKeyTimestr_resultTupleScheme(); + public selectKeyRecord_resultTupleScheme getScheme() { + return new selectKeyRecord_resultTupleScheme(); } } - private static class browseKeyTimestr_resultTupleScheme - extends TupleScheme { + private static class selectKeyRecord_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKeyTimestr_result struct) + selectKeyRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -107053,22 +232731,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter199 : struct.success - .entrySet()) { - _iter199.getKey().write(oprot); - { - oprot.writeI32(_iter199.getValue().size()); - for (long _iter200 : _iter199.getValue()) { - oprot.writeI64(_iter200); - } - } + for (com.cinchapi.concourse.thrift.TObject _iter1182 : struct.success) { + _iter1182.write(oprot); } } } @@ -107081,43 +232749,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKeyTimestr_result struct) + selectKeyRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map201 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TSet _set1183 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map201.size); - com.cinchapi.concourse.thrift.TObject _key202; - Set _val203; - for (int _i204 = 0; _i204 < _map201.size; ++_i204) { - _key202 = new com.cinchapi.concourse.thrift.TObject(); - _key202.read(iprot); - { - org.apache.thrift.protocol.TSet _set205 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - _val203 = new LinkedHashSet( - 2 * _set205.size); - long _elem206; - for (int _i207 = 0; _i207 < _set205.size; ++_i207) { - _elem206 = iprot.readI64(); - _val203.add(_elem206); - } - } - struct.success.put(_key202, _val203); + struct.success = new LinkedHashSet( + 2 * _set1183.size); + com.cinchapi.concourse.thrift.TObject _elem1184; + for (int _i1185 = 0; _i1185 < _set1183.size; ++_i1185) { + _elem1184 = new com.cinchapi.concourse.thrift.TObject(); + _elem1184.read(iprot); + struct.success.add(_elem1184); } } struct.setSuccessIsSet(true); @@ -107133,50 +232784,48 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class browseKeysTime_args implements - org.apache.thrift.TBase, + public static class selectKeyRecordTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKeysTime_args"); + "selectKeyRecordTime_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKeysTime_argsStandardSchemeFactory()); + new selectKeyRecordTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKeysTime_argsTupleSchemeFactory()); + new selectKeyRecordTime_argsTupleSchemeFactory()); } - public List keys; // required + public String key; // required + public long record; // required public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required @@ -107187,11 +232836,12 @@ public static class browseKeysTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -107207,15 +232857,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // TIMESTAMP + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -107261,19 +232913,23 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; + private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 1; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -107298,17 +232954,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - browseKeysTime_args.class, metaDataMap); + selectKeyRecordTime_args.class, metaDataMap); } - public browseKeysTime_args() {} + public selectKeyRecordTime_args() {} - public browseKeysTime_args(List keys, long timestamp, + public selectKeyRecordTime_args(String key, long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; + this.key = key; + this.record = record; + setRecordIsSet(true); this.timestamp = timestamp; setTimestampIsSet(true); this.creds = creds; @@ -107319,12 +232977,12 @@ public browseKeysTime_args(List keys, long timestamp, /** * Performs a deep copy on other. */ - public browseKeysTime_args(browseKeysTime_args other) { + public selectKeyRecordTime_args(selectKeyRecordTime_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + if(other.isSetKey()) { + this.key = other.key; } + this.record = other.record; this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -107339,13 +232997,15 @@ public browseKeysTime_args(browseKeysTime_args other) { } } - public browseKeysTime_args deepCopy() { - return new browseKeysTime_args(this); + public selectKeyRecordTime_args deepCopy() { + return new selectKeyRecordTime_args(this); } @Override public void clear() { - this.keys = null; + this.key = null; + setRecordIsSet(false); + this.record = 0; setTimestampIsSet(false); this.timestamp = 0; this.creds = null; @@ -107353,53 +233013,66 @@ public void clear() { this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); + public String getKey() { + return this.key; } - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); + public selectKeyRecordTime_args setKey(String key) { + this.key = key; + return this; } - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; } - this.keys.add(elem); } - public List getKeys() { - return this.keys; + public long getRecord() { + return this.record; } - public browseKeysTime_args setKeys(List keys) { - this.keys = keys; + public selectKeyRecordTime_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); return this; } - public void unsetKeys() { - this.keys = null; + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field record is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); } - public void setKeysIsSet(boolean value) { - if(!value) { - this.keys = null; - } + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); } public long getTimestamp() { return this.timestamp; } - public browseKeysTime_args setTimestamp(long timestamp) { + public selectKeyRecordTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; @@ -107428,7 +233101,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public browseKeysTime_args setCreds( + public selectKeyRecordTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -107456,7 +233129,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public browseKeysTime_args setTransaction( + public selectKeyRecordTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -107484,7 +233157,7 @@ public String getEnvironment() { return this.environment; } - public browseKeysTime_args setEnvironment(String environment) { + public selectKeyRecordTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -107509,12 +233182,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); } break; @@ -107560,8 +233242,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); + + case RECORD: + return getRecord(); case TIMESTAMP: return getTimestamp(); @@ -107589,8 +233274,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -107607,21 +233294,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKeysTime_args) - return this.equals((browseKeysTime_args) that); + if(that instanceof selectKeyRecordTime_args) + return this.equals((selectKeyRecordTime_args) that); return false; } - public boolean equals(browseKeysTime_args that) { + public boolean equals(selectKeyRecordTime_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) return false; } @@ -107668,10 +233364,15 @@ public boolean equals(browseKeysTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); boolean present_timestamp = true; list.add(present_timestamp); @@ -107697,7 +233398,7 @@ public int hashCode() { } @Override - public int compareTo(browseKeysTime_args other) { + public int compareTo(selectKeyRecordTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -107705,14 +233406,26 @@ public int compareTo(browseKeysTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); if(lastComparison != 0) { return lastComparison; } @@ -107784,17 +233497,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKeysTime_args("); + StringBuilder sb = new StringBuilder("selectKeyRecordTime_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; if(!first) sb.append(", "); sb.append("timestamp:"); @@ -107873,18 +233591,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKeysTime_argsStandardSchemeFactory + private static class selectKeyRecordTime_argsStandardSchemeFactory implements SchemeFactory { - public browseKeysTime_argsStandardScheme getScheme() { - return new browseKeysTime_argsStandardScheme(); + public selectKeyRecordTime_argsStandardScheme getScheme() { + return new selectKeyRecordTime_argsStandardScheme(); } } - private static class browseKeysTime_argsStandardScheme - extends StandardScheme { + private static class selectKeyRecordTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKeysTime_args struct) + selectKeyRecordTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -107894,28 +233612,27 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list208 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list208.size); - String _elem209; - for (int _i210 = 0; _i210 < _list208.size; ++_i210) { - _elem209 = iprot.readString(); - struct.keys.add(_elem209); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); @@ -107925,7 +233642,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -107936,7 +233653,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -107947,7 +233664,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -107971,25 +233688,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKeysTime_args struct) + selectKeyRecordTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter211 : struct.keys) { - oprot.writeString(_iter211); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); @@ -108014,45 +233725,46 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class browseKeysTime_argsTupleSchemeFactory + private static class selectKeyRecordTime_argsTupleSchemeFactory implements SchemeFactory { - public browseKeysTime_argsTupleScheme getScheme() { - return new browseKeysTime_argsTupleScheme(); + public selectKeyRecordTime_argsTupleScheme getScheme() { + return new selectKeyRecordTime_argsTupleScheme(); } } - private static class browseKeysTime_argsTupleScheme - extends TupleScheme { + private static class selectKeyRecordTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKeysTime_args struct) + selectKeyRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetRecord()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter212 : struct.keys) { - oprot.writeString(_iter212); - } - } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); } if(struct.isSetTimestamp()) { oprot.writeI64(struct.timestamp); @@ -108070,39 +233782,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKeysTime_args struct) + selectKeyRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list213 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list213.size); - String _elem214; - for (int _i215 = 0; _i215 < _list213.size; ++_i215) { - _elem214 = iprot.readString(); - struct.keys.add(_elem214); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -108111,16 +233817,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class browseKeysTime_result implements - org.apache.thrift.TBase, + public static class selectKeyRecordTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKeysTime_result"); + "selectKeyRecordTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -108131,12 +233837,12 @@ public static class browseKeysTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKeysTime_resultStandardSchemeFactory()); + new selectKeyRecordTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKeysTime_resultTupleSchemeFactory()); + new selectKeyRecordTime_resultTupleSchemeFactory()); } - public Map>> success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -108224,19 +233930,11 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))))); + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -108254,13 +233952,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - browseKeysTime_result.class, metaDataMap); + selectKeyRecordTime_result.class, metaDataMap); } - public browseKeysTime_result() {} + public selectKeyRecordTime_result() {} - public browseKeysTime_result( - Map>> success, + public selectKeyRecordTime_result( + Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -108274,42 +233972,14 @@ public browseKeysTime_result( /** * Performs a deep copy on other. */ - public browseKeysTime_result(browseKeysTime_result other) { + public selectKeyRecordTime_result(selectKeyRecordTime_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Set __this__success = new LinkedHashSet( other.success.size()); - for (Map.Entry>> other_element : other.success - .entrySet()) { - - String other_element_key = other_element.getKey(); - Map> other_element_value = other_element - .getValue(); - - String __this__success_copy_key = other_element_key; - - Map> __this__success_copy_value = new LinkedHashMap>( - other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - com.cinchapi.concourse.thrift.TObject other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_key = new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_key); - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); + for (com.cinchapi.concourse.thrift.TObject other_element : other.success) { + __this__success + .add(new com.cinchapi.concourse.thrift.TObject( + other_element)); } this.success = __this__success; } @@ -108327,8 +233997,8 @@ public browseKeysTime_result(browseKeysTime_result other) { } } - public browseKeysTime_result deepCopy() { - return new browseKeysTime_result(this); + public selectKeyRecordTime_result deepCopy() { + return new selectKeyRecordTime_result(this); } @Override @@ -108343,20 +234013,23 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Map> val) { + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(com.cinchapi.concourse.thrift.TObject elem) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashSet(); } - this.success.put(key, val); + this.success.add(elem); } - public Map>> getSuccess() { + public Set getSuccess() { return this.success; } - public browseKeysTime_result setSuccess( - Map>> success) { + public selectKeyRecordTime_result setSuccess( + Set success) { this.success = success; return this; } @@ -108383,7 +234056,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public browseKeysTime_result setEx( + public selectKeyRecordTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -108411,7 +234084,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public browseKeysTime_result setEx2( + public selectKeyRecordTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -108439,7 +234112,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public browseKeysTime_result setEx3( + public selectKeyRecordTime_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -108471,7 +234144,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Set) value); } break; @@ -108549,12 +234222,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKeysTime_result) - return this.equals((browseKeysTime_result) that); + if(that instanceof selectKeyRecordTime_result) + return this.equals((selectKeyRecordTime_result) that); return false; } - public boolean equals(browseKeysTime_result that) { + public boolean equals(selectKeyRecordTime_result that) { if(that == null) return false; @@ -108625,7 +234298,7 @@ public int hashCode() { } @Override - public int compareTo(browseKeysTime_result other) { + public int compareTo(selectKeyRecordTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -108700,7 +234373,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKeysTime_result("); + StringBuilder sb = new StringBuilder("selectKeyRecordTime_result("); boolean first = true; sb.append("success:"); @@ -108774,18 +234447,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKeysTime_resultStandardSchemeFactory + private static class selectKeyRecordTime_resultStandardSchemeFactory implements SchemeFactory { - public browseKeysTime_resultStandardScheme getScheme() { - return new browseKeysTime_resultStandardScheme(); + public selectKeyRecordTime_resultStandardScheme getScheme() { + return new selectKeyRecordTime_resultStandardScheme(); } } - private static class browseKeysTime_resultStandardScheme - extends StandardScheme { + private static class selectKeyRecordTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKeysTime_result struct) + selectKeyRecordTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -108796,45 +234469,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TMap _map216 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map216.size); - String _key217; - Map> _val218; - for (int _i219 = 0; _i219 < _map216.size; ++_i219) { - _key217 = iprot.readString(); - { - org.apache.thrift.protocol.TMap _map220 = iprot - .readMapBegin(); - _val218 = new LinkedHashMap>( - 2 * _map220.size); - com.cinchapi.concourse.thrift.TObject _key221; - Set _val222; - for (int _i223 = 0; _i223 < _map220.size; ++_i223) { - _key221 = new com.cinchapi.concourse.thrift.TObject(); - _key221.read(iprot); - { - org.apache.thrift.protocol.TSet _set224 = iprot - .readSetBegin(); - _val222 = new LinkedHashSet( - 2 * _set224.size); - long _elem225; - for (int _i226 = 0; _i226 < _set224.size; ++_i226) { - _elem225 = iprot.readI64(); - _val222.add(_elem225); - } - iprot.readSetEnd(); - } - _val218.put(_key221, _val222); - } - iprot.readMapEnd(); - } - struct.success.put(_key217, _val218); + org.apache.thrift.protocol.TSet _set1186 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set1186.size); + com.cinchapi.concourse.thrift.TObject _elem1187; + for (int _i1188 = 0; _i1188 < _set1186.size; ++_i1188) { + _elem1187 = new com.cinchapi.concourse.thrift.TObject(); + _elem1187.read(iprot); + struct.success.add(_elem1187); } - iprot.readMapEnd(); + iprot.readSetEnd(); } struct.setSuccessIsSet(true); } @@ -108890,7 +234537,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKeysTime_result struct) + selectKeyRecordTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -108898,39 +234545,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.MAP, + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry>> _iter227 : struct.success - .entrySet()) { - oprot.writeString(_iter227.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.SET, - _iter227.getValue().size())); - for (Map.Entry> _iter228 : _iter227 - .getValue().entrySet()) { - _iter228.getKey().write(oprot); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - _iter228.getValue() - .size())); - for (long _iter229 : _iter228 - .getValue()) { - oprot.writeI64(_iter229); - } - oprot.writeSetEnd(); - } - } - oprot.writeMapEnd(); - } + for (com.cinchapi.concourse.thrift.TObject _iter1189 : struct.success) { + _iter1189.write(oprot); } - oprot.writeMapEnd(); + oprot.writeSetEnd(); } oprot.writeFieldEnd(); } @@ -108955,19 +234576,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class browseKeysTime_resultTupleSchemeFactory + private static class selectKeyRecordTime_resultTupleSchemeFactory implements SchemeFactory { - public browseKeysTime_resultTupleScheme getScheme() { - return new browseKeysTime_resultTupleScheme(); + public selectKeyRecordTime_resultTupleScheme getScheme() { + return new selectKeyRecordTime_resultTupleScheme(); } } - private static class browseKeysTime_resultTupleScheme - extends TupleScheme { + private static class selectKeyRecordTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKeysTime_result struct) + selectKeyRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -108987,24 +234608,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter230 : struct.success - .entrySet()) { - oprot.writeString(_iter230.getKey()); - { - oprot.writeI32(_iter230.getValue().size()); - for (Map.Entry> _iter231 : _iter230 - .getValue().entrySet()) { - _iter231.getKey().write(oprot); - { - oprot.writeI32( - _iter231.getValue().size()); - for (long _iter232 : _iter231 - .getValue()) { - oprot.writeI64(_iter232); - } - } - } - } + for (com.cinchapi.concourse.thrift.TObject _iter1190 : struct.success) { + _iter1190.write(oprot); } } } @@ -109021,50 +234626,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKeysTime_result struct) + selectKeyRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map233 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TSet _set1191 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map233.size); - String _key234; - Map> _val235; - for (int _i236 = 0; _i236 < _map233.size; ++_i236) { - _key234 = iprot.readString(); - { - org.apache.thrift.protocol.TMap _map237 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.SET, - iprot.readI32()); - _val235 = new LinkedHashMap>( - 2 * _map237.size); - com.cinchapi.concourse.thrift.TObject _key238; - Set _val239; - for (int _i240 = 0; _i240 < _map237.size; ++_i240) { - _key238 = new com.cinchapi.concourse.thrift.TObject(); - _key238.read(iprot); - { - org.apache.thrift.protocol.TSet _set241 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - _val239 = new LinkedHashSet( - 2 * _set241.size); - long _elem242; - for (int _i243 = 0; _i243 < _set241.size; ++_i243) { - _elem242 = iprot.readI64(); - _val239.add(_elem242); - } - } - _val235.put(_key238, _val239); - } - } - struct.success.put(_key234, _val235); + struct.success = new LinkedHashSet( + 2 * _set1191.size); + com.cinchapi.concourse.thrift.TObject _elem1192; + for (int _i1193 = 0; _i1193 < _set1191.size; ++_i1193) { + _elem1192 = new com.cinchapi.concourse.thrift.TObject(); + _elem1192.read(iprot); + struct.success.add(_elem1192); } } struct.setSuccessIsSet(true); @@ -109089,37 +234666,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class browseKeysTimestr_args implements - org.apache.thrift.TBase, + public static class selectKeyRecordTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKeysTimestr_args"); + "selectKeyRecordTimestr_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKeysTimestr_argsStandardSchemeFactory()); + new selectKeyRecordTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKeysTimestr_argsTupleSchemeFactory()); + new selectKeyRecordTimestr_argsTupleSchemeFactory()); } - public List keys; // required + public String key; // required + public long record; // required public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required @@ -109130,11 +234710,12 @@ public static class browseKeysTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -109150,15 +234731,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // TIMESTAMP + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -109204,17 +234787,22 @@ public String getFieldName() { } // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -109239,17 +234827,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - browseKeysTimestr_args.class, metaDataMap); + selectKeyRecordTimestr_args.class, metaDataMap); } - public browseKeysTimestr_args() {} + public selectKeyRecordTimestr_args() {} - public browseKeysTimestr_args(List keys, String timestamp, + public selectKeyRecordTimestr_args(String key, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; + this.key = key; + this.record = record; + setRecordIsSet(true); this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; @@ -109259,11 +234850,12 @@ public browseKeysTimestr_args(List keys, String timestamp, /** * Performs a deep copy on other. */ - public browseKeysTimestr_args(browseKeysTimestr_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public selectKeyRecordTimestr_args(selectKeyRecordTimestr_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; } + this.record = other.record; if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } @@ -109280,66 +234872,81 @@ public browseKeysTimestr_args(browseKeysTimestr_args other) { } } - public browseKeysTimestr_args deepCopy() { - return new browseKeysTimestr_args(this); + public selectKeyRecordTimestr_args deepCopy() { + return new selectKeyRecordTimestr_args(this); } @Override public void clear() { - this.keys = null; + this.key = null; + setRecordIsSet(false); + this.record = 0; this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); + public String getKey() { + return this.key; } - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); + public selectKeyRecordTimestr_args setKey(String key) { + this.key = key; + return this; } - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; } - this.keys.add(elem); } - public List getKeys() { - return this.keys; + public long getRecord() { + return this.record; } - public browseKeysTimestr_args setKeys(List keys) { - this.keys = keys; + public selectKeyRecordTimestr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); return this; } - public void unsetKeys() { - this.keys = null; + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field record is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); } - public void setKeysIsSet(boolean value) { - if(!value) { - this.keys = null; - } + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); } public String getTimestamp() { return this.timestamp; } - public browseKeysTimestr_args setTimestamp(String timestamp) { + public selectKeyRecordTimestr_args setTimestamp(String timestamp) { this.timestamp = timestamp; return this; } @@ -109366,7 +234973,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public browseKeysTimestr_args setCreds( + public selectKeyRecordTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -109394,7 +235001,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public browseKeysTimestr_args setTransaction( + public selectKeyRecordTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -109422,7 +235029,7 @@ public String getEnvironment() { return this.environment; } - public browseKeysTimestr_args setEnvironment(String environment) { + public selectKeyRecordTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -109447,12 +235054,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); } break; @@ -109498,8 +235114,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); + + case RECORD: + return getRecord(); case TIMESTAMP: return getTimestamp(); @@ -109527,8 +235146,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -109545,21 +235166,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKeysTimestr_args) - return this.equals((browseKeysTimestr_args) that); + if(that instanceof selectKeyRecordTimestr_args) + return this.equals((selectKeyRecordTimestr_args) that); return false; } - public boolean equals(browseKeysTimestr_args that) { + public boolean equals(selectKeyRecordTimestr_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) return false; } @@ -109606,10 +235236,15 @@ public boolean equals(browseKeysTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); @@ -109635,7 +235270,7 @@ public int hashCode() { } @Override - public int compareTo(browseKeysTimestr_args other) { + public int compareTo(selectKeyRecordTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -109643,14 +235278,26 @@ public int compareTo(browseKeysTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); if(lastComparison != 0) { return lastComparison; } @@ -109722,17 +235369,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKeysTimestr_args("); + StringBuilder sb = new StringBuilder( + "selectKeyRecordTimestr_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; if(!first) sb.append(", "); sb.append("timestamp:"); @@ -109803,6 +235456,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -109812,18 +235469,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKeysTimestr_argsStandardSchemeFactory + private static class selectKeyRecordTimestr_argsStandardSchemeFactory implements SchemeFactory { - public browseKeysTimestr_argsStandardScheme getScheme() { - return new browseKeysTimestr_argsStandardScheme(); + public selectKeyRecordTimestr_argsStandardScheme getScheme() { + return new selectKeyRecordTimestr_argsStandardScheme(); } } - private static class browseKeysTimestr_argsStandardScheme - extends StandardScheme { + private static class selectKeyRecordTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKeysTimestr_args struct) + selectKeyRecordTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -109833,28 +235490,27 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list244 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list244.size); - String _elem245; - for (int _i246 = 0; _i246 < _list244.size; ++_i246) { - _elem245 = iprot.readString(); - struct.keys.add(_elem245); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); @@ -109864,7 +235520,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -109875,7 +235531,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -109886,7 +235542,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -109910,25 +235566,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKeysTimestr_args struct) + selectKeyRecordTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter247 : struct.keys) { - oprot.writeString(_iter247); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); if(struct.timestamp != null) { oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); oprot.writeString(struct.timestamp); @@ -109955,45 +235605,46 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class browseKeysTimestr_argsTupleSchemeFactory + private static class selectKeyRecordTimestr_argsTupleSchemeFactory implements SchemeFactory { - public browseKeysTimestr_argsTupleScheme getScheme() { - return new browseKeysTimestr_argsTupleScheme(); + public selectKeyRecordTimestr_argsTupleScheme getScheme() { + return new selectKeyRecordTimestr_argsTupleScheme(); } } - private static class browseKeysTimestr_argsTupleScheme - extends TupleScheme { + private static class selectKeyRecordTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKeysTimestr_args struct) + selectKeyRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetRecord()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter248 : struct.keys) { - oprot.writeString(_iter248); - } - } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); @@ -110011,39 +235662,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKeysTimestr_args struct) + selectKeyRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list249 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list249.size); - String _elem250; - for (int _i251 = 0; _i251 < _list249.size; ++_i251) { - _elem250 = iprot.readString(); - struct.keys.add(_elem250); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(2)) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -110052,16 +235697,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class browseKeysTimestr_result implements - org.apache.thrift.TBase, + public static class selectKeyRecordTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "browseKeysTimestr_result"); + "selectKeyRecordTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -110074,12 +235719,12 @@ public static class browseKeysTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new browseKeysTimestr_resultStandardSchemeFactory()); + new selectKeyRecordTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new browseKeysTimestr_resultTupleSchemeFactory()); + new selectKeyRecordTimestr_resultTupleSchemeFactory()); } - public Map>> success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -110171,19 +235816,11 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))))); + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -110206,13 +235843,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - browseKeysTimestr_result.class, metaDataMap); + selectKeyRecordTimestr_result.class, metaDataMap); } - public browseKeysTimestr_result() {} + public selectKeyRecordTimestr_result() {} - public browseKeysTimestr_result( - Map>> success, + public selectKeyRecordTimestr_result( + Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -110228,42 +235865,15 @@ public browseKeysTimestr_result( /** * Performs a deep copy on other. */ - public browseKeysTimestr_result(browseKeysTimestr_result other) { + public selectKeyRecordTimestr_result( + selectKeyRecordTimestr_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Set __this__success = new LinkedHashSet( other.success.size()); - for (Map.Entry>> other_element : other.success - .entrySet()) { - - String other_element_key = other_element.getKey(); - Map> other_element_value = other_element - .getValue(); - - String __this__success_copy_key = other_element_key; - - Map> __this__success_copy_value = new LinkedHashMap>( - other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - com.cinchapi.concourse.thrift.TObject other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_key = new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_key); - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); + for (com.cinchapi.concourse.thrift.TObject other_element : other.success) { + __this__success + .add(new com.cinchapi.concourse.thrift.TObject( + other_element)); } this.success = __this__success; } @@ -110285,8 +235895,8 @@ public browseKeysTimestr_result(browseKeysTimestr_result other) { } } - public browseKeysTimestr_result deepCopy() { - return new browseKeysTimestr_result(this); + public selectKeyRecordTimestr_result deepCopy() { + return new selectKeyRecordTimestr_result(this); } @Override @@ -110302,20 +235912,23 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Map> val) { + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(com.cinchapi.concourse.thrift.TObject elem) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashSet(); } - this.success.put(key, val); + this.success.add(elem); } - public Map>> getSuccess() { + public Set getSuccess() { return this.success; } - public browseKeysTimestr_result setSuccess( - Map>> success) { + public selectKeyRecordTimestr_result setSuccess( + Set success) { this.success = success; return this; } @@ -110342,7 +235955,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public browseKeysTimestr_result setEx( + public selectKeyRecordTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -110370,7 +235983,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public browseKeysTimestr_result setEx2( + public selectKeyRecordTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -110398,7 +236011,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public browseKeysTimestr_result setEx3( + public selectKeyRecordTimestr_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -110426,7 +236039,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public browseKeysTimestr_result setEx4( + public selectKeyRecordTimestr_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -110458,7 +236071,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Set) value); } break; @@ -110550,12 +236163,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof browseKeysTimestr_result) - return this.equals((browseKeysTimestr_result) that); + if(that instanceof selectKeyRecordTimestr_result) + return this.equals((selectKeyRecordTimestr_result) that); return false; } - public boolean equals(browseKeysTimestr_result that) { + public boolean equals(selectKeyRecordTimestr_result that) { if(that == null) return false; @@ -110640,7 +236253,7 @@ public int hashCode() { } @Override - public int compareTo(browseKeysTimestr_result other) { + public int compareTo(selectKeyRecordTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -110727,7 +236340,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("browseKeysTimestr_result("); + StringBuilder sb = new StringBuilder( + "selectKeyRecordTimestr_result("); boolean first = true; sb.append("success:"); @@ -110811,18 +236425,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class browseKeysTimestr_resultStandardSchemeFactory + private static class selectKeyRecordTimestr_resultStandardSchemeFactory implements SchemeFactory { - public browseKeysTimestr_resultStandardScheme getScheme() { - return new browseKeysTimestr_resultStandardScheme(); + public selectKeyRecordTimestr_resultStandardScheme getScheme() { + return new selectKeyRecordTimestr_resultStandardScheme(); } } - private static class browseKeysTimestr_resultStandardScheme - extends StandardScheme { + private static class selectKeyRecordTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - browseKeysTimestr_result struct) + selectKeyRecordTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -110833,45 +236447,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TMap _map252 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map252.size); - String _key253; - Map> _val254; - for (int _i255 = 0; _i255 < _map252.size; ++_i255) { - _key253 = iprot.readString(); - { - org.apache.thrift.protocol.TMap _map256 = iprot - .readMapBegin(); - _val254 = new LinkedHashMap>( - 2 * _map256.size); - com.cinchapi.concourse.thrift.TObject _key257; - Set _val258; - for (int _i259 = 0; _i259 < _map256.size; ++_i259) { - _key257 = new com.cinchapi.concourse.thrift.TObject(); - _key257.read(iprot); - { - org.apache.thrift.protocol.TSet _set260 = iprot - .readSetBegin(); - _val258 = new LinkedHashSet( - 2 * _set260.size); - long _elem261; - for (int _i262 = 0; _i262 < _set260.size; ++_i262) { - _elem261 = iprot.readI64(); - _val258.add(_elem261); - } - iprot.readSetEnd(); - } - _val254.put(_key257, _val258); - } - iprot.readMapEnd(); - } - struct.success.put(_key253, _val254); + org.apache.thrift.protocol.TSet _set1194 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set1194.size); + com.cinchapi.concourse.thrift.TObject _elem1195; + for (int _i1196 = 0; _i1196 < _set1194.size; ++_i1196) { + _elem1195 = new com.cinchapi.concourse.thrift.TObject(); + _elem1195.read(iprot); + struct.success.add(_elem1195); } - iprot.readMapEnd(); + iprot.readSetEnd(); } struct.setSuccessIsSet(true); } @@ -110938,7 +236526,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - browseKeysTimestr_result struct) + selectKeyRecordTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -110946,39 +236534,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.MAP, + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry>> _iter263 : struct.success - .entrySet()) { - oprot.writeString(_iter263.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.SET, - _iter263.getValue().size())); - for (Map.Entry> _iter264 : _iter263 - .getValue().entrySet()) { - _iter264.getKey().write(oprot); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - _iter264.getValue() - .size())); - for (long _iter265 : _iter264 - .getValue()) { - oprot.writeI64(_iter265); - } - oprot.writeSetEnd(); - } - } - oprot.writeMapEnd(); - } + for (com.cinchapi.concourse.thrift.TObject _iter1197 : struct.success) { + _iter1197.write(oprot); } - oprot.writeMapEnd(); + oprot.writeSetEnd(); } oprot.writeFieldEnd(); } @@ -111008,19 +236570,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class browseKeysTimestr_resultTupleSchemeFactory + private static class selectKeyRecordTimestr_resultTupleSchemeFactory implements SchemeFactory { - public browseKeysTimestr_resultTupleScheme getScheme() { - return new browseKeysTimestr_resultTupleScheme(); + public selectKeyRecordTimestr_resultTupleScheme getScheme() { + return new selectKeyRecordTimestr_resultTupleScheme(); } } - private static class browseKeysTimestr_resultTupleScheme - extends TupleScheme { + private static class selectKeyRecordTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - browseKeysTimestr_result struct) + selectKeyRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -111043,24 +236605,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter266 : struct.success - .entrySet()) { - oprot.writeString(_iter266.getKey()); - { - oprot.writeI32(_iter266.getValue().size()); - for (Map.Entry> _iter267 : _iter266 - .getValue().entrySet()) { - _iter267.getKey().write(oprot); - { - oprot.writeI32( - _iter267.getValue().size()); - for (long _iter268 : _iter267 - .getValue()) { - oprot.writeI64(_iter268); - } - } - } - } + for (com.cinchapi.concourse.thrift.TObject _iter1198 : struct.success) { + _iter1198.write(oprot); } } } @@ -111080,50 +236626,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - browseKeysTimestr_result struct) + selectKeyRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map269 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TSet _set1199 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map269.size); - String _key270; - Map> _val271; - for (int _i272 = 0; _i272 < _map269.size; ++_i272) { - _key270 = iprot.readString(); - { - org.apache.thrift.protocol.TMap _map273 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.SET, - iprot.readI32()); - _val271 = new LinkedHashMap>( - 2 * _map273.size); - com.cinchapi.concourse.thrift.TObject _key274; - Set _val275; - for (int _i276 = 0; _i276 < _map273.size; ++_i276) { - _key274 = new com.cinchapi.concourse.thrift.TObject(); - _key274.read(iprot); - { - org.apache.thrift.protocol.TSet _set277 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - _val275 = new LinkedHashSet( - 2 * _set277.size); - long _elem278; - for (int _i279 = 0; _i279 < _set277.size; ++_i279) { - _elem278 = iprot.readI64(); - _val275.add(_elem278); - } - } - _val271.put(_key274, _val275); - } - } - struct.success.put(_key270, _val271); + struct.success = new LinkedHashSet( + 2 * _set1199.size); + com.cinchapi.concourse.thrift.TObject _elem1200; + for (int _i1201 = 0; _i1201 < _set1199.size; ++_i1201) { + _elem1200 = new com.cinchapi.concourse.thrift.TObject(); + _elem1200.read(iprot); + struct.success.add(_elem1200); } } struct.setSuccessIsSet(true); @@ -111153,16 +236671,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class chronologizeKeyRecord_args implements - org.apache.thrift.TBase, + public static class selectKeysRecord_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "chronologizeKeyRecord_args"); + "selectKeysRecord_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( "record", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -111177,12 +236695,12 @@ public static class chronologizeKeyRecord_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new chronologizeKeyRecord_argsStandardSchemeFactory()); + new selectKeysRecord_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new chronologizeKeyRecord_argsTupleSchemeFactory()); + new selectKeysRecord_argsTupleSchemeFactory()); } - public String key; // required + public List keys; // required public long record; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required @@ -111193,7 +236711,7 @@ public static class chronologizeKeyRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), + KEYS((short) 1, "keys"), RECORD((short) 2, "record"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), @@ -111213,8 +236731,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; + case 1: // KEYS + return KEYS; case 2: // RECORD return RECORD; case 3: // CREDS @@ -111273,11 +236791,13 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.RECORD, new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -111302,17 +236822,17 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - chronologizeKeyRecord_args.class, metaDataMap); + selectKeysRecord_args.class, metaDataMap); } - public chronologizeKeyRecord_args() {} + public selectKeysRecord_args() {} - public chronologizeKeyRecord_args(String key, long record, + public selectKeysRecord_args(List keys, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; + this.keys = keys; this.record = record; setRecordIsSet(true); this.creds = creds; @@ -111323,10 +236843,11 @@ public chronologizeKeyRecord_args(String key, long record, /** * Performs a deep copy on other. */ - public chronologizeKeyRecord_args(chronologizeKeyRecord_args other) { + public selectKeysRecord_args(selectKeysRecord_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } this.record = other.record; if(other.isSetCreds()) { @@ -111342,13 +236863,13 @@ public chronologizeKeyRecord_args(chronologizeKeyRecord_args other) { } } - public chronologizeKeyRecord_args deepCopy() { - return new chronologizeKeyRecord_args(this); + public selectKeysRecord_args deepCopy() { + return new selectKeysRecord_args(this); } @Override public void clear() { - this.key = null; + this.keys = null; setRecordIsSet(false); this.record = 0; this.creds = null; @@ -111356,30 +236877,45 @@ public void clear() { this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public chronologizeKeyRecord_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysRecord_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } @@ -111387,7 +236923,7 @@ public long getRecord() { return this.record; } - public chronologizeKeyRecord_args setRecord(long record) { + public selectKeysRecord_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -111415,7 +236951,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public chronologizeKeyRecord_args setCreds( + public selectKeysRecord_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -111443,7 +236979,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public chronologizeKeyRecord_args setTransaction( + public selectKeysRecord_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -111471,7 +237007,7 @@ public String getEnvironment() { return this.environment; } - public chronologizeKeyRecord_args setEnvironment(String environment) { + public selectKeysRecord_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -111496,12 +237032,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; @@ -111547,8 +237083,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); case RECORD: return getRecord(); @@ -111576,8 +237112,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); + case KEYS: + return isSetKeys(); case RECORD: return isSetRecord(); case CREDS: @@ -111594,21 +237130,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof chronologizeKeyRecord_args) - return this.equals((chronologizeKeyRecord_args) that); + if(that instanceof selectKeysRecord_args) + return this.equals((selectKeysRecord_args) that); return false; } - public boolean equals(chronologizeKeyRecord_args that) { + public boolean equals(selectKeysRecord_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } @@ -111655,10 +237191,10 @@ public boolean equals(chronologizeKeyRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); boolean present_record = true; list.add(present_record); @@ -111684,7 +237220,7 @@ public int hashCode() { } @Override - public int compareTo(chronologizeKeyRecord_args other) { + public int compareTo(selectKeysRecord_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -111692,14 +237228,14 @@ public int compareTo(chronologizeKeyRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } @@ -111771,15 +237307,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("chronologizeKeyRecord_args("); + StringBuilder sb = new StringBuilder("selectKeysRecord_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) @@ -111860,18 +237396,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class chronologizeKeyRecord_argsStandardSchemeFactory + private static class selectKeysRecord_argsStandardSchemeFactory implements SchemeFactory { - public chronologizeKeyRecord_argsStandardScheme getScheme() { - return new chronologizeKeyRecord_argsStandardScheme(); + public selectKeysRecord_argsStandardScheme getScheme() { + return new selectKeysRecord_argsStandardScheme(); } } - private static class chronologizeKeyRecord_argsStandardScheme - extends StandardScheme { + private static class selectKeysRecord_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - chronologizeKeyRecord_args struct) + selectKeysRecord_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -111881,10 +237417,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1202 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list1202.size); + String _elem1203; + for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) { + _elem1203 = iprot.readString(); + struct.keys.add(_elem1203); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -111947,14 +237494,23 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - chronologizeKeyRecord_args struct) + selectKeysRecord_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter1205 : struct.keys) { + oprot.writeString(_iter1205); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldBegin(RECORD_FIELD_DESC); @@ -111981,23 +237537,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class chronologizeKeyRecord_argsTupleSchemeFactory + private static class selectKeysRecord_argsTupleSchemeFactory implements SchemeFactory { - public chronologizeKeyRecord_argsTupleScheme getScheme() { - return new chronologizeKeyRecord_argsTupleScheme(); + public selectKeysRecord_argsTupleScheme getScheme() { + return new selectKeysRecord_argsTupleScheme(); } } - private static class chronologizeKeyRecord_argsTupleScheme - extends TupleScheme { + private static class selectKeysRecord_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecord_args struct) + selectKeysRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } if(struct.isSetRecord()) { @@ -112013,8 +237569,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter1206 : struct.keys) { + oprot.writeString(_iter1206); + } + } } if(struct.isSetRecord()) { oprot.writeI64(struct.record); @@ -112032,13 +237593,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecord_args struct) + selectKeysRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list1207 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list1207.size); + String _elem1208; + for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) { + _elem1208 = iprot.readString(); + struct.keys.add(_elem1208); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { struct.record = iprot.readI64(); @@ -112063,13 +237634,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class chronologizeKeyRecord_result implements - org.apache.thrift.TBase, + public static class selectKeysRecord_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "chronologizeKeyRecord_result"); + "selectKeysRecord_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -112083,12 +237654,12 @@ public static class chronologizeKeyRecord_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new chronologizeKeyRecord_resultStandardSchemeFactory()); + new selectKeysRecord_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new chronologizeKeyRecord_resultTupleSchemeFactory()); + new selectKeysRecord_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -112179,7 +237750,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.SetMetaData( org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.StructMetaData( @@ -112202,13 +237773,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - chronologizeKeyRecord_result.class, metaDataMap); + selectKeysRecord_result.class, metaDataMap); } - public chronologizeKeyRecord_result() {} + public selectKeysRecord_result() {} - public chronologizeKeyRecord_result( - Map> success, + public selectKeysRecord_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -112222,19 +237793,18 @@ public chronologizeKeyRecord_result( /** * Performs a deep copy on other. */ - public chronologizeKeyRecord_result( - chronologizeKeyRecord_result other) { + public selectKeysRecord_result(selectKeysRecord_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - Long other_element_key = other_element.getKey(); + String other_element_key = other_element.getKey(); Set other_element_value = other_element .getValue(); - Long __this__success_copy_key = other_element_key; + String __this__success_copy_key = other_element_key; Set __this__success_copy_value = new LinkedHashSet( other_element_value.size()); @@ -112263,8 +237833,8 @@ public chronologizeKeyRecord_result( } } - public chronologizeKeyRecord_result deepCopy() { - return new chronologizeKeyRecord_result(this); + public selectKeysRecord_result deepCopy() { + return new selectKeysRecord_result(this); } @Override @@ -112279,20 +237849,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, + public void putToSuccess(String key, Set val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public chronologizeKeyRecord_result setSuccess( - Map> success) { + public selectKeysRecord_result setSuccess( + Map> success) { this.success = success; return this; } @@ -112319,7 +237889,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public chronologizeKeyRecord_result setEx( + public selectKeysRecord_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -112347,7 +237917,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public chronologizeKeyRecord_result setEx2( + public selectKeysRecord_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -112375,7 +237945,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public chronologizeKeyRecord_result setEx3( + public selectKeysRecord_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -112407,7 +237977,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -112485,12 +238055,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof chronologizeKeyRecord_result) - return this.equals((chronologizeKeyRecord_result) that); + if(that instanceof selectKeysRecord_result) + return this.equals((selectKeysRecord_result) that); return false; } - public boolean equals(chronologizeKeyRecord_result that) { + public boolean equals(selectKeysRecord_result that) { if(that == null) return false; @@ -112561,7 +238131,7 @@ public int hashCode() { } @Override - public int compareTo(chronologizeKeyRecord_result other) { + public int compareTo(selectKeysRecord_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -112636,8 +238206,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "chronologizeKeyRecord_result("); + StringBuilder sb = new StringBuilder("selectKeysRecord_result("); boolean first = true; sb.append("success:"); @@ -112711,18 +238280,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class chronologizeKeyRecord_resultStandardSchemeFactory + private static class selectKeysRecord_resultStandardSchemeFactory implements SchemeFactory { - public chronologizeKeyRecord_resultStandardScheme getScheme() { - return new chronologizeKeyRecord_resultStandardScheme(); + public selectKeysRecord_resultStandardScheme getScheme() { + return new selectKeysRecord_resultStandardScheme(); } } - private static class chronologizeKeyRecord_resultStandardScheme - extends StandardScheme { + private static class selectKeysRecord_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - chronologizeKeyRecord_result struct) + selectKeysRecord_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -112735,28 +238304,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map280 = iprot + org.apache.thrift.protocol.TMap _map1210 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map280.size); - long _key281; - Set _val282; - for (int _i283 = 0; _i283 < _map280.size; ++_i283) { - _key281 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map1210.size); + String _key1211; + Set _val1212; + for (int _i1213 = 0; _i1213 < _map1210.size; ++_i1213) { + _key1211 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set284 = iprot + org.apache.thrift.protocol.TSet _set1214 = iprot .readSetBegin(); - _val282 = new LinkedHashSet( - 2 * _set284.size); - com.cinchapi.concourse.thrift.TObject _elem285; - for (int _i286 = 0; _i286 < _set284.size; ++_i286) { - _elem285 = new com.cinchapi.concourse.thrift.TObject(); - _elem285.read(iprot); - _val282.add(_elem285); + _val1212 = new LinkedHashSet( + 2 * _set1214.size); + com.cinchapi.concourse.thrift.TObject _elem1215; + for (int _i1216 = 0; _i1216 < _set1214.size; ++_i1216) { + _elem1215 = new com.cinchapi.concourse.thrift.TObject(); + _elem1215.read(iprot); + _val1212.add(_elem1215); } iprot.readSetEnd(); } - struct.success.put(_key281, _val282); + struct.success.put(_key1211, _val1212); } iprot.readMapEnd(); } @@ -112814,7 +238383,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - chronologizeKeyRecord_result struct) + selectKeysRecord_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -112823,20 +238392,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter287 : struct.success + for (Map.Entry> _iter1217 : struct.success .entrySet()) { - oprot.writeI64(_iter287.getKey()); + oprot.writeString(_iter1217.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter287.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter288 : _iter287 + _iter1217.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1218 : _iter1217 .getValue()) { - _iter288.write(oprot); + _iter1218.write(oprot); } oprot.writeSetEnd(); } @@ -112866,19 +238435,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class chronologizeKeyRecord_resultTupleSchemeFactory + private static class selectKeysRecord_resultTupleSchemeFactory implements SchemeFactory { - public chronologizeKeyRecord_resultTupleScheme getScheme() { - return new chronologizeKeyRecord_resultTupleScheme(); + public selectKeysRecord_resultTupleScheme getScheme() { + return new selectKeysRecord_resultTupleScheme(); } } - private static class chronologizeKeyRecord_resultTupleScheme - extends TupleScheme { + private static class selectKeysRecord_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecord_result struct) + selectKeysRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -112898,14 +238467,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter289 : struct.success + for (Map.Entry> _iter1219 : struct.success .entrySet()) { - oprot.writeI64(_iter289.getKey()); + oprot.writeString(_iter1219.getKey()); { - oprot.writeI32(_iter289.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter290 : _iter289 + oprot.writeI32(_iter1219.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1220 : _iter1219 .getValue()) { - _iter290.write(oprot); + _iter1220.write(oprot); } } } @@ -112924,36 +238493,36 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecord_result struct) + selectKeysRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map291 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TMap _map1221 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map291.size); - long _key292; - Set _val293; - for (int _i294 = 0; _i294 < _map291.size; ++_i294) { - _key292 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map1221.size); + String _key1222; + Set _val1223; + for (int _i1224 = 0; _i1224 < _map1221.size; ++_i1224) { + _key1222 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set295 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set1225 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val293 = new LinkedHashSet( - 2 * _set295.size); - com.cinchapi.concourse.thrift.TObject _elem296; - for (int _i297 = 0; _i297 < _set295.size; ++_i297) { - _elem296 = new com.cinchapi.concourse.thrift.TObject(); - _elem296.read(iprot); - _val293.add(_elem296); + _val1223 = new LinkedHashSet( + 2 * _set1225.size); + com.cinchapi.concourse.thrift.TObject _elem1226; + for (int _i1227 = 0; _i1227 < _set1225.size; ++_i1227) { + _elem1226 = new com.cinchapi.concourse.thrift.TObject(); + _elem1226.read(iprot); + _val1223.add(_elem1226); } } - struct.success.put(_key292, _val293); + struct.success.put(_key1222, _val1223); } } struct.setSuccessIsSet(true); @@ -112978,20 +238547,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class chronologizeKeyRecordStart_args implements - org.apache.thrift.TBase, + public static class selectKeysRecordTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "chronologizeKeyRecordStart_args"); + "selectKeysRecordTime_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -113004,14 +238573,14 @@ public static class chronologizeKeyRecordStart_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new chronologizeKeyRecordStart_argsStandardSchemeFactory()); + new selectKeysRecordTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new chronologizeKeyRecordStart_argsTupleSchemeFactory()); + new selectKeysRecordTime_argsTupleSchemeFactory()); } - public String key; // required + public List keys; // required public long record; // required - public long start; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -113021,9 +238590,9 @@ public static class chronologizeKeyRecordStart_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), + KEYS((short) 1, "keys"), RECORD((short) 2, "record"), - START((short) 3, "start"), + TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -113042,12 +238611,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; + case 1: // KEYS + return KEYS; case 2: // RECORD return RECORD; - case 3: // START - return START; + case 3: // TIMESTAMP + return TIMESTAMP; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -113099,24 +238668,26 @@ public String getFieldName() { // isset id assignments private static final int __RECORD_ISSET_ID = 0; - private static final int __START_ISSET_ID = 1; + private static final int __TIMESTAMP_ISSET_ID = 1; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.RECORD, new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); @@ -113139,21 +238710,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - chronologizeKeyRecordStart_args.class, metaDataMap); + selectKeysRecordTime_args.class, metaDataMap); } - public chronologizeKeyRecordStart_args() {} + public selectKeysRecordTime_args() {} - public chronologizeKeyRecordStart_args(String key, long record, - long start, com.cinchapi.concourse.thrift.AccessToken creds, + public selectKeysRecordTime_args(List keys, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; + this.keys = keys; this.record = record; setRecordIsSet(true); - this.start = start; - setStartIsSet(true); + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -113162,14 +238733,14 @@ public chronologizeKeyRecordStart_args(String key, long record, /** * Performs a deep copy on other. */ - public chronologizeKeyRecordStart_args( - chronologizeKeyRecordStart_args other) { + public selectKeysRecordTime_args(selectKeysRecordTime_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } this.record = other.record; - this.start = other.start; + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -113183,46 +238754,61 @@ public chronologizeKeyRecordStart_args( } } - public chronologizeKeyRecordStart_args deepCopy() { - return new chronologizeKeyRecordStart_args(this); + public selectKeysRecordTime_args deepCopy() { + return new selectKeysRecordTime_args(this); } @Override public void clear() { - this.key = null; + this.keys = null; setRecordIsSet(false); this.record = 0; - setStartIsSet(false); - this.start = 0; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public chronologizeKeyRecordStart_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysRecordTime_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } @@ -113230,7 +238816,7 @@ public long getRecord() { return this.record; } - public chronologizeKeyRecordStart_args setRecord(long record) { + public selectKeysRecordTime_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -113254,39 +238840,40 @@ public void setRecordIsSet(boolean value) { __RECORD_ISSET_ID, value); } - public long getStart() { - return this.start; + public long getTimestamp() { + return this.timestamp; } - public chronologizeKeyRecordStart_args setStart(long start) { - this.start = start; - setStartIsSet(true); + public selectKeysRecordTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetStart() { + public void unsetTimestamp() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setStartIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public chronologizeKeyRecordStart_args setCreds( + public selectKeysRecordTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -113314,7 +238901,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public chronologizeKeyRecordStart_args setTransaction( + public selectKeysRecordTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -113342,8 +238929,7 @@ public String getEnvironment() { return this.environment; } - public chronologizeKeyRecordStart_args setEnvironment( - String environment) { + public selectKeysRecordTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -113368,12 +238954,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; @@ -113386,12 +238972,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case START: + case TIMESTAMP: if(value == null) { - unsetStart(); + unsetTimestamp(); } else { - setStart((Long) value); + setTimestamp((Long) value); } break; @@ -113428,14 +239014,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); case RECORD: return getRecord(); - case START: - return getStart(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -113460,12 +239046,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); + case KEYS: + return isSetKeys(); case RECORD: return isSetRecord(); - case START: - return isSetStart(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -113480,21 +239066,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof chronologizeKeyRecordStart_args) - return this.equals((chronologizeKeyRecordStart_args) that); + if(that instanceof selectKeysRecordTime_args) + return this.equals((selectKeysRecordTime_args) that); return false; } - public boolean equals(chronologizeKeyRecordStart_args that) { + public boolean equals(selectKeysRecordTime_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } @@ -113507,12 +239093,12 @@ public boolean equals(chronologizeKeyRecordStart_args that) { return false; } - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.start != that.start) + if(this.timestamp != that.timestamp) return false; } @@ -113550,20 +239136,20 @@ public boolean equals(chronologizeKeyRecordStart_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); boolean present_record = true; list.add(present_record); if(present_record) list.add(record); - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -113584,7 +239170,7 @@ public int hashCode() { } @Override - public int compareTo(chronologizeKeyRecordStart_args other) { + public int compareTo(selectKeysRecordTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -113592,14 +239178,14 @@ public int compareTo(chronologizeKeyRecordStart_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } @@ -113616,14 +239202,14 @@ public int compareTo(chronologizeKeyRecordStart_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -113683,16 +239269,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "chronologizeKeyRecordStart_args("); + StringBuilder sb = new StringBuilder("selectKeysRecordTime_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) @@ -113702,8 +239287,8 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("start:"); - sb.append(this.start); + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -113778,18 +239363,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class chronologizeKeyRecordStart_argsStandardSchemeFactory + private static class selectKeysRecordTime_argsStandardSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStart_argsStandardScheme getScheme() { - return new chronologizeKeyRecordStart_argsStandardScheme(); + public selectKeysRecordTime_argsStandardScheme getScheme() { + return new selectKeysRecordTime_argsStandardScheme(); } } - private static class chronologizeKeyRecordStart_argsStandardScheme - extends StandardScheme { + private static class selectKeysRecordTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - chronologizeKeyRecordStart_args struct) + selectKeysRecordTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -113799,10 +239384,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1228 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list1228.size); + String _elem1229; + for (int _i1230 = 0; _i1230 < _list1228.size; ++_i1230) { + _elem1229 = iprot.readString(); + struct.keys.add(_elem1229); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -113819,10 +239415,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // START + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -113875,21 +239471,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - chronologizeKeyRecordStart_args struct) + selectKeysRecordTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter1231 : struct.keys) { + oprot.writeString(_iter1231); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldBegin(RECORD_FIELD_DESC); oprot.writeI64(struct.record); oprot.writeFieldEnd(); - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); @@ -113912,29 +239517,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class chronologizeKeyRecordStart_argsTupleSchemeFactory + private static class selectKeysRecordTime_argsTupleSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStart_argsTupleScheme getScheme() { - return new chronologizeKeyRecordStart_argsTupleScheme(); + public selectKeysRecordTime_argsTupleScheme getScheme() { + return new selectKeysRecordTime_argsTupleScheme(); } } - private static class chronologizeKeyRecordStart_argsTupleScheme - extends TupleScheme { + private static class selectKeysRecordTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStart_args struct) + selectKeysRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } if(struct.isSetRecord()) { optionals.set(1); } - if(struct.isSetStart()) { + if(struct.isSetTimestamp()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -113947,14 +239552,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter1232 : struct.keys) { + oprot.writeString(_iter1232); + } + } } if(struct.isSetRecord()) { oprot.writeI64(struct.record); } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -113969,21 +239579,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStart_args struct) + selectKeysRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list1233 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list1233.size); + String _elem1234; + for (int _i1235 = 0; _i1235 < _list1233.size; ++_i1235) { + _elem1234 = iprot.readString(); + struct.keys.add(_elem1234); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { struct.record = iprot.readI64(); struct.setRecordIsSet(true); } if(incoming.get(2)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -114004,13 +239624,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class chronologizeKeyRecordStart_result implements - org.apache.thrift.TBase, + public static class selectKeysRecordTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "chronologizeKeyRecordStart_result"); + "selectKeysRecordTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -114024,12 +239644,12 @@ public static class chronologizeKeyRecordStart_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new chronologizeKeyRecordStart_resultStandardSchemeFactory()); + new selectKeysRecordTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new chronologizeKeyRecordStart_resultTupleSchemeFactory()); + new selectKeysRecordTime_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -114120,7 +239740,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.SetMetaData( org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.StructMetaData( @@ -114143,13 +239763,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - chronologizeKeyRecordStart_result.class, metaDataMap); + selectKeysRecordTime_result.class, metaDataMap); } - public chronologizeKeyRecordStart_result() {} + public selectKeysRecordTime_result() {} - public chronologizeKeyRecordStart_result( - Map> success, + public selectKeysRecordTime_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -114163,19 +239783,18 @@ public chronologizeKeyRecordStart_result( /** * Performs a deep copy on other. */ - public chronologizeKeyRecordStart_result( - chronologizeKeyRecordStart_result other) { + public selectKeysRecordTime_result(selectKeysRecordTime_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - Long other_element_key = other_element.getKey(); + String other_element_key = other_element.getKey(); Set other_element_value = other_element .getValue(); - Long __this__success_copy_key = other_element_key; + String __this__success_copy_key = other_element_key; Set __this__success_copy_value = new LinkedHashSet( other_element_value.size()); @@ -114204,8 +239823,8 @@ public chronologizeKeyRecordStart_result( } } - public chronologizeKeyRecordStart_result deepCopy() { - return new chronologizeKeyRecordStart_result(this); + public selectKeysRecordTime_result deepCopy() { + return new selectKeysRecordTime_result(this); } @Override @@ -114220,20 +239839,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, + public void putToSuccess(String key, Set val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public chronologizeKeyRecordStart_result setSuccess( - Map> success) { + public selectKeysRecordTime_result setSuccess( + Map> success) { this.success = success; return this; } @@ -114260,7 +239879,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public chronologizeKeyRecordStart_result setEx( + public selectKeysRecordTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -114288,7 +239907,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public chronologizeKeyRecordStart_result setEx2( + public selectKeysRecordTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -114316,7 +239935,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public chronologizeKeyRecordStart_result setEx3( + public selectKeysRecordTime_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -114348,7 +239967,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -114426,12 +240045,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof chronologizeKeyRecordStart_result) - return this.equals((chronologizeKeyRecordStart_result) that); + if(that instanceof selectKeysRecordTime_result) + return this.equals((selectKeysRecordTime_result) that); return false; } - public boolean equals(chronologizeKeyRecordStart_result that) { + public boolean equals(selectKeysRecordTime_result that) { if(that == null) return false; @@ -114502,7 +240121,7 @@ public int hashCode() { } @Override - public int compareTo(chronologizeKeyRecordStart_result other) { + public int compareTo(selectKeysRecordTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -114578,7 +240197,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "chronologizeKeyRecordStart_result("); + "selectKeysRecordTime_result("); boolean first = true; sb.append("success:"); @@ -114652,18 +240271,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class chronologizeKeyRecordStart_resultStandardSchemeFactory + private static class selectKeysRecordTime_resultStandardSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStart_resultStandardScheme getScheme() { - return new chronologizeKeyRecordStart_resultStandardScheme(); + public selectKeysRecordTime_resultStandardScheme getScheme() { + return new selectKeysRecordTime_resultStandardScheme(); } } - private static class chronologizeKeyRecordStart_resultStandardScheme - extends StandardScheme { + private static class selectKeysRecordTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - chronologizeKeyRecordStart_result struct) + selectKeysRecordTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -114676,28 +240295,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map298 = iprot + org.apache.thrift.protocol.TMap _map1236 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map298.size); - long _key299; - Set _val300; - for (int _i301 = 0; _i301 < _map298.size; ++_i301) { - _key299 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map1236.size); + String _key1237; + Set _val1238; + for (int _i1239 = 0; _i1239 < _map1236.size; ++_i1239) { + _key1237 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set302 = iprot + org.apache.thrift.protocol.TSet _set1240 = iprot .readSetBegin(); - _val300 = new LinkedHashSet( - 2 * _set302.size); - com.cinchapi.concourse.thrift.TObject _elem303; - for (int _i304 = 0; _i304 < _set302.size; ++_i304) { - _elem303 = new com.cinchapi.concourse.thrift.TObject(); - _elem303.read(iprot); - _val300.add(_elem303); + _val1238 = new LinkedHashSet( + 2 * _set1240.size); + com.cinchapi.concourse.thrift.TObject _elem1241; + for (int _i1242 = 0; _i1242 < _set1240.size; ++_i1242) { + _elem1241 = new com.cinchapi.concourse.thrift.TObject(); + _elem1241.read(iprot); + _val1238.add(_elem1241); } iprot.readSetEnd(); } - struct.success.put(_key299, _val300); + struct.success.put(_key1237, _val1238); } iprot.readMapEnd(); } @@ -114755,7 +240374,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - chronologizeKeyRecordStart_result struct) + selectKeysRecordTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -114764,20 +240383,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter305 : struct.success + for (Map.Entry> _iter1243 : struct.success .entrySet()) { - oprot.writeI64(_iter305.getKey()); + oprot.writeString(_iter1243.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter305.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter306 : _iter305 + _iter1243.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1244 : _iter1243 .getValue()) { - _iter306.write(oprot); + _iter1244.write(oprot); } oprot.writeSetEnd(); } @@ -114807,19 +240426,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class chronologizeKeyRecordStart_resultTupleSchemeFactory + private static class selectKeysRecordTime_resultTupleSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStart_resultTupleScheme getScheme() { - return new chronologizeKeyRecordStart_resultTupleScheme(); + public selectKeysRecordTime_resultTupleScheme getScheme() { + return new selectKeysRecordTime_resultTupleScheme(); } } - private static class chronologizeKeyRecordStart_resultTupleScheme - extends TupleScheme { + private static class selectKeysRecordTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStart_result struct) + selectKeysRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -114839,14 +240458,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter307 : struct.success + for (Map.Entry> _iter1245 : struct.success .entrySet()) { - oprot.writeI64(_iter307.getKey()); + oprot.writeString(_iter1245.getKey()); { - oprot.writeI32(_iter307.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter308 : _iter307 + oprot.writeI32(_iter1245.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1246 : _iter1245 .getValue()) { - _iter308.write(oprot); + _iter1246.write(oprot); } } } @@ -114865,36 +240484,36 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStart_result struct) + selectKeysRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map309 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TMap _map1247 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map309.size); - long _key310; - Set _val311; - for (int _i312 = 0; _i312 < _map309.size; ++_i312) { - _key310 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map1247.size); + String _key1248; + Set _val1249; + for (int _i1250 = 0; _i1250 < _map1247.size; ++_i1250) { + _key1248 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set313 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set1251 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val311 = new LinkedHashSet( - 2 * _set313.size); - com.cinchapi.concourse.thrift.TObject _elem314; - for (int _i315 = 0; _i315 < _set313.size; ++_i315) { - _elem314 = new com.cinchapi.concourse.thrift.TObject(); - _elem314.read(iprot); - _val311.add(_elem314); + _val1249 = new LinkedHashSet( + 2 * _set1251.size); + com.cinchapi.concourse.thrift.TObject _elem1252; + for (int _i1253 = 0; _i1253 < _set1251.size; ++_i1253) { + _elem1252 = new com.cinchapi.concourse.thrift.TObject(); + _elem1252.read(iprot); + _val1249.add(_elem1252); } } - struct.success.put(_key310, _val311); + struct.success.put(_key1248, _val1249); } } struct.setSuccessIsSet(true); @@ -114919,20 +240538,21 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class chronologizeKeyRecordStartstr_args implements - org.apache.thrift.TBase, + public static class selectKeysRecordTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "chronologizeKeyRecordStartstr_args"); + "selectKeysRecordTimestr_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -114945,14 +240565,14 @@ public static class chronologizeKeyRecordStartstr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new chronologizeKeyRecordStartstr_argsStandardSchemeFactory()); + new selectKeysRecordTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new chronologizeKeyRecordStartstr_argsTupleSchemeFactory()); + new selectKeysRecordTimestr_argsTupleSchemeFactory()); } - public String key; // required + public List keys; // required public long record; // required - public String start; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -114962,9 +240582,9 @@ public static class chronologizeKeyRecordStartstr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), + KEYS((short) 1, "keys"), RECORD((short) 2, "record"), - START((short) 3, "start"), + TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -114983,12 +240603,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; + case 1: // KEYS + return KEYS; case 2: // RECORD return RECORD; - case 3: // START - return START; + case 3: // TIMESTAMP + return TIMESTAMP; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -115045,18 +240665,20 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.RECORD, new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); @@ -115079,20 +240701,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - chronologizeKeyRecordStartstr_args.class, metaDataMap); + selectKeysRecordTimestr_args.class, metaDataMap); } - public chronologizeKeyRecordStartstr_args() {} + public selectKeysRecordTimestr_args() {} - public chronologizeKeyRecordStartstr_args(String key, long record, - String start, com.cinchapi.concourse.thrift.AccessToken creds, + public selectKeysRecordTimestr_args(List keys, long record, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; + this.keys = keys; this.record = record; setRecordIsSet(true); - this.start = start; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -115101,15 +240724,16 @@ public chronologizeKeyRecordStartstr_args(String key, long record, /** * Performs a deep copy on other. */ - public chronologizeKeyRecordStartstr_args( - chronologizeKeyRecordStartstr_args other) { + public selectKeysRecordTimestr_args( + selectKeysRecordTimestr_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } this.record = other.record; - if(other.isSetStart()) { - this.start = other.start; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -115124,45 +240748,60 @@ public chronologizeKeyRecordStartstr_args( } } - public chronologizeKeyRecordStartstr_args deepCopy() { - return new chronologizeKeyRecordStartstr_args(this); + public selectKeysRecordTimestr_args deepCopy() { + return new selectKeysRecordTimestr_args(this); } @Override public void clear() { - this.key = null; + this.keys = null; setRecordIsSet(false); this.record = 0; - this.start = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public chronologizeKeyRecordStartstr_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysRecordTimestr_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } @@ -115170,7 +240809,7 @@ public long getRecord() { return this.record; } - public chronologizeKeyRecordStartstr_args setRecord(long record) { + public selectKeysRecordTimestr_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -115194,30 +240833,30 @@ public void setRecordIsSet(boolean value) { __RECORD_ISSET_ID, value); } - public String getStart() { - return this.start; + public String getTimestamp() { + return this.timestamp; } - public chronologizeKeyRecordStartstr_args setStart(String start) { - this.start = start; + public selectKeysRecordTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetStart() { - this.start = null; + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetTimestamp() { + return this.timestamp != null; } - public void setStartIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { if(!value) { - this.start = null; + this.timestamp = null; } } @@ -115225,7 +240864,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public chronologizeKeyRecordStartstr_args setCreds( + public selectKeysRecordTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -115253,7 +240892,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public chronologizeKeyRecordStartstr_args setTransaction( + public selectKeysRecordTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -115281,8 +240920,7 @@ public String getEnvironment() { return this.environment; } - public chronologizeKeyRecordStartstr_args setEnvironment( - String environment) { + public selectKeysRecordTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -115307,12 +240945,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; @@ -115325,12 +240963,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case START: + case TIMESTAMP: if(value == null) { - unsetStart(); + unsetTimestamp(); } else { - setStart((String) value); + setTimestamp((String) value); } break; @@ -115367,14 +241005,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); case RECORD: return getRecord(); - case START: - return getStart(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -115399,12 +241037,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); + case KEYS: + return isSetKeys(); case RECORD: return isSetRecord(); - case START: - return isSetStart(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -115419,21 +241057,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof chronologizeKeyRecordStartstr_args) - return this.equals((chronologizeKeyRecordStartstr_args) that); + if(that instanceof selectKeysRecordTimestr_args) + return this.equals((selectKeysRecordTimestr_args) that); return false; } - public boolean equals(chronologizeKeyRecordStartstr_args that) { + public boolean equals(selectKeysRecordTimestr_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } @@ -115446,12 +241084,12 @@ public boolean equals(chronologizeKeyRecordStartstr_args that) { return false; } - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.start.equals(that.start)) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -115489,20 +241127,20 @@ public boolean equals(chronologizeKeyRecordStartstr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); boolean present_record = true; list.add(present_record); if(present_record) list.add(record); - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -115523,7 +241161,7 @@ public int hashCode() { } @Override - public int compareTo(chronologizeKeyRecordStartstr_args other) { + public int compareTo(selectKeysRecordTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -115531,14 +241169,14 @@ public int compareTo(chronologizeKeyRecordStartstr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } @@ -115555,14 +241193,14 @@ public int compareTo(chronologizeKeyRecordStartstr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -115623,15 +241261,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "chronologizeKeyRecordStartstr_args("); + "selectKeysRecordTimestr_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) @@ -115641,12 +241279,12 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("start:"); - if(this.start == null) { + sb.append("timestamp:"); + if(this.timestamp == null) { sb.append("null"); } else { - sb.append(this.start); + sb.append(this.timestamp); } first = false; if(!first) @@ -115722,18 +241360,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class chronologizeKeyRecordStartstr_argsStandardSchemeFactory + private static class selectKeysRecordTimestr_argsStandardSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartstr_argsStandardScheme getScheme() { - return new chronologizeKeyRecordStartstr_argsStandardScheme(); + public selectKeysRecordTimestr_argsStandardScheme getScheme() { + return new selectKeysRecordTimestr_argsStandardScheme(); } } - private static class chronologizeKeyRecordStartstr_argsStandardScheme - extends StandardScheme { + private static class selectKeysRecordTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - chronologizeKeyRecordStartstr_args struct) + selectKeysRecordTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -115743,10 +241381,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1254 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list1254.size); + String _elem1255; + for (int _i1256 = 0; _i1256 < _list1254.size; ++_i1256) { + _elem1255 = iprot.readString(); + struct.keys.add(_elem1255); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -115763,10 +241412,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // START + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -115819,22 +241468,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - chronologizeKeyRecordStartstr_args struct) + selectKeysRecordTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter1257 : struct.keys) { + oprot.writeString(_iter1257); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldBegin(RECORD_FIELD_DESC); oprot.writeI64(struct.record); oprot.writeFieldEnd(); - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -115858,29 +241516,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class chronologizeKeyRecordStartstr_argsTupleSchemeFactory + private static class selectKeysRecordTimestr_argsTupleSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartstr_argsTupleScheme getScheme() { - return new chronologizeKeyRecordStartstr_argsTupleScheme(); + public selectKeysRecordTimestr_argsTupleScheme getScheme() { + return new selectKeysRecordTimestr_argsTupleScheme(); } } - private static class chronologizeKeyRecordStartstr_argsTupleScheme - extends TupleScheme { + private static class selectKeysRecordTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartstr_args struct) + selectKeysRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } if(struct.isSetRecord()) { optionals.set(1); } - if(struct.isSetStart()) { + if(struct.isSetTimestamp()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -115893,14 +241551,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter1258 : struct.keys) { + oprot.writeString(_iter1258); + } + } } if(struct.isSetRecord()) { oprot.writeI64(struct.record); } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -115915,21 +241578,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartstr_args struct) + selectKeysRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list1259 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list1259.size); + String _elem1260; + for (int _i1261 = 0; _i1261 < _list1259.size; ++_i1261) { + _elem1260 = iprot.readString(); + struct.keys.add(_elem1260); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { struct.record = iprot.readI64(); struct.setRecordIsSet(true); } if(incoming.get(2)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -115950,13 +241623,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class chronologizeKeyRecordStartstr_result implements - org.apache.thrift.TBase, + public static class selectKeysRecordTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "chronologizeKeyRecordStartstr_result"); + "selectKeysRecordTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -115972,12 +241645,12 @@ public static class chronologizeKeyRecordStartstr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new chronologizeKeyRecordStartstr_resultStandardSchemeFactory()); + new selectKeysRecordTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new chronologizeKeyRecordStartstr_resultTupleSchemeFactory()); + new selectKeysRecordTimestr_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -116072,7 +241745,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.SetMetaData( org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.StructMetaData( @@ -116100,13 +241773,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - chronologizeKeyRecordStartstr_result.class, metaDataMap); + selectKeysRecordTimestr_result.class, metaDataMap); } - public chronologizeKeyRecordStartstr_result() {} + public selectKeysRecordTimestr_result() {} - public chronologizeKeyRecordStartstr_result( - Map> success, + public selectKeysRecordTimestr_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -116122,19 +241795,19 @@ public chronologizeKeyRecordStartstr_result( /** * Performs a deep copy on other. */ - public chronologizeKeyRecordStartstr_result( - chronologizeKeyRecordStartstr_result other) { + public selectKeysRecordTimestr_result( + selectKeysRecordTimestr_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - Long other_element_key = other_element.getKey(); + String other_element_key = other_element.getKey(); Set other_element_value = other_element .getValue(); - Long __this__success_copy_key = other_element_key; + String __this__success_copy_key = other_element_key; Set __this__success_copy_value = new LinkedHashSet( other_element_value.size()); @@ -116167,8 +241840,8 @@ public chronologizeKeyRecordStartstr_result( } } - public chronologizeKeyRecordStartstr_result deepCopy() { - return new chronologizeKeyRecordStartstr_result(this); + public selectKeysRecordTimestr_result deepCopy() { + return new selectKeysRecordTimestr_result(this); } @Override @@ -116184,20 +241857,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, + public void putToSuccess(String key, Set val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public chronologizeKeyRecordStartstr_result setSuccess( - Map> success) { + public selectKeysRecordTimestr_result setSuccess( + Map> success) { this.success = success; return this; } @@ -116224,7 +241897,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public chronologizeKeyRecordStartstr_result setEx( + public selectKeysRecordTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -116252,7 +241925,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public chronologizeKeyRecordStartstr_result setEx2( + public selectKeysRecordTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -116280,7 +241953,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public chronologizeKeyRecordStartstr_result setEx3( + public selectKeysRecordTimestr_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -116308,7 +241981,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public chronologizeKeyRecordStartstr_result setEx4( + public selectKeysRecordTimestr_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -116340,7 +242013,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -116432,12 +242105,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof chronologizeKeyRecordStartstr_result) - return this.equals((chronologizeKeyRecordStartstr_result) that); + if(that instanceof selectKeysRecordTimestr_result) + return this.equals((selectKeysRecordTimestr_result) that); return false; } - public boolean equals(chronologizeKeyRecordStartstr_result that) { + public boolean equals(selectKeysRecordTimestr_result that) { if(that == null) return false; @@ -116522,7 +242195,7 @@ public int hashCode() { } @Override - public int compareTo(chronologizeKeyRecordStartstr_result other) { + public int compareTo(selectKeysRecordTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -116610,7 +242283,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "chronologizeKeyRecordStartstr_result("); + "selectKeysRecordTimestr_result("); boolean first = true; sb.append("success:"); @@ -116694,18 +242367,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class chronologizeKeyRecordStartstr_resultStandardSchemeFactory + private static class selectKeysRecordTimestr_resultStandardSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartstr_resultStandardScheme getScheme() { - return new chronologizeKeyRecordStartstr_resultStandardScheme(); + public selectKeysRecordTimestr_resultStandardScheme getScheme() { + return new selectKeysRecordTimestr_resultStandardScheme(); } } - private static class chronologizeKeyRecordStartstr_resultStandardScheme - extends StandardScheme { + private static class selectKeysRecordTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - chronologizeKeyRecordStartstr_result struct) + selectKeysRecordTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -116718,28 +242391,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map316 = iprot + org.apache.thrift.protocol.TMap _map1262 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map316.size); - long _key317; - Set _val318; - for (int _i319 = 0; _i319 < _map316.size; ++_i319) { - _key317 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map1262.size); + String _key1263; + Set _val1264; + for (int _i1265 = 0; _i1265 < _map1262.size; ++_i1265) { + _key1263 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set320 = iprot + org.apache.thrift.protocol.TSet _set1266 = iprot .readSetBegin(); - _val318 = new LinkedHashSet( - 2 * _set320.size); - com.cinchapi.concourse.thrift.TObject _elem321; - for (int _i322 = 0; _i322 < _set320.size; ++_i322) { - _elem321 = new com.cinchapi.concourse.thrift.TObject(); - _elem321.read(iprot); - _val318.add(_elem321); + _val1264 = new LinkedHashSet( + 2 * _set1266.size); + com.cinchapi.concourse.thrift.TObject _elem1267; + for (int _i1268 = 0; _i1268 < _set1266.size; ++_i1268) { + _elem1267 = new com.cinchapi.concourse.thrift.TObject(); + _elem1267.read(iprot); + _val1264.add(_elem1267); } iprot.readSetEnd(); } - struct.success.put(_key317, _val318); + struct.success.put(_key1263, _val1264); } iprot.readMapEnd(); } @@ -116808,7 +242481,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - chronologizeKeyRecordStartstr_result struct) + selectKeysRecordTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -116817,20 +242490,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter323 : struct.success + for (Map.Entry> _iter1269 : struct.success .entrySet()) { - oprot.writeI64(_iter323.getKey()); + oprot.writeString(_iter1269.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter323.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter324 : _iter323 + _iter1269.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1270 : _iter1269 .getValue()) { - _iter324.write(oprot); + _iter1270.write(oprot); } oprot.writeSetEnd(); } @@ -116865,19 +242538,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class chronologizeKeyRecordStartstr_resultTupleSchemeFactory + private static class selectKeysRecordTimestr_resultTupleSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartstr_resultTupleScheme getScheme() { - return new chronologizeKeyRecordStartstr_resultTupleScheme(); + public selectKeysRecordTimestr_resultTupleScheme getScheme() { + return new selectKeysRecordTimestr_resultTupleScheme(); } } - private static class chronologizeKeyRecordStartstr_resultTupleScheme - extends TupleScheme { + private static class selectKeysRecordTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartstr_result struct) + selectKeysRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -116900,14 +242573,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter325 : struct.success + for (Map.Entry> _iter1271 : struct.success .entrySet()) { - oprot.writeI64(_iter325.getKey()); + oprot.writeString(_iter1271.getKey()); { - oprot.writeI32(_iter325.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter326 : _iter325 + oprot.writeI32(_iter1271.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1272 : _iter1271 .getValue()) { - _iter326.write(oprot); + _iter1272.write(oprot); } } } @@ -116929,36 +242602,36 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartstr_result struct) + selectKeysRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map327 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TMap _map1273 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map327.size); - long _key328; - Set _val329; - for (int _i330 = 0; _i330 < _map327.size; ++_i330) { - _key328 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map1273.size); + String _key1274; + Set _val1275; + for (int _i1276 = 0; _i1276 < _map1273.size; ++_i1276) { + _key1274 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set331 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set1277 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val329 = new LinkedHashSet( - 2 * _set331.size); - com.cinchapi.concourse.thrift.TObject _elem332; - for (int _i333 = 0; _i333 < _set331.size; ++_i333) { - _elem332 = new com.cinchapi.concourse.thrift.TObject(); - _elem332.read(iprot); - _val329.add(_elem332); + _val1275 = new LinkedHashSet( + 2 * _set1277.size); + com.cinchapi.concourse.thrift.TObject _elem1278; + for (int _i1279 = 0; _i1279 < _set1277.size; ++_i1279) { + _elem1278 = new com.cinchapi.concourse.thrift.TObject(); + _elem1278.read(iprot); + _val1275.add(_elem1278); } } - struct.success.put(_key328, _val329); + struct.success.put(_key1274, _val1275); } } struct.setSuccessIsSet(true); @@ -116988,43 +242661,37 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class chronologizeKeyRecordStartEnd_args implements - org.apache.thrift.TBase, + public static class selectKeysRecords_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "chronologizeKeyRecordStartEnd_args"); + "selectKeysRecords_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 3); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.I64, (short) 4); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 6); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 7); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new chronologizeKeyRecordStartEnd_argsStandardSchemeFactory()); + new selectKeysRecords_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new chronologizeKeyRecordStartEnd_argsTupleSchemeFactory()); + new selectKeysRecords_argsTupleSchemeFactory()); } - public String key; // required - public long record; // required - public long start; // required - public long tend; // required + public List keys; // required + public List records; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -117034,13 +242701,11 @@ public static class chronologizeKeyRecordStartEnd_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - RECORD((short) 2, "record"), - START((short) 3, "start"), - TEND((short) 4, "tend"), - CREDS((short) 5, "creds"), - TRANSACTION((short) 6, "transaction"), - ENVIRONMENT((short) 7, "environment"); + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -117056,19 +242721,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // RECORD - return RECORD; - case 3: // START - return START; - case 4: // TEND - return TEND; - case 5: // CREDS + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // CREDS return CREDS; - case 6: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 7: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -117114,34 +242775,24 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __START_ISSET_ID = 1; - private static final int __TEND_ISSET_ID = 2; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -117161,24 +242812,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - chronologizeKeyRecordStartEnd_args.class, metaDataMap); + selectKeysRecords_args.class, metaDataMap); } - public chronologizeKeyRecordStartEnd_args() {} + public selectKeysRecords_args() {} - public chronologizeKeyRecordStartEnd_args(String key, long record, - long start, long tend, + public selectKeysRecords_args(List keys, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.record = record; - setRecordIsSet(true); - this.start = start; - setStartIsSet(true); - this.tend = tend; - setTendIsSet(true); + this.keys = keys; + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -117187,15 +242832,15 @@ public chronologizeKeyRecordStartEnd_args(String key, long record, /** * Performs a deep copy on other. */ - public chronologizeKeyRecordStartEnd_args( - chronologizeKeyRecordStartEnd_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public selectKeysRecords_args(selectKeysRecords_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; } - this.record = other.record; - this.start = other.start; - this.tend = other.tend; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -117209,140 +242854,108 @@ public chronologizeKeyRecordStartEnd_args( } } - public chronologizeKeyRecordStartEnd_args deepCopy() { - return new chronologizeKeyRecordStartEnd_args(this); + public selectKeysRecords_args deepCopy() { + return new selectKeysRecords_args(this); } @Override public void clear() { - this.key = null; - setRecordIsSet(false); - this.record = 0; - setStartIsSet(false); - this.start = 0; - setTendIsSet(false); - this.tend = 0; + this.keys = null; + this.records = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; - } - - public chronologizeKeyRecordStartEnd_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); } - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); } + this.keys.add(elem); } - public long getRecord() { - return this.record; + public List getKeys() { + return this.keys; } - public chronologizeKeyRecordStartEnd_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectKeysRecords_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - - public long getStart() { - return this.start; + public boolean isSetKeys() { + return this.keys != null; } - public chronologizeKeyRecordStartEnd_args setStart(long start) { - this.start = start; - setStartIsSet(true); - return this; + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } } - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); } - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); } - public long getTend() { - return this.tend; + public List getRecords() { + return this.records; } - public chronologizeKeyRecordStartEnd_args setTend(long tend) { - this.tend = tend; - setTendIsSet(true); + public selectKeysRecords_args setRecords(List records) { + this.records = records; return this; } - public void unsetTend() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TEND_ISSET_ID); + public void unsetRecords() { + this.records = null; } /** - * Returns true if field tend is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetTend() { - return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + public boolean isSetRecords() { + return this.records != null; } - public void setTendIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TEND_ISSET_ID, value); + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public chronologizeKeyRecordStartEnd_args setCreds( + public selectKeysRecords_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -117370,7 +242983,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public chronologizeKeyRecordStartEnd_args setTransaction( + public selectKeysRecords_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -117398,8 +243011,7 @@ public String getEnvironment() { return this.environment; } - public chronologizeKeyRecordStartEnd_args setEnvironment( - String environment) { + public selectKeysRecords_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -117424,39 +243036,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case RECORD: - if(value == null) { - unsetRecord(); - } - else { - setRecord((Long) value); - } - break; - - case START: + case KEYS: if(value == null) { - unsetStart(); + unsetKeys(); } else { - setStart((Long) value); + setKeys((List) value); } break; - case TEND: + case RECORDS: if(value == null) { - unsetTend(); + unsetRecords(); } else { - setTend((Long) value); + setRecords((List) value); } break; @@ -117493,17 +243087,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case RECORD: - return getRecord(); - - case START: - return getStart(); + case KEYS: + return getKeys(); - case TEND: - return getTend(); + case RECORDS: + return getRecords(); case CREDS: return getCreds(); @@ -117528,14 +243116,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -117550,48 +243134,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof chronologizeKeyRecordStartEnd_args) - return this.equals((chronologizeKeyRecordStartEnd_args) that); + if(that instanceof selectKeysRecords_args) + return this.equals((selectKeysRecords_args) that); return false; } - public boolean equals(chronologizeKeyRecordStartEnd_args that) { + public boolean equals(selectKeysRecords_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) - return false; - if(this.record != that.record) - return false; - } - - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(this.start != that.start) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_tend = true; - boolean that_present_tend = true; - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(this.tend != that.tend) + if(!this.records.equals(that.records)) return false; } @@ -117629,25 +243195,15 @@ public boolean equals(chronologizeKeyRecordStartEnd_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); - - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_tend = true; - list.add(present_tend); - if(present_tend) - list.add(tend); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -117668,7 +243224,7 @@ public int hashCode() { } @Override - public int compareTo(chronologizeKeyRecordStartEnd_args other) { + public int compareTo(selectKeysRecords_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -117676,50 +243232,26 @@ public int compareTo(chronologizeKeyRecordStartEnd_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetRecord()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetTend()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } @@ -117779,32 +243311,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "chronologizeKeyRecordStartEnd_args("); + StringBuilder sb = new StringBuilder("selectKeysRecords_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - sb.append(this.start); - first = false; - if(!first) - sb.append(", "); - sb.append("tend:"); - sb.append(this.tend); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } first = false; if(!first) sb.append(", "); @@ -117866,10 +243392,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -117879,18 +243401,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class chronologizeKeyRecordStartEnd_argsStandardSchemeFactory + private static class selectKeysRecords_argsStandardSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartEnd_argsStandardScheme getScheme() { - return new chronologizeKeyRecordStartEnd_argsStandardScheme(); + public selectKeysRecords_argsStandardScheme getScheme() { + return new selectKeysRecords_argsStandardScheme(); } } - private static class chronologizeKeyRecordStartEnd_argsStandardScheme - extends StandardScheme { + private static class selectKeysRecords_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - chronologizeKeyRecordStartEnd_args struct) + selectKeysRecords_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -117900,47 +243422,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1280 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list1280.size); + String _elem1281; + for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) { + _elem1281 = iprot.readString(); + struct.keys.add(_elem1281); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // TEND - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1283 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1283.size); + long _elem1284; + for (int _i1285 = 0; _i1285 < _list1283.size; ++_i1285) { + _elem1284 = iprot.readI64(); + struct.records.add(_elem1284); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 5: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -117951,7 +243475,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -117962,7 +243486,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 7: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -117986,25 +243510,39 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - chronologizeKeyRecordStartEnd_args struct) + selectKeysRecords_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter1286 : struct.keys) { + oprot.writeString(_iter1286); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1287 : struct.records) { + oprot.writeI64(_iter1287); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeI64(struct.tend); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -118026,55 +243564,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class chronologizeKeyRecordStartEnd_argsTupleSchemeFactory + private static class selectKeysRecords_argsTupleSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartEnd_argsTupleScheme getScheme() { - return new chronologizeKeyRecordStartEnd_argsTupleScheme(); + public selectKeysRecords_argsTupleScheme getScheme() { + return new selectKeysRecords_argsTupleScheme(); } } - private static class chronologizeKeyRecordStartEnd_argsTupleScheme - extends TupleScheme { + private static class selectKeysRecords_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartEnd_args struct) + selectKeysRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetStart()) { - optionals.set(2); - } - if(struct.isSetTend()) { - optionals.set(3); - } if(struct.isSetCreds()) { - optionals.set(4); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(5); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(6); - } - oprot.writeBitSet(optionals, 7); - if(struct.isSetKey()) { - oprot.writeString(struct.key); - } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + optionals.set(4); } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); + oprot.writeBitSet(optionals, 5); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter1288 : struct.keys) { + oprot.writeString(_iter1288); + } + } } - if(struct.isSetTend()) { - oprot.writeI64(struct.tend); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1289 : struct.records) { + oprot.writeI64(_iter1289); + } + } } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -118089,37 +243625,49 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartEnd_args struct) + selectKeysRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(7); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list1290 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list1290.size); + String _elem1291; + for (int _i1292 = 0; _i1292 < _list1290.size; ++_i1292) { + _elem1291 = iprot.readString(); + struct.keys.add(_elem1291); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + { + org.apache.thrift.protocol.TList _list1293 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1293.size); + long _elem1294; + for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) { + _elem1294 = iprot.readI64(); + struct.records.add(_elem1294); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(2)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); - } - if(incoming.get(3)) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); - } - if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(6)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -118128,13 +243676,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class chronologizeKeyRecordStartEnd_result implements - org.apache.thrift.TBase, + public static class selectKeysRecords_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "chronologizeKeyRecordStartEnd_result"); + "selectKeysRecords_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -118148,12 +243696,12 @@ public static class chronologizeKeyRecordStartEnd_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new chronologizeKeyRecordStartEnd_resultStandardSchemeFactory()); + new selectKeysRecords_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new chronologizeKeyRecordStartEnd_resultTupleSchemeFactory()); + new selectKeysRecords_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -118245,11 +243793,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -118267,13 +243819,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - chronologizeKeyRecordStartEnd_result.class, metaDataMap); + selectKeysRecords_result.class, metaDataMap); } - public chronologizeKeyRecordStartEnd_result() {} + public selectKeysRecords_result() {} - public chronologizeKeyRecordStartEnd_result( - Map> success, + public selectKeysRecords_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -118287,26 +243839,42 @@ public chronologizeKeyRecordStartEnd_result( /** * Performs a deep copy on other. */ - public chronologizeKeyRecordStartEnd_result( - chronologizeKeyRecordStartEnd_result other) { + public selectKeysRecords_result(selectKeysRecords_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + Map> other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -118328,8 +243896,8 @@ public chronologizeKeyRecordStartEnd_result( } } - public chronologizeKeyRecordStartEnd_result deepCopy() { - return new chronologizeKeyRecordStartEnd_result(this); + public selectKeysRecords_result deepCopy() { + return new selectKeysRecords_result(this); } @Override @@ -118345,19 +243913,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public chronologizeKeyRecordStartEnd_result setSuccess( - Map> success) { + public selectKeysRecords_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -118384,7 +243952,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public chronologizeKeyRecordStartEnd_result setEx( + public selectKeysRecords_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -118412,7 +243980,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public chronologizeKeyRecordStartEnd_result setEx2( + public selectKeysRecords_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -118440,7 +244008,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public chronologizeKeyRecordStartEnd_result setEx3( + public selectKeysRecords_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -118472,7 +244040,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>>) value); } break; @@ -118550,12 +244118,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof chronologizeKeyRecordStartEnd_result) - return this.equals((chronologizeKeyRecordStartEnd_result) that); + if(that instanceof selectKeysRecords_result) + return this.equals((selectKeysRecords_result) that); return false; } - public boolean equals(chronologizeKeyRecordStartEnd_result that) { + public boolean equals(selectKeysRecords_result that) { if(that == null) return false; @@ -118626,7 +244194,7 @@ public int hashCode() { } @Override - public int compareTo(chronologizeKeyRecordStartEnd_result other) { + public int compareTo(selectKeysRecords_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -118701,8 +244269,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "chronologizeKeyRecordStartEnd_result("); + StringBuilder sb = new StringBuilder("selectKeysRecords_result("); boolean first = true; sb.append("success:"); @@ -118776,18 +244343,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class chronologizeKeyRecordStartEnd_resultStandardSchemeFactory + private static class selectKeysRecords_resultStandardSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartEnd_resultStandardScheme getScheme() { - return new chronologizeKeyRecordStartEnd_resultStandardScheme(); + public selectKeysRecords_resultStandardScheme getScheme() { + return new selectKeysRecords_resultStandardScheme(); } } - private static class chronologizeKeyRecordStartEnd_resultStandardScheme - extends StandardScheme { + private static class selectKeysRecords_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - chronologizeKeyRecordStartEnd_result struct) + selectKeysRecords_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -118800,28 +244367,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map334 = iprot + org.apache.thrift.protocol.TMap _map1296 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map334.size); - long _key335; - Set _val336; - for (int _i337 = 0; _i337 < _map334.size; ++_i337) { - _key335 = iprot.readI64(); + struct.success = new LinkedHashMap>>( + 2 * _map1296.size); + long _key1297; + Map> _val1298; + for (int _i1299 = 0; _i1299 < _map1296.size; ++_i1299) { + _key1297 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set338 = iprot - .readSetBegin(); - _val336 = new LinkedHashSet( - 2 * _set338.size); - com.cinchapi.concourse.thrift.TObject _elem339; - for (int _i340 = 0; _i340 < _set338.size; ++_i340) { - _elem339 = new com.cinchapi.concourse.thrift.TObject(); - _elem339.read(iprot); - _val336.add(_elem339); + org.apache.thrift.protocol.TMap _map1300 = iprot + .readMapBegin(); + _val1298 = new LinkedHashMap>( + 2 * _map1300.size); + String _key1301; + Set _val1302; + for (int _i1303 = 0; _i1303 < _map1300.size; ++_i1303) { + _key1301 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1304 = iprot + .readSetBegin(); + _val1302 = new LinkedHashSet( + 2 * _set1304.size); + com.cinchapi.concourse.thrift.TObject _elem1305; + for (int _i1306 = 0; _i1306 < _set1304.size; ++_i1306) { + _elem1305 = new com.cinchapi.concourse.thrift.TObject(); + _elem1305.read(iprot); + _val1302.add(_elem1305); + } + iprot.readSetEnd(); + } + _val1298.put(_key1301, _val1302); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key335, _val336); + struct.success.put(_key1297, _val1298); } iprot.readMapEnd(); } @@ -118879,7 +244459,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - chronologizeKeyRecordStartEnd_result struct) + selectKeysRecords_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -118889,21 +244469,34 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter341 : struct.success + for (Map.Entry>> _iter1307 : struct.success .entrySet()) { - oprot.writeI64(_iter341.getKey()); + oprot.writeI64(_iter1307.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter341.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter342 : _iter341 - .getValue()) { - _iter342.write(oprot); + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1307.getValue().size())); + for (Map.Entry> _iter1308 : _iter1307 + .getValue().entrySet()) { + oprot.writeString(_iter1308.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1308.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1309 : _iter1308 + .getValue()) { + _iter1309.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -118931,19 +244524,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class chronologizeKeyRecordStartEnd_resultTupleSchemeFactory + private static class selectKeysRecords_resultTupleSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartEnd_resultTupleScheme getScheme() { - return new chronologizeKeyRecordStartEnd_resultTupleScheme(); + public selectKeysRecords_resultTupleScheme getScheme() { + return new selectKeysRecords_resultTupleScheme(); } } - private static class chronologizeKeyRecordStartEnd_resultTupleScheme - extends TupleScheme { + private static class selectKeysRecords_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartEnd_result struct) + selectKeysRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -118963,14 +244556,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter343 : struct.success + for (Map.Entry>> _iter1310 : struct.success .entrySet()) { - oprot.writeI64(_iter343.getKey()); + oprot.writeI64(_iter1310.getKey()); { - oprot.writeI32(_iter343.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter344 : _iter343 - .getValue()) { - _iter344.write(oprot); + oprot.writeI32(_iter1310.getValue().size()); + for (Map.Entry> _iter1311 : _iter1310 + .getValue().entrySet()) { + oprot.writeString(_iter1311.getKey()); + { + oprot.writeI32( + _iter1311.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1312 : _iter1311 + .getValue()) { + _iter1312.write(oprot); + } + } } } } @@ -118989,36 +244590,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartEnd_result struct) + selectKeysRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map345 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map1313 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map345.size); - long _key346; - Set _val347; - for (int _i348 = 0; _i348 < _map345.size; ++_i348) { - _key346 = iprot.readI64(); + struct.success = new LinkedHashMap>>( + 2 * _map1313.size); + long _key1314; + Map> _val1315; + for (int _i1316 = 0; _i1316 < _map1313.size; ++_i1316) { + _key1314 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set349 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TMap _map1317 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val347 = new LinkedHashSet( - 2 * _set349.size); - com.cinchapi.concourse.thrift.TObject _elem350; - for (int _i351 = 0; _i351 < _set349.size; ++_i351) { - _elem350 = new com.cinchapi.concourse.thrift.TObject(); - _elem350.read(iprot); - _val347.add(_elem350); + _val1315 = new LinkedHashMap>( + 2 * _map1317.size); + String _key1318; + Set _val1319; + for (int _i1320 = 0; _i1320 < _map1317.size; ++_i1320) { + _key1318 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1321 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1319 = new LinkedHashSet( + 2 * _set1321.size); + com.cinchapi.concourse.thrift.TObject _elem1322; + for (int _i1323 = 0; _i1323 < _set1321.size; ++_i1323) { + _elem1322 = new com.cinchapi.concourse.thrift.TObject(); + _elem1322.read(iprot); + _val1319.add(_elem1322); + } + } + _val1315.put(_key1318, _val1319); } } - struct.success.put(_key346, _val347); + struct.success.put(_key1314, _val1315); } } struct.setSuccessIsSet(true); @@ -119043,43 +244658,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class chronologizeKeyRecordStartstrEndstr_args implements - org.apache.thrift.TBase, + public static class selectKeysRecordsOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "chronologizeKeyRecordStartstrEndstr_args"); + "selectKeysRecordsOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 3); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.STRING, (short) 4); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 6); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 7); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new chronologizeKeyRecordStartstrEndstr_argsStandardSchemeFactory()); + new selectKeysRecordsOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new chronologizeKeyRecordStartstrEndstr_argsTupleSchemeFactory()); + new selectKeysRecordsOrder_argsTupleSchemeFactory()); } - public String key; // required - public long record; // required - public String start; // required - public String tend; // required + public List keys; // required + public List records; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -119089,13 +244701,12 @@ public static class chronologizeKeyRecordStartstrEndstr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - RECORD((short) 2, "record"), - START((short) 3, "start"), - TEND((short) 4, "tend"), - CREDS((short) 5, "creds"), - TRANSACTION((short) 6, "transaction"), - ENVIRONMENT((short) 7, "environment"); + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -119111,19 +244722,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // RECORD - return RECORD; - case 3: // START - return START; - case 4: // TEND - return TEND; - case 5: // CREDS + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 6: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 7: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -119169,32 +244778,30 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -119214,23 +244821,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - chronologizeKeyRecordStartstrEndstr_args.class, - metaDataMap); + selectKeysRecordsOrder_args.class, metaDataMap); } - public chronologizeKeyRecordStartstrEndstr_args() {} + public selectKeysRecordsOrder_args() {} - public chronologizeKeyRecordStartstrEndstr_args(String key, long record, - String start, String tend, + public selectKeysRecordsOrder_args(List keys, + List records, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.record = record; - setRecordIsSet(true); - this.start = start; - this.tend = tend; + this.keys = keys; + this.records = records; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -119239,18 +244843,18 @@ public chronologizeKeyRecordStartstrEndstr_args(String key, long record, /** * Performs a deep copy on other. */ - public chronologizeKeyRecordStartstrEndstr_args( - chronologizeKeyRecordStartstrEndstr_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public selectKeysRecordsOrder_args(selectKeysRecordsOrder_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - this.record = other.record; - if(other.isSetStart()) { - this.start = other.start; + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; } - if(other.isSetTend()) { - this.tend = other.tend; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -119265,128 +244869,129 @@ public chronologizeKeyRecordStartstrEndstr_args( } } - public chronologizeKeyRecordStartstrEndstr_args deepCopy() { - return new chronologizeKeyRecordStartstrEndstr_args(this); + public selectKeysRecordsOrder_args deepCopy() { + return new selectKeysRecordsOrder_args(this); } @Override public void clear() { - this.key = null; - setRecordIsSet(false); - this.record = 0; - this.start = null; - this.tend = null; + this.keys = null; + this.records = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public chronologizeKeyRecordStartstrEndstr_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysRecordsOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } - public long getRecord() { - return this.record; - } - - public chronologizeKeyRecordStartstrEndstr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); } - public String getStart() { - return this.start; + public List getRecords() { + return this.records; } - public chronologizeKeyRecordStartstrEndstr_args setStart(String start) { - this.start = start; + public selectKeysRecordsOrder_args setRecords(List records) { + this.records = records; return this; } - public void unsetStart() { - this.start = null; + public void unsetRecords() { + this.records = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetRecords() { + return this.records != null; } - public void setStartIsSet(boolean value) { + public void setRecordsIsSet(boolean value) { if(!value) { - this.start = null; + this.records = null; } } - public String getTend() { - return this.tend; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public chronologizeKeyRecordStartstrEndstr_args setTend(String tend) { - this.tend = tend; + public selectKeysRecordsOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetTend() { - this.tend = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field tend is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetTend() { - return this.tend != null; + public boolean isSetOrder() { + return this.order != null; } - public void setTendIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.tend = null; + this.order = null; } } @@ -119394,7 +244999,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public chronologizeKeyRecordStartstrEndstr_args setCreds( + public selectKeysRecordsOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -119422,7 +245027,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public chronologizeKeyRecordStartstrEndstr_args setTransaction( + public selectKeysRecordsOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -119450,8 +245055,7 @@ public String getEnvironment() { return this.environment; } - public chronologizeKeyRecordStartstrEndstr_args setEnvironment( - String environment) { + public selectKeysRecordsOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -119476,39 +245080,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case RECORD: + case KEYS: if(value == null) { - unsetRecord(); + unsetKeys(); } else { - setRecord((Long) value); + setKeys((List) value); } break; - case START: + case RECORDS: if(value == null) { - unsetStart(); + unsetRecords(); } else { - setStart((String) value); + setRecords((List) value); } break; - case TEND: + case ORDER: if(value == null) { - unsetTend(); + unsetOrder(); } else { - setTend((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -119545,17 +245140,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case RECORD: - return getRecord(); + case KEYS: + return getKeys(); - case START: - return getStart(); + case RECORDS: + return getRecords(); - case TEND: - return getTend(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -119580,14 +245172,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -119602,49 +245192,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof chronologizeKeyRecordStartstrEndstr_args) - return this.equals( - (chronologizeKeyRecordStartstrEndstr_args) that); + if(that instanceof selectKeysRecordsOrder_args) + return this.equals((selectKeysRecordsOrder_args) that); return false; } - public boolean equals(chronologizeKeyRecordStartstrEndstr_args that) { + public boolean equals(selectKeysRecordsOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(this.record != that.record) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(!this.start.equals(that.start)) + if(!this.records.equals(that.records)) return false; } - boolean this_present_tend = true && this.isSetTend(); - boolean that_present_tend = true && that.isSetTend(); - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.tend.equals(that.tend)) + if(!this.order.equals(that.order)) return false; } @@ -119682,25 +245262,20 @@ public boolean equals(chronologizeKeyRecordStartstrEndstr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); - boolean present_tend = true && (isSetTend()); - list.add(present_tend); - if(present_tend) - list.add(tend); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -119721,7 +245296,7 @@ public int hashCode() { } @Override - public int compareTo(chronologizeKeyRecordStartstrEndstr_args other) { + public int compareTo(selectKeysRecordsOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -119729,50 +245304,38 @@ public int compareTo(chronologizeKeyRecordStartstrEndstr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTend()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -119833,40 +245396,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "chronologizeKeyRecordStartstrEndstr_args("); + "selectKeysRecordsOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - if(this.start == null) { + sb.append("records:"); + if(this.records == null) { sb.append("null"); } else { - sb.append(this.start); + sb.append(this.records); } first = false; if(!first) sb.append(", "); - sb.append("tend:"); - if(this.tend == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.tend); + sb.append(this.order); } first = false; if(!first) @@ -119906,6 +245464,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -119929,10 +245490,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -119942,19 +245499,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class chronologizeKeyRecordStartstrEndstr_argsStandardSchemeFactory + private static class selectKeysRecordsOrder_argsStandardSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartstrEndstr_argsStandardScheme getScheme() { - return new chronologizeKeyRecordStartstrEndstr_argsStandardScheme(); + public selectKeysRecordsOrder_argsStandardScheme getScheme() { + return new selectKeysRecordsOrder_argsStandardScheme(); } } - private static class chronologizeKeyRecordStartstrEndstr_argsStandardScheme - extends - StandardScheme { + private static class selectKeysRecordsOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - chronologizeKeyRecordStartstrEndstr_args struct) + selectKeysRecordsOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -119964,47 +245520,60 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1324 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list1324.size); + String _elem1325; + for (int _i1326 = 0; _i1326 < _list1324.size; ++_i1326) { + _elem1325 = iprot.readString(); + struct.keys.add(_elem1325); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // START - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1327 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1327.size); + long _elem1328; + for (int _i1329 = 0; _i1329 < _list1327.size; ++_i1329) { + _elem1328 = iprot.readI64(); + struct.records.add(_elem1328); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // TEND - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 5: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -120015,7 +245584,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -120026,7 +245595,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 7: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -120050,27 +245619,42 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - chronologizeKeyRecordStartstrEndstr_args struct) + selectKeysRecordsOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter1330 : struct.keys) { + oprot.writeString(_iter1330); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1331 : struct.records) { + oprot.writeI64(_iter1331); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - if(struct.tend != null) { - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeString(struct.tend); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -120094,55 +245678,59 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class chronologizeKeyRecordStartstrEndstr_argsTupleSchemeFactory + private static class selectKeysRecordsOrder_argsTupleSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartstrEndstr_argsTupleScheme getScheme() { - return new chronologizeKeyRecordStartstrEndstr_argsTupleScheme(); + public selectKeysRecordsOrder_argsTupleScheme getScheme() { + return new selectKeysRecordsOrder_argsTupleScheme(); } } - private static class chronologizeKeyRecordStartstrEndstr_argsTupleScheme - extends TupleScheme { + private static class selectKeysRecordsOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartstrEndstr_args struct) + selectKeysRecordsOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetStart()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetTend()) { - optionals.set(3); - } if(struct.isSetCreds()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetTransaction()) { - optionals.set(5); + optionals.set(4); } if(struct.isSetEnvironment()) { - optionals.set(6); - } - oprot.writeBitSet(optionals, 7); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + optionals.set(5); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter1332 : struct.keys) { + oprot.writeString(_iter1332); + } + } } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1333 : struct.records) { + oprot.writeI64(_iter1333); + } + } } - if(struct.isSetTend()) { - oprot.writeString(struct.tend); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -120157,37 +245745,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartstrEndstr_args struct) + selectKeysRecordsOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(7); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list1334 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list1334.size); + String _elem1335; + for (int _i1336 = 0; _i1336 < _list1334.size; ++_i1336) { + _elem1335 = iprot.readString(); + struct.keys.add(_elem1335); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + { + org.apache.thrift.protocol.TList _list1337 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1337.size); + long _elem1338; + for (int _i1339 = 0; _i1339 < _list1337.size; ++_i1339) { + _elem1338 = iprot.readI64(); + struct.records.add(_elem1338); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(2)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); - } - if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(6)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -120196,13 +245801,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class chronologizeKeyRecordStartstrEndstr_result implements - org.apache.thrift.TBase, + public static class selectKeysRecordsOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "chronologizeKeyRecordStartstrEndstr_result"); + "selectKeysRecordsOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -120212,22 +245817,19 @@ public static class chronologizeKeyRecordStartstrEndstr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new chronologizeKeyRecordStartstrEndstr_resultStandardSchemeFactory()); + new selectKeysRecordsOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new chronologizeKeyRecordStartstrEndstr_resultTupleSchemeFactory()); + new selectKeysRecordsOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -120237,8 +245839,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -120262,8 +245863,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -120319,11 +245918,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -120339,56 +245942,65 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - chronologizeKeyRecordStartstrEndstr_result.class, - metaDataMap); + selectKeysRecordsOrder_result.class, metaDataMap); } - public chronologizeKeyRecordStartstrEndstr_result() {} + public selectKeysRecordsOrder_result() {} - public chronologizeKeyRecordStartstrEndstr_result( - Map> success, + public selectKeysRecordsOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public chronologizeKeyRecordStartstrEndstr_result( - chronologizeKeyRecordStartstrEndstr_result other) { + public selectKeysRecordsOrder_result( + selectKeysRecordsOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + Map> other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -120405,17 +246017,13 @@ public chronologizeKeyRecordStartstrEndstr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public chronologizeKeyRecordStartstrEndstr_result deepCopy() { - return new chronologizeKeyRecordStartstrEndstr_result(this); + public selectKeysRecordsOrder_result deepCopy() { + return new selectKeysRecordsOrder_result(this); } @Override @@ -120424,7 +246032,6 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { @@ -120432,19 +246039,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public chronologizeKeyRecordStartstrEndstr_result setSuccess( - Map> success) { + public selectKeysRecordsOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -120471,7 +246078,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public chronologizeKeyRecordStartstrEndstr_result setEx( + public selectKeysRecordsOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -120499,7 +246106,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public chronologizeKeyRecordStartstrEndstr_result setEx2( + public selectKeysRecordsOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -120523,12 +246130,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public chronologizeKeyRecordStartstrEndstr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public selectKeysRecordsOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -120551,34 +246158,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public chronologizeKeyRecordStartstrEndstr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -120587,7 +246166,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>>) value); } break; @@ -120614,16 +246193,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -120644,9 +246214,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -120669,8 +246236,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -120679,13 +246244,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof chronologizeKeyRecordStartstrEndstr_result) - return this.equals( - (chronologizeKeyRecordStartstrEndstr_result) that); + if(that instanceof selectKeysRecordsOrder_result) + return this.equals((selectKeysRecordsOrder_result) that); return false; } - public boolean equals(chronologizeKeyRecordStartstrEndstr_result that) { + public boolean equals(selectKeysRecordsOrder_result that) { if(that == null) return false; @@ -120725,15 +246289,6 @@ public boolean equals(chronologizeKeyRecordStartstrEndstr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -120761,16 +246316,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(chronologizeKeyRecordStartstrEndstr_result other) { + public int compareTo(selectKeysRecordsOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -120826,18 +246376,6 @@ public int compareTo(chronologizeKeyRecordStartstrEndstr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -120858,7 +246396,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "chronologizeKeyRecordStartstrEndstr_result("); + "selectKeysRecordsOrder_result("); boolean first = true; sb.append("success:"); @@ -120899,16 +246437,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -120942,19 +246470,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class chronologizeKeyRecordStartstrEndstr_resultStandardSchemeFactory + private static class selectKeysRecordsOrder_resultStandardSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartstrEndstr_resultStandardScheme getScheme() { - return new chronologizeKeyRecordStartstrEndstr_resultStandardScheme(); + public selectKeysRecordsOrder_resultStandardScheme getScheme() { + return new selectKeysRecordsOrder_resultStandardScheme(); } } - private static class chronologizeKeyRecordStartstrEndstr_resultStandardScheme - extends - StandardScheme { + private static class selectKeysRecordsOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - chronologizeKeyRecordStartstrEndstr_result struct) + selectKeysRecordsOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -120967,28 +246494,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map352 = iprot + org.apache.thrift.protocol.TMap _map1340 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map352.size); - long _key353; - Set _val354; - for (int _i355 = 0; _i355 < _map352.size; ++_i355) { - _key353 = iprot.readI64(); + struct.success = new LinkedHashMap>>( + 2 * _map1340.size); + long _key1341; + Map> _val1342; + for (int _i1343 = 0; _i1343 < _map1340.size; ++_i1343) { + _key1341 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set356 = iprot - .readSetBegin(); - _val354 = new LinkedHashSet( - 2 * _set356.size); - com.cinchapi.concourse.thrift.TObject _elem357; - for (int _i358 = 0; _i358 < _set356.size; ++_i358) { - _elem357 = new com.cinchapi.concourse.thrift.TObject(); - _elem357.read(iprot); - _val354.add(_elem357); + org.apache.thrift.protocol.TMap _map1344 = iprot + .readMapBegin(); + _val1342 = new LinkedHashMap>( + 2 * _map1344.size); + String _key1345; + Set _val1346; + for (int _i1347 = 0; _i1347 < _map1344.size; ++_i1347) { + _key1345 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1348 = iprot + .readSetBegin(); + _val1346 = new LinkedHashSet( + 2 * _set1348.size); + com.cinchapi.concourse.thrift.TObject _elem1349; + for (int _i1350 = 0; _i1350 < _set1348.size; ++_i1350) { + _elem1349 = new com.cinchapi.concourse.thrift.TObject(); + _elem1349.read(iprot); + _val1346.add(_elem1349); + } + iprot.readSetEnd(); + } + _val1342.put(_key1345, _val1346); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key353, _val354); + struct.success.put(_key1341, _val1342); } iprot.readMapEnd(); } @@ -121023,7 +246563,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -121032,17 +246572,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -121057,7 +246586,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - chronologizeKeyRecordStartstrEndstr_result struct) + selectKeysRecordsOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -121067,21 +246596,34 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter359 : struct.success + for (Map.Entry>> _iter1351 : struct.success .entrySet()) { - oprot.writeI64(_iter359.getKey()); + oprot.writeI64(_iter1351.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter359.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter360 : _iter359 - .getValue()) { - _iter360.write(oprot); + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1351.getValue().size())); + for (Map.Entry> _iter1352 : _iter1351 + .getValue().entrySet()) { + oprot.writeString(_iter1352.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1352.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1353 : _iter1352 + .getValue()) { + _iter1353.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -121103,31 +246645,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class chronologizeKeyRecordStartstrEndstr_resultTupleSchemeFactory + private static class selectKeysRecordsOrder_resultTupleSchemeFactory implements SchemeFactory { - public chronologizeKeyRecordStartstrEndstr_resultTupleScheme getScheme() { - return new chronologizeKeyRecordStartstrEndstr_resultTupleScheme(); + public selectKeysRecordsOrder_resultTupleScheme getScheme() { + return new selectKeysRecordsOrder_resultTupleScheme(); } } - private static class chronologizeKeyRecordStartstrEndstr_resultTupleScheme - extends - TupleScheme { + private static class selectKeysRecordsOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartstrEndstr_result struct) + selectKeysRecordsOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -121143,21 +246679,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter361 : struct.success + for (Map.Entry>> _iter1354 : struct.success .entrySet()) { - oprot.writeI64(_iter361.getKey()); + oprot.writeI64(_iter1354.getKey()); { - oprot.writeI32(_iter361.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter362 : _iter361 - .getValue()) { - _iter362.write(oprot); + oprot.writeI32(_iter1354.getValue().size()); + for (Map.Entry> _iter1355 : _iter1354 + .getValue().entrySet()) { + oprot.writeString(_iter1355.getKey()); + { + oprot.writeI32( + _iter1355.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1356 : _iter1355 + .getValue()) { + _iter1356.write(oprot); + } + } } } } @@ -121172,43 +246713,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - chronologizeKeyRecordStartstrEndstr_result struct) + selectKeysRecordsOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map363 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map1357 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map363.size); - long _key364; - Set _val365; - for (int _i366 = 0; _i366 < _map363.size; ++_i366) { - _key364 = iprot.readI64(); + struct.success = new LinkedHashMap>>( + 2 * _map1357.size); + long _key1358; + Map> _val1359; + for (int _i1360 = 0; _i1360 < _map1357.size; ++_i1360) { + _key1358 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set367 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TMap _map1361 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val365 = new LinkedHashSet( - 2 * _set367.size); - com.cinchapi.concourse.thrift.TObject _elem368; - for (int _i369 = 0; _i369 < _set367.size; ++_i369) { - _elem368 = new com.cinchapi.concourse.thrift.TObject(); - _elem368.read(iprot); - _val365.add(_elem368); + _val1359 = new LinkedHashMap>( + 2 * _map1361.size); + String _key1362; + Set _val1363; + for (int _i1364 = 0; _i1364 < _map1361.size; ++_i1364) { + _key1362 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1365 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1363 = new LinkedHashSet( + 2 * _set1365.size); + com.cinchapi.concourse.thrift.TObject _elem1366; + for (int _i1367 = 0; _i1367 < _set1365.size; ++_i1367) { + _elem1366 = new com.cinchapi.concourse.thrift.TObject(); + _elem1366.read(iprot); + _val1363.add(_elem1366); + } + } + _val1359.put(_key1362, _val1363); } } - struct.success.put(_key364, _val365); + struct.success.put(_key1358, _val1359); } } struct.setSuccessIsSet(true); @@ -121224,48 +246776,46 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class clearRecord_args implements - org.apache.thrift.TBase, + public static class selectKeyRecords_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearRecord_args"); + "selectKeyRecords_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearRecord_argsStandardSchemeFactory()); + new selectKeyRecords_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearRecord_argsTupleSchemeFactory()); + new selectKeyRecords_argsTupleSchemeFactory()); } - public long record; // required + public String key; // required + public List records; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -121275,10 +246825,11 @@ public static class clearRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEY((short) 1, "key"), + RECORDS((short) 2, "records"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -121294,13 +246845,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // CREDS + case 1: // KEY + return KEY; + case 2: // RECORDS + return RECORDS; + case 3: // CREDS return CREDS; - case 3: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -121346,17 +246899,22 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -121375,19 +246933,19 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(clearRecord_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyRecords_args.class, metaDataMap); } - public clearRecord_args() {} + public selectKeyRecords_args() {} - public clearRecord_args(long record, + public selectKeyRecords_args(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); + this.key = key; + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -121396,9 +246954,14 @@ public clearRecord_args(long record, /** * Performs a deep copy on other. */ - public clearRecord_args(clearRecord_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; + public selectKeyRecords_args(selectKeyRecords_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -121412,52 +246975,93 @@ public clearRecord_args(clearRecord_args other) { } } - public clearRecord_args deepCopy() { - return new clearRecord_args(this); + public selectKeyRecords_args deepCopy() { + return new selectKeyRecords_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; + this.key = null; + this.records = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public String getKey() { + return this.key; } - public clearRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectKeyRecords_args setKey(String key) { + this.key = key; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetKey() { + this.key = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetKey() { + return this.key != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public selectKeyRecords_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public clearRecord_args setCreds( + public selectKeyRecords_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -121485,7 +247089,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public clearRecord_args setTransaction( + public selectKeyRecords_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -121513,7 +247117,7 @@ public String getEnvironment() { return this.environment; } - public clearRecord_args setEnvironment(String environment) { + public selectKeyRecords_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -121538,12 +247142,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case KEY: if(value == null) { - unsetRecord(); + unsetKey(); } else { - setRecord((Long) value); + setKey((String) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); } break; @@ -121580,8 +247193,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case KEY: + return getKey(); + + case RECORDS: + return getRecords(); case CREDS: return getCreds(); @@ -121606,8 +247222,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); + case KEY: + return isSetKey(); + case RECORDS: + return isSetRecords(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -121622,21 +247240,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearRecord_args) - return this.equals((clearRecord_args) that); + if(that instanceof selectKeyRecords_args) + return this.equals((selectKeyRecords_args) that); return false; } - public boolean equals(clearRecord_args that) { + public boolean equals(selectKeyRecords_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(this.record != that.record) + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) return false; } @@ -121674,10 +247301,15 @@ public boolean equals(clearRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -121698,7 +247330,7 @@ public int hashCode() { } @Override - public int compareTo(clearRecord_args other) { + public int compareTo(selectKeyRecords_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -121706,14 +247338,26 @@ public int compareTo(clearRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } @@ -121773,11 +247417,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearRecord_args("); + StringBuilder sb = new StringBuilder("selectKeyRecords_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } first = false; if(!first) sb.append(", "); @@ -121839,10 +247498,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -121852,18 +247507,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearRecord_argsStandardSchemeFactory + private static class selectKeyRecords_argsStandardSchemeFactory implements SchemeFactory { - public clearRecord_argsStandardScheme getScheme() { - return new clearRecord_argsStandardScheme(); + public selectKeyRecords_argsStandardScheme getScheme() { + return new selectKeyRecords_argsStandardScheme(); } } - private static class clearRecord_argsStandardScheme - extends StandardScheme { + private static class selectKeyRecords_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearRecord_args struct) + selectKeyRecords_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -121873,17 +247528,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1368 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1368.size); + long _elem1369; + for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) { + _elem1369 = iprot.readI64(); + struct.records.add(_elem1369); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -121894,7 +247570,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -121905,7 +247581,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -121929,14 +247605,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearRecord_args struct) + selectKeyRecords_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1371 : struct.records) { + oprot.writeI64(_iter1371); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -121958,37 +247650,48 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class clearRecord_argsTupleSchemeFactory + private static class selectKeyRecords_argsTupleSchemeFactory implements SchemeFactory { - public clearRecord_argsTupleScheme getScheme() { - return new clearRecord_argsTupleScheme(); + public selectKeyRecords_argsTupleScheme getScheme() { + return new selectKeyRecords_argsTupleScheme(); } } - private static class clearRecord_argsTupleScheme - extends TupleScheme { + private static class selectKeyRecords_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearRecord_args struct) + selectKeyRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1372 : struct.records) { + oprot.writeI64(_iter1372); + } + } } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -122003,25 +247706,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearRecord_args struct) + selectKeyRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list1373 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1373.size); + long _elem1374; + for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) { + _elem1374 = iprot.readI64(); + struct.records.add(_elem1374); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -122030,14 +247747,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class clearRecord_result implements - org.apache.thrift.TBase, + public static class selectKeyRecords_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearRecord_result"); + "selectKeyRecords_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -122048,11 +247767,12 @@ public static class clearRecord_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearRecord_resultStandardSchemeFactory()); + new selectKeyRecords_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearRecord_resultTupleSchemeFactory()); + new selectKeyRecords_resultTupleSchemeFactory()); } + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -122062,7 +247782,10 @@ public static class clearRecord_result implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -122078,6 +247801,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; case 2: // EX2 @@ -122132,6 +247857,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -122149,16 +247886,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - clearRecord_result.class, metaDataMap); + selectKeyRecords_result.class, metaDataMap); } - public clearRecord_result() {} + public selectKeyRecords_result() {} - public clearRecord_result( + public selectKeyRecords_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { this(); + this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; @@ -122167,7 +247906,32 @@ public clearRecord_result( /** * Performs a deep copy on other. */ - public clearRecord_result(clearRecord_result other) { + public selectKeyRecords_result(selectKeyRecords_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -122182,22 +247946,63 @@ public clearRecord_result(clearRecord_result other) { } } - public clearRecord_result deepCopy() { - return new clearRecord_result(this); + public selectKeyRecords_result deepCopy() { + return new selectKeyRecords_result(this); } @Override public void clear() { + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; } + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public selectKeyRecords_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public clearRecord_result setEx( + public selectKeyRecords_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -122225,7 +248030,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public clearRecord_result setEx2( + public selectKeyRecords_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -122253,7 +248058,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public clearRecord_result setEx3( + public selectKeyRecords_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -122279,6 +248084,16 @@ public void setEx3IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -122311,6 +248126,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); @@ -122334,6 +248152,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); case EX2: @@ -122348,15 +248168,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearRecord_result) - return this.equals((clearRecord_result) that); + if(that instanceof selectKeyRecords_result) + return this.equals((selectKeyRecords_result) that); return false; } - public boolean equals(clearRecord_result that) { + public boolean equals(selectKeyRecords_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -122391,6 +248220,11 @@ public boolean equals(clearRecord_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -122410,7 +248244,7 @@ public int hashCode() { } @Override - public int compareTo(clearRecord_result other) { + public int compareTo(selectKeyRecords_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -122418,6 +248252,18 @@ public int compareTo(clearRecord_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -122473,9 +248319,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearRecord_result("); + StringBuilder sb = new StringBuilder("selectKeyRecords_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -122537,18 +248393,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearRecord_resultStandardSchemeFactory + private static class selectKeyRecords_resultStandardSchemeFactory implements SchemeFactory { - public clearRecord_resultStandardScheme getScheme() { - return new clearRecord_resultStandardScheme(); + public selectKeyRecords_resultStandardScheme getScheme() { + return new selectKeyRecords_resultStandardScheme(); } } - private static class clearRecord_resultStandardScheme - extends StandardScheme { + private static class selectKeyRecords_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearRecord_result struct) + selectKeyRecords_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -122558,6 +248414,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map1376 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map1376.size); + long _key1377; + Set _val1378; + for (int _i1379 = 0; _i1379 < _map1376.size; ++_i1379) { + _key1377 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1380 = iprot + .readSetBegin(); + _val1378 = new LinkedHashSet( + 2 * _set1380.size); + com.cinchapi.concourse.thrift.TObject _elem1381; + for (int _i1382 = 0; _i1382 < _set1380.size; ++_i1382) { + _elem1381 = new com.cinchapi.concourse.thrift.TObject(); + _elem1381.read(iprot); + _val1378.add(_elem1381); + } + iprot.readSetEnd(); + } + struct.success.put(_key1377, _val1378); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -122605,11 +248496,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearRecord_result struct) + selectKeyRecords_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter1383 : struct.success + .entrySet()) { + oprot.writeI64(_iter1383.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1383.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1384 : _iter1383 + .getValue()) { + _iter1384.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -122631,32 +248548,51 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class clearRecord_resultTupleSchemeFactory + private static class selectKeyRecords_resultTupleSchemeFactory implements SchemeFactory { - public clearRecord_resultTupleScheme getScheme() { - return new clearRecord_resultTupleScheme(); + public selectKeyRecords_resultTupleScheme getScheme() { + return new selectKeyRecords_resultTupleScheme(); } } - private static class clearRecord_resultTupleScheme - extends TupleScheme { + private static class selectKeyRecords_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearRecord_result struct) + selectKeyRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - if(struct.isSetEx2()) { + if(struct.isSetEx()) { optionals.set(1); } - if(struct.isSetEx3()) { + if(struct.isSetEx2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter1385 : struct.success + .entrySet()) { + oprot.writeI64(_iter1385.getKey()); + { + oprot.writeI32(_iter1385.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1386 : _iter1385 + .getValue()) { + _iter1386.write(oprot); + } + } + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -122670,21 +248606,51 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearRecord_result struct) + selectKeyRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map1387 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map1387.size); + long _key1388; + Set _val1389; + for (int _i1390 = 0; _i1390 < _map1387.size; ++_i1390) { + _key1388 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1391 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1389 = new LinkedHashSet( + 2 * _set1391.size); + com.cinchapi.concourse.thrift.TObject _elem1392; + for (int _i1393 = 0; _i1393 < _set1391.size; ++_i1393) { + _elem1392 = new com.cinchapi.concourse.thrift.TObject(); + _elem1392.read(iprot); + _val1389.add(_elem1392); + } + } + struct.success.put(_key1388, _val1389); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); @@ -122694,34 +248660,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class clearRecords_args implements - org.apache.thrift.TBase, + public static class selectKeyRecordsOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearRecords_args"); + "selectKeyRecordsOrder_args"); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearRecords_argsStandardSchemeFactory()); + new selectKeyRecordsOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearRecords_argsTupleSchemeFactory()); + new selectKeyRecordsOrder_argsTupleSchemeFactory()); } + public String key; // required public List records; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -122731,10 +248703,12 @@ public static class clearRecords_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORDS((short) 1, "records"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEY((short) 1, "key"), + RECORDS((short) 2, "records"), + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -122750,13 +248724,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORDS + case 1: // KEY + return KEY; + case 2: // RECORDS return RECORDS; - case 2: // CREDS + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 3: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -122806,6 +248784,11 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.RECORDS, new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -122813,6 +248796,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -122831,18 +248820,21 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(clearRecords_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyRecordsOrder_args.class, metaDataMap); } - public clearRecords_args() {} + public selectKeyRecordsOrder_args() {} - public clearRecords_args(List records, + public selectKeyRecordsOrder_args(String key, List records, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.key = key; this.records = records; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -122851,11 +248843,18 @@ public clearRecords_args(List records, /** * Performs a deep copy on other. */ - public clearRecords_args(clearRecords_args other) { + public selectKeyRecordsOrder_args(selectKeyRecordsOrder_args other) { + if(other.isSetKey()) { + this.key = other.key; + } if(other.isSetRecords()) { List __this__records = new ArrayList(other.records); this.records = __this__records; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -122869,18 +248868,47 @@ public clearRecords_args(clearRecords_args other) { } } - public clearRecords_args deepCopy() { - return new clearRecords_args(this); + public selectKeyRecordsOrder_args deepCopy() { + return new selectKeyRecordsOrder_args(this); } @Override public void clear() { + this.key = null; this.records = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } + public String getKey() { + return this.key; + } + + public selectKeyRecordsOrder_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + public int getRecordsSize() { return (this.records == null) ? 0 : this.records.size(); } @@ -122900,7 +248928,7 @@ public List getRecords() { return this.records; } - public clearRecords_args setRecords(List records) { + public selectKeyRecordsOrder_args setRecords(List records) { this.records = records; return this; } @@ -122923,11 +248951,39 @@ public void setRecordsIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeyRecordsOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public clearRecords_args setCreds( + public selectKeyRecordsOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -122955,7 +249011,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public clearRecords_args setTransaction( + public selectKeyRecordsOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -122983,7 +249039,7 @@ public String getEnvironment() { return this.environment; } - public clearRecords_args setEnvironment(String environment) { + public selectKeyRecordsOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -123008,6 +249064,15 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + case RECORDS: if(value == null) { unsetRecords(); @@ -123017,6 +249082,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -123050,9 +249124,15 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case KEY: + return getKey(); + case RECORDS: return getRecords(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -123076,8 +249156,12 @@ public boolean isSet(_Fields field) { } switch (field) { + case KEY: + return isSetKey(); case RECORDS: return isSetRecords(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -123092,15 +249176,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearRecords_args) - return this.equals((clearRecords_args) that); + if(that instanceof selectKeyRecordsOrder_args) + return this.equals((selectKeyRecordsOrder_args) that); return false; } - public boolean equals(clearRecords_args that) { + public boolean equals(selectKeyRecordsOrder_args that) { if(that == null) return false; + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + boolean this_present_records = true && this.isSetRecords(); boolean that_present_records = true && that.isSetRecords(); if(this_present_records || that_present_records) { @@ -123110,6 +249203,15 @@ public boolean equals(clearRecords_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -123144,11 +249246,21 @@ public boolean equals(clearRecords_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + boolean present_records = true && (isSetRecords()); list.add(present_records); if(present_records) list.add(records); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -123168,7 +249280,7 @@ public int hashCode() { } @Override - public int compareTo(clearRecords_args other) { + public int compareTo(selectKeyRecordsOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -123176,6 +249288,18 @@ public int compareTo(clearRecords_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetRecords()) .compareTo(other.isSetRecords()); if(lastComparison != 0) { @@ -123188,6 +249312,18 @@ public int compareTo(clearRecords_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -123243,9 +249379,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearRecords_args("); + StringBuilder sb = new StringBuilder("selectKeyRecordsOrder_args("); boolean first = true; + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); sb.append("records:"); if(this.records == null) { sb.append("null"); @@ -123254,6 +249400,16 @@ public String toString() { sb.append(this.records); } first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -123291,6 +249447,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -123323,18 +249482,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearRecords_argsStandardSchemeFactory + private static class selectKeyRecordsOrder_argsStandardSchemeFactory implements SchemeFactory { - public clearRecords_argsStandardScheme getScheme() { - return new clearRecords_argsStandardScheme(); + public selectKeyRecordsOrder_argsStandardScheme getScheme() { + return new selectKeyRecordsOrder_argsStandardScheme(); } } - private static class clearRecords_argsStandardScheme - extends StandardScheme { + private static class selectKeyRecordsOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearRecords_args struct) + selectKeyRecordsOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -123344,17 +249503,27 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORDS + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list370 = iprot + org.apache.thrift.protocol.TList _list1394 = iprot .readListBegin(); struct.records = new ArrayList( - _list370.size); - long _elem371; - for (int _i372 = 0; _i372 < _list370.size; ++_i372) { - _elem371 = iprot.readI64(); - struct.records.add(_elem371); + _list1394.size); + long _elem1395; + for (int _i1396 = 0; _i1396 < _list1394.size; ++_i1396) { + _elem1395 = iprot.readI64(); + struct.records.add(_elem1395); } iprot.readListEnd(); } @@ -123365,7 +249534,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // CREDS + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -123376,7 +249556,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -123387,7 +249567,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -123411,11 +249591,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearRecords_args struct) + selectKeyRecordsOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } if(struct.records != null) { oprot.writeFieldBegin(RECORDS_FIELD_DESC); { @@ -123423,13 +249608,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter373 : struct.records) { - oprot.writeI64(_iter373); + for (long _iter1397 : struct.records) { + oprot.writeI64(_iter1397); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -123451,43 +249641,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class clearRecords_argsTupleSchemeFactory + private static class selectKeyRecordsOrder_argsTupleSchemeFactory implements SchemeFactory { - public clearRecords_argsTupleScheme getScheme() { - return new clearRecords_argsTupleScheme(); + public selectKeyRecordsOrder_argsTupleScheme getScheme() { + return new selectKeyRecordsOrder_argsTupleScheme(); } } - private static class clearRecords_argsTupleScheme - extends TupleScheme { + private static class selectKeyRecordsOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearRecords_args struct) + selectKeyRecordsOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecords()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter374 : struct.records) { - oprot.writeI64(_iter374); + for (long _iter1398 : struct.records) { + oprot.writeI64(_iter1398); } } } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -123501,35 +249703,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearRecords_args struct) + selectKeyRecordsOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list375 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list1399 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list375.size); - long _elem376; - for (int _i377 = 0; _i377 < _list375.size; ++_i377) { - _elem376 = iprot.readI64(); - struct.records.add(_elem376); + struct.records = new ArrayList(_list1399.size); + long _elem1400; + for (int _i1401 = 0; _i1401 < _list1399.size; ++_i1401) { + _elem1400 = iprot.readI64(); + struct.records.add(_elem1400); } } struct.setRecordsIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -123538,14 +249749,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class clearRecords_result implements - org.apache.thrift.TBase, + public static class selectKeyRecordsOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearRecords_result"); + "selectKeyRecordsOrder_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -123556,11 +249769,12 @@ public static class clearRecords_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearRecords_resultStandardSchemeFactory()); + new selectKeyRecordsOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearRecords_resultTupleSchemeFactory()); + new selectKeyRecordsOrder_resultTupleSchemeFactory()); } + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -123570,7 +249784,10 @@ public static class clearRecords_result implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -123586,6 +249803,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; case 2: // EX2 @@ -123640,6 +249859,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -123657,16 +249888,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - clearRecords_result.class, metaDataMap); + selectKeyRecordsOrder_result.class, metaDataMap); } - public clearRecords_result() {} + public selectKeyRecordsOrder_result() {} - public clearRecords_result( + public selectKeyRecordsOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { this(); + this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; @@ -123675,7 +249908,33 @@ public clearRecords_result( /** * Performs a deep copy on other. */ - public clearRecords_result(clearRecords_result other) { + public selectKeyRecordsOrder_result( + selectKeyRecordsOrder_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -123690,22 +249949,63 @@ public clearRecords_result(clearRecords_result other) { } } - public clearRecords_result deepCopy() { - return new clearRecords_result(this); + public selectKeyRecordsOrder_result deepCopy() { + return new selectKeyRecordsOrder_result(this); } @Override public void clear() { + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; } + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public selectKeyRecordsOrder_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public clearRecords_result setEx( + public selectKeyRecordsOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -123733,7 +250033,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public clearRecords_result setEx2( + public selectKeyRecordsOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -123761,7 +250061,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public clearRecords_result setEx3( + public selectKeyRecordsOrder_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -123787,6 +250087,16 @@ public void setEx3IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -123819,6 +250129,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); @@ -123842,6 +250155,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); case EX2: @@ -123856,15 +250171,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearRecords_result) - return this.equals((clearRecords_result) that); + if(that instanceof selectKeyRecordsOrder_result) + return this.equals((selectKeyRecordsOrder_result) that); return false; } - public boolean equals(clearRecords_result that) { + public boolean equals(selectKeyRecordsOrder_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -123899,6 +250223,11 @@ public boolean equals(clearRecords_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -123918,7 +250247,7 @@ public int hashCode() { } @Override - public int compareTo(clearRecords_result other) { + public int compareTo(selectKeyRecordsOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -123926,6 +250255,18 @@ public int compareTo(clearRecords_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -123981,9 +250322,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearRecords_result("); + StringBuilder sb = new StringBuilder( + "selectKeyRecordsOrder_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -124045,18 +250397,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearRecords_resultStandardSchemeFactory + private static class selectKeyRecordsOrder_resultStandardSchemeFactory implements SchemeFactory { - public clearRecords_resultStandardScheme getScheme() { - return new clearRecords_resultStandardScheme(); + public selectKeyRecordsOrder_resultStandardScheme getScheme() { + return new selectKeyRecordsOrder_resultStandardScheme(); } } - private static class clearRecords_resultStandardScheme - extends StandardScheme { + private static class selectKeyRecordsOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearRecords_result struct) + selectKeyRecordsOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -124066,6 +250418,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map1402 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map1402.size); + long _key1403; + Set _val1404; + for (int _i1405 = 0; _i1405 < _map1402.size; ++_i1405) { + _key1403 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1406 = iprot + .readSetBegin(); + _val1404 = new LinkedHashSet( + 2 * _set1406.size); + com.cinchapi.concourse.thrift.TObject _elem1407; + for (int _i1408 = 0; _i1408 < _set1406.size; ++_i1408) { + _elem1407 = new com.cinchapi.concourse.thrift.TObject(); + _elem1407.read(iprot); + _val1404.add(_elem1407); + } + iprot.readSetEnd(); + } + struct.success.put(_key1403, _val1404); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -124113,11 +250500,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearRecords_result struct) + selectKeyRecordsOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter1409 : struct.success + .entrySet()) { + oprot.writeI64(_iter1409.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1409.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1410 : _iter1409 + .getValue()) { + _iter1410.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -124139,32 +250552,51 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class clearRecords_resultTupleSchemeFactory + private static class selectKeyRecordsOrder_resultTupleSchemeFactory implements SchemeFactory { - public clearRecords_resultTupleScheme getScheme() { - return new clearRecords_resultTupleScheme(); + public selectKeyRecordsOrder_resultTupleScheme getScheme() { + return new selectKeyRecordsOrder_resultTupleScheme(); } } - private static class clearRecords_resultTupleScheme - extends TupleScheme { + private static class selectKeyRecordsOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearRecords_result struct) + selectKeyRecordsOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - if(struct.isSetEx2()) { + if(struct.isSetEx()) { optionals.set(1); } - if(struct.isSetEx3()) { + if(struct.isSetEx2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter1411 : struct.success + .entrySet()) { + oprot.writeI64(_iter1411.getKey()); + { + oprot.writeI32(_iter1411.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1412 : _iter1411 + .getValue()) { + _iter1412.write(oprot); + } + } + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -124178,21 +250610,51 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearRecords_result struct) + selectKeyRecordsOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map1413 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map1413.size); + long _key1414; + Set _val1415; + for (int _i1416 = 0; _i1416 < _map1413.size; ++_i1416) { + _key1414 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1417 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1415 = new LinkedHashSet( + 2 * _set1417.size); + com.cinchapi.concourse.thrift.TObject _elem1418; + for (int _i1419 = 0; _i1419 < _set1417.size; ++_i1419) { + _elem1418 = new com.cinchapi.concourse.thrift.TObject(); + _elem1418.read(iprot); + _val1415.add(_elem1418); + } + } + struct.success.put(_key1414, _val1415); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); @@ -124202,37 +250664,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class clearKeyRecord_args implements - org.apache.thrift.TBase, + public static class selectKeyRecordsTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearKeyRecord_args"); + "selectKeyRecordsTime_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearKeyRecord_argsStandardSchemeFactory()); + new selectKeyRecordsTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearKeyRecord_argsTupleSchemeFactory()); + new selectKeyRecordsTime_argsTupleSchemeFactory()); } public String key; // required - public long record; // required + public List records; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -124243,10 +250708,11 @@ public static class clearKeyRecord_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - RECORD((short) 2, "record"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + RECORDS((short) 2, "records"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -124264,13 +250730,15 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // RECORD - return RECORD; - case 3: // CREDS + case 2: // RECORDS + return RECORDS; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -124316,7 +250784,7 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { @@ -124327,8 +250795,15 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); @@ -124351,19 +250826,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - clearKeyRecord_args.class, metaDataMap); + selectKeyRecordsTime_args.class, metaDataMap); } - public clearKeyRecord_args() {} + public selectKeyRecordsTime_args() {} - public clearKeyRecord_args(String key, long record, - com.cinchapi.concourse.thrift.AccessToken creds, + public selectKeyRecordsTime_args(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.record = record; - setRecordIsSet(true); + this.records = records; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -124372,12 +250848,16 @@ public clearKeyRecord_args(String key, long record, /** * Performs a deep copy on other. */ - public clearKeyRecord_args(clearKeyRecord_args other) { + public selectKeyRecordsTime_args(selectKeyRecordsTime_args other) { __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } - this.record = other.record; + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -124391,15 +250871,16 @@ public clearKeyRecord_args(clearKeyRecord_args other) { } } - public clearKeyRecord_args deepCopy() { - return new clearKeyRecord_args(this); + public selectKeyRecordsTime_args deepCopy() { + return new selectKeyRecordsTime_args(this); } @Override public void clear() { this.key = null; - setRecordIsSet(false); - this.record = 0; + this.records = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; @@ -124409,7 +250890,7 @@ public String getKey() { return this.key; } - public clearKeyRecord_args setKey(String key) { + public selectKeyRecordsTime_args setKey(String key) { this.key = key; return this; } @@ -124432,39 +250913,82 @@ public void setKeyIsSet(boolean value) { } } - public long getRecord() { - return this.record; + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - public clearKeyRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public selectKeyRecordsTime_args setRecords(List records) { + this.records = records; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetRecords() { + this.records = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetRecords() { + return this.records != null; } - public void setRecordIsSet(boolean value) { + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public selectKeyRecordsTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public clearKeyRecord_args setCreds( + public selectKeyRecordsTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -124492,7 +251016,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public clearKeyRecord_args setTransaction( + public selectKeyRecordsTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -124520,7 +251044,7 @@ public String getEnvironment() { return this.environment; } - public clearKeyRecord_args setEnvironment(String environment) { + public selectKeyRecordsTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -124554,12 +251078,21 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORD: + case RECORDS: if(value == null) { - unsetRecord(); + unsetRecords(); } else { - setRecord((Long) value); + setRecords((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); } break; @@ -124599,8 +251132,11 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case RECORD: - return getRecord(); + case RECORDS: + return getRecords(); + + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -124627,8 +251163,10 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case RECORD: - return isSetRecord(); + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -124643,12 +251181,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearKeyRecord_args) - return this.equals((clearKeyRecord_args) that); + if(that instanceof selectKeyRecordsTime_args) + return this.equals((selectKeyRecordsTime_args) that); return false; } - public boolean equals(clearKeyRecord_args that) { + public boolean equals(selectKeyRecordsTime_args that) { if(that == null) return false; @@ -124661,12 +251199,21 @@ public boolean equals(clearKeyRecord_args that) { return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(this.record != that.record) + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) return false; } @@ -124709,10 +251256,15 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -124733,7 +251285,7 @@ public int hashCode() { } @Override - public int compareTo(clearKeyRecord_args other) { + public int compareTo(selectKeyRecordsTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -124753,14 +251305,26 @@ public int compareTo(clearKeyRecord_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -124820,7 +251384,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearKeyRecord_args("); + StringBuilder sb = new StringBuilder("selectKeyRecordsTime_args("); boolean first = true; sb.append("key:"); @@ -124833,8 +251397,18 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -124909,18 +251483,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearKeyRecord_argsStandardSchemeFactory + private static class selectKeyRecordsTime_argsStandardSchemeFactory implements SchemeFactory { - public clearKeyRecord_argsStandardScheme getScheme() { - return new clearKeyRecord_argsStandardScheme(); + public selectKeyRecordsTime_argsStandardScheme getScheme() { + return new selectKeyRecordsTime_argsStandardScheme(); } } - private static class clearKeyRecord_argsStandardScheme - extends StandardScheme { + private static class selectKeyRecordsTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearKeyRecord_args struct) + selectKeyRecordsTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -124940,17 +251514,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORD + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1420 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1420.size); + long _elem1421; + for (int _i1422 = 0; _i1422 < _list1420.size; ++_i1422) { + _elem1421 = iprot.readI64(); + struct.records.add(_elem1421); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -124961,7 +251556,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -124972,7 +251567,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -124996,7 +251591,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearKeyRecord_args struct) + selectKeyRecordsTime_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -125006,8 +251601,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1423 : struct.records) { + oprot.writeI64(_iter1423); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); @@ -125030,43 +251639,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class clearKeyRecord_argsTupleSchemeFactory + private static class selectKeyRecordsTime_argsTupleSchemeFactory implements SchemeFactory { - public clearKeyRecord_argsTupleScheme getScheme() { - return new clearKeyRecord_argsTupleScheme(); + public selectKeyRecordsTime_argsTupleScheme getScheme() { + return new selectKeyRecordsTime_argsTupleScheme(); } } - private static class clearKeyRecord_argsTupleScheme - extends TupleScheme { + private static class selectKeyRecordsTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearKeyRecord_args struct) + selectKeyRecordsTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1424 : struct.records) { + oprot.writeI64(_iter1424); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -125081,29 +251701,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearKeyRecord_args struct) + selectKeyRecordsTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + { + org.apache.thrift.protocol.TList _list1425 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1425.size); + long _elem1426; + for (int _i1427 = 0; _i1427 < _list1425.size; ++_i1427) { + _elem1426 = iprot.readI64(); + struct.records.add(_elem1426); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -125112,14 +251746,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class clearKeyRecord_result implements - org.apache.thrift.TBase, + public static class selectKeyRecordsTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearKeyRecord_result"); + "selectKeyRecordsTime_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -125130,11 +251766,12 @@ public static class clearKeyRecord_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearKeyRecord_resultStandardSchemeFactory()); + new selectKeyRecordsTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearKeyRecord_resultTupleSchemeFactory()); + new selectKeyRecordsTime_resultTupleSchemeFactory()); } + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -125144,7 +251781,10 @@ public static class clearKeyRecord_result implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -125160,6 +251800,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; case 2: // EX2 @@ -125214,6 +251856,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -125231,16 +251885,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - clearKeyRecord_result.class, metaDataMap); + selectKeyRecordsTime_result.class, metaDataMap); } - public clearKeyRecord_result() {} + public selectKeyRecordsTime_result() {} - public clearKeyRecord_result( + public selectKeyRecordsTime_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { this(); + this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; @@ -125249,7 +251905,32 @@ public clearKeyRecord_result( /** * Performs a deep copy on other. */ - public clearKeyRecord_result(clearKeyRecord_result other) { + public selectKeyRecordsTime_result(selectKeyRecordsTime_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -125264,22 +251945,63 @@ public clearKeyRecord_result(clearKeyRecord_result other) { } } - public clearKeyRecord_result deepCopy() { - return new clearKeyRecord_result(this); + public selectKeyRecordsTime_result deepCopy() { + return new selectKeyRecordsTime_result(this); } @Override public void clear() { + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; } + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public selectKeyRecordsTime_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public clearKeyRecord_result setEx( + public selectKeyRecordsTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -125307,7 +252029,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public clearKeyRecord_result setEx2( + public selectKeyRecordsTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -125335,7 +252057,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public clearKeyRecord_result setEx3( + public selectKeyRecordsTime_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -125361,6 +252083,16 @@ public void setEx3IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -125393,6 +252125,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); @@ -125416,6 +252151,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); case EX2: @@ -125430,15 +252167,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearKeyRecord_result) - return this.equals((clearKeyRecord_result) that); + if(that instanceof selectKeyRecordsTime_result) + return this.equals((selectKeyRecordsTime_result) that); return false; } - public boolean equals(clearKeyRecord_result that) { + public boolean equals(selectKeyRecordsTime_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -125473,6 +252219,11 @@ public boolean equals(clearKeyRecord_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -125492,7 +252243,7 @@ public int hashCode() { } @Override - public int compareTo(clearKeyRecord_result other) { + public int compareTo(selectKeyRecordsTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -125500,6 +252251,18 @@ public int compareTo(clearKeyRecord_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -125555,9 +252318,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearKeyRecord_result("); + StringBuilder sb = new StringBuilder( + "selectKeyRecordsTime_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -125619,18 +252393,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearKeyRecord_resultStandardSchemeFactory + private static class selectKeyRecordsTime_resultStandardSchemeFactory implements SchemeFactory { - public clearKeyRecord_resultStandardScheme getScheme() { - return new clearKeyRecord_resultStandardScheme(); + public selectKeyRecordsTime_resultStandardScheme getScheme() { + return new selectKeyRecordsTime_resultStandardScheme(); } } - private static class clearKeyRecord_resultStandardScheme - extends StandardScheme { + private static class selectKeyRecordsTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearKeyRecord_result struct) + selectKeyRecordsTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -125640,6 +252414,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map1428 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map1428.size); + long _key1429; + Set _val1430; + for (int _i1431 = 0; _i1431 < _map1428.size; ++_i1431) { + _key1429 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1432 = iprot + .readSetBegin(); + _val1430 = new LinkedHashSet( + 2 * _set1432.size); + com.cinchapi.concourse.thrift.TObject _elem1433; + for (int _i1434 = 0; _i1434 < _set1432.size; ++_i1434) { + _elem1433 = new com.cinchapi.concourse.thrift.TObject(); + _elem1433.read(iprot); + _val1430.add(_elem1433); + } + iprot.readSetEnd(); + } + struct.success.put(_key1429, _val1430); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -125687,11 +252496,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearKeyRecord_result struct) + selectKeyRecordsTime_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter1435 : struct.success + .entrySet()) { + oprot.writeI64(_iter1435.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1435.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1436 : _iter1435 + .getValue()) { + _iter1436.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -125713,32 +252548,51 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class clearKeyRecord_resultTupleSchemeFactory + private static class selectKeyRecordsTime_resultTupleSchemeFactory implements SchemeFactory { - public clearKeyRecord_resultTupleScheme getScheme() { - return new clearKeyRecord_resultTupleScheme(); + public selectKeyRecordsTime_resultTupleScheme getScheme() { + return new selectKeyRecordsTime_resultTupleScheme(); } } - private static class clearKeyRecord_resultTupleScheme - extends TupleScheme { + private static class selectKeyRecordsTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearKeyRecord_result struct) + selectKeyRecordsTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - if(struct.isSetEx2()) { + if(struct.isSetEx()) { optionals.set(1); } - if(struct.isSetEx3()) { + if(struct.isSetEx2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter1437 : struct.success + .entrySet()) { + oprot.writeI64(_iter1437.getKey()); + { + oprot.writeI32(_iter1437.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1438 : _iter1437 + .getValue()) { + _iter1438.write(oprot); + } + } + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -125752,21 +252606,51 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearKeyRecord_result struct) + selectKeyRecordsTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map1439 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map1439.size); + long _key1440; + Set _val1441; + for (int _i1442 = 0; _i1442 < _map1439.size; ++_i1442) { + _key1440 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1443 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1441 = new LinkedHashSet( + 2 * _set1443.size); + com.cinchapi.concourse.thrift.TObject _elem1444; + for (int _i1445 = 0; _i1445 < _set1443.size; ++_i1445) { + _elem1444 = new com.cinchapi.concourse.thrift.TObject(); + _elem1444.read(iprot); + _val1441.add(_elem1444); + } + } + struct.success.put(_key1440, _val1441); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); @@ -125776,37 +252660,43 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class clearKeysRecord_args implements - org.apache.thrift.TBase, + public static class selectKeyRecordsTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearKeysRecord_args"); + "selectKeyRecordsTimeOrder_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearKeysRecord_argsStandardSchemeFactory()); + new selectKeyRecordsTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearKeysRecord_argsTupleSchemeFactory()); + new selectKeyRecordsTimeOrder_argsTupleSchemeFactory()); } - public List keys; // required - public long record; // required + public String key; // required + public List records; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -125816,11 +252706,13 @@ public static class clearKeysRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - RECORD((short) 2, "record"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + RECORDS((short) 2, "records"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -125836,15 +252728,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // RECORD - return RECORD; - case 3: // CREDS + case 1: // KEY + return KEY; + case 2: // RECORDS + return RECORDS; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -125890,24 +252786,35 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -125927,19 +252834,22 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - clearKeysRecord_args.class, metaDataMap); + selectKeyRecordsTimeOrder_args.class, metaDataMap); } - public clearKeysRecord_args() {} + public selectKeyRecordsTimeOrder_args() {} - public clearKeysRecord_args(List keys, long record, + public selectKeyRecordsTimeOrder_args(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.record = record; - setRecordIsSet(true); + this.key = key; + this.records = records; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -125948,13 +252858,21 @@ public clearKeysRecord_args(List keys, long record, /** * Performs a deep copy on other. */ - public clearKeysRecord_args(clearKeysRecord_args other) { + public selectKeyRecordsTimeOrder_args( + selectKeyRecordsTimeOrder_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -125968,95 +252886,153 @@ public clearKeysRecord_args(clearKeysRecord_args other) { } } - public clearKeysRecord_args deepCopy() { - return new clearKeysRecord_args(this); + public selectKeyRecordsTimeOrder_args deepCopy() { + return new selectKeyRecordsTimeOrder_args(this); } @Override public void clear() { - this.keys = null; - setRecordIsSet(false); - this.record = 0; + this.key = null; + this.records = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); + public String getKey() { + return this.key; } - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); + public selectKeyRecordsTimeOrder_args setKey(String key) { + this.key = key; + return this; } - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; } - this.keys.add(elem); } - public List getKeys() { - return this.keys; + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - public clearKeysRecord_args setKeys(List keys) { - this.keys = keys; + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public selectKeyRecordsTimeOrder_args setRecords(List records) { + this.records = records; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetRecords() { + this.records = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetRecords() { + return this.records != null; } - public void setKeysIsSet(boolean value) { + public void setRecordsIsSet(boolean value) { if(!value) { - this.keys = null; + this.records = null; } } - public long getRecord() { - return this.record; + public long getTimestamp() { + return this.timestamp; } - public clearKeysRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectKeyRecordsTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetRecord() { + public void unsetTimestamp() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setRecordIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeyRecordsTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public clearKeysRecord_args setCreds( + public selectKeyRecordsTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -126084,7 +253060,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public clearKeysRecord_args setTransaction( + public selectKeyRecordsTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -126112,7 +253088,8 @@ public String getEnvironment() { return this.environment; } - public clearKeysRecord_args setEnvironment(String environment) { + public selectKeyRecordsTimeOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -126137,21 +253114,39 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); } break; - case RECORD: + case RECORDS: if(value == null) { - unsetRecord(); + unsetRecords(); } else { - setRecord((Long) value); + setRecords((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -126188,11 +253183,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); - case RECORD: - return getRecord(); + case RECORDS: + return getRecords(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -126217,10 +253218,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case RECORD: - return isSetRecord(); + case KEY: + return isSetKey(); + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -126235,30 +253240,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearKeysRecord_args) - return this.equals((clearKeysRecord_args) that); + if(that instanceof selectKeyRecordsTimeOrder_args) + return this.equals((selectKeyRecordsTimeOrder_args) that); return false; } - public boolean equals(clearKeysRecord_args that) { + public boolean equals(selectKeyRecordsTimeOrder_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(this.record != that.record) + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -126296,15 +253319,25 @@ public boolean equals(clearKeysRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -126325,7 +253358,7 @@ public int hashCode() { } @Override - public int compareTo(clearKeysRecord_args other) { + public int compareTo(selectKeyRecordsTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -126333,26 +253366,50 @@ public int compareTo(clearKeysRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -126412,21 +253469,42 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearKeysRecord_args("); + StringBuilder sb = new StringBuilder( + "selectKeyRecordsTimeOrder_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -126465,6 +253543,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -126501,18 +253582,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearKeysRecord_argsStandardSchemeFactory + private static class selectKeyRecordsTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public clearKeysRecord_argsStandardScheme getScheme() { - return new clearKeysRecord_argsStandardScheme(); + public selectKeyRecordsTimeOrder_argsStandardScheme getScheme() { + return new selectKeyRecordsTimeOrder_argsStandardScheme(); } } - private static class clearKeysRecord_argsStandardScheme - extends StandardScheme { + private static class selectKeyRecordsTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearKeysRecord_args struct) + selectKeyRecordsTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -126522,38 +253603,59 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list378 = iprot + org.apache.thrift.protocol.TList _list1446 = iprot .readListBegin(); - struct.keys = new ArrayList( - _list378.size); - String _elem379; - for (int _i380 = 0; _i380 < _list378.size; ++_i380) { - _elem379 = iprot.readString(); - struct.keys.add(_elem379); + struct.records = new ArrayList( + _list1446.size); + long _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) { + _elem1447 = iprot.readI64(); + struct.records.add(_elem1447); } iprot.readListEnd(); } - struct.setKeysIsSet(true); + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // RECORD + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -126564,7 +253666,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -126575,7 +253677,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -126599,28 +253701,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearKeysRecord_args struct) + selectKeyRecordsTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter381 : struct.keys) { - oprot.writeString(_iter381); + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1449 : struct.records) { + oprot.writeI64(_iter1449); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -126642,48 +253754,60 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class clearKeysRecord_argsTupleSchemeFactory + private static class selectKeyRecordsTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public clearKeysRecord_argsTupleScheme getScheme() { - return new clearKeysRecord_argsTupleScheme(); + public selectKeyRecordsTimeOrder_argsTupleScheme getScheme() { + return new selectKeyRecordsTimeOrder_argsTupleScheme(); } } - private static class clearKeysRecord_argsTupleScheme - extends TupleScheme { + private static class selectKeyRecordsTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearKeysRecord_args struct) + selectKeyRecordsTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecords()) { { - oprot.writeI32(struct.keys.size()); - for (String _iter382 : struct.keys) { - oprot.writeString(_iter382); + oprot.writeI32(struct.records.size()); + for (long _iter1450 : struct.records) { + oprot.writeI64(_iter1450); } } } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -126698,39 +253822,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearKeysRecord_args struct) + selectKeyRecordsTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list383 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.keys = new ArrayList(_list383.size); - String _elem384; - for (int _i385 = 0; _i385 < _list383.size; ++_i385) { - _elem384 = iprot.readString(); - struct.keys.add(_elem384); + struct.records = new ArrayList(_list1451.size); + long _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { + _elem1452 = iprot.readI64(); + struct.records.add(_elem1452); } } - struct.setKeysIsSet(true); - } - if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.setRecordsIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -126739,14 +253872,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class clearKeysRecord_result implements - org.apache.thrift.TBase, + public static class selectKeyRecordsTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearKeysRecord_result"); + "selectKeyRecordsTimeOrder_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -126757,11 +253892,12 @@ public static class clearKeysRecord_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearKeysRecord_resultStandardSchemeFactory()); + new selectKeyRecordsTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearKeysRecord_resultTupleSchemeFactory()); + new selectKeyRecordsTimeOrder_resultTupleSchemeFactory()); } + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -126771,7 +253907,10 @@ public static class clearKeysRecord_result implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -126787,6 +253926,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; case 2: // EX2 @@ -126841,6 +253982,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -126858,16 +254011,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - clearKeysRecord_result.class, metaDataMap); + selectKeyRecordsTimeOrder_result.class, metaDataMap); } - public clearKeysRecord_result() {} + public selectKeyRecordsTimeOrder_result() {} - public clearKeysRecord_result( + public selectKeyRecordsTimeOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { this(); + this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; @@ -126876,7 +254031,33 @@ public clearKeysRecord_result( /** * Performs a deep copy on other. */ - public clearKeysRecord_result(clearKeysRecord_result other) { + public selectKeyRecordsTimeOrder_result( + selectKeyRecordsTimeOrder_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -126891,22 +254072,63 @@ public clearKeysRecord_result(clearKeysRecord_result other) { } } - public clearKeysRecord_result deepCopy() { - return new clearKeysRecord_result(this); + public selectKeyRecordsTimeOrder_result deepCopy() { + return new selectKeyRecordsTimeOrder_result(this); } @Override public void clear() { + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; } + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public selectKeyRecordsTimeOrder_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public clearKeysRecord_result setEx( + public selectKeyRecordsTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -126934,7 +254156,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public clearKeysRecord_result setEx2( + public selectKeyRecordsTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -126962,7 +254184,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public clearKeysRecord_result setEx3( + public selectKeyRecordsTimeOrder_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -126988,6 +254210,16 @@ public void setEx3IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -127020,6 +254252,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); @@ -127043,6 +254278,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); case EX2: @@ -127057,15 +254294,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearKeysRecord_result) - return this.equals((clearKeysRecord_result) that); + if(that instanceof selectKeyRecordsTimeOrder_result) + return this.equals((selectKeyRecordsTimeOrder_result) that); return false; } - public boolean equals(clearKeysRecord_result that) { + public boolean equals(selectKeyRecordsTimeOrder_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -127100,6 +254346,11 @@ public boolean equals(clearKeysRecord_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -127119,7 +254370,7 @@ public int hashCode() { } @Override - public int compareTo(clearKeysRecord_result other) { + public int compareTo(selectKeyRecordsTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -127127,6 +254378,18 @@ public int compareTo(clearKeysRecord_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -127182,9 +254445,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearKeysRecord_result("); + StringBuilder sb = new StringBuilder( + "selectKeyRecordsTimeOrder_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -127246,18 +254520,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearKeysRecord_resultStandardSchemeFactory + private static class selectKeyRecordsTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public clearKeysRecord_resultStandardScheme getScheme() { - return new clearKeysRecord_resultStandardScheme(); + public selectKeyRecordsTimeOrder_resultStandardScheme getScheme() { + return new selectKeyRecordsTimeOrder_resultStandardScheme(); } } - private static class clearKeysRecord_resultStandardScheme - extends StandardScheme { + private static class selectKeyRecordsTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearKeysRecord_result struct) + selectKeyRecordsTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -127267,6 +254541,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map1454 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map1454.size); + long _key1455; + Set _val1456; + for (int _i1457 = 0; _i1457 < _map1454.size; ++_i1457) { + _key1455 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1458 = iprot + .readSetBegin(); + _val1456 = new LinkedHashSet( + 2 * _set1458.size); + com.cinchapi.concourse.thrift.TObject _elem1459; + for (int _i1460 = 0; _i1460 < _set1458.size; ++_i1460) { + _elem1459 = new com.cinchapi.concourse.thrift.TObject(); + _elem1459.read(iprot); + _val1456.add(_elem1459); + } + iprot.readSetEnd(); + } + struct.success.put(_key1455, _val1456); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -127314,11 +254623,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearKeysRecord_result struct) + selectKeyRecordsTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter1461 : struct.success + .entrySet()) { + oprot.writeI64(_iter1461.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1461.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1462 : _iter1461 + .getValue()) { + _iter1462.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -127340,32 +254675,51 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class clearKeysRecord_resultTupleSchemeFactory + private static class selectKeyRecordsTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public clearKeysRecord_resultTupleScheme getScheme() { - return new clearKeysRecord_resultTupleScheme(); + public selectKeyRecordsTimeOrder_resultTupleScheme getScheme() { + return new selectKeyRecordsTimeOrder_resultTupleScheme(); } } - private static class clearKeysRecord_resultTupleScheme - extends TupleScheme { + private static class selectKeyRecordsTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearKeysRecord_result struct) + selectKeyRecordsTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - if(struct.isSetEx2()) { + if(struct.isSetEx()) { optionals.set(1); } - if(struct.isSetEx3()) { + if(struct.isSetEx2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetEx3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter1463 : struct.success + .entrySet()) { + oprot.writeI64(_iter1463.getKey()); + { + oprot.writeI32(_iter1463.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1464 : _iter1463 + .getValue()) { + _iter1464.write(oprot); + } + } + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -127379,21 +254733,51 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearKeysRecord_result struct) + selectKeyRecordsTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map1465 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map1465.size); + long _key1466; + Set _val1467; + for (int _i1468 = 0; _i1468 < _map1465.size; ++_i1468) { + _key1466 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1469 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1467 = new LinkedHashSet( + 2 * _set1469.size); + com.cinchapi.concourse.thrift.TObject _elem1470; + for (int _i1471 = 0; _i1471 < _set1469.size; ++_i1471) { + _elem1470 = new com.cinchapi.concourse.thrift.TObject(); + _elem1470.read(iprot); + _val1467.add(_elem1470); + } + } + struct.success.put(_key1466, _val1467); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); @@ -127403,37 +254787,41 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class clearKeyRecords_args implements - org.apache.thrift.TBase, + public static class selectKeyRecordsTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearKeyRecords_args"); + "selectKeyRecordsTimestr_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearKeyRecords_argsStandardSchemeFactory()); + new selectKeyRecordsTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearKeyRecords_argsTupleSchemeFactory()); + new selectKeyRecordsTimestr_argsTupleSchemeFactory()); } public String key; // required public List records; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -127445,9 +254833,10 @@ public static class clearKeyRecords_args implements public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), RECORDS((short) 2, "records"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -127467,11 +254856,13 @@ public static _Fields findByThriftId(int fieldId) { return KEY; case 2: // RECORDS return RECORDS; - case 3: // CREDS + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -127533,6 +254924,11 @@ public String getFieldName() { org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -127552,18 +254948,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - clearKeyRecords_args.class, metaDataMap); + selectKeyRecordsTimestr_args.class, metaDataMap); } - public clearKeyRecords_args() {} + public selectKeyRecordsTimestr_args() {} - public clearKeyRecords_args(String key, List records, + public selectKeyRecordsTimestr_args(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; this.records = records; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -127572,7 +254970,8 @@ public clearKeyRecords_args(String key, List records, /** * Performs a deep copy on other. */ - public clearKeyRecords_args(clearKeyRecords_args other) { + public selectKeyRecordsTimestr_args( + selectKeyRecordsTimestr_args other) { if(other.isSetKey()) { this.key = other.key; } @@ -127580,6 +254979,9 @@ public clearKeyRecords_args(clearKeyRecords_args other) { List __this__records = new ArrayList(other.records); this.records = __this__records; } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -127593,14 +254995,15 @@ public clearKeyRecords_args(clearKeyRecords_args other) { } } - public clearKeyRecords_args deepCopy() { - return new clearKeyRecords_args(this); + public selectKeyRecordsTimestr_args deepCopy() { + return new selectKeyRecordsTimestr_args(this); } @Override public void clear() { this.key = null; this.records = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; @@ -127610,7 +255013,7 @@ public String getKey() { return this.key; } - public clearKeyRecords_args setKey(String key) { + public selectKeyRecordsTimestr_args setKey(String key) { this.key = key; return this; } @@ -127652,7 +255055,7 @@ public List getRecords() { return this.records; } - public clearKeyRecords_args setRecords(List records) { + public selectKeyRecordsTimestr_args setRecords(List records) { this.records = records; return this; } @@ -127675,11 +255078,38 @@ public void setRecordsIsSet(boolean value) { } } + public String getTimestamp() { + return this.timestamp; + } + + public selectKeyRecordsTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public clearKeyRecords_args setCreds( + public selectKeyRecordsTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -127707,7 +255137,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public clearKeyRecords_args setTransaction( + public selectKeyRecordsTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -127735,7 +255165,7 @@ public String getEnvironment() { return this.environment; } - public clearKeyRecords_args setEnvironment(String environment) { + public selectKeyRecordsTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -127778,6 +255208,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -127817,6 +255256,9 @@ public Object getFieldValue(_Fields field) { case RECORDS: return getRecords(); + case TIMESTAMP: + return getTimestamp(); + case CREDS: return getCreds(); @@ -127844,6 +255286,8 @@ public boolean isSet(_Fields field) { return isSetKey(); case RECORDS: return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -127858,12 +255302,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearKeyRecords_args) - return this.equals((clearKeyRecords_args) that); + if(that instanceof selectKeyRecordsTimestr_args) + return this.equals((selectKeyRecordsTimestr_args) that); return false; } - public boolean equals(clearKeyRecords_args that) { + public boolean equals(selectKeyRecordsTimestr_args that) { if(that == null) return false; @@ -127885,6 +255329,15 @@ public boolean equals(clearKeyRecords_args that) { return false; } + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -127929,6 +255382,11 @@ public int hashCode() { if(present_records) list.add(records); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -127948,7 +255406,7 @@ public int hashCode() { } @Override - public int compareTo(clearKeyRecords_args other) { + public int compareTo(selectKeyRecordsTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -127980,6 +255438,18 @@ public int compareTo(clearKeyRecords_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -128035,7 +255505,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearKeyRecords_args("); + StringBuilder sb = new StringBuilder( + "selectKeyRecordsTimestr_args("); boolean first = true; sb.append("key:"); @@ -128056,6 +255527,16 @@ public String toString() { sb.append(this.records); } first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -128125,18 +255606,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearKeyRecords_argsStandardSchemeFactory + private static class selectKeyRecordsTimestr_argsStandardSchemeFactory implements SchemeFactory { - public clearKeyRecords_argsStandardScheme getScheme() { - return new clearKeyRecords_argsStandardScheme(); + public selectKeyRecordsTimestr_argsStandardScheme getScheme() { + return new selectKeyRecordsTimestr_argsStandardScheme(); } } - private static class clearKeyRecords_argsStandardScheme - extends StandardScheme { + private static class selectKeyRecordsTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearKeyRecords_args struct) + selectKeyRecordsTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -128159,14 +255640,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list386 = iprot + org.apache.thrift.protocol.TList _list1472 = iprot .readListBegin(); struct.records = new ArrayList( - _list386.size); - long _elem387; - for (int _i388 = 0; _i388 < _list386.size; ++_i388) { - _elem387 = iprot.readI64(); - struct.records.add(_elem387); + _list1472.size); + long _elem1473; + for (int _i1474 = 0; _i1474 < _list1472.size; ++_i1474) { + _elem1473 = iprot.readI64(); + struct.records.add(_elem1473); } iprot.readListEnd(); } @@ -128177,7 +255658,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -128188,7 +255679,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -128199,7 +255690,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -128223,7 +255714,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearKeyRecords_args struct) + selectKeyRecordsTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -128240,13 +255731,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter389 : struct.records) { - oprot.writeI64(_iter389); + for (long _iter1475 : struct.records) { + oprot.writeI64(_iter1475); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -128268,19 +255764,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class clearKeyRecords_argsTupleSchemeFactory + private static class selectKeyRecordsTimestr_argsTupleSchemeFactory implements SchemeFactory { - public clearKeyRecords_argsTupleScheme getScheme() { - return new clearKeyRecords_argsTupleScheme(); + public selectKeyRecordsTimestr_argsTupleScheme getScheme() { + return new selectKeyRecordsTimestr_argsTupleScheme(); } } - private static class clearKeyRecords_argsTupleScheme - extends TupleScheme { + private static class selectKeyRecordsTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearKeyRecords_args struct) + selectKeyRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -128290,27 +255786,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); if(struct.isSetKey()) { oprot.writeString(struct.key); } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter390 : struct.records) { - oprot.writeI64(_iter390); + for (long _iter1476 : struct.records) { + oprot.writeI64(_iter1476); } } } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -128324,39 +255826,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearKeyRecords_args struct) + selectKeyRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list391 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list1477 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list391.size); - long _elem392; - for (int _i393 = 0; _i393 < _list391.size; ++_i393) { - _elem392 = iprot.readI64(); - struct.records.add(_elem392); + struct.records = new ArrayList(_list1477.size); + long _elem1478; + for (int _i1479 = 0; _i1479 < _list1477.size; ++_i1479) { + _elem1478 = iprot.readI64(); + struct.records.add(_elem1478); } } struct.setRecordsIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -128365,39 +255871,49 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class clearKeyRecords_result implements - org.apache.thrift.TBase, + public static class selectKeyRecordsTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearKeyRecords_result"); + "selectKeyRecordsTimestr_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearKeyRecords_resultStandardSchemeFactory()); + new selectKeyRecordsTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearKeyRecords_resultTupleSchemeFactory()); + new selectKeyRecordsTimestr_resultTupleSchemeFactory()); } + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -128413,12 +255929,16 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; case 2: // EX2 return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -128467,6 +255987,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -128482,27 +256014,62 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - clearKeyRecords_result.class, metaDataMap); + selectKeyRecordsTimestr_result.class, metaDataMap); } - public clearKeyRecords_result() {} + public selectKeyRecordsTimestr_result() {} - public clearKeyRecords_result( + public selectKeyRecordsTimestr_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); + this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public clearKeyRecords_result(clearKeyRecords_result other) { + public selectKeyRecordsTimestr_result( + selectKeyRecordsTimestr_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -128512,27 +256079,73 @@ public clearKeyRecords_result(clearKeyRecords_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public clearKeyRecords_result deepCopy() { - return new clearKeyRecords_result(this); + public selectKeyRecordsTimestr_result deepCopy() { + return new selectKeyRecordsTimestr_result(this); } @Override public void clear() { + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public selectKeyRecordsTimestr_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public clearKeyRecords_result setEx( + public selectKeyRecordsTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -128560,7 +256173,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public clearKeyRecords_result setEx2( + public selectKeyRecordsTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -128584,12 +256197,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public clearKeyRecords_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectKeyRecordsTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -128612,8 +256225,46 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeyRecordsTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -128637,7 +256288,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -128646,6 +256306,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); @@ -128655,6 +256318,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -128669,12 +256335,16 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); case EX2: return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -128683,15 +256353,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearKeyRecords_result) - return this.equals((clearKeyRecords_result) that); + if(that instanceof selectKeyRecordsTimestr_result) + return this.equals((selectKeyRecordsTimestr_result) that); return false; } - public boolean equals(clearKeyRecords_result that) { + public boolean equals(selectKeyRecordsTimestr_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -128719,6 +256398,15 @@ public boolean equals(clearKeyRecords_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -128726,6 +256414,11 @@ public boolean equals(clearKeyRecords_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -128741,11 +256434,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(clearKeyRecords_result other) { + public int compareTo(selectKeyRecordsTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -128753,6 +256451,18 @@ public int compareTo(clearKeyRecords_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -128789,6 +256499,18 @@ public int compareTo(clearKeyRecords_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -128808,9 +256530,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearKeyRecords_result("); + StringBuilder sb = new StringBuilder( + "selectKeyRecordsTimestr_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -128839,6 +256572,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -128872,18 +256615,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearKeyRecords_resultStandardSchemeFactory + private static class selectKeyRecordsTimestr_resultStandardSchemeFactory implements SchemeFactory { - public clearKeyRecords_resultStandardScheme getScheme() { - return new clearKeyRecords_resultStandardScheme(); + public selectKeyRecordsTimestr_resultStandardScheme getScheme() { + return new selectKeyRecordsTimestr_resultStandardScheme(); } } - private static class clearKeyRecords_resultStandardScheme - extends StandardScheme { + private static class selectKeyRecordsTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearKeyRecords_result struct) + selectKeyRecordsTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -128893,6 +256636,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map1480 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map1480.size); + long _key1481; + Set _val1482; + for (int _i1483 = 0; _i1483 < _map1480.size; ++_i1483) { + _key1481 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1484 = iprot + .readSetBegin(); + _val1482 = new LinkedHashSet( + 2 * _set1484.size); + com.cinchapi.concourse.thrift.TObject _elem1485; + for (int _i1486 = 0; _i1486 < _set1484.size; ++_i1486) { + _elem1485 = new com.cinchapi.concourse.thrift.TObject(); + _elem1485.read(iprot); + _val1482.add(_elem1485); + } + iprot.readSetEnd(); + } + struct.success.put(_key1481, _val1482); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -128917,7 +256695,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -128926,6 +256704,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -128940,11 +256729,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearKeyRecords_result struct) + selectKeyRecordsTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter1487 : struct.success + .entrySet()) { + oprot.writeI64(_iter1487.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1487.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1488 : _iter1487 + .getValue()) { + _iter1488.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -128960,38 +256775,65 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class clearKeyRecords_resultTupleSchemeFactory + private static class selectKeyRecordsTimestr_resultTupleSchemeFactory implements SchemeFactory { - public clearKeyRecords_resultTupleScheme getScheme() { - return new clearKeyRecords_resultTupleScheme(); + public selectKeyRecordsTimestr_resultTupleScheme getScheme() { + return new selectKeyRecordsTimestr_resultTupleScheme(); } } - private static class clearKeyRecords_resultTupleScheme - extends TupleScheme { + private static class selectKeyRecordsTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearKeyRecords_result struct) + selectKeyRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - if(struct.isSetEx2()) { + if(struct.isSetEx()) { optionals.set(1); } - if(struct.isSetEx3()) { + if(struct.isSetEx2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter1489 : struct.success + .entrySet()) { + oprot.writeI64(_iter1489.getKey()); + { + oprot.writeI32(_iter1489.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1490 : _iter1489 + .getValue()) { + _iter1490.write(oprot); + } + } + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -129001,65 +256843,110 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearKeyRecords_result struct) + selectKeyRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map1491 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map1491.size); + long _key1492; + Set _val1493; + for (int _i1494 = 0; _i1494 < _map1491.size; ++_i1494) { + _key1492 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1495 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1493 = new LinkedHashSet( + 2 * _set1495.size); + com.cinchapi.concourse.thrift.TObject _elem1496; + for (int _i1497 = 0; _i1497 < _set1495.size; ++_i1497) { + _elem1496 = new com.cinchapi.concourse.thrift.TObject(); + _elem1496.read(iprot); + _val1493.add(_elem1496); + } + } + struct.success.put(_key1492, _val1493); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(2)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class clearKeysRecords_args implements - org.apache.thrift.TBase, + public static class selectKeyRecordsTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearKeysRecords_args"); + "selectKeyRecordsTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearKeysRecords_argsStandardSchemeFactory()); + new selectKeyRecordsTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearKeysRecords_argsTupleSchemeFactory()); + new selectKeyRecordsTimestrOrder_argsTupleSchemeFactory()); } - public List keys; // required + public String key; // required public List records; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -129069,11 +256956,13 @@ public static class clearKeysRecords_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), + KEY((short) 1, "key"), RECORDS((short) 2, "records"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -129089,15 +256978,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; + case 1: // KEY + return KEY; case 2: // RECORDS return RECORDS; - case 3: // CREDS + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -129147,13 +257040,11 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.RECORDS, new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -129161,6 +257052,17 @@ public String getFieldName() { org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -129180,18 +257082,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - clearKeysRecords_args.class, metaDataMap); + selectKeyRecordsTimestrOrder_args.class, metaDataMap); } - public clearKeysRecords_args() {} + public selectKeyRecordsTimestrOrder_args() {} - public clearKeysRecords_args(List keys, List records, + public selectKeyRecordsTimestrOrder_args(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; + this.key = key; this.records = records; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -129200,15 +257105,22 @@ public clearKeysRecords_args(List keys, List records, /** * Performs a deep copy on other. */ - public clearKeysRecords_args(clearKeysRecords_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public selectKeyRecordsTimestrOrder_args( + selectKeyRecordsTimestrOrder_args other) { + if(other.isSetKey()) { + this.key = other.key; } if(other.isSetRecords()) { List __this__records = new ArrayList(other.records); this.records = __this__records; } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -129222,58 +257134,45 @@ public clearKeysRecords_args(clearKeysRecords_args other) { } } - public clearKeysRecords_args deepCopy() { - return new clearKeysRecords_args(this); + public selectKeyRecordsTimestrOrder_args deepCopy() { + return new selectKeyRecordsTimestrOrder_args(this); } @Override public void clear() { - this.keys = null; + this.key = null; this.records = null; + this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; + public String getKey() { + return this.key; } - public clearKeysRecords_args setKeys(List keys) { - this.keys = keys; + public selectKeyRecordsTimestrOrder_args setKey(String key) { + this.key = key; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetKey() { + return this.key != null; } - public void setKeysIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.keys = null; + this.key = null; } } @@ -129296,7 +257195,8 @@ public List getRecords() { return this.records; } - public clearKeysRecords_args setRecords(List records) { + public selectKeyRecordsTimestrOrder_args setRecords( + List records) { this.records = records; return this; } @@ -129319,11 +257219,67 @@ public void setRecordsIsSet(boolean value) { } } + public String getTimestamp() { + return this.timestamp; + } + + public selectKeyRecordsTimestrOrder_args setTimestamp( + String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeyRecordsTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public clearKeysRecords_args setCreds( + public selectKeyRecordsTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -129351,7 +257307,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public clearKeysRecords_args setTransaction( + public selectKeyRecordsTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -129379,7 +257335,8 @@ public String getEnvironment() { return this.environment; } - public clearKeysRecords_args setEnvironment(String environment) { + public selectKeyRecordsTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -129404,12 +257361,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); } break; @@ -129422,6 +257379,24 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -129455,12 +257430,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); case RECORDS: return getRecords(); + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -129484,10 +257465,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); + case KEY: + return isSetKey(); case RECORDS: return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -129502,21 +257487,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearKeysRecords_args) - return this.equals((clearKeysRecords_args) that); + if(that instanceof selectKeyRecordsTimestrOrder_args) + return this.equals((selectKeyRecordsTimestrOrder_args) that); return false; } - public boolean equals(clearKeysRecords_args that) { + public boolean equals(selectKeyRecordsTimestrOrder_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) return false; } @@ -129529,6 +257514,24 @@ public boolean equals(clearKeysRecords_args that) { return false; } + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -129563,16 +257566,26 @@ public boolean equals(clearKeysRecords_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); boolean present_records = true && (isSetRecords()); list.add(present_records); if(present_records) list.add(records); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -129592,7 +257605,7 @@ public int hashCode() { } @Override - public int compareTo(clearKeysRecords_args other) { + public int compareTo(selectKeyRecordsTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -129600,14 +257613,14 @@ public int compareTo(clearKeysRecords_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } @@ -129624,6 +257637,30 @@ public int compareTo(clearKeysRecords_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -129679,15 +257716,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearKeysRecords_args("); + StringBuilder sb = new StringBuilder( + "selectKeyRecordsTimestrOrder_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; if(!first) @@ -129700,6 +257738,26 @@ public String toString() { sb.append(this.records); } first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -129737,6 +257795,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -129769,18 +257830,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearKeysRecords_argsStandardSchemeFactory + private static class selectKeyRecordsTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public clearKeysRecords_argsStandardScheme getScheme() { - return new clearKeysRecords_argsStandardScheme(); + public selectKeyRecordsTimestrOrder_argsStandardScheme getScheme() { + return new selectKeyRecordsTimestrOrder_argsStandardScheme(); } } - private static class clearKeysRecords_argsStandardScheme - extends StandardScheme { + private static class selectKeyRecordsTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearKeysRecords_args struct) + selectKeyRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -129790,21 +257851,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list394 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list394.size); - String _elem395; - for (int _i396 = 0; _i396 < _list394.size; ++_i396) { - _elem395 = iprot.readString(); - struct.keys.add(_elem395); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -129814,14 +257864,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list397 = iprot + org.apache.thrift.protocol.TList _list1498 = iprot .readListBegin(); struct.records = new ArrayList( - _list397.size); - long _elem398; - for (int _i399 = 0; _i399 < _list397.size; ++_i399) { - _elem398 = iprot.readI64(); - struct.records.add(_elem398); + _list1498.size); + long _elem1499; + for (int _i1500 = 0; _i1500 < _list1498.size; ++_i1500) { + _elem1499 = iprot.readI64(); + struct.records.add(_elem1499); } iprot.readListEnd(); } @@ -129832,7 +257882,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -129843,7 +257914,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -129854,7 +257925,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -129878,23 +257949,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearKeysRecords_args struct) + selectKeyRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter400 : struct.keys) { - oprot.writeString(_iter400); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } if(struct.records != null) { @@ -129904,13 +257966,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter401 : struct.records) { - oprot.writeI64(_iter401); + for (long _iter1501 : struct.records) { + oprot.writeI64(_iter1501); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -129932,54 +258004,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class clearKeysRecords_argsTupleSchemeFactory + private static class selectKeyRecordsTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public clearKeysRecords_argsTupleScheme getScheme() { - return new clearKeysRecords_argsTupleScheme(); + public selectKeyRecordsTimestrOrder_argsTupleScheme getScheme() { + return new selectKeyRecordsTimestrOrder_argsTupleScheme(); } } - private static class clearKeysRecords_argsTupleScheme - extends TupleScheme { + private static class selectKeyRecordsTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearKeysRecords_args struct) + selectKeyRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter402 : struct.keys) { - oprot.writeString(_iter402); - } - } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter403 : struct.records) { - oprot.writeI64(_iter403); + for (long _iter1502 : struct.records) { + oprot.writeI64(_iter1502); } } } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -129993,49 +258072,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearKeysRecords_args struct) + selectKeyRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list404 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list404.size); - String _elem405; - for (int _i406 = 0; _i406 < _list404.size; ++_i406) { - _elem405 = iprot.readString(); - struct.keys.add(_elem405); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list407 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list1503 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list407.size); - long _elem408; - for (int _i409 = 0; _i409 < _list407.size; ++_i409) { - _elem408 = iprot.readI64(); - struct.records.add(_elem408); + struct.records = new ArrayList(_list1503.size); + long _elem1504; + for (int _i1505 = 0; _i1505 < _list1503.size; ++_i1505) { + _elem1504 = iprot.readI64(); + struct.records.add(_elem1504); } } struct.setRecordsIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -130044,39 +258122,49 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class clearKeysRecords_result implements - org.apache.thrift.TBase, + public static class selectKeyRecordsTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "clearKeysRecords_result"); + "selectKeyRecordsTimestrOrder_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new clearKeysRecords_resultStandardSchemeFactory()); + new selectKeyRecordsTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new clearKeysRecords_resultTupleSchemeFactory()); + new selectKeyRecordsTimestrOrder_resultTupleSchemeFactory()); } + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"); + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -130092,12 +258180,16 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; case 2: // EX2 return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -130146,6 +258238,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -130161,27 +258265,62 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - clearKeysRecords_result.class, metaDataMap); + selectKeyRecordsTimestrOrder_result.class, metaDataMap); } - public clearKeysRecords_result() {} + public selectKeyRecordsTimestrOrder_result() {} - public clearKeysRecords_result( + public selectKeyRecordsTimestrOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); + this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public clearKeysRecords_result(clearKeysRecords_result other) { + public selectKeyRecordsTimestrOrder_result( + selectKeyRecordsTimestrOrder_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -130191,27 +258330,73 @@ public clearKeysRecords_result(clearKeysRecords_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public clearKeysRecords_result deepCopy() { - return new clearKeysRecords_result(this); + public selectKeyRecordsTimestrOrder_result deepCopy() { + return new selectKeyRecordsTimestrOrder_result(this); } @Override public void clear() { + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public selectKeyRecordsTimestrOrder_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public clearKeysRecords_result setEx( + public selectKeyRecordsTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -130239,7 +258424,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public clearKeysRecords_result setEx2( + public selectKeyRecordsTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -130263,12 +258448,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public clearKeysRecords_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectKeyRecordsTimestrOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -130291,8 +258476,46 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeyRecordsTimestrOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -130316,7 +258539,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -130325,6 +258557,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); @@ -130334,6 +258569,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -130348,12 +258586,16 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); case EX2: return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -130362,15 +258604,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof clearKeysRecords_result) - return this.equals((clearKeysRecords_result) that); + if(that instanceof selectKeyRecordsTimestrOrder_result) + return this.equals((selectKeyRecordsTimestrOrder_result) that); return false; } - public boolean equals(clearKeysRecords_result that) { + public boolean equals(selectKeyRecordsTimestrOrder_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -130398,6 +258649,15 @@ public boolean equals(clearKeysRecords_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -130405,6 +258665,11 @@ public boolean equals(clearKeysRecords_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -130420,11 +258685,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(clearKeysRecords_result other) { + public int compareTo(selectKeyRecordsTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -130432,6 +258702,18 @@ public int compareTo(clearKeysRecords_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -130468,6 +258750,18 @@ public int compareTo(clearKeysRecords_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -130487,9 +258781,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("clearKeysRecords_result("); + StringBuilder sb = new StringBuilder( + "selectKeyRecordsTimestrOrder_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -130518,6 +258823,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -130551,18 +258866,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class clearKeysRecords_resultStandardSchemeFactory + private static class selectKeyRecordsTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public clearKeysRecords_resultStandardScheme getScheme() { - return new clearKeysRecords_resultStandardScheme(); + public selectKeyRecordsTimestrOrder_resultStandardScheme getScheme() { + return new selectKeyRecordsTimestrOrder_resultStandardScheme(); } } - private static class clearKeysRecords_resultStandardScheme - extends StandardScheme { + private static class selectKeyRecordsTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - clearKeysRecords_result struct) + selectKeyRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -130572,6 +258887,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map1506 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map1506.size); + long _key1507; + Set _val1508; + for (int _i1509 = 0; _i1509 < _map1506.size; ++_i1509) { + _key1507 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1510 = iprot + .readSetBegin(); + _val1508 = new LinkedHashSet( + 2 * _set1510.size); + com.cinchapi.concourse.thrift.TObject _elem1511; + for (int _i1512 = 0; _i1512 < _set1510.size; ++_i1512) { + _elem1511 = new com.cinchapi.concourse.thrift.TObject(); + _elem1511.read(iprot); + _val1508.add(_elem1511); + } + iprot.readSetEnd(); + } + struct.success.put(_key1507, _val1508); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -130596,7 +258946,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -130605,6 +258955,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -130619,11 +258980,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - clearKeysRecords_result struct) + selectKeyRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter1513 : struct.success + .entrySet()) { + oprot.writeI64(_iter1513.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1513.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter1514 : _iter1513 + .getValue()) { + _iter1514.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -130639,38 +259026,65 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class clearKeysRecords_resultTupleSchemeFactory + private static class selectKeyRecordsTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public clearKeysRecords_resultTupleScheme getScheme() { - return new clearKeysRecords_resultTupleScheme(); + public selectKeyRecordsTimestrOrder_resultTupleScheme getScheme() { + return new selectKeyRecordsTimestrOrder_resultTupleScheme(); } } - private static class clearKeysRecords_resultTupleScheme - extends TupleScheme { + private static class selectKeyRecordsTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - clearKeysRecords_result struct) + selectKeyRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - if(struct.isSetEx2()) { + if(struct.isSetEx()) { optionals.set(1); } - if(struct.isSetEx3()) { + if(struct.isSetEx2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter1515 : struct.success + .entrySet()) { + oprot.writeI64(_iter1515.getKey()); + { + oprot.writeI32(_iter1515.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1516 : _iter1515 + .getValue()) { + _iter1516.write(oprot); + } + } + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -130680,58 +259094,106 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - clearKeysRecords_result struct) + selectKeyRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map1517 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map1517.size); + long _key1518; + Set _val1519; + for (int _i1520 = 0; _i1520 < _map1517.size; ++_i1520) { + _key1518 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set1521 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1519 = new LinkedHashSet( + 2 * _set1521.size); + com.cinchapi.concourse.thrift.TObject _elem1522; + for (int _i1523 = 0; _i1523 < _set1521.size; ++_i1523) { + _elem1522 = new com.cinchapi.concourse.thrift.TObject(); + _elem1522.read(iprot); + _val1519.add(_elem1522); + } + } + struct.success.put(_key1518, _val1519); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(2)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class commit_args implements - org.apache.thrift.TBase, + public static class selectKeysRecordsTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "commit_args"); + "selectKeysRecordsTime_args"); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 2); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 3); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new commit_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new commit_argsTupleSchemeFactory()); + new selectKeysRecordsTime_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new selectKeysRecordsTime_argsTupleSchemeFactory()); } + public List keys; // required + public List records; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -130741,9 +259203,12 @@ public static class commit_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CREDS((short) 1, "creds"), - TRANSACTION((short) 2, "transaction"), - ENVIRONMENT((short) 3, "environment"); + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -130759,11 +259224,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CREDS + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 2: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 3: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -130809,10 +259280,31 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -130831,16 +259323,21 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(commit_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeysRecordsTime_args.class, metaDataMap); } - public commit_args() {} + public selectKeysRecordsTime_args() {} - public commit_args(com.cinchapi.concourse.thrift.AccessToken creds, + public selectKeysRecordsTime_args(List keys, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.keys = keys; + this.records = records; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -130849,7 +259346,17 @@ public commit_args(com.cinchapi.concourse.thrift.AccessToken creds, /** * Performs a deep copy on other. */ - public commit_args(commit_args other) { + public selectKeysRecordsTime_args(selectKeysRecordsTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -130863,22 +259370,139 @@ public commit_args(commit_args other) { } } - public commit_args deepCopy() { - return new commit_args(this); + public selectKeysRecordsTime_args deepCopy() { + return new selectKeysRecordsTime_args(this); } @Override public void clear() { + this.keys = null; + this.records = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysRecordsTime_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public selectKeysRecordsTime_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public selectKeysRecordsTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public commit_args setCreds( + public selectKeysRecordsTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -130906,7 +259530,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public commit_args setTransaction( + public selectKeysRecordsTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -130934,7 +259558,7 @@ public String getEnvironment() { return this.environment; } - public commit_args setEnvironment(String environment) { + public selectKeysRecordsTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -130959,6 +259583,33 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -130992,6 +259643,15 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case KEYS: + return getKeys(); + + case RECORDS: + return getRecords(); + + case TIMESTAMP: + return getTimestamp(); + case CREDS: return getCreds(); @@ -131015,6 +259675,12 @@ public boolean isSet(_Fields field) { } switch (field) { + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -131029,15 +259695,42 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof commit_args) - return this.equals((commit_args) that); + if(that instanceof selectKeysRecordsTime_args) + return this.equals((selectKeysRecordsTime_args) that); return false; } - public boolean equals(commit_args that) { + public boolean equals(selectKeysRecordsTime_args that) { if(that == null) return false; + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -131072,6 +259765,21 @@ public boolean equals(commit_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -131091,7 +259799,7 @@ public int hashCode() { } @Override - public int compareTo(commit_args other) { + public int compareTo(selectKeysRecordsTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -131099,6 +259807,42 @@ public int compareTo(commit_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -131154,9 +259898,34 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("commit_args("); + StringBuilder sb = new StringBuilder("selectKeysRecordsTime_args("); boolean first = true; + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); sb.append("creds:"); if(this.creds == null) { sb.append("null"); @@ -131215,6 +259984,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -131224,18 +259997,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class commit_argsStandardSchemeFactory + private static class selectKeysRecordsTime_argsStandardSchemeFactory implements SchemeFactory { - public commit_argsStandardScheme getScheme() { - return new commit_argsStandardScheme(); + public selectKeysRecordsTime_argsStandardScheme getScheme() { + return new selectKeysRecordsTime_argsStandardScheme(); } } - private static class commit_argsStandardScheme - extends StandardScheme { + private static class selectKeysRecordsTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - commit_args struct) throws org.apache.thrift.TException { + selectKeysRecordsTime_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -131244,7 +260018,59 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CREDS + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1524 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list1524.size); + String _elem1525; + for (int _i1526 = 0; _i1526 < _list1524.size; ++_i1526) { + _elem1525 = iprot.readString(); + struct.keys.add(_elem1525); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1527 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1527.size); + long _elem1528; + for (int _i1529 = 0; _i1529 < _list1527.size; ++_i1529) { + _elem1528 = iprot.readI64(); + struct.records.add(_elem1528); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -131255,7 +260081,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -131266,7 +260092,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -131290,10 +260116,42 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - commit_args struct) throws org.apache.thrift.TException { + selectKeysRecordsTime_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter1530 : struct.keys) { + oprot.writeString(_iter1530); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1531 : struct.records) { + oprot.writeI64(_iter1531); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -131315,31 +260173,60 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class commit_argsTupleSchemeFactory + private static class selectKeysRecordsTime_argsTupleSchemeFactory implements SchemeFactory { - public commit_argsTupleScheme getScheme() { - return new commit_argsTupleScheme(); + public selectKeysRecordsTime_argsTupleScheme getScheme() { + return new selectKeysRecordsTime_argsTupleScheme(); } } - private static class commit_argsTupleScheme - extends TupleScheme { + private static class selectKeysRecordsTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - commit_args struct) throws org.apache.thrift.TException { + selectKeysRecordsTime_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCreds()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTransaction()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetEnvironment()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter1532 : struct.keys) { + oprot.writeString(_iter1532); + } + } + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1533 : struct.records) { + oprot.writeI64(_iter1533); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -131353,20 +260240,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - commit_args struct) throws org.apache.thrift.TException { + selectKeysRecordsTime_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list1534 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list1534.size); + String _elem1535; + for (int _i1536 = 0; _i1536 < _list1534.size; ++_i1536) { + _elem1535 = iprot.readString(); + struct.keys.add(_elem1535); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list1537 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1537.size); + long _elem1538; + for (int _i1539 = 0; _i1539 < _list1537.size; ++_i1539) { + _elem1538 = iprot.readI64(); + struct.records.add(_elem1538); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -131375,16 +260295,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class commit_result implements - org.apache.thrift.TBase, + public static class selectKeysRecordsTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "commit_result"); + "selectKeysRecordsTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -131395,12 +260315,12 @@ public static class commit_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new commit_resultStandardSchemeFactory()); + new selectKeysRecordsTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new commit_resultTupleSchemeFactory()); + new selectKeysRecordsTime_resultTupleSchemeFactory()); } - public boolean success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -131481,8 +260401,6 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -131490,8 +260408,19 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -131508,19 +260437,19 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(commit_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeysRecordsTime_result.class, metaDataMap); } - public commit_result() {} + public selectKeysRecordsTime_result() {} - public commit_result(boolean success, + public selectKeysRecordsTime_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; - setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; @@ -131529,9 +260458,50 @@ public commit_result(boolean success, /** * Performs a deep copy on other. */ - public commit_result(commit_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public selectKeysRecordsTime_result( + selectKeysRecordsTime_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -131546,32 +260516,42 @@ public commit_result(commit_result other) { } } - public commit_result deepCopy() { - return new commit_result(this); + public selectKeysRecordsTime_result deepCopy() { + return new selectKeysRecordsTime_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; } - public boolean isSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { return this.success; } - public commit_result setSuccess(boolean success) { + public selectKeysRecordsTime_result setSuccess( + Map>> success) { this.success = success; - setSuccessIsSet(true); return this; } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __SUCCESS_ISSET_ID); + this.success = null; } /** @@ -131579,19 +260559,20 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __SUCCESS_ISSET_ID, value); + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public commit_result setEx( + public selectKeysRecordsTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -131619,7 +260600,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public commit_result setEx2( + public selectKeysRecordsTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -131647,7 +260628,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public commit_result setEx3( + public selectKeysRecordsTime_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -131678,7 +260659,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Boolean) value); + setSuccess( + (Map>>) value); } break; @@ -131715,7 +260697,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); case EX: return getEx(); @@ -131756,21 +260738,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof commit_result) - return this.equals((commit_result) that); + if(that instanceof selectKeysRecordsTime_result) + return this.equals((selectKeysRecordsTime_result) that); return false; } - public boolean equals(commit_result that) { + public boolean equals(selectKeysRecordsTime_result that) { if(that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(this.success != that.success) + if(!this.success.equals(that.success)) return false; } @@ -131808,7 +260790,7 @@ public boolean equals(commit_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if(present_success) list.add(success); @@ -131832,7 +260814,7 @@ public int hashCode() { } @Override - public int compareTo(commit_result other) { + public int compareTo(selectKeysRecordsTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -131907,11 +260889,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("commit_result("); + StringBuilder sb = new StringBuilder( + "selectKeysRecordsTime_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } first = false; if(!first) sb.append(", "); @@ -131967,10 +260955,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -131980,18 +260964,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class commit_resultStandardSchemeFactory + private static class selectKeysRecordsTime_resultStandardSchemeFactory implements SchemeFactory { - public commit_resultStandardScheme getScheme() { - return new commit_resultStandardScheme(); + public selectKeysRecordsTime_resultStandardScheme getScheme() { + return new selectKeysRecordsTime_resultStandardScheme(); } } - private static class commit_resultStandardScheme - extends StandardScheme { + private static class selectKeysRecordsTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - commit_result struct) throws org.apache.thrift.TException { + selectKeysRecordsTime_result struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -132001,8 +260986,46 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map1540 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map1540.size); + long _key1541; + Map> _val1542; + for (int _i1543 = 0; _i1543 < _map1540.size; ++_i1543) { + _key1541 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1544 = iprot + .readMapBegin(); + _val1542 = new LinkedHashMap>( + 2 * _map1544.size); + String _key1545; + Set _val1546; + for (int _i1547 = 0; _i1547 < _map1544.size; ++_i1547) { + _key1545 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1548 = iprot + .readSetBegin(); + _val1546 = new LinkedHashSet( + 2 * _set1548.size); + com.cinchapi.concourse.thrift.TObject _elem1549; + for (int _i1550 = 0; _i1550 < _set1548.size; ++_i1550) { + _elem1549 = new com.cinchapi.concourse.thrift.TObject(); + _elem1549.read(iprot); + _val1546.add(_elem1549); + } + iprot.readSetEnd(); + } + _val1542.put(_key1545, _val1546); + } + iprot.readMapEnd(); + } + struct.success.put(_key1541, _val1542); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -132057,13 +261080,48 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - commit_result struct) throws org.apache.thrift.TException { + selectKeysRecordsTime_result struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.isSetSuccess()) { + if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter1551 : struct.success + .entrySet()) { + oprot.writeI64(_iter1551.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1551.getValue().size())); + for (Map.Entry> _iter1552 : _iter1551 + .getValue().entrySet()) { + oprot.writeString(_iter1552.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1552.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1553 : _iter1552 + .getValue()) { + _iter1553.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -132087,19 +261145,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class commit_resultTupleSchemeFactory + private static class selectKeysRecordsTime_resultTupleSchemeFactory implements SchemeFactory { - public commit_resultTupleScheme getScheme() { - return new commit_resultTupleScheme(); + public selectKeysRecordsTime_resultTupleScheme getScheme() { + return new selectKeysRecordsTime_resultTupleScheme(); } } - private static class commit_resultTupleScheme - extends TupleScheme { + private static class selectKeysRecordsTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - commit_result struct) throws org.apache.thrift.TException { + selectKeysRecordsTime_result struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetSuccess()) { @@ -132116,7 +261175,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, } oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - oprot.writeBool(struct.success); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter1554 : struct.success + .entrySet()) { + oprot.writeI64(_iter1554.getKey()); + { + oprot.writeI32(_iter1554.getValue().size()); + for (Map.Entry> _iter1555 : _iter1554 + .getValue().entrySet()) { + oprot.writeString(_iter1555.getKey()); + { + oprot.writeI32( + _iter1555.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1556 : _iter1555 + .getValue()) { + _iter1556.write(oprot); + } + } + } + } + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -132131,11 +261211,52 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - commit_result struct) throws org.apache.thrift.TException { + selectKeysRecordsTime_result struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.success = iprot.readBool(); + { + org.apache.thrift.protocol.TMap _map1557 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map1557.size); + long _key1558; + Map> _val1559; + for (int _i1560 = 0; _i1560 < _map1557.size; ++_i1560) { + _key1558 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1561 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val1559 = new LinkedHashMap>( + 2 * _map1561.size); + String _key1562; + Set _val1563; + for (int _i1564 = 0; _i1564 < _map1561.size; ++_i1564) { + _key1562 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1565 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1563 = new LinkedHashSet( + 2 * _set1565.size); + com.cinchapi.concourse.thrift.TObject _elem1566; + for (int _i1567 = 0; _i1567 < _set1565.size; ++_i1567) { + _elem1566 = new com.cinchapi.concourse.thrift.TObject(); + _elem1566.read(iprot); + _val1563.add(_elem1566); + } + } + _val1559.put(_key1562, _val1563); + } + } + struct.success.put(_key1558, _val1559); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -132158,31 +261279,43 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describe_args implements - org.apache.thrift.TBase, + public static class selectKeysRecordsTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describe_args"); + "selectKeysRecordsTimeOrder_args"); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 2); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 3); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describe_argsStandardSchemeFactory()); + new selectKeysRecordsTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describe_argsTupleSchemeFactory()); + new selectKeysRecordsTimeOrder_argsTupleSchemeFactory()); } + public List keys; // required + public List records; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -132192,9 +261325,13 @@ public static class describe_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CREDS((short) 1, "creds"), - TRANSACTION((short) 2, "transaction"), - ENVIRONMENT((short) 3, "environment"); + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -132210,11 +261347,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CREDS + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 2: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 3: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -132260,10 +261405,37 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -132282,16 +261454,24 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(describe_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeysRecordsTimeOrder_args.class, metaDataMap); } - public describe_args() {} + public selectKeysRecordsTimeOrder_args() {} - public describe_args(com.cinchapi.concourse.thrift.AccessToken creds, + public selectKeysRecordsTimeOrder_args(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.keys = keys; + this.records = records; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -132300,7 +261480,22 @@ public describe_args(com.cinchapi.concourse.thrift.AccessToken creds, /** * Performs a deep copy on other. */ - public describe_args(describe_args other) { + public selectKeysRecordsTimeOrder_args( + selectKeysRecordsTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -132314,22 +261509,168 @@ public describe_args(describe_args other) { } } - public describe_args deepCopy() { - return new describe_args(this); + public selectKeysRecordsTimeOrder_args deepCopy() { + return new selectKeysRecordsTimeOrder_args(this); } @Override public void clear() { + this.keys = null; + this.records = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysRecordsTimeOrder_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public selectKeysRecordsTimeOrder_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public selectKeysRecordsTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeysRecordsTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public describe_args setCreds( + public selectKeysRecordsTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -132357,7 +261698,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public describe_args setTransaction( + public selectKeysRecordsTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -132385,7 +261726,8 @@ public String getEnvironment() { return this.environment; } - public describe_args setEnvironment(String environment) { + public selectKeysRecordsTimeOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -132410,6 +261752,42 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -132443,6 +261821,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case KEYS: + return getKeys(); + + case RECORDS: + return getRecords(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -132466,6 +261856,14 @@ public boolean isSet(_Fields field) { } switch (field) { + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -132480,15 +261878,51 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describe_args) - return this.equals((describe_args) that); + if(that instanceof selectKeysRecordsTimeOrder_args) + return this.equals((selectKeysRecordsTimeOrder_args) that); return false; } - public boolean equals(describe_args that) { + public boolean equals(selectKeysRecordsTimeOrder_args that) { if(that == null) return false; + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -132523,6 +261957,26 @@ public boolean equals(describe_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -132542,7 +261996,7 @@ public int hashCode() { } @Override - public int compareTo(describe_args other) { + public int compareTo(selectKeysRecordsTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -132550,6 +262004,54 @@ public int compareTo(describe_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -132605,9 +262107,45 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describe_args("); + StringBuilder sb = new StringBuilder( + "selectKeysRecordsTimeOrder_args("); boolean first = true; + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; + if(!first) + sb.append(", "); sb.append("creds:"); if(this.creds == null) { sb.append("null"); @@ -132643,6 +262181,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -132666,6 +262207,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -132675,18 +262220,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describe_argsStandardSchemeFactory + private static class selectKeysRecordsTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public describe_argsStandardScheme getScheme() { - return new describe_argsStandardScheme(); + public selectKeysRecordsTimeOrder_argsStandardScheme getScheme() { + return new selectKeysRecordsTimeOrder_argsStandardScheme(); } } - private static class describe_argsStandardScheme - extends StandardScheme { + private static class selectKeysRecordsTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describe_args struct) throws org.apache.thrift.TException { + selectKeysRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -132695,7 +262241,70 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CREDS + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1568 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list1568.size); + String _elem1569; + for (int _i1570 = 0; _i1570 < _list1568.size; ++_i1570) { + _elem1569 = iprot.readString(); + struct.keys.add(_elem1569); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1571 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1571.size); + long _elem1572; + for (int _i1573 = 0; _i1573 < _list1571.size; ++_i1573) { + _elem1572 = iprot.readI64(); + struct.records.add(_elem1572); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -132706,7 +262315,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -132717,7 +262326,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -132741,10 +262350,47 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describe_args struct) throws org.apache.thrift.TException { + selectKeysRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter1574 : struct.keys) { + oprot.writeString(_iter1574); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1575 : struct.records) { + oprot.writeI64(_iter1575); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -132766,31 +262412,66 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describe_argsTupleSchemeFactory + private static class selectKeysRecordsTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public describe_argsTupleScheme getScheme() { - return new describe_argsTupleScheme(); + public selectKeysRecordsTimeOrder_argsTupleScheme getScheme() { + return new selectKeysRecordsTimeOrder_argsTupleScheme(); } } - private static class describe_argsTupleScheme - extends TupleScheme { + private static class selectKeysRecordsTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describe_args struct) throws org.apache.thrift.TException { + selectKeysRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCreds()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTransaction()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetEnvironment()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetOrder()) { + optionals.set(3); + } + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter1576 : struct.keys) { + oprot.writeString(_iter1576); + } + } + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1577 : struct.records) { + oprot.writeI64(_iter1577); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -132804,20 +262485,58 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describe_args struct) throws org.apache.thrift.TException { + selectKeysRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list1578 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list1578.size); + String _elem1579; + for (int _i1580 = 0; _i1580 < _list1578.size; ++_i1580) { + _elem1579 = iprot.readString(); + struct.keys.add(_elem1579); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list1581 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1581.size); + long _elem1582; + for (int _i1583 = 0; _i1583 < _list1581.size; ++_i1583) { + _elem1582 = iprot.readI64(); + struct.records.add(_elem1582); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -132826,16 +262545,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describe_result implements - org.apache.thrift.TBase, + public static class selectKeysRecordsTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describe_result"); + "selectKeysRecordsTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -132846,12 +262565,12 @@ public static class describe_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describe_resultStandardSchemeFactory()); + new selectKeysRecordsTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describe_resultTupleSchemeFactory()); + new selectKeysRecordsTimeOrder_resultTupleSchemeFactory()); } - public Set success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -132939,10 +262658,19 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -132959,13 +262687,14 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(describe_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeysRecordsTimeOrder_result.class, metaDataMap); } - public describe_result() {} + public selectKeysRecordsTimeOrder_result() {} - public describe_result(Set success, + public selectKeysRecordsTimeOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -132979,10 +262708,48 @@ public describe_result(Set success, /** * Performs a deep copy on other. */ - public describe_result(describe_result other) { + public selectKeysRecordsTimeOrder_result( + selectKeysRecordsTimeOrder_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -132999,8 +262766,8 @@ public describe_result(describe_result other) { } } - public describe_result deepCopy() { - return new describe_result(this); + public selectKeysRecordsTimeOrder_result deepCopy() { + return new selectKeysRecordsTimeOrder_result(this); } @Override @@ -133015,22 +262782,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashSet(); + this.success = new LinkedHashMap>>(); } - this.success.add(elem); + this.success.put(key, val); } - public Set getSuccess() { + public Map>> getSuccess() { return this.success; } - public describe_result setSuccess(Set success) { + public selectKeysRecordsTimeOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -133057,7 +262822,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public describe_result setEx( + public selectKeysRecordsTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -133085,7 +262850,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public describe_result setEx2( + public selectKeysRecordsTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -133113,7 +262878,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public describe_result setEx3( + public selectKeysRecordsTimeOrder_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -133144,7 +262909,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Set) value); + setSuccess( + (Map>>) value); } break; @@ -133222,12 +262988,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describe_result) - return this.equals((describe_result) that); + if(that instanceof selectKeysRecordsTimeOrder_result) + return this.equals((selectKeysRecordsTimeOrder_result) that); return false; } - public boolean equals(describe_result that) { + public boolean equals(selectKeysRecordsTimeOrder_result that) { if(that == null) return false; @@ -133298,7 +263064,7 @@ public int hashCode() { } @Override - public int compareTo(describe_result other) { + public int compareTo(selectKeysRecordsTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -133373,7 +263139,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describe_result("); + StringBuilder sb = new StringBuilder( + "selectKeysRecordsTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -133447,18 +263214,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describe_resultStandardSchemeFactory + private static class selectKeysRecordsTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public describe_resultStandardScheme getScheme() { - return new describe_resultStandardScheme(); + public selectKeysRecordsTimeOrder_resultStandardScheme getScheme() { + return new selectKeysRecordsTimeOrder_resultStandardScheme(); } } - private static class describe_resultStandardScheme - extends StandardScheme { + private static class selectKeysRecordsTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describe_result struct) + selectKeysRecordsTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -133469,18 +263236,45 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TSet _set410 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set410.size); - String _elem411; - for (int _i412 = 0; _i412 < _set410.size; ++_i412) { - _elem411 = iprot.readString(); - struct.success.add(_elem411); + org.apache.thrift.protocol.TMap _map1584 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map1584.size); + long _key1585; + Map> _val1586; + for (int _i1587 = 0; _i1587 < _map1584.size; ++_i1587) { + _key1585 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1588 = iprot + .readMapBegin(); + _val1586 = new LinkedHashMap>( + 2 * _map1588.size); + String _key1589; + Set _val1590; + for (int _i1591 = 0; _i1591 < _map1588.size; ++_i1591) { + _key1589 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1592 = iprot + .readSetBegin(); + _val1590 = new LinkedHashSet( + 2 * _set1592.size); + com.cinchapi.concourse.thrift.TObject _elem1593; + for (int _i1594 = 0; _i1594 < _set1592.size; ++_i1594) { + _elem1593 = new com.cinchapi.concourse.thrift.TObject(); + _elem1593.read(iprot); + _val1590.add(_elem1593); + } + iprot.readSetEnd(); + } + _val1586.put(_key1589, _val1590); + } + iprot.readMapEnd(); + } + struct.success.put(_key1585, _val1586); } - iprot.readSetEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } @@ -133536,7 +263330,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describe_result struct) + selectKeysRecordsTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -133544,13 +263338,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (String _iter413 : struct.success) { - oprot.writeString(_iter413); + for (Map.Entry>> _iter1595 : struct.success + .entrySet()) { + oprot.writeI64(_iter1595.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1595.getValue().size())); + for (Map.Entry> _iter1596 : _iter1595 + .getValue().entrySet()) { + oprot.writeString(_iter1596.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1596.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1597 : _iter1596 + .getValue()) { + _iter1597.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -133575,19 +263395,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describe_resultTupleSchemeFactory + private static class selectKeysRecordsTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public describe_resultTupleScheme getScheme() { - return new describe_resultTupleScheme(); + public selectKeysRecordsTimeOrder_resultTupleScheme getScheme() { + return new selectKeysRecordsTimeOrder_resultTupleScheme(); } } - private static class describe_resultTupleScheme - extends TupleScheme { + private static class selectKeysRecordsTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describe_result struct) + selectKeysRecordsTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -133607,8 +263427,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter414 : struct.success) { - oprot.writeString(_iter414); + for (Map.Entry>> _iter1598 : struct.success + .entrySet()) { + oprot.writeI64(_iter1598.getKey()); + { + oprot.writeI32(_iter1598.getValue().size()); + for (Map.Entry> _iter1599 : _iter1598 + .getValue().entrySet()) { + oprot.writeString(_iter1599.getKey()); + { + oprot.writeI32( + _iter1599.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1600 : _iter1599 + .getValue()) { + _iter1600.write(oprot); + } + } + } + } } } } @@ -133625,21 +263461,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describe_result struct) + selectKeysRecordsTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set415 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1601 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set415.size); - String _elem416; - for (int _i417 = 0; _i417 < _set415.size; ++_i417) { - _elem416 = iprot.readString(); - struct.success.add(_elem416); + struct.success = new LinkedHashMap>>( + 2 * _map1601.size); + long _key1602; + Map> _val1603; + for (int _i1604 = 0; _i1604 < _map1601.size; ++_i1604) { + _key1602 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1605 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val1603 = new LinkedHashMap>( + 2 * _map1605.size); + String _key1606; + Set _val1607; + for (int _i1608 = 0; _i1608 < _map1605.size; ++_i1608) { + _key1606 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1609 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1607 = new LinkedHashSet( + 2 * _set1609.size); + com.cinchapi.concourse.thrift.TObject _elem1610; + for (int _i1611 = 0; _i1611 < _set1609.size; ++_i1611) { + _elem1610 = new com.cinchapi.concourse.thrift.TObject(); + _elem1610.read(iprot); + _val1607.add(_elem1610); + } + } + _val1603.put(_key1606, _val1607); + } + } + struct.success.put(_key1602, _val1603); } } struct.setSuccessIsSet(true); @@ -133664,34 +263529,41 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeTime_args implements - org.apache.thrift.TBase, + public static class selectKeysRecordsTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeTime_args"); + "selectKeysRecordsTimestr_args"); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 1); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeTime_argsStandardSchemeFactory()); + new selectKeysRecordsTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeTime_argsTupleSchemeFactory()); + new selectKeysRecordsTimestr_argsTupleSchemeFactory()); } - public long timestamp; // required + public List keys; // required + public List records; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -133701,10 +263573,12 @@ public static class describeTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - TIMESTAMP((short) 1, "timestamp"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -133720,13 +263594,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // TIMESTAMP + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // TIMESTAMP return TIMESTAMP; - case 2: // CREDS + case 4: // CREDS return CREDS; - case 3: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -133772,17 +263650,29 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -133801,19 +263691,21 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(describeTime_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeysRecordsTimestr_args.class, metaDataMap); } - public describeTime_args() {} + public selectKeysRecordsTimestr_args() {} - public describeTime_args(long timestamp, + public selectKeysRecordsTimestr_args(List keys, + List records, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.keys = keys; + this.records = records; this.timestamp = timestamp; - setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -133822,9 +263714,19 @@ public describeTime_args(long timestamp, /** * Performs a deep copy on other. */ - public describeTime_args(describeTime_args other) { - __isset_bitfield = other.__isset_bitfield; - this.timestamp = other.timestamp; + public selectKeysRecordsTimestr_args( + selectKeysRecordsTimestr_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -133838,32 +263740,115 @@ public describeTime_args(describeTime_args other) { } } - public describeTime_args deepCopy() { - return new describeTime_args(this); + public selectKeysRecordsTimestr_args deepCopy() { + return new selectKeysRecordsTimestr_args(this); } @Override public void clear() { - setTimestampIsSet(false); - this.timestamp = 0; + this.keys = null; + this.records = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getTimestamp() { + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysRecordsTimestr_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public selectKeysRecordsTimestr_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public String getTimestamp() { return this.timestamp; } - public describeTime_args setTimestamp(long timestamp) { + public selectKeysRecordsTimestr_args setTimestamp(String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -133871,20 +263856,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public describeTime_args setCreds( + public selectKeysRecordsTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -133912,7 +263897,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public describeTime_args setTransaction( + public selectKeysRecordsTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -133940,7 +263925,8 @@ public String getEnvironment() { return this.environment; } - public describeTime_args setEnvironment(String environment) { + public selectKeysRecordsTimestr_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -133965,12 +263951,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + case TIMESTAMP: if(value == null) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); } break; @@ -134007,6 +264011,12 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case KEYS: + return getKeys(); + + case RECORDS: + return getRecords(); + case TIMESTAMP: return getTimestamp(); @@ -134033,6 +264043,10 @@ public boolean isSet(_Fields field) { } switch (field) { + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -134049,21 +264063,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeTime_args) - return this.equals((describeTime_args) that); + if(that instanceof selectKeysRecordsTimestr_args) + return this.equals((selectKeysRecordsTimestr_args) that); return false; } - public boolean equals(describeTime_args that) { + public boolean equals(selectKeysRecordsTimestr_args that) { if(that == null) return false; - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -134101,7 +264133,17 @@ public boolean equals(describeTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_timestamp = true; + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -134125,7 +264167,7 @@ public int hashCode() { } @Override - public int compareTo(describeTime_args other) { + public int compareTo(selectKeysRecordsTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -134133,6 +264175,30 @@ public int compareTo(describeTime_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetTimestamp()) .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { @@ -134200,11 +264266,37 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeTime_args("); + StringBuilder sb = new StringBuilder( + "selectKeysRecordsTimestr_args("); boolean first = true; + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -134266,10 +264358,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -134279,18 +264367,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeTime_argsStandardSchemeFactory + private static class selectKeysRecordsTimestr_argsStandardSchemeFactory implements SchemeFactory { - public describeTime_argsStandardScheme getScheme() { - return new describeTime_argsStandardScheme(); + public selectKeysRecordsTimestr_argsStandardScheme getScheme() { + return new selectKeysRecordsTimestr_argsStandardScheme(); } } - private static class describeTime_argsStandardScheme - extends StandardScheme { + private static class selectKeysRecordsTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeTime_args struct) + selectKeysRecordsTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -134300,9 +264388,51 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1612 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list1612.size); + String _elem1613; + for (int _i1614 = 0; _i1614 < _list1612.size; ++_i1614) { + _elem1613 = iprot.readString(); + struct.keys.add(_elem1613); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1615 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1615.size); + long _elem1616; + for (int _i1617 = 0; _i1617 < _list1615.size; ++_i1617) { + _elem1616 = iprot.readI64(); + struct.records.add(_elem1616); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -134310,7 +264440,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -134321,7 +264451,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -134332,7 +264462,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -134356,14 +264486,44 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeTime_args struct) + selectKeysRecordsTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter1618 : struct.keys) { + oprot.writeString(_iter1618); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1619 : struct.records) { + oprot.writeI64(_iter1619); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -134385,37 +264545,59 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeTime_argsTupleSchemeFactory + private static class selectKeysRecordsTimestr_argsTupleSchemeFactory implements SchemeFactory { - public describeTime_argsTupleScheme getScheme() { - return new describeTime_argsTupleScheme(); + public selectKeysRecordsTimestr_argsTupleScheme getScheme() { + return new selectKeysRecordsTimestr_argsTupleScheme(); } } - private static class describeTime_argsTupleScheme - extends TupleScheme { + private static class selectKeysRecordsTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeTime_args struct) + selectKeysRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetTimestamp()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter1620 : struct.keys) { + oprot.writeString(_iter1620); + } + } + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1621 : struct.records) { + oprot.writeI64(_iter1621); + } + } + } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -134430,25 +264612,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeTime_args struct) + selectKeysRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + { + org.apache.thrift.protocol.TList _list1622 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list1622.size); + String _elem1623; + for (int _i1624 = 0; _i1624 < _list1622.size; ++_i1624) { + _elem1623 = iprot.readString(); + struct.keys.add(_elem1623); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list1625 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1625.size); + long _elem1626; + for (int _i1627 = 0; _i1627 < _list1625.size; ++_i1627) { + _elem1626 = iprot.readI64(); + struct.records.add(_elem1626); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -134457,35 +264667,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeTime_result implements - org.apache.thrift.TBase, + public static class selectKeysRecordsTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeTime_result"); + "selectKeysRecordsTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeTime_resultStandardSchemeFactory()); + new selectKeysRecordsTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeTime_resultTupleSchemeFactory()); + new selectKeysRecordsTimestr_resultTupleSchemeFactory()); } - public Set success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -134495,7 +264708,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -134519,6 +264733,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -134570,10 +264786,19 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -134589,31 +264814,77 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeTime_result.class, metaDataMap); + selectKeysRecordsTimestr_result.class, metaDataMap); } - public describeTime_result() {} + public selectKeysRecordsTimestr_result() {} - public describeTime_result(Set success, + public selectKeysRecordsTimestr_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public describeTime_result(describeTime_result other) { + public selectKeysRecordsTimestr_result( + selectKeysRecordsTimestr_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -134625,13 +264896,17 @@ public describeTime_result(describeTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public describeTime_result deepCopy() { - return new describeTime_result(this); + public selectKeysRecordsTimestr_result deepCopy() { + return new selectKeysRecordsTimestr_result(this); } @Override @@ -134640,28 +264915,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashSet(); + this.success = new LinkedHashMap>>(); } - this.success.add(elem); + this.success.put(key, val); } - public Set getSuccess() { + public Map>> getSuccess() { return this.success; } - public describeTime_result setSuccess(Set success) { + public selectKeysRecordsTimestr_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -134688,7 +264962,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public describeTime_result setEx( + public selectKeysRecordsTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -134716,7 +264990,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public describeTime_result setEx2( + public selectKeysRecordsTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -134740,12 +265014,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public describeTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectKeysRecordsTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -134768,6 +265042,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeysRecordsTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -134775,7 +265077,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Set) value); + setSuccess( + (Map>>) value); } break; @@ -134802,7 +265105,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -134823,6 +265135,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -134845,6 +265160,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -134853,12 +265170,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeTime_result) - return this.equals((describeTime_result) that); + if(that instanceof selectKeysRecordsTimestr_result) + return this.equals((selectKeysRecordsTimestr_result) that); return false; } - public boolean equals(describeTime_result that) { + public boolean equals(selectKeysRecordsTimestr_result that) { if(that == null) return false; @@ -134898,6 +265215,15 @@ public boolean equals(describeTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -134925,11 +265251,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(describeTime_result other) { + public int compareTo(selectKeysRecordsTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -134985,6 +265316,18 @@ public int compareTo(describeTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -135004,7 +265347,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeTime_result("); + StringBuilder sb = new StringBuilder( + "selectKeysRecordsTimestr_result("); boolean first = true; sb.append("success:"); @@ -135045,6 +265389,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -135078,18 +265432,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeTime_resultStandardSchemeFactory + private static class selectKeysRecordsTimestr_resultStandardSchemeFactory implements SchemeFactory { - public describeTime_resultStandardScheme getScheme() { - return new describeTime_resultStandardScheme(); + public selectKeysRecordsTimestr_resultStandardScheme getScheme() { + return new selectKeysRecordsTimestr_resultStandardScheme(); } } - private static class describeTime_resultStandardScheme - extends StandardScheme { + private static class selectKeysRecordsTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeTime_result struct) + selectKeysRecordsTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -135100,18 +265454,45 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TSet _set418 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set418.size); - String _elem419; - for (int _i420 = 0; _i420 < _set418.size; ++_i420) { - _elem419 = iprot.readString(); - struct.success.add(_elem419); + org.apache.thrift.protocol.TMap _map1628 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map1628.size); + long _key1629; + Map> _val1630; + for (int _i1631 = 0; _i1631 < _map1628.size; ++_i1631) { + _key1629 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1632 = iprot + .readMapBegin(); + _val1630 = new LinkedHashMap>( + 2 * _map1632.size); + String _key1633; + Set _val1634; + for (int _i1635 = 0; _i1635 < _map1632.size; ++_i1635) { + _key1633 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1636 = iprot + .readSetBegin(); + _val1634 = new LinkedHashSet( + 2 * _set1636.size); + com.cinchapi.concourse.thrift.TObject _elem1637; + for (int _i1638 = 0; _i1638 < _set1636.size; ++_i1638) { + _elem1637 = new com.cinchapi.concourse.thrift.TObject(); + _elem1637.read(iprot); + _val1634.add(_elem1637); + } + iprot.readSetEnd(); + } + _val1630.put(_key1633, _val1634); + } + iprot.readMapEnd(); + } + struct.success.put(_key1629, _val1630); } - iprot.readSetEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } @@ -135144,7 +265525,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -135153,6 +265534,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -135167,7 +265559,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeTime_result struct) + selectKeysRecordsTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -135175,13 +265567,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (String _iter421 : struct.success) { - oprot.writeString(_iter421); + for (Map.Entry>> _iter1639 : struct.success + .entrySet()) { + oprot.writeI64(_iter1639.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1639.getValue().size())); + for (Map.Entry> _iter1640 : _iter1639 + .getValue().entrySet()) { + oprot.writeString(_iter1640.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1640.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1641 : _iter1640 + .getValue()) { + _iter1641.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -135200,25 +265618,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class describeTime_resultTupleSchemeFactory + private static class selectKeysRecordsTimestr_resultTupleSchemeFactory implements SchemeFactory { - public describeTime_resultTupleScheme getScheme() { - return new describeTime_resultTupleScheme(); + public selectKeysRecordsTimestr_resultTupleScheme getScheme() { + return new selectKeysRecordsTimestr_resultTupleScheme(); } } - private static class describeTime_resultTupleScheme - extends TupleScheme { + private static class selectKeysRecordsTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeTime_result struct) + selectKeysRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -135234,12 +265657,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter422 : struct.success) { - oprot.writeString(_iter422); + for (Map.Entry>> _iter1642 : struct.success + .entrySet()) { + oprot.writeI64(_iter1642.getKey()); + { + oprot.writeI32(_iter1642.getValue().size()); + for (Map.Entry> _iter1643 : _iter1642 + .getValue().entrySet()) { + oprot.writeString(_iter1643.getKey()); + { + oprot.writeI32( + _iter1643.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1644 : _iter1643 + .getValue()) { + _iter1644.write(oprot); + } + } + } + } } } } @@ -135252,25 +265694,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeTime_result struct) + selectKeysRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set423 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1645 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set423.size); - String _elem424; - for (int _i425 = 0; _i425 < _set423.size; ++_i425) { - _elem424 = iprot.readString(); - struct.success.add(_elem424); + struct.success = new LinkedHashMap>>( + 2 * _map1645.size); + long _key1646; + Map> _val1647; + for (int _i1648 = 0; _i1648 < _map1645.size; ++_i1648) { + _key1646 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1649 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val1647 = new LinkedHashMap>( + 2 * _map1649.size); + String _key1650; + Set _val1651; + for (int _i1652 = 0; _i1652 < _map1649.size; ++_i1652) { + _key1650 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1653 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1651 = new LinkedHashSet( + 2 * _set1653.size); + com.cinchapi.concourse.thrift.TObject _elem1654; + for (int _i1655 = 0; _i1655 < _set1653.size; ++_i1655) { + _elem1654 = new com.cinchapi.concourse.thrift.TObject(); + _elem1654.read(iprot); + _val1651.add(_elem1654); + } + } + _val1647.put(_key1650, _val1651); + } + } + struct.success.put(_key1646, _val1647); } } struct.setSuccessIsSet(true); @@ -135286,44 +265760,58 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class describeTimestr_args implements - org.apache.thrift.TBase, + public static class selectKeysRecordsTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeTimestr_args"); + "selectKeysRecordsTimestrOrder_args"); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 1); + (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeTimestr_argsStandardSchemeFactory()); + new selectKeysRecordsTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeTimestr_argsTupleSchemeFactory()); + new selectKeysRecordsTimestrOrder_argsTupleSchemeFactory()); } + public List keys; // required + public List records; // required public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -135333,10 +265821,13 @@ public static class describeTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - TIMESTAMP((short) 1, "timestamp"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -135352,13 +265843,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // TIMESTAMP + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // TIMESTAMP return TIMESTAMP; - case 2: // CREDS + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 3: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -135408,11 +265905,31 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -135432,17 +265949,22 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeTimestr_args.class, metaDataMap); + selectKeysRecordsTimestrOrder_args.class, metaDataMap); } - public describeTimestr_args() {} + public selectKeysRecordsTimestrOrder_args() {} - public describeTimestr_args(String timestamp, + public selectKeysRecordsTimestrOrder_args(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.keys = keys; + this.records = records; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -135451,10 +265973,23 @@ public describeTimestr_args(String timestamp, /** * Performs a deep copy on other. */ - public describeTimestr_args(describeTimestr_args other) { + public selectKeysRecordsTimestrOrder_args( + selectKeysRecordsTimestrOrder_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -135468,23 +266003,112 @@ public describeTimestr_args(describeTimestr_args other) { } } - public describeTimestr_args deepCopy() { - return new describeTimestr_args(this); + public selectKeysRecordsTimestrOrder_args deepCopy() { + return new selectKeysRecordsTimestrOrder_args(this); } @Override public void clear() { + this.keys = null; + this.records = null; this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysRecordsTimestrOrder_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public selectKeysRecordsTimestrOrder_args setRecords( + List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + public String getTimestamp() { return this.timestamp; } - public describeTimestr_args setTimestamp(String timestamp) { + public selectKeysRecordsTimestrOrder_args setTimestamp( + String timestamp) { this.timestamp = timestamp; return this; } @@ -135507,11 +266131,39 @@ public void setTimestampIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeysRecordsTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public describeTimestr_args setCreds( + public selectKeysRecordsTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -135539,7 +266191,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public describeTimestr_args setTransaction( + public selectKeysRecordsTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -135567,7 +266219,8 @@ public String getEnvironment() { return this.environment; } - public describeTimestr_args setEnvironment(String environment) { + public selectKeysRecordsTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -135592,6 +266245,24 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + case TIMESTAMP: if(value == null) { unsetTimestamp(); @@ -135601,6 +266272,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -135634,9 +266314,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case KEYS: + return getKeys(); + + case RECORDS: + return getRecords(); + case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -135660,8 +266349,14 @@ public boolean isSet(_Fields field) { } switch (field) { + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -135676,15 +266371,33 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeTimestr_args) - return this.equals((describeTimestr_args) that); + if(that instanceof selectKeysRecordsTimestrOrder_args) + return this.equals((selectKeysRecordsTimestrOrder_args) that); return false; } - public boolean equals(describeTimestr_args that) { + public boolean equals(selectKeysRecordsTimestrOrder_args that) { if(that == null) return false; + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + boolean this_present_timestamp = true && this.isSetTimestamp(); boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { @@ -135694,6 +266407,15 @@ public boolean equals(describeTimestr_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -135728,11 +266450,26 @@ public boolean equals(describeTimestr_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -135752,7 +266489,7 @@ public int hashCode() { } @Override - public int compareTo(describeTimestr_args other) { + public int compareTo(selectKeysRecordsTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -135760,6 +266497,30 @@ public int compareTo(describeTimestr_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetTimestamp()) .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { @@ -135772,6 +266533,18 @@ public int compareTo(describeTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -135827,9 +266600,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeTimestr_args("); + StringBuilder sb = new StringBuilder( + "selectKeysRecordsTimestrOrder_args("); boolean first = true; + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); sb.append("timestamp:"); if(this.timestamp == null) { sb.append("null"); @@ -135838,6 +266632,16 @@ public String toString() { sb.append(this.timestamp); } first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -135875,6 +266679,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -135907,18 +266714,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeTimestr_argsStandardSchemeFactory + private static class selectKeysRecordsTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public describeTimestr_argsStandardScheme getScheme() { - return new describeTimestr_argsStandardScheme(); + public selectKeysRecordsTimestrOrder_argsStandardScheme getScheme() { + return new selectKeysRecordsTimestrOrder_argsStandardScheme(); } } - private static class describeTimestr_argsStandardScheme - extends StandardScheme { + private static class selectKeysRecordsTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeTimestr_args struct) + selectKeysRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -135928,7 +266735,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // TIMESTAMP + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1656 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list1656.size); + String _elem1657; + for (int _i1658 = 0; _i1658 < _list1656.size; ++_i1658) { + _elem1657 = iprot.readString(); + struct.keys.add(_elem1657); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1659 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list1659.size); + long _elem1660; + for (int _i1661 = 0; _i1661 < _list1659.size; ++_i1661) { + _elem1660 = iprot.readI64(); + struct.records.add(_elem1660); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); @@ -135938,7 +266787,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -135949,7 +266809,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -135960,7 +266820,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -135984,16 +266844,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeTimestr_args struct) + selectKeysRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter1662 : struct.keys) { + oprot.writeString(_iter1662); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter1663 : struct.records) { + oprot.writeI64(_iter1663); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } if(struct.timestamp != null) { oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -136015,38 +266908,66 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeTimestr_argsTupleSchemeFactory + private static class selectKeysRecordsTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public describeTimestr_argsTupleScheme getScheme() { - return new describeTimestr_argsTupleScheme(); + public selectKeysRecordsTimestrOrder_argsTupleScheme getScheme() { + return new selectKeysRecordsTimestrOrder_argsTupleScheme(); } } - private static class describeTimestr_argsTupleScheme - extends TupleScheme { + private static class selectKeysRecordsTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeTimestr_args struct) + selectKeysRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetTimestamp()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetOrder()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter1664 : struct.keys) { + oprot.writeString(_iter1664); + } + } + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter1665 : struct.records) { + oprot.writeI64(_iter1665); + } + } + } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -136060,25 +266981,58 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeTimestr_args struct) + selectKeysRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list1666 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list1666.size); + String _elem1667; + for (int _i1668 = 0; _i1668 < _list1666.size; ++_i1668) { + _elem1667 = iprot.readString(); + struct.keys.add(_elem1667); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list1669 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list1669.size); + long _elem1670; + for (int _i1671 = 0; _i1671 < _list1669.size; ++_i1671) { + _elem1670 = iprot.readI64(); + struct.records.add(_elem1670); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -136087,35 +267041,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeTimestr_result implements - org.apache.thrift.TBase, + public static class selectKeysRecordsTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeTimestr_result"); + "selectKeysRecordsTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeTimestr_resultStandardSchemeFactory()); + new selectKeysRecordsTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeTimestr_resultTupleSchemeFactory()); + new selectKeysRecordsTimestrOrder_resultTupleSchemeFactory()); } - public Set success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -136125,7 +267082,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -136149,6 +267107,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -136200,10 +267160,19 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -136219,31 +267188,77 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeTimestr_result.class, metaDataMap); + selectKeysRecordsTimestrOrder_result.class, metaDataMap); } - public describeTimestr_result() {} + public selectKeysRecordsTimestrOrder_result() {} - public describeTimestr_result(Set success, + public selectKeysRecordsTimestrOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public describeTimestr_result(describeTimestr_result other) { + public selectKeysRecordsTimestrOrder_result( + selectKeysRecordsTimestrOrder_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -136255,13 +267270,17 @@ public describeTimestr_result(describeTimestr_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public describeTimestr_result deepCopy() { - return new describeTimestr_result(this); + public selectKeysRecordsTimestrOrder_result deepCopy() { + return new selectKeysRecordsTimestrOrder_result(this); } @Override @@ -136270,28 +267289,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashSet(); + this.success = new LinkedHashMap>>(); } - this.success.add(elem); + this.success.put(key, val); } - public Set getSuccess() { + public Map>> getSuccess() { return this.success; } - public describeTimestr_result setSuccess(Set success) { + public selectKeysRecordsTimestrOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -136318,7 +267336,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public describeTimestr_result setEx( + public selectKeysRecordsTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -136346,7 +267364,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public describeTimestr_result setEx2( + public selectKeysRecordsTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -136370,12 +267388,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public describeTimestr_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectKeysRecordsTimestrOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -136398,6 +267416,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeysRecordsTimestrOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -136405,7 +267451,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Set) value); + setSuccess( + (Map>>) value); } break; @@ -136432,7 +267479,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -136453,6 +267509,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -136475,6 +267534,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -136483,12 +267544,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeTimestr_result) - return this.equals((describeTimestr_result) that); + if(that instanceof selectKeysRecordsTimestrOrder_result) + return this.equals((selectKeysRecordsTimestrOrder_result) that); return false; } - public boolean equals(describeTimestr_result that) { + public boolean equals(selectKeysRecordsTimestrOrder_result that) { if(that == null) return false; @@ -136528,6 +267589,15 @@ public boolean equals(describeTimestr_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -136555,11 +267625,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(describeTimestr_result other) { + public int compareTo(selectKeysRecordsTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -136615,6 +267690,18 @@ public int compareTo(describeTimestr_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -136634,7 +267721,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeTimestr_result("); + StringBuilder sb = new StringBuilder( + "selectKeysRecordsTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -136675,6 +267763,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -136708,18 +267806,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeTimestr_resultStandardSchemeFactory + private static class selectKeysRecordsTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public describeTimestr_resultStandardScheme getScheme() { - return new describeTimestr_resultStandardScheme(); + public selectKeysRecordsTimestrOrder_resultStandardScheme getScheme() { + return new selectKeysRecordsTimestrOrder_resultStandardScheme(); } } - private static class describeTimestr_resultStandardScheme - extends StandardScheme { + private static class selectKeysRecordsTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeTimestr_result struct) + selectKeysRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -136730,18 +267828,45 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TSet _set426 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set426.size); - String _elem427; - for (int _i428 = 0; _i428 < _set426.size; ++_i428) { - _elem427 = iprot.readString(); - struct.success.add(_elem427); + org.apache.thrift.protocol.TMap _map1672 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map1672.size); + long _key1673; + Map> _val1674; + for (int _i1675 = 0; _i1675 < _map1672.size; ++_i1675) { + _key1673 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1676 = iprot + .readMapBegin(); + _val1674 = new LinkedHashMap>( + 2 * _map1676.size); + String _key1677; + Set _val1678; + for (int _i1679 = 0; _i1679 < _map1676.size; ++_i1679) { + _key1677 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1680 = iprot + .readSetBegin(); + _val1678 = new LinkedHashSet( + 2 * _set1680.size); + com.cinchapi.concourse.thrift.TObject _elem1681; + for (int _i1682 = 0; _i1682 < _set1680.size; ++_i1682) { + _elem1681 = new com.cinchapi.concourse.thrift.TObject(); + _elem1681.read(iprot); + _val1678.add(_elem1681); + } + iprot.readSetEnd(); + } + _val1674.put(_key1677, _val1678); + } + iprot.readMapEnd(); + } + struct.success.put(_key1673, _val1674); } - iprot.readSetEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } @@ -136774,7 +267899,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -136783,6 +267908,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -136797,7 +267933,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeTimestr_result struct) + selectKeysRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -136805,13 +267941,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (String _iter429 : struct.success) { - oprot.writeString(_iter429); + for (Map.Entry>> _iter1683 : struct.success + .entrySet()) { + oprot.writeI64(_iter1683.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1683.getValue().size())); + for (Map.Entry> _iter1684 : _iter1683 + .getValue().entrySet()) { + oprot.writeString(_iter1684.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1684.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1685 : _iter1684 + .getValue()) { + _iter1685.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -136830,25 +267992,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class describeTimestr_resultTupleSchemeFactory + private static class selectKeysRecordsTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public describeTimestr_resultTupleScheme getScheme() { - return new describeTimestr_resultTupleScheme(); + public selectKeysRecordsTimestrOrder_resultTupleScheme getScheme() { + return new selectKeysRecordsTimestrOrder_resultTupleScheme(); } } - private static class describeTimestr_resultTupleScheme - extends TupleScheme { + private static class selectKeysRecordsTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeTimestr_result struct) + selectKeysRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -136864,12 +268031,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter430 : struct.success) { - oprot.writeString(_iter430); + for (Map.Entry>> _iter1686 : struct.success + .entrySet()) { + oprot.writeI64(_iter1686.getKey()); + { + oprot.writeI32(_iter1686.getValue().size()); + for (Map.Entry> _iter1687 : _iter1686 + .getValue().entrySet()) { + oprot.writeString(_iter1687.getKey()); + { + oprot.writeI32( + _iter1687.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1688 : _iter1687 + .getValue()) { + _iter1688.write(oprot); + } + } + } + } } } } @@ -136882,25 +268068,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeTimestr_result struct) + selectKeysRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set431 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1689 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set431.size); - String _elem432; - for (int _i433 = 0; _i433 < _set431.size; ++_i433) { - _elem432 = iprot.readString(); - struct.success.add(_elem432); + struct.success = new LinkedHashMap>>( + 2 * _map1689.size); + long _key1690; + Map> _val1691; + for (int _i1692 = 0; _i1692 < _map1689.size; ++_i1692) { + _key1690 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1693 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val1691 = new LinkedHashMap>( + 2 * _map1693.size); + String _key1694; + Set _val1695; + for (int _i1696 = 0; _i1696 < _map1693.size; ++_i1696) { + _key1694 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1697 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1695 = new LinkedHashSet( + 2 * _set1697.size); + com.cinchapi.concourse.thrift.TObject _elem1698; + for (int _i1699 = 0; _i1699 < _set1697.size; ++_i1699) { + _elem1698 = new com.cinchapi.concourse.thrift.TObject(); + _elem1698.read(iprot); + _val1695.add(_elem1698); + } + } + _val1691.put(_key1694, _val1695); + } + } + struct.success.put(_key1690, _val1691); } } struct.setSuccessIsSet(true); @@ -136916,25 +268134,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class describeRecord_args implements - org.apache.thrift.TBase, + public static class selectCriteria_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecord_args"); + "selectCriteria_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -136947,12 +268170,12 @@ public static class describeRecord_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecord_argsStandardSchemeFactory()); + new selectCriteria_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecord_argsTupleSchemeFactory()); + new selectCriteria_argsTupleSchemeFactory()); } - public long record; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -136962,7 +268185,7 @@ public static class describeRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), + CRITERIA((short) 1, "criteria"), CREDS((short) 2, "creds"), TRANSACTION((short) 3, "transaction"), ENVIRONMENT((short) 4, "environment"); @@ -136981,8 +268204,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; + case 1: // CRITERIA + return CRITERIA; case 2: // CREDS return CREDS; case 3: // TRANSACTION @@ -137033,17 +268256,16 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -137063,18 +268285,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecord_args.class, metaDataMap); + selectCriteria_args.class, metaDataMap); } - public describeRecord_args() {} + public selectCriteria_args() {} - public describeRecord_args(long record, + public selectCriteria_args( + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -137083,9 +268305,11 @@ public describeRecord_args(long record, /** * Performs a deep copy on other. */ - public describeRecord_args(describeRecord_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; + public selectCriteria_args(selectCriteria_args other) { + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -137099,52 +268323,51 @@ public describeRecord_args(describeRecord_args other) { } } - public describeRecord_args deepCopy() { - return new describeRecord_args(this); + public selectCriteria_args deepCopy() { + return new selectCriteria_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; + this.criteria = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public describeRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectCriteria_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public describeRecord_args setCreds( + public selectCriteria_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -137172,7 +268395,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public describeRecord_args setTransaction( + public selectCriteria_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -137200,7 +268423,7 @@ public String getEnvironment() { return this.environment; } - public describeRecord_args setEnvironment(String environment) { + public selectCriteria_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -137225,12 +268448,13 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case CRITERIA: if(value == null) { - unsetRecord(); + unsetCriteria(); } else { - setRecord((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -137267,8 +268491,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case CRITERIA: + return getCriteria(); case CREDS: return getCreds(); @@ -137293,8 +268517,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); + case CRITERIA: + return isSetCriteria(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -137309,21 +268533,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecord_args) - return this.equals((describeRecord_args) that); + if(that instanceof selectCriteria_args) + return this.equals((selectCriteria_args) that); return false; } - public boolean equals(describeRecord_args that) { + public boolean equals(selectCriteria_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.record != that.record) + if(!this.criteria.equals(that.criteria)) return false; } @@ -137361,10 +268585,10 @@ public boolean equals(describeRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -137385,7 +268609,7 @@ public int hashCode() { } @Override - public int compareTo(describeRecord_args other) { + public int compareTo(selectCriteria_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -137393,14 +268617,14 @@ public int compareTo(describeRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -137460,11 +268684,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeRecord_args("); + StringBuilder sb = new StringBuilder("selectCriteria_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } first = false; if(!first) sb.append(", "); @@ -137503,6 +268732,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -137526,10 +268758,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -137539,18 +268767,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecord_argsStandardSchemeFactory + private static class selectCriteria_argsStandardSchemeFactory implements SchemeFactory { - public describeRecord_argsStandardScheme getScheme() { - return new describeRecord_argsStandardScheme(); + public selectCriteria_argsStandardScheme getScheme() { + return new selectCriteria_argsStandardScheme(); } } - private static class describeRecord_argsStandardScheme - extends StandardScheme { + private static class selectCriteria_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecord_args struct) + selectCriteria_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -137560,10 +268788,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -137616,14 +268845,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecord_args struct) + selectCriteria_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -137645,23 +268876,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeRecord_argsTupleSchemeFactory + private static class selectCriteria_argsTupleSchemeFactory implements SchemeFactory { - public describeRecord_argsTupleScheme getScheme() { - return new describeRecord_argsTupleScheme(); + public selectCriteria_argsTupleScheme getScheme() { + return new selectCriteria_argsTupleScheme(); } } - private static class describeRecord_argsTupleScheme - extends TupleScheme { + private static class selectCriteria_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecord_args struct) + selectCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(0); } if(struct.isSetCreds()) { @@ -137674,8 +268905,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(3); } oprot.writeBitSet(optionals, 4); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -137690,13 +268921,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecord_args struct) + selectCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -137717,16 +268949,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeRecord_result implements - org.apache.thrift.TBase, + public static class selectCriteria_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecord_result"); + "selectCriteria_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -137737,12 +268969,12 @@ public static class describeRecord_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecord_resultStandardSchemeFactory()); + new selectCriteria_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecord_resultTupleSchemeFactory()); + new selectCriteria_resultTupleSchemeFactory()); } - public Set success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -137830,10 +269062,19 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -137851,12 +269092,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecord_result.class, metaDataMap); + selectCriteria_result.class, metaDataMap); } - public describeRecord_result() {} + public selectCriteria_result() {} - public describeRecord_result(Set success, + public selectCriteria_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -137870,10 +269112,47 @@ public describeRecord_result(Set success, /** * Performs a deep copy on other. */ - public describeRecord_result(describeRecord_result other) { + public selectCriteria_result(selectCriteria_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -137890,8 +269169,8 @@ public describeRecord_result(describeRecord_result other) { } } - public describeRecord_result deepCopy() { - return new describeRecord_result(this); + public selectCriteria_result deepCopy() { + return new selectCriteria_result(this); } @Override @@ -137906,22 +269185,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashSet(); + this.success = new LinkedHashMap>>(); } - this.success.add(elem); + this.success.put(key, val); } - public Set getSuccess() { + public Map>> getSuccess() { return this.success; } - public describeRecord_result setSuccess(Set success) { + public selectCriteria_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -137948,7 +269225,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public describeRecord_result setEx( + public selectCriteria_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -137976,7 +269253,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public describeRecord_result setEx2( + public selectCriteria_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -138004,7 +269281,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public describeRecord_result setEx3( + public selectCriteria_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -138035,7 +269312,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Set) value); + setSuccess( + (Map>>) value); } break; @@ -138113,12 +269391,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecord_result) - return this.equals((describeRecord_result) that); + if(that instanceof selectCriteria_result) + return this.equals((selectCriteria_result) that); return false; } - public boolean equals(describeRecord_result that) { + public boolean equals(selectCriteria_result that) { if(that == null) return false; @@ -138189,7 +269467,7 @@ public int hashCode() { } @Override - public int compareTo(describeRecord_result other) { + public int compareTo(selectCriteria_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -138264,7 +269542,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeRecord_result("); + StringBuilder sb = new StringBuilder("selectCriteria_result("); boolean first = true; sb.append("success:"); @@ -138338,18 +269616,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecord_resultStandardSchemeFactory + private static class selectCriteria_resultStandardSchemeFactory implements SchemeFactory { - public describeRecord_resultStandardScheme getScheme() { - return new describeRecord_resultStandardScheme(); + public selectCriteria_resultStandardScheme getScheme() { + return new selectCriteria_resultStandardScheme(); } } - private static class describeRecord_resultStandardScheme - extends StandardScheme { + private static class selectCriteria_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecord_result struct) + selectCriteria_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -138360,18 +269638,45 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TSet _set434 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set434.size); - String _elem435; - for (int _i436 = 0; _i436 < _set434.size; ++_i436) { - _elem435 = iprot.readString(); - struct.success.add(_elem435); + org.apache.thrift.protocol.TMap _map1700 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map1700.size); + long _key1701; + Map> _val1702; + for (int _i1703 = 0; _i1703 < _map1700.size; ++_i1703) { + _key1701 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1704 = iprot + .readMapBegin(); + _val1702 = new LinkedHashMap>( + 2 * _map1704.size); + String _key1705; + Set _val1706; + for (int _i1707 = 0; _i1707 < _map1704.size; ++_i1707) { + _key1705 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1708 = iprot + .readSetBegin(); + _val1706 = new LinkedHashSet( + 2 * _set1708.size); + com.cinchapi.concourse.thrift.TObject _elem1709; + for (int _i1710 = 0; _i1710 < _set1708.size; ++_i1710) { + _elem1709 = new com.cinchapi.concourse.thrift.TObject(); + _elem1709.read(iprot); + _val1706.add(_elem1709); + } + iprot.readSetEnd(); + } + _val1702.put(_key1705, _val1706); + } + iprot.readMapEnd(); + } + struct.success.put(_key1701, _val1702); } - iprot.readSetEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } @@ -138427,7 +269732,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecord_result struct) + selectCriteria_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -138435,13 +269740,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (String _iter437 : struct.success) { - oprot.writeString(_iter437); + for (Map.Entry>> _iter1711 : struct.success + .entrySet()) { + oprot.writeI64(_iter1711.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1711.getValue().size())); + for (Map.Entry> _iter1712 : _iter1711 + .getValue().entrySet()) { + oprot.writeString(_iter1712.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1712.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1713 : _iter1712 + .getValue()) { + _iter1713.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -138466,19 +269797,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeRecord_resultTupleSchemeFactory + private static class selectCriteria_resultTupleSchemeFactory implements SchemeFactory { - public describeRecord_resultTupleScheme getScheme() { - return new describeRecord_resultTupleScheme(); + public selectCriteria_resultTupleScheme getScheme() { + return new selectCriteria_resultTupleScheme(); } } - private static class describeRecord_resultTupleScheme - extends TupleScheme { + private static class selectCriteria_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecord_result struct) + selectCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -138498,8 +269829,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter438 : struct.success) { - oprot.writeString(_iter438); + for (Map.Entry>> _iter1714 : struct.success + .entrySet()) { + oprot.writeI64(_iter1714.getKey()); + { + oprot.writeI32(_iter1714.getValue().size()); + for (Map.Entry> _iter1715 : _iter1714 + .getValue().entrySet()) { + oprot.writeString(_iter1715.getKey()); + { + oprot.writeI32( + _iter1715.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1716 : _iter1715 + .getValue()) { + _iter1716.write(oprot); + } + } + } + } } } } @@ -138516,21 +269863,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecord_result struct) + selectCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set439 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1717 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set439.size); - String _elem440; - for (int _i441 = 0; _i441 < _set439.size; ++_i441) { - _elem440 = iprot.readString(); - struct.success.add(_elem440); + struct.success = new LinkedHashMap>>( + 2 * _map1717.size); + long _key1718; + Map> _val1719; + for (int _i1720 = 0; _i1720 < _map1717.size; ++_i1720) { + _key1718 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1721 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val1719 = new LinkedHashMap>( + 2 * _map1721.size); + String _key1722; + Set _val1723; + for (int _i1724 = 0; _i1724 < _map1721.size; ++_i1724) { + _key1722 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1725 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1723 = new LinkedHashSet( + 2 * _set1725.size); + com.cinchapi.concourse.thrift.TObject _elem1726; + for (int _i1727 = 0; _i1727 < _set1725.size; ++_i1727) { + _elem1726 = new com.cinchapi.concourse.thrift.TObject(); + _elem1726.read(iprot); + _val1723.add(_elem1726); + } + } + _val1719.put(_key1722, _val1723); + } + } + struct.success.put(_key1718, _val1719); } } struct.setSuccessIsSet(true); @@ -138555,18 +269931,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeRecordTime_args implements - org.apache.thrift.TBase, + public static class selectCriteriaOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecordTime_args"); + "selectCriteriaOrder_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -138579,13 +269955,13 @@ public static class describeRecordTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecordTime_argsStandardSchemeFactory()); + new selectCriteriaOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecordTime_argsTupleSchemeFactory()); + new selectCriteriaOrder_argsTupleSchemeFactory()); } - public long record; // required - public long timestamp; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -138595,8 +269971,8 @@ public static class describeRecordTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - TIMESTAMP((short) 2, "timestamp"), + CRITERIA((short) 1, "criteria"), + ORDER((short) 2, "order"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -138615,10 +269991,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // TIMESTAMP - return TIMESTAMP; + case 1: // CRITERIA + return CRITERIA; + case 2: // ORDER + return ORDER; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -138669,23 +270045,22 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __TIMESTAMP_ISSET_ID = 1; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -138705,20 +270080,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecordTime_args.class, metaDataMap); + selectCriteriaOrder_args.class, metaDataMap); } - public describeRecordTime_args() {} + public selectCriteriaOrder_args() {} - public describeRecordTime_args(long record, long timestamp, + public selectCriteriaOrder_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); - this.timestamp = timestamp; - setTimestampIsSet(true); + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -138727,10 +270102,15 @@ public describeRecordTime_args(long record, long timestamp, /** * Performs a deep copy on other. */ - public describeRecordTime_args(describeRecordTime_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; - this.timestamp = other.timestamp; + public selectCriteriaOrder_args(selectCriteriaOrder_args other) { + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -138744,83 +270124,80 @@ public describeRecordTime_args(describeRecordTime_args other) { } } - public describeRecordTime_args deepCopy() { - return new describeRecordTime_args(this); + public selectCriteriaOrder_args deepCopy() { + return new selectCriteriaOrder_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; - setTimestampIsSet(false); - this.timestamp = 0; + this.criteria = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public describeRecordTime_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectCriteriaOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } } - public long getTimestamp() { - return this.timestamp; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public describeRecordTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); + public selectCriteriaOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public void unsetOrder() { + this.order = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field order is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public boolean isSetOrder() { + return this.order != null; } - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public describeRecordTime_args setCreds( + public selectCriteriaOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -138848,7 +270225,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public describeRecordTime_args setTransaction( + public selectCriteriaOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -138876,7 +270253,7 @@ public String getEnvironment() { return this.environment; } - public describeRecordTime_args setEnvironment(String environment) { + public selectCriteriaOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -138901,21 +270278,22 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case CRITERIA: if(value == null) { - unsetRecord(); + unsetCriteria(); } else { - setRecord((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case TIMESTAMP: + case ORDER: if(value == null) { - unsetTimestamp(); + unsetOrder(); } else { - setTimestamp((Long) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -138952,11 +270330,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case CRITERIA: + return getCriteria(); - case TIMESTAMP: - return getTimestamp(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -138981,10 +270359,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); - case TIMESTAMP: - return isSetTimestamp(); + case CRITERIA: + return isSetCriteria(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -138999,30 +270377,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecordTime_args) - return this.equals((describeRecordTime_args) that); + if(that instanceof selectCriteriaOrder_args) + return this.equals((selectCriteriaOrder_args) that); return false; } - public boolean equals(describeRecordTime_args that) { + public boolean equals(selectCriteriaOrder_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.record != that.record) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(this.timestamp != that.timestamp) + if(!this.order.equals(that.order)) return false; } @@ -139060,15 +270438,15 @@ public boolean equals(describeRecordTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -139089,7 +270467,7 @@ public int hashCode() { } @Override - public int compareTo(describeRecordTime_args other) { + public int compareTo(selectCriteriaOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -139097,26 +270475,26 @@ public int compareTo(describeRecordTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -139176,16 +270554,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeRecordTime_args("); + StringBuilder sb = new StringBuilder("selectCriteriaOrder_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -139224,6 +270612,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -139247,10 +270641,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -139260,18 +270650,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecordTime_argsStandardSchemeFactory + private static class selectCriteriaOrder_argsStandardSchemeFactory implements SchemeFactory { - public describeRecordTime_argsStandardScheme getScheme() { - return new describeRecordTime_argsStandardScheme(); + public selectCriteriaOrder_argsStandardScheme getScheme() { + return new selectCriteriaOrder_argsStandardScheme(); } } - private static class describeRecordTime_argsStandardScheme - extends StandardScheme { + private static class selectCriteriaOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecordTime_args struct) + selectCriteriaOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -139281,20 +270671,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + case 2: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -139347,17 +270739,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecordTime_args struct) + selectCriteriaOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -139379,26 +270775,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeRecordTime_argsTupleSchemeFactory + private static class selectCriteriaOrder_argsTupleSchemeFactory implements SchemeFactory { - public describeRecordTime_argsTupleScheme getScheme() { - return new describeRecordTime_argsTupleScheme(); + public selectCriteriaOrder_argsTupleScheme getScheme() { + return new selectCriteriaOrder_argsTupleScheme(); } } - private static class describeRecordTime_argsTupleScheme - extends TupleScheme { + private static class selectCriteriaOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecordTime_args struct) + selectCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetOrder()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -139411,11 +270807,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -139430,17 +270826,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecordTime_args struct) + selectCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -139461,16 +270859,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeRecordTime_result implements - org.apache.thrift.TBase, + public static class selectCriteriaOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecordTime_result"); + "selectCriteriaOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -139481,12 +270879,12 @@ public static class describeRecordTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecordTime_resultStandardSchemeFactory()); + new selectCriteriaOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecordTime_resultTupleSchemeFactory()); + new selectCriteriaOrder_resultTupleSchemeFactory()); } - public Set success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -139574,10 +270972,19 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -139595,12 +271002,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecordTime_result.class, metaDataMap); + selectCriteriaOrder_result.class, metaDataMap); } - public describeRecordTime_result() {} + public selectCriteriaOrder_result() {} - public describeRecordTime_result(Set success, + public selectCriteriaOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -139614,10 +271022,47 @@ public describeRecordTime_result(Set success, /** * Performs a deep copy on other. */ - public describeRecordTime_result(describeRecordTime_result other) { + public selectCriteriaOrder_result(selectCriteriaOrder_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -139634,8 +271079,8 @@ public describeRecordTime_result(describeRecordTime_result other) { } } - public describeRecordTime_result deepCopy() { - return new describeRecordTime_result(this); + public selectCriteriaOrder_result deepCopy() { + return new selectCriteriaOrder_result(this); } @Override @@ -139650,22 +271095,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashSet(); + this.success = new LinkedHashMap>>(); } - this.success.add(elem); + this.success.put(key, val); } - public Set getSuccess() { + public Map>> getSuccess() { return this.success; } - public describeRecordTime_result setSuccess(Set success) { + public selectCriteriaOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -139692,7 +271135,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public describeRecordTime_result setEx( + public selectCriteriaOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -139720,7 +271163,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public describeRecordTime_result setEx2( + public selectCriteriaOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -139748,7 +271191,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public describeRecordTime_result setEx3( + public selectCriteriaOrder_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -139779,7 +271222,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Set) value); + setSuccess( + (Map>>) value); } break; @@ -139857,12 +271301,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecordTime_result) - return this.equals((describeRecordTime_result) that); + if(that instanceof selectCriteriaOrder_result) + return this.equals((selectCriteriaOrder_result) that); return false; } - public boolean equals(describeRecordTime_result that) { + public boolean equals(selectCriteriaOrder_result that) { if(that == null) return false; @@ -139933,7 +271377,7 @@ public int hashCode() { } @Override - public int compareTo(describeRecordTime_result other) { + public int compareTo(selectCriteriaOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -140008,7 +271452,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeRecordTime_result("); + StringBuilder sb = new StringBuilder("selectCriteriaOrder_result("); boolean first = true; sb.append("success:"); @@ -140082,18 +271526,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecordTime_resultStandardSchemeFactory + private static class selectCriteriaOrder_resultStandardSchemeFactory implements SchemeFactory { - public describeRecordTime_resultStandardScheme getScheme() { - return new describeRecordTime_resultStandardScheme(); + public selectCriteriaOrder_resultStandardScheme getScheme() { + return new selectCriteriaOrder_resultStandardScheme(); } } - private static class describeRecordTime_resultStandardScheme - extends StandardScheme { + private static class selectCriteriaOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecordTime_result struct) + selectCriteriaOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -140104,18 +271548,45 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TSet _set442 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set442.size); - String _elem443; - for (int _i444 = 0; _i444 < _set442.size; ++_i444) { - _elem443 = iprot.readString(); - struct.success.add(_elem443); + org.apache.thrift.protocol.TMap _map1728 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map1728.size); + long _key1729; + Map> _val1730; + for (int _i1731 = 0; _i1731 < _map1728.size; ++_i1731) { + _key1729 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1732 = iprot + .readMapBegin(); + _val1730 = new LinkedHashMap>( + 2 * _map1732.size); + String _key1733; + Set _val1734; + for (int _i1735 = 0; _i1735 < _map1732.size; ++_i1735) { + _key1733 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1736 = iprot + .readSetBegin(); + _val1734 = new LinkedHashSet( + 2 * _set1736.size); + com.cinchapi.concourse.thrift.TObject _elem1737; + for (int _i1738 = 0; _i1738 < _set1736.size; ++_i1738) { + _elem1737 = new com.cinchapi.concourse.thrift.TObject(); + _elem1737.read(iprot); + _val1734.add(_elem1737); + } + iprot.readSetEnd(); + } + _val1730.put(_key1733, _val1734); + } + iprot.readMapEnd(); + } + struct.success.put(_key1729, _val1730); } - iprot.readSetEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } @@ -140171,7 +271642,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecordTime_result struct) + selectCriteriaOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -140179,13 +271650,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (String _iter445 : struct.success) { - oprot.writeString(_iter445); + for (Map.Entry>> _iter1739 : struct.success + .entrySet()) { + oprot.writeI64(_iter1739.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1739.getValue().size())); + for (Map.Entry> _iter1740 : _iter1739 + .getValue().entrySet()) { + oprot.writeString(_iter1740.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1740.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1741 : _iter1740 + .getValue()) { + _iter1741.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -140210,19 +271707,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeRecordTime_resultTupleSchemeFactory + private static class selectCriteriaOrder_resultTupleSchemeFactory implements SchemeFactory { - public describeRecordTime_resultTupleScheme getScheme() { - return new describeRecordTime_resultTupleScheme(); + public selectCriteriaOrder_resultTupleScheme getScheme() { + return new selectCriteriaOrder_resultTupleScheme(); } } - private static class describeRecordTime_resultTupleScheme - extends TupleScheme { + private static class selectCriteriaOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecordTime_result struct) + selectCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -140242,8 +271739,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter446 : struct.success) { - oprot.writeString(_iter446); + for (Map.Entry>> _iter1742 : struct.success + .entrySet()) { + oprot.writeI64(_iter1742.getKey()); + { + oprot.writeI32(_iter1742.getValue().size()); + for (Map.Entry> _iter1743 : _iter1742 + .getValue().entrySet()) { + oprot.writeString(_iter1743.getKey()); + { + oprot.writeI32( + _iter1743.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1744 : _iter1743 + .getValue()) { + _iter1744.write(oprot); + } + } + } + } } } } @@ -140260,21 +271773,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecordTime_result struct) + selectCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set447 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1745 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set447.size); - String _elem448; - for (int _i449 = 0; _i449 < _set447.size; ++_i449) { - _elem448 = iprot.readString(); - struct.success.add(_elem448); + struct.success = new LinkedHashMap>>( + 2 * _map1745.size); + long _key1746; + Map> _val1747; + for (int _i1748 = 0; _i1748 < _map1745.size; ++_i1748) { + _key1746 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1749 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val1747 = new LinkedHashMap>( + 2 * _map1749.size); + String _key1750; + Set _val1751; + for (int _i1752 = 0; _i1752 < _map1749.size; ++_i1752) { + _key1750 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1753 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1751 = new LinkedHashSet( + 2 * _set1753.size); + com.cinchapi.concourse.thrift.TObject _elem1754; + for (int _i1755 = 0; _i1755 < _set1753.size; ++_i1755) { + _elem1754 = new com.cinchapi.concourse.thrift.TObject(); + _elem1754.read(iprot); + _val1751.add(_elem1754); + } + } + _val1747.put(_key1750, _val1751); + } + } + struct.success.put(_key1746, _val1747); } } struct.setSuccessIsSet(true); @@ -140299,38 +271841,34 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeRecordTimestr_args implements - org.apache.thrift.TBase, + public static class selectCcl_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecordTimestr_args"); + "selectCcl_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 3); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecordTimestr_argsStandardSchemeFactory()); + new selectCcl_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecordTimestr_argsTupleSchemeFactory()); + new selectCcl_argsTupleSchemeFactory()); } - public long record; // required - public String timestamp; // required + public String ccl; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -140340,11 +271878,10 @@ public static class describeRecordTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + CCL((short) 1, "ccl"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); private static final Map byName = new LinkedHashMap(); @@ -140360,15 +271897,13 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // TIMESTAMP - return TIMESTAMP; - case 3: // CREDS + case 1: // CCL + return CCL; + case 2: // CREDS return CREDS; - case 4: // TRANSACTION + case 3: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 4: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -140414,19 +271949,12 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); @@ -140448,20 +271976,18 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecordTimestr_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(selectCcl_args.class, metaDataMap); } - public describeRecordTimestr_args() {} + public selectCcl_args() {} - public describeRecordTimestr_args(long record, String timestamp, + public selectCcl_args(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); - this.timestamp = timestamp; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -140470,11 +271996,9 @@ public describeRecordTimestr_args(long record, String timestamp, /** * Performs a deep copy on other. */ - public describeRecordTimestr_args(describeRecordTimestr_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + public selectCcl_args(selectCcl_args other) { + if(other.isSetCcl()) { + this.ccl = other.ccl; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -140489,72 +272013,42 @@ public describeRecordTimestr_args(describeRecordTimestr_args other) { } } - public describeRecordTimestr_args deepCopy() { - return new describeRecordTimestr_args(this); + public selectCcl_args deepCopy() { + return new selectCcl_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; - this.timestamp = null; + this.ccl = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public String getCcl() { + return this.ccl; } - public describeRecordTimestr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectCcl_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - - public String getTimestamp() { - return this.timestamp; - } - - public describeRecordTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; - return this; - } - - public void unsetTimestamp() { - this.timestamp = null; - } - - /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise - */ - public boolean isSetTimestamp() { - return this.timestamp != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setTimestampIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.timestamp = null; + this.ccl = null; } } @@ -140562,7 +272056,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public describeRecordTimestr_args setCreds( + public selectCcl_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -140590,7 +272084,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public describeRecordTimestr_args setTransaction( + public selectCcl_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -140618,7 +272112,7 @@ public String getEnvironment() { return this.environment; } - public describeRecordTimestr_args setEnvironment(String environment) { + public selectCcl_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -140643,21 +272137,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: - if(value == null) { - unsetRecord(); - } - else { - setRecord((Long) value); - } - break; - - case TIMESTAMP: + case CCL: if(value == null) { - unsetTimestamp(); + unsetCcl(); } else { - setTimestamp((String) value); + setCcl((String) value); } break; @@ -140694,11 +272179,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); - - case TIMESTAMP: - return getTimestamp(); + case CCL: + return getCcl(); case CREDS: return getCreds(); @@ -140723,10 +272205,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); - case TIMESTAMP: - return isSetTimestamp(); + case CCL: + return isSetCcl(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -140741,30 +272221,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecordTimestr_args) - return this.equals((describeRecordTimestr_args) that); + if(that instanceof selectCcl_args) + return this.equals((selectCcl_args) that); return false; } - public boolean equals(describeRecordTimestr_args that) { + public boolean equals(selectCcl_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) - return false; - if(this.record != that.record) - return false; - } - - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(!this.ccl.equals(that.ccl)) return false; } @@ -140802,15 +272273,10 @@ public boolean equals(describeRecordTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); - - boolean present_timestamp = true && (isSetTimestamp()); - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -140831,7 +272297,7 @@ public int hashCode() { } @Override - public int compareTo(describeRecordTimestr_args other) { + public int compareTo(selectCcl_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -140839,26 +272305,14 @@ public int compareTo(describeRecordTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetRecord()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -140918,20 +272372,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeRecordTimestr_args("); + StringBuilder sb = new StringBuilder("selectCcl_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.ccl); } first = false; if(!first) @@ -140994,10 +272443,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -141007,19 +272452,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecordTimestr_argsStandardSchemeFactory + private static class selectCcl_argsStandardSchemeFactory implements SchemeFactory { - public describeRecordTimestr_argsStandardScheme getScheme() { - return new describeRecordTimestr_argsStandardScheme(); + public selectCcl_argsStandardScheme getScheme() { + return new selectCcl_argsStandardScheme(); } } - private static class describeRecordTimestr_argsStandardScheme - extends StandardScheme { + private static class selectCcl_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecordTimestr_args struct) - throws org.apache.thrift.TException { + selectCcl_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -141028,27 +272472,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // TIMESTAMP + case 1: // CCL if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 2: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -141059,7 +272493,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 3: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -141070,7 +272504,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 4: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -141094,17 +272528,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecordTimestr_args struct) - throws org.apache.thrift.TException { + selectCcl_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -141128,43 +272558,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeRecordTimestr_argsTupleSchemeFactory + private static class selectCcl_argsTupleSchemeFactory implements SchemeFactory { - public describeRecordTimestr_argsTupleScheme getScheme() { - return new describeRecordTimestr_argsTupleScheme(); + public selectCcl_argsTupleScheme getScheme() { + return new selectCcl_argsTupleScheme(); } } - private static class describeRecordTimestr_argsTupleScheme - extends TupleScheme { + private static class selectCcl_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecordTimestr_args struct) - throws org.apache.thrift.TException { + selectCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetTimestamp()) { - optionals.set(1); - } if(struct.isSetCreds()) { - optionals.set(2); + optionals.set(1); } if(struct.isSetTransaction()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetEnvironment()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + optionals.set(3); } - if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeBitSet(optionals, 4); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -141179,29 +272602,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecordTimestr_args struct) - throws org.apache.thrift.TException { + selectCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); - } - if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(2)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -141210,16 +272628,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeRecordTimestr_result implements - org.apache.thrift.TBase, + public static class selectCcl_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecordTimestr_result"); + "selectCcl_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -141232,12 +272650,12 @@ public static class describeRecordTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecordTimestr_resultStandardSchemeFactory()); + new selectCcl_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecordTimestr_resultTupleSchemeFactory()); + new selectCcl_resultTupleSchemeFactory()); } - public Set success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -141329,10 +272747,19 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -141354,13 +272781,14 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecordTimestr_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(selectCcl_result.class, metaDataMap); } - public describeRecordTimestr_result() {} + public selectCcl_result() {} - public describeRecordTimestr_result(Set success, + public selectCcl_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -141376,11 +272804,47 @@ public describeRecordTimestr_result(Set success, /** * Performs a deep copy on other. */ - public describeRecordTimestr_result( - describeRecordTimestr_result other) { + public selectCcl_result(selectCcl_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -141401,8 +272865,8 @@ public describeRecordTimestr_result( } } - public describeRecordTimestr_result deepCopy() { - return new describeRecordTimestr_result(this); + public selectCcl_result deepCopy() { + return new selectCcl_result(this); } @Override @@ -141418,22 +272882,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashSet(); + this.success = new LinkedHashMap>>(); } - this.success.add(elem); + this.success.put(key, val); } - public Set getSuccess() { + public Map>> getSuccess() { return this.success; } - public describeRecordTimestr_result setSuccess(Set success) { + public selectCcl_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -141460,7 +272922,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public describeRecordTimestr_result setEx( + public selectCcl_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -141488,7 +272950,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public describeRecordTimestr_result setEx2( + public selectCcl_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -141516,7 +272978,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public describeRecordTimestr_result setEx3( + public selectCcl_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -141544,7 +273006,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public describeRecordTimestr_result setEx4( + public selectCcl_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -141575,7 +273037,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Set) value); + setSuccess( + (Map>>) value); } break; @@ -141667,12 +273130,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecordTimestr_result) - return this.equals((describeRecordTimestr_result) that); + if(that instanceof selectCcl_result) + return this.equals((selectCcl_result) that); return false; } - public boolean equals(describeRecordTimestr_result that) { + public boolean equals(selectCcl_result that) { if(that == null) return false; @@ -141757,7 +273220,7 @@ public int hashCode() { } @Override - public int compareTo(describeRecordTimestr_result other) { + public int compareTo(selectCcl_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -141844,8 +273307,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "describeRecordTimestr_result("); + StringBuilder sb = new StringBuilder("selectCcl_result("); boolean first = true; sb.append("success:"); @@ -141929,18 +273391,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecordTimestr_resultStandardSchemeFactory + private static class selectCcl_resultStandardSchemeFactory implements SchemeFactory { - public describeRecordTimestr_resultStandardScheme getScheme() { - return new describeRecordTimestr_resultStandardScheme(); + public selectCcl_resultStandardScheme getScheme() { + return new selectCcl_resultStandardScheme(); } } - private static class describeRecordTimestr_resultStandardScheme - extends StandardScheme { + private static class selectCcl_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecordTimestr_result struct) + selectCcl_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -141951,18 +273413,45 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TSet _set450 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set450.size); - String _elem451; - for (int _i452 = 0; _i452 < _set450.size; ++_i452) { - _elem451 = iprot.readString(); - struct.success.add(_elem451); + org.apache.thrift.protocol.TMap _map1756 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map1756.size); + long _key1757; + Map> _val1758; + for (int _i1759 = 0; _i1759 < _map1756.size; ++_i1759) { + _key1757 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1760 = iprot + .readMapBegin(); + _val1758 = new LinkedHashMap>( + 2 * _map1760.size); + String _key1761; + Set _val1762; + for (int _i1763 = 0; _i1763 < _map1760.size; ++_i1763) { + _key1761 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1764 = iprot + .readSetBegin(); + _val1762 = new LinkedHashSet( + 2 * _set1764.size); + com.cinchapi.concourse.thrift.TObject _elem1765; + for (int _i1766 = 0; _i1766 < _set1764.size; ++_i1766) { + _elem1765 = new com.cinchapi.concourse.thrift.TObject(); + _elem1765.read(iprot); + _val1762.add(_elem1765); + } + iprot.readSetEnd(); + } + _val1758.put(_key1761, _val1762); + } + iprot.readMapEnd(); + } + struct.success.put(_key1757, _val1758); } - iprot.readSetEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } @@ -142029,7 +273518,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecordTimestr_result struct) + selectCcl_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -142037,13 +273526,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (String _iter453 : struct.success) { - oprot.writeString(_iter453); + for (Map.Entry>> _iter1767 : struct.success + .entrySet()) { + oprot.writeI64(_iter1767.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1767.getValue().size())); + for (Map.Entry> _iter1768 : _iter1767 + .getValue().entrySet()) { + oprot.writeString(_iter1768.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1768.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1769 : _iter1768 + .getValue()) { + _iter1769.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -142073,19 +273588,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeRecordTimestr_resultTupleSchemeFactory + private static class selectCcl_resultTupleSchemeFactory implements SchemeFactory { - public describeRecordTimestr_resultTupleScheme getScheme() { - return new describeRecordTimestr_resultTupleScheme(); + public selectCcl_resultTupleScheme getScheme() { + return new selectCcl_resultTupleScheme(); } } - private static class describeRecordTimestr_resultTupleScheme - extends TupleScheme { + private static class selectCcl_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecordTimestr_result struct) + selectCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -142108,8 +273623,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter454 : struct.success) { - oprot.writeString(_iter454); + for (Map.Entry>> _iter1770 : struct.success + .entrySet()) { + oprot.writeI64(_iter1770.getKey()); + { + oprot.writeI32(_iter1770.getValue().size()); + for (Map.Entry> _iter1771 : _iter1770 + .getValue().entrySet()) { + oprot.writeString(_iter1771.getKey()); + { + oprot.writeI32( + _iter1771.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1772 : _iter1771 + .getValue()) { + _iter1772.write(oprot); + } + } + } + } } } } @@ -142129,21 +273660,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecordTimestr_result struct) + selectCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set455 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1773 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set455.size); - String _elem456; - for (int _i457 = 0; _i457 < _set455.size; ++_i457) { - _elem456 = iprot.readString(); - struct.success.add(_elem456); + struct.success = new LinkedHashMap>>( + 2 * _map1773.size); + long _key1774; + Map> _val1775; + for (int _i1776 = 0; _i1776 < _map1773.size; ++_i1776) { + _key1774 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map1777 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val1775 = new LinkedHashMap>( + 2 * _map1777.size); + String _key1778; + Set _val1779; + for (int _i1780 = 0; _i1780 < _map1777.size; ++_i1780) { + _key1778 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1781 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1779 = new LinkedHashSet( + 2 * _set1781.size); + com.cinchapi.concourse.thrift.TObject _elem1782; + for (int _i1783 = 0; _i1783 < _set1781.size; ++_i1783) { + _elem1782 = new com.cinchapi.concourse.thrift.TObject(); + _elem1782.read(iprot); + _val1779.add(_elem1782); + } + } + _val1775.put(_key1778, _val1779); + } + } + struct.success.put(_key1774, _val1775); } } struct.setSuccessIsSet(true); @@ -142173,34 +273733,37 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeRecords_args implements - org.apache.thrift.TBase, + public static class selectCclOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecords_args"); + "selectCclOrder_args"); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecords_argsStandardSchemeFactory()); + new selectCclOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecords_argsTupleSchemeFactory()); + new selectCclOrder_argsTupleSchemeFactory()); } - public List records; // required + public String ccl; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -142210,10 +273773,11 @@ public static class describeRecords_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORDS((short) 1, "records"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + CCL((short) 1, "ccl"), + ORDER((short) 2, "order"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -142229,13 +273793,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORDS - return RECORDS; - case 2: // CREDS + case 1: // CCL + return CCL; + case 2: // ORDER + return ORDER; + case 3: // CREDS return CREDS; - case 3: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -142285,13 +273851,17 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -142311,17 +273881,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecords_args.class, metaDataMap); + selectCclOrder_args.class, metaDataMap); } - public describeRecords_args() {} + public selectCclOrder_args() {} - public describeRecords_args(List records, + public selectCclOrder_args(String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.records = records; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -142330,10 +273902,13 @@ public describeRecords_args(List records, /** * Performs a deep copy on other. */ - public describeRecords_args(describeRecords_args other) { - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + public selectCclOrder_args(selectCclOrder_args other) { + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -142348,57 +273923,71 @@ public describeRecords_args(describeRecords_args other) { } } - public describeRecords_args deepCopy() { - return new describeRecords_args(this); + public selectCclOrder_args deepCopy() { + return new selectCclOrder_args(this); } @Override public void clear() { - this.records = null; + this.ccl = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); + public String getCcl() { + return this.ccl; } - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); + public selectCclOrder_args setCcl(String ccl) { + this.ccl = ccl; + return this; } - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; } - this.records.add(elem); } - public List getRecords() { - return this.records; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public describeRecords_args setRecords(List records) { - this.records = records; + public selectCclOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetRecords() { - this.records = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetOrder() { + return this.order != null; } - public void setRecordsIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.records = null; + this.order = null; } } @@ -142406,7 +273995,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public describeRecords_args setCreds( + public selectCclOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -142434,7 +274023,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public describeRecords_args setTransaction( + public selectCclOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -142462,7 +274051,7 @@ public String getEnvironment() { return this.environment; } - public describeRecords_args setEnvironment(String environment) { + public selectCclOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -142487,12 +274076,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORDS: + case CCL: if(value == null) { - unsetRecords(); + unsetCcl(); } else { - setRecords((List) value); + setCcl((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -142529,8 +274127,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORDS: - return getRecords(); + case CCL: + return getCcl(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -142555,8 +274156,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORDS: - return isSetRecords(); + case CCL: + return isSetCcl(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -142571,21 +274174,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecords_args) - return this.equals((describeRecords_args) that); + if(that instanceof selectCclOrder_args) + return this.equals((selectCclOrder_args) that); return false; } - public boolean equals(describeRecords_args that) { + public boolean equals(selectCclOrder_args that) { if(that == null) return false; - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.records.equals(that.records)) + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -142623,10 +274235,15 @@ public boolean equals(describeRecords_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -142647,7 +274264,7 @@ public int hashCode() { } @Override - public int compareTo(describeRecords_args other) { + public int compareTo(selectCclOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -142655,14 +274272,26 @@ public int compareTo(describeRecords_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -142722,15 +274351,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeRecords_args("); + StringBuilder sb = new StringBuilder("selectCclOrder_args("); boolean first = true; - sb.append("records:"); - if(this.records == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.ccl); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -142770,6 +274409,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -142802,18 +274444,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecords_argsStandardSchemeFactory + private static class selectCclOrder_argsStandardSchemeFactory implements SchemeFactory { - public describeRecords_argsStandardScheme getScheme() { - return new describeRecords_argsStandardScheme(); + public selectCclOrder_argsStandardScheme getScheme() { + return new selectCclOrder_argsStandardScheme(); } } - private static class describeRecords_argsStandardScheme - extends StandardScheme { + private static class selectCclOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecords_args struct) + selectCclOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -142823,28 +274465,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list458 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list458.size); - long _elem459; - for (int _i460 = 0; _i460 < _list458.size; ++_i460) { - _elem459 = iprot.readI64(); - struct.records.add(_elem459); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 1: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -142855,7 +274497,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -142866,7 +274508,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -142890,23 +274532,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecords_args struct) + selectCclOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter461 : struct.records) { - oprot.writeI64(_iter461); - } - oprot.writeListEnd(); - } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -142930,42 +274568,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeRecords_argsTupleSchemeFactory + private static class selectCclOrder_argsTupleSchemeFactory implements SchemeFactory { - public describeRecords_argsTupleScheme getScheme() { - return new describeRecords_argsTupleScheme(); + public selectCclOrder_argsTupleScheme getScheme() { + return new selectCclOrder_argsTupleScheme(); } } - private static class describeRecords_argsTupleScheme - extends TupleScheme { + private static class selectCclOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecords_args struct) + selectCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecords()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter462 : struct.records) { - oprot.writeI64(_iter462); - } - } + if(struct.isSetEnvironment()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -142980,35 +274619,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecords_args struct) + selectCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list463 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list463.size); - long _elem464; - for (int _i465 = 0; _i465 < _list463.size; ++_i465) { - _elem464 = iprot.readI64(); - struct.records.add(_elem464); - } - } - struct.setRecordsIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -143017,13 +274651,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeRecords_result implements - org.apache.thrift.TBase, + public static class selectCclOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecords_result"); + "selectCclOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -143033,19 +274667,22 @@ public static class describeRecords_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecords_resultStandardSchemeFactory()); + new selectCclOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecords_resultTupleSchemeFactory()); + new selectCclOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -143055,7 +274692,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -143079,6 +274717,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -143134,10 +274774,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))))); + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -143153,41 +274798,72 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecords_result.class, metaDataMap); + selectCclOrder_result.class, metaDataMap); } - public describeRecords_result() {} + public selectCclOrder_result() {} - public describeRecords_result(Map> success, + public selectCclOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public describeRecords_result(describeRecords_result other) { + public selectCclOrder_result(selectCclOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element.getValue(); + Map> other_element_value = other_element + .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( - other_element_value); + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -143203,13 +274879,17 @@ public describeRecords_result(describeRecords_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public describeRecords_result deepCopy() { - return new describeRecords_result(this); + public selectCclOrder_result deepCopy() { + return new selectCclOrder_result(this); } @Override @@ -143218,25 +274898,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, Set val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public describeRecords_result setSuccess( - Map> success) { + public selectCclOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -143263,7 +274945,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public describeRecords_result setEx( + public selectCclOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -143291,7 +274973,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public describeRecords_result setEx2( + public selectCclOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -143315,12 +274997,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public describeRecords_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectCclOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -143343,6 +275025,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectCclOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -143350,7 +275060,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map>) value); + setSuccess( + (Map>>) value); } break; @@ -143377,7 +275088,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -143398,6 +275118,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -143420,6 +275143,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -143428,12 +275153,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecords_result) - return this.equals((describeRecords_result) that); + if(that instanceof selectCclOrder_result) + return this.equals((selectCclOrder_result) that); return false; } - public boolean equals(describeRecords_result that) { + public boolean equals(selectCclOrder_result that) { if(that == null) return false; @@ -143473,6 +275198,15 @@ public boolean equals(describeRecords_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -143500,11 +275234,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(describeRecords_result other) { + public int compareTo(selectCclOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -143560,6 +275299,18 @@ public int compareTo(describeRecords_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -143579,7 +275330,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeRecords_result("); + StringBuilder sb = new StringBuilder("selectCclOrder_result("); boolean first = true; sb.append("success:"); @@ -143620,6 +275371,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -143653,18 +275414,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecords_resultStandardSchemeFactory + private static class selectCclOrder_resultStandardSchemeFactory implements SchemeFactory { - public describeRecords_resultStandardScheme getScheme() { - return new describeRecords_resultStandardScheme(); + public selectCclOrder_resultStandardScheme getScheme() { + return new selectCclOrder_resultStandardScheme(); } } - private static class describeRecords_resultStandardScheme - extends StandardScheme { + private static class selectCclOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecords_result struct) + selectCclOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -143677,27 +275438,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map466 = iprot + org.apache.thrift.protocol.TMap _map1784 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map466.size); - long _key467; - Set _val468; - for (int _i469 = 0; _i469 < _map466.size; ++_i469) { - _key467 = iprot.readI64(); + struct.success = new LinkedHashMap>>( + 2 * _map1784.size); + long _key1785; + Map> _val1786; + for (int _i1787 = 0; _i1787 < _map1784.size; ++_i1787) { + _key1785 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set470 = iprot - .readSetBegin(); - _val468 = new LinkedHashSet( - 2 * _set470.size); - String _elem471; - for (int _i472 = 0; _i472 < _set470.size; ++_i472) { - _elem471 = iprot.readString(); - _val468.add(_elem471); + org.apache.thrift.protocol.TMap _map1788 = iprot + .readMapBegin(); + _val1786 = new LinkedHashMap>( + 2 * _map1788.size); + String _key1789; + Set _val1790; + for (int _i1791 = 0; _i1791 < _map1788.size; ++_i1791) { + _key1789 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1792 = iprot + .readSetBegin(); + _val1790 = new LinkedHashSet( + 2 * _set1792.size); + com.cinchapi.concourse.thrift.TObject _elem1793; + for (int _i1794 = 0; _i1794 < _set1792.size; ++_i1794) { + _elem1793 = new com.cinchapi.concourse.thrift.TObject(); + _elem1793.read(iprot); + _val1790.add(_elem1793); + } + iprot.readSetEnd(); + } + _val1786.put(_key1789, _val1790); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key467, _val468); + struct.success.put(_key1785, _val1786); } iprot.readMapEnd(); } @@ -143732,7 +275507,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -143741,6 +275516,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -143755,7 +275541,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecords_result struct) + selectCclOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -143765,20 +275551,34 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter473 : struct.success + for (Map.Entry>> _iter1795 : struct.success .entrySet()) { - oprot.writeI64(_iter473.getKey()); + oprot.writeI64(_iter1795.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - _iter473.getValue().size())); - for (String _iter474 : _iter473.getValue()) { - oprot.writeString(_iter474); + org.apache.thrift.protocol.TType.SET, + _iter1795.getValue().size())); + for (Map.Entry> _iter1796 : _iter1795 + .getValue().entrySet()) { + oprot.writeString(_iter1796.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1796.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1797 : _iter1796 + .getValue()) { + _iter1797.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -143800,25 +275600,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class describeRecords_resultTupleSchemeFactory + private static class selectCclOrder_resultTupleSchemeFactory implements SchemeFactory { - public describeRecords_resultTupleScheme getScheme() { - return new describeRecords_resultTupleScheme(); + public selectCclOrder_resultTupleScheme getScheme() { + return new selectCclOrder_resultTupleScheme(); } } - private static class describeRecords_resultTupleScheme - extends TupleScheme { + private static class selectCclOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecords_result struct) + selectCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -143834,17 +275639,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter475 : struct.success + for (Map.Entry>> _iter1798 : struct.success .entrySet()) { - oprot.writeI64(_iter475.getKey()); + oprot.writeI64(_iter1798.getKey()); { - oprot.writeI32(_iter475.getValue().size()); - for (String _iter476 : _iter475.getValue()) { - oprot.writeString(_iter476); + oprot.writeI32(_iter1798.getValue().size()); + for (Map.Entry> _iter1799 : _iter1798 + .getValue().entrySet()) { + oprot.writeString(_iter1799.getKey()); + { + oprot.writeI32( + _iter1799.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1800 : _iter1799 + .getValue()) { + _iter1800.write(oprot); + } + } } } } @@ -143859,39 +275676,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecords_result struct) + selectCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map477 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map1801 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map477.size); - long _key478; - Set _val479; - for (int _i480 = 0; _i480 < _map477.size; ++_i480) { - _key478 = iprot.readI64(); + struct.success = new LinkedHashMap>>( + 2 * _map1801.size); + long _key1802; + Map> _val1803; + for (int _i1804 = 0; _i1804 < _map1801.size; ++_i1804) { + _key1802 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set481 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map1805 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val479 = new LinkedHashSet( - 2 * _set481.size); - String _elem482; - for (int _i483 = 0; _i483 < _set481.size; ++_i483) { - _elem482 = iprot.readString(); - _val479.add(_elem482); + _val1803 = new LinkedHashMap>( + 2 * _map1805.size); + String _key1806; + Set _val1807; + for (int _i1808 = 0; _i1808 < _map1805.size; ++_i1808) { + _key1806 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1809 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1807 = new LinkedHashSet( + 2 * _set1809.size); + com.cinchapi.concourse.thrift.TObject _elem1810; + for (int _i1811 = 0; _i1811 < _set1809.size; ++_i1811) { + _elem1810 = new com.cinchapi.concourse.thrift.TObject(); + _elem1810.read(iprot); + _val1807.add(_elem1810); + } + } + _val1803.put(_key1806, _val1807); } } - struct.success.put(_key478, _val479); + struct.success.put(_key1802, _val1803); } } struct.setSuccessIsSet(true); @@ -143907,25 +275742,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class describeRecordsTime_args implements - org.apache.thrift.TBase, + public static class selectCriteriaTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecordsTime_args"); + "selectCriteriaTime_args"); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -143940,12 +275780,12 @@ public static class describeRecordsTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecordsTime_argsStandardSchemeFactory()); + new selectCriteriaTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecordsTime_argsTupleSchemeFactory()); + new selectCriteriaTime_argsTupleSchemeFactory()); } - public List records; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required @@ -143956,7 +275796,7 @@ public static class describeRecordsTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORDS((short) 1, "records"), + CRITERIA((short) 1, "criteria"), TIMESTAMP((short) 2, "timestamp"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), @@ -143976,8 +275816,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORDS - return RECORDS; + case 1: // CRITERIA + return CRITERIA; case 2: // TIMESTAMP return TIMESTAMP; case 3: // CREDS @@ -144036,13 +275876,12 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -144067,17 +275906,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecordsTime_args.class, metaDataMap); + selectCriteriaTime_args.class, metaDataMap); } - public describeRecordsTime_args() {} + public selectCriteriaTime_args() {} - public describeRecordsTime_args(List records, long timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public selectCriteriaTime_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.records = records; + this.criteria = criteria; this.timestamp = timestamp; setTimestampIsSet(true); this.creds = creds; @@ -144088,11 +275928,11 @@ public describeRecordsTime_args(List records, long timestamp, /** * Performs a deep copy on other. */ - public describeRecordsTime_args(describeRecordsTime_args other) { + public selectCriteriaTime_args(selectCriteriaTime_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } this.timestamp = other.timestamp; if(other.isSetCreds()) { @@ -144108,13 +275948,13 @@ public describeRecordsTime_args(describeRecordsTime_args other) { } } - public describeRecordsTime_args deepCopy() { - return new describeRecordsTime_args(this); + public selectCriteriaTime_args deepCopy() { + return new selectCriteriaTime_args(this); } @Override public void clear() { - this.records = null; + this.criteria = null; setTimestampIsSet(false); this.timestamp = 0; this.creds = null; @@ -144122,45 +275962,31 @@ public void clear() { this.environment = null; } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); - } - - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); - } - - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); - } - this.records.add(elem); - } - - public List getRecords() { - return this.records; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public describeRecordsTime_args setRecords(List records) { - this.records = records; + public selectCriteriaTime_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecords() { - this.records = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordsIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.records = null; + this.criteria = null; } } @@ -144168,7 +275994,7 @@ public long getTimestamp() { return this.timestamp; } - public describeRecordsTime_args setTimestamp(long timestamp) { + public selectCriteriaTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; @@ -144197,7 +276023,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public describeRecordsTime_args setCreds( + public selectCriteriaTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -144225,7 +276051,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public describeRecordsTime_args setTransaction( + public selectCriteriaTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -144253,7 +276079,7 @@ public String getEnvironment() { return this.environment; } - public describeRecordsTime_args setEnvironment(String environment) { + public selectCriteriaTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -144278,12 +276104,13 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORDS: + case CRITERIA: if(value == null) { - unsetRecords(); + unsetCriteria(); } else { - setRecords((List) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -144329,8 +276156,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORDS: - return getRecords(); + case CRITERIA: + return getCriteria(); case TIMESTAMP: return getTimestamp(); @@ -144358,8 +276185,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORDS: - return isSetRecords(); + case CRITERIA: + return isSetCriteria(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -144376,21 +276203,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecordsTime_args) - return this.equals((describeRecordsTime_args) that); + if(that instanceof selectCriteriaTime_args) + return this.equals((selectCriteriaTime_args) that); return false; } - public boolean equals(describeRecordsTime_args that) { + public boolean equals(selectCriteriaTime_args that) { if(that == null) return false; - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.records.equals(that.records)) + if(!this.criteria.equals(that.criteria)) return false; } @@ -144437,10 +276264,10 @@ public boolean equals(describeRecordsTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); boolean present_timestamp = true; list.add(present_timestamp); @@ -144466,7 +276293,7 @@ public int hashCode() { } @Override - public int compareTo(describeRecordsTime_args other) { + public int compareTo(selectCriteriaTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -144474,14 +276301,14 @@ public int compareTo(describeRecordsTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -144553,15 +276380,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeRecordsTime_args("); + StringBuilder sb = new StringBuilder("selectCriteriaTime_args("); boolean first = true; - sb.append("records:"); - if(this.records == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.criteria); } first = false; if(!first) @@ -144606,6 +276433,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -144642,18 +276472,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecordsTime_argsStandardSchemeFactory + private static class selectCriteriaTime_argsStandardSchemeFactory implements SchemeFactory { - public describeRecordsTime_argsStandardScheme getScheme() { - return new describeRecordsTime_argsStandardScheme(); + public selectCriteriaTime_argsStandardScheme getScheme() { + return new selectCriteriaTime_argsStandardScheme(); } } - private static class describeRecordsTime_argsStandardScheme - extends StandardScheme { + private static class selectCriteriaTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecordsTime_args struct) + selectCriteriaTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -144663,21 +276493,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list484 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list484.size); - long _elem485; - for (int _i486 = 0; _i486 < _list484.size; ++_i486) { - _elem485 = iprot.readI64(); - struct.records.add(_elem485); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -144740,23 +276560,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecordsTime_args struct) + selectCriteriaTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter487 : struct.records) { - oprot.writeI64(_iter487); - } - oprot.writeListEnd(); - } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); @@ -144783,23 +276594,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeRecordsTime_argsTupleSchemeFactory + private static class selectCriteriaTime_argsTupleSchemeFactory implements SchemeFactory { - public describeRecordsTime_argsTupleScheme getScheme() { - return new describeRecordsTime_argsTupleScheme(); + public selectCriteriaTime_argsTupleScheme getScheme() { + return new selectCriteriaTime_argsTupleScheme(); } } - private static class describeRecordsTime_argsTupleScheme - extends TupleScheme { + private static class selectCriteriaTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecordsTime_args struct) + selectCriteriaTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecords()) { + if(struct.isSetCriteria()) { optionals.set(0); } if(struct.isSetTimestamp()) { @@ -144815,13 +276626,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter488 : struct.records) { - oprot.writeI64(_iter488); - } - } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetTimestamp()) { oprot.writeI64(struct.timestamp); @@ -144839,23 +276645,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecordsTime_args struct) + selectCriteriaTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list489.size); - long _elem490; - for (int _i491 = 0; _i491 < _list489.size; ++_i491) { - _elem490 = iprot.readI64(); - struct.records.add(_elem490); - } - } - struct.setRecordsIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { struct.timestamp = iprot.readI64(); @@ -144880,13 +276677,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeRecordsTime_result implements - org.apache.thrift.TBase, + public static class selectCriteriaTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecordsTime_result"); + "selectCriteriaTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -144900,12 +276697,12 @@ public static class describeRecordsTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecordsTime_resultStandardSchemeFactory()); + new selectCriteriaTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecordsTime_resultTupleSchemeFactory()); + new selectCriteriaTime_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -144997,10 +276794,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))))); + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -145018,12 +276820,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecordsTime_result.class, metaDataMap); + selectCriteriaTime_result.class, metaDataMap); } - public describeRecordsTime_result() {} + public selectCriteriaTime_result() {} - public describeRecordsTime_result(Map> success, + public selectCriteriaTime_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -145037,20 +276840,43 @@ public describeRecordsTime_result(Map> success, /** * Performs a deep copy on other. */ - public describeRecordsTime_result(describeRecordsTime_result other) { + public selectCriteriaTime_result(selectCriteriaTime_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element.getValue(); + Map> other_element_value = other_element + .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( - other_element_value); + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -145071,8 +276897,8 @@ public describeRecordsTime_result(describeRecordsTime_result other) { } } - public describeRecordsTime_result deepCopy() { - return new describeRecordsTime_result(this); + public selectCriteriaTime_result deepCopy() { + return new selectCriteriaTime_result(this); } @Override @@ -145087,19 +276913,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, Set val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public describeRecordsTime_result setSuccess( - Map> success) { + public selectCriteriaTime_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -145126,7 +276953,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public describeRecordsTime_result setEx( + public selectCriteriaTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -145154,7 +276981,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public describeRecordsTime_result setEx2( + public selectCriteriaTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -145182,7 +277009,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public describeRecordsTime_result setEx3( + public selectCriteriaTime_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -145213,7 +277040,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map>) value); + setSuccess( + (Map>>) value); } break; @@ -145291,12 +277119,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecordsTime_result) - return this.equals((describeRecordsTime_result) that); + if(that instanceof selectCriteriaTime_result) + return this.equals((selectCriteriaTime_result) that); return false; } - public boolean equals(describeRecordsTime_result that) { + public boolean equals(selectCriteriaTime_result that) { if(that == null) return false; @@ -145367,7 +277195,7 @@ public int hashCode() { } @Override - public int compareTo(describeRecordsTime_result other) { + public int compareTo(selectCriteriaTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -145442,7 +277270,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("describeRecordsTime_result("); + StringBuilder sb = new StringBuilder("selectCriteriaTime_result("); boolean first = true; sb.append("success:"); @@ -145516,18 +277344,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecordsTime_resultStandardSchemeFactory + private static class selectCriteriaTime_resultStandardSchemeFactory implements SchemeFactory { - public describeRecordsTime_resultStandardScheme getScheme() { - return new describeRecordsTime_resultStandardScheme(); + public selectCriteriaTime_resultStandardScheme getScheme() { + return new selectCriteriaTime_resultStandardScheme(); } } - private static class describeRecordsTime_resultStandardScheme - extends StandardScheme { + private static class selectCriteriaTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecordsTime_result struct) + selectCriteriaTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -145540,27 +277368,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map492 = iprot + org.apache.thrift.protocol.TMap _map1812 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map492.size); - long _key493; - Set _val494; - for (int _i495 = 0; _i495 < _map492.size; ++_i495) { - _key493 = iprot.readI64(); + struct.success = new LinkedHashMap>>( + 2 * _map1812.size); + long _key1813; + Map> _val1814; + for (int _i1815 = 0; _i1815 < _map1812.size; ++_i1815) { + _key1813 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set496 = iprot - .readSetBegin(); - _val494 = new LinkedHashSet( - 2 * _set496.size); - String _elem497; - for (int _i498 = 0; _i498 < _set496.size; ++_i498) { - _elem497 = iprot.readString(); - _val494.add(_elem497); + org.apache.thrift.protocol.TMap _map1816 = iprot + .readMapBegin(); + _val1814 = new LinkedHashMap>( + 2 * _map1816.size); + String _key1817; + Set _val1818; + for (int _i1819 = 0; _i1819 < _map1816.size; ++_i1819) { + _key1817 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1820 = iprot + .readSetBegin(); + _val1818 = new LinkedHashSet( + 2 * _set1820.size); + com.cinchapi.concourse.thrift.TObject _elem1821; + for (int _i1822 = 0; _i1822 < _set1820.size; ++_i1822) { + _elem1821 = new com.cinchapi.concourse.thrift.TObject(); + _elem1821.read(iprot); + _val1818.add(_elem1821); + } + iprot.readSetEnd(); + } + _val1814.put(_key1817, _val1818); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key493, _val494); + struct.success.put(_key1813, _val1814); } iprot.readMapEnd(); } @@ -145618,7 +277460,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecordsTime_result struct) + selectCriteriaTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -145628,20 +277470,34 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter499 : struct.success + for (Map.Entry>> _iter1823 : struct.success .entrySet()) { - oprot.writeI64(_iter499.getKey()); + oprot.writeI64(_iter1823.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - _iter499.getValue().size())); - for (String _iter500 : _iter499.getValue()) { - oprot.writeString(_iter500); + org.apache.thrift.protocol.TType.SET, + _iter1823.getValue().size())); + for (Map.Entry> _iter1824 : _iter1823 + .getValue().entrySet()) { + oprot.writeString(_iter1824.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1824.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1825 : _iter1824 + .getValue()) { + _iter1825.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -145669,19 +277525,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeRecordsTime_resultTupleSchemeFactory + private static class selectCriteriaTime_resultTupleSchemeFactory implements SchemeFactory { - public describeRecordsTime_resultTupleScheme getScheme() { - return new describeRecordsTime_resultTupleScheme(); + public selectCriteriaTime_resultTupleScheme getScheme() { + return new selectCriteriaTime_resultTupleScheme(); } } - private static class describeRecordsTime_resultTupleScheme - extends TupleScheme { + private static class selectCriteriaTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecordsTime_result struct) + selectCriteriaTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -145701,13 +277557,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter501 : struct.success + for (Map.Entry>> _iter1826 : struct.success .entrySet()) { - oprot.writeI64(_iter501.getKey()); + oprot.writeI64(_iter1826.getKey()); { - oprot.writeI32(_iter501.getValue().size()); - for (String _iter502 : _iter501.getValue()) { - oprot.writeString(_iter502); + oprot.writeI32(_iter1826.getValue().size()); + for (Map.Entry> _iter1827 : _iter1826 + .getValue().entrySet()) { + oprot.writeString(_iter1827.getKey()); + { + oprot.writeI32( + _iter1827.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1828 : _iter1827 + .getValue()) { + _iter1828.write(oprot); + } + } } } } @@ -145726,35 +277591,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecordsTime_result struct) + selectCriteriaTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map503 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map1829 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map503.size); - long _key504; - Set _val505; - for (int _i506 = 0; _i506 < _map503.size; ++_i506) { - _key504 = iprot.readI64(); + struct.success = new LinkedHashMap>>( + 2 * _map1829.size); + long _key1830; + Map> _val1831; + for (int _i1832 = 0; _i1832 < _map1829.size; ++_i1832) { + _key1830 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set507 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map1833 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val505 = new LinkedHashSet( - 2 * _set507.size); - String _elem508; - for (int _i509 = 0; _i509 < _set507.size; ++_i509) { - _elem508 = iprot.readString(); - _val505.add(_elem508); + _val1831 = new LinkedHashMap>( + 2 * _map1833.size); + String _key1834; + Set _val1835; + for (int _i1836 = 0; _i1836 < _map1833.size; ++_i1836) { + _key1834 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1837 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1835 = new LinkedHashSet( + 2 * _set1837.size); + com.cinchapi.concourse.thrift.TObject _elem1838; + for (int _i1839 = 0; _i1839 < _set1837.size; ++_i1839) { + _elem1838 = new com.cinchapi.concourse.thrift.TObject(); + _elem1838.read(iprot); + _val1835.add(_elem1838); + } + } + _val1831.put(_key1834, _val1835); } } - struct.success.put(_key504, _val505); + struct.success.put(_key1830, _val1831); } } struct.setSuccessIsSet(true); @@ -145779,38 +277659,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeRecordsTimestr_args implements - org.apache.thrift.TBase, + public static class selectCriteriaTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecordsTimestr_args"); + "selectCriteriaTimeOrder_args"); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecordsTimestr_argsStandardSchemeFactory()); + new selectCriteriaTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecordsTimestr_argsTupleSchemeFactory()); + new selectCriteriaTimeOrder_argsTupleSchemeFactory()); } - public List records; // required - public String timestamp; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -145820,11 +277702,12 @@ public static class describeRecordsTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORDS((short) 1, "records"), + CRITERIA((short) 1, "criteria"), TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -145840,15 +277723,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORDS - return RECORDS; + case 1: // CRITERIA + return CRITERIA; case 2: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -145894,22 +277779,29 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -145929,18 +277821,22 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecordsTimestr_args.class, metaDataMap); + selectCriteriaTimeOrder_args.class, metaDataMap); } - public describeRecordsTimestr_args() {} + public selectCriteriaTimeOrder_args() {} - public describeRecordsTimestr_args(List records, String timestamp, + public selectCriteriaTimeOrder_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.records = records; + this.criteria = criteria; this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -145949,13 +277845,17 @@ public describeRecordsTimestr_args(List records, String timestamp, /** * Performs a deep copy on other. */ - public describeRecordsTimestr_args(describeRecordsTimestr_args other) { - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + public selectCriteriaTimeOrder_args( + selectCriteriaTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -145970,72 +277870,62 @@ public describeRecordsTimestr_args(describeRecordsTimestr_args other) { } } - public describeRecordsTimestr_args deepCopy() { - return new describeRecordsTimestr_args(this); + public selectCriteriaTimeOrder_args deepCopy() { + return new selectCriteriaTimeOrder_args(this); } @Override public void clear() { - this.records = null; - this.timestamp = null; + this.criteria = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); - } - - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); - } - - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); - } - this.records.add(elem); - } - - public List getRecords() { - return this.records; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public describeRecordsTimestr_args setRecords(List records) { - this.records = records; + public selectCriteriaTimeOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecords() { - this.records = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordsIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.records = null; + this.criteria = null; } } - public String getTimestamp() { + public long getTimestamp() { return this.timestamp; } - public describeRecordsTimestr_args setTimestamp(String timestamp) { + public selectCriteriaTimeOrder_args setTimestamp(long timestamp) { this.timestamp = timestamp; + setTimestampIsSet(true); return this; } public void unsetTimestamp() { - this.timestamp = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** @@ -146043,12 +277933,40 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return this.timestamp != null; + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectCriteriaTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { if(!value) { - this.timestamp = null; + this.order = null; } } @@ -146056,7 +277974,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public describeRecordsTimestr_args setCreds( + public selectCriteriaTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -146084,7 +278002,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public describeRecordsTimestr_args setTransaction( + public selectCriteriaTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -146112,7 +278030,7 @@ public String getEnvironment() { return this.environment; } - public describeRecordsTimestr_args setEnvironment(String environment) { + public selectCriteriaTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -146137,12 +278055,13 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORDS: + case CRITERIA: if(value == null) { - unsetRecords(); + unsetCriteria(); } else { - setRecords((List) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -146151,7 +278070,16 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((String) value); + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -146188,12 +278116,15 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORDS: - return getRecords(); + case CRITERIA: + return getCriteria(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -146217,10 +278148,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORDS: - return isSetRecords(); + case CRITERIA: + return isSetCriteria(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -146235,30 +278168,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecordsTimestr_args) - return this.equals((describeRecordsTimestr_args) that); + if(that instanceof selectCriteriaTimeOrder_args) + return this.equals((selectCriteriaTimeOrder_args) that); return false; } - public boolean equals(describeRecordsTimestr_args that) { + public boolean equals(selectCriteriaTimeOrder_args that) { if(that == null) return false; - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.records.equals(that.records)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -146296,16 +278238,21 @@ public boolean equals(describeRecordsTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -146325,7 +278272,7 @@ public int hashCode() { } @Override - public int compareTo(describeRecordsTimestr_args other) { + public int compareTo(selectCriteriaTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -146333,14 +278280,14 @@ public int compareTo(describeRecordsTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -146357,6 +278304,18 @@ public int compareTo(describeRecordsTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -146413,25 +278372,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "describeRecordsTimestr_args("); + "selectCriteriaTimeOrder_args("); boolean first = true; - sb.append("records:"); - if(this.records == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.order); } first = false; if(!first) @@ -146471,6 +278435,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -146494,6 +278464,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -146503,18 +278477,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecordsTimestr_argsStandardSchemeFactory + private static class selectCriteriaTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public describeRecordsTimestr_argsStandardScheme getScheme() { - return new describeRecordsTimestr_argsStandardScheme(); + public selectCriteriaTimeOrder_argsStandardScheme getScheme() { + return new selectCriteriaTimeOrder_argsStandardScheme(); } } - private static class describeRecordsTimestr_argsStandardScheme - extends StandardScheme { + private static class selectCriteriaTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecordsTimestr_args struct) + selectCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -146524,21 +278498,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list510 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list510.size); - long _elem511; - for (int _i512 = 0; _i512 < _list510.size; ++_i512) { - _elem511 = iprot.readI64(); - struct.records.add(_elem511); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -146546,8 +278510,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { @@ -146555,7 +278519,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -146566,7 +278541,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -146577,7 +278552,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -146601,28 +278576,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecordsTimestr_args struct) + selectCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter513 : struct.records) { - oprot.writeI64(_iter513); - } - oprot.writeListEnd(); - } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -146646,48 +278615,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class describeRecordsTimestr_argsTupleSchemeFactory + private static class selectCriteriaTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public describeRecordsTimestr_argsTupleScheme getScheme() { - return new describeRecordsTimestr_argsTupleScheme(); + public selectCriteriaTimeOrder_argsTupleScheme getScheme() { + return new selectCriteriaTimeOrder_argsTupleScheme(); } } - private static class describeRecordsTimestr_argsTupleScheme - extends TupleScheme { + private static class selectCriteriaTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecordsTimestr_args struct) + selectCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecords()) { + if(struct.isSetCriteria()) { optionals.set(0); } if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter514 : struct.records) { - oprot.writeI64(_iter514); - } - } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -146702,39 +278672,35 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecordsTimestr_args struct) + selectCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list515 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list515.size); - long _elem516; - for (int _i517 = 0; _i517 < _list515.size; ++_i517) { - _elem516 = iprot.readI64(); - struct.records.add(_elem516); - } - } - struct.setRecordsIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readString(); + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -146743,13 +278709,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class describeRecordsTimestr_result implements - org.apache.thrift.TBase, + public static class selectCriteriaTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "describeRecordsTimestr_result"); + "selectCriteriaTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -146759,22 +278725,19 @@ public static class describeRecordsTimestr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new describeRecordsTimestr_resultStandardSchemeFactory()); + new selectCriteriaTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new describeRecordsTimestr_resultTupleSchemeFactory()); + new selectCriteriaTimeOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -146784,8 +278747,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -146809,8 +278771,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -146866,10 +278826,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))))); + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -146885,49 +278850,66 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - describeRecordsTimestr_result.class, metaDataMap); + selectCriteriaTimeOrder_result.class, metaDataMap); } - public describeRecordsTimestr_result() {} + public selectCriteriaTimeOrder_result() {} - public describeRecordsTimestr_result(Map> success, + public selectCriteriaTimeOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public describeRecordsTimestr_result( - describeRecordsTimestr_result other) { + public selectCriteriaTimeOrder_result( + selectCriteriaTimeOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element.getValue(); + Map> other_element_value = other_element + .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( - other_element_value); + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -146943,17 +278925,13 @@ public describeRecordsTimestr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public describeRecordsTimestr_result deepCopy() { - return new describeRecordsTimestr_result(this); + public selectCriteriaTimeOrder_result deepCopy() { + return new selectCriteriaTimeOrder_result(this); } @Override @@ -146962,26 +278940,26 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, Set val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public describeRecordsTimestr_result setSuccess( - Map> success) { + public selectCriteriaTimeOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -147008,7 +278986,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public describeRecordsTimestr_result setEx( + public selectCriteriaTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -147036,7 +279014,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public describeRecordsTimestr_result setEx2( + public selectCriteriaTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -147060,12 +279038,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public describeRecordsTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public selectCriteriaTimeOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -147088,34 +279066,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public describeRecordsTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -147123,7 +279073,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map>) value); + setSuccess( + (Map>>) value); } break; @@ -147150,16 +279101,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -147180,9 +279122,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -147205,8 +279144,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -147215,12 +279152,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof describeRecordsTimestr_result) - return this.equals((describeRecordsTimestr_result) that); + if(that instanceof selectCriteriaTimeOrder_result) + return this.equals((selectCriteriaTimeOrder_result) that); return false; } - public boolean equals(describeRecordsTimestr_result that) { + public boolean equals(selectCriteriaTimeOrder_result that) { if(that == null) return false; @@ -147260,15 +279197,6 @@ public boolean equals(describeRecordsTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -147296,16 +279224,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(describeRecordsTimestr_result other) { + public int compareTo(selectCriteriaTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -147361,18 +279284,6 @@ public int compareTo(describeRecordsTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -147393,7 +279304,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "describeRecordsTimestr_result("); + "selectCriteriaTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -147434,16 +279345,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -147477,18 +279378,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class describeRecordsTimestr_resultStandardSchemeFactory + private static class selectCriteriaTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public describeRecordsTimestr_resultStandardScheme getScheme() { - return new describeRecordsTimestr_resultStandardScheme(); + public selectCriteriaTimeOrder_resultStandardScheme getScheme() { + return new selectCriteriaTimeOrder_resultStandardScheme(); } } - private static class describeRecordsTimestr_resultStandardScheme - extends StandardScheme { + private static class selectCriteriaTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - describeRecordsTimestr_result struct) + selectCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -147501,27 +279402,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map518 = iprot + org.apache.thrift.protocol.TMap _map1840 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map518.size); - long _key519; - Set _val520; - for (int _i521 = 0; _i521 < _map518.size; ++_i521) { - _key519 = iprot.readI64(); + struct.success = new LinkedHashMap>>( + 2 * _map1840.size); + long _key1841; + Map> _val1842; + for (int _i1843 = 0; _i1843 < _map1840.size; ++_i1843) { + _key1841 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set522 = iprot - .readSetBegin(); - _val520 = new LinkedHashSet( - 2 * _set522.size); - String _elem523; - for (int _i524 = 0; _i524 < _set522.size; ++_i524) { - _elem523 = iprot.readString(); - _val520.add(_elem523); + org.apache.thrift.protocol.TMap _map1844 = iprot + .readMapBegin(); + _val1842 = new LinkedHashMap>( + 2 * _map1844.size); + String _key1845; + Set _val1846; + for (int _i1847 = 0; _i1847 < _map1844.size; ++_i1847) { + _key1845 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1848 = iprot + .readSetBegin(); + _val1846 = new LinkedHashSet( + 2 * _set1848.size); + com.cinchapi.concourse.thrift.TObject _elem1849; + for (int _i1850 = 0; _i1850 < _set1848.size; ++_i1850) { + _elem1849 = new com.cinchapi.concourse.thrift.TObject(); + _elem1849.read(iprot); + _val1846.add(_elem1849); + } + iprot.readSetEnd(); + } + _val1842.put(_key1845, _val1846); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key519, _val520); + struct.success.put(_key1841, _val1842); } iprot.readMapEnd(); } @@ -147556,7 +279471,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -147565,17 +279480,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -147590,7 +279494,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - describeRecordsTimestr_result struct) + selectCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -147600,20 +279504,34 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter525 : struct.success + for (Map.Entry>> _iter1851 : struct.success .entrySet()) { - oprot.writeI64(_iter525.getKey()); + oprot.writeI64(_iter1851.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - _iter525.getValue().size())); - for (String _iter526 : _iter525.getValue()) { - oprot.writeString(_iter526); + org.apache.thrift.protocol.TType.SET, + _iter1851.getValue().size())); + for (Map.Entry> _iter1852 : _iter1851 + .getValue().entrySet()) { + oprot.writeString(_iter1852.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1852.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1853 : _iter1852 + .getValue()) { + _iter1853.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -147635,30 +279553,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class describeRecordsTimestr_resultTupleSchemeFactory + private static class selectCriteriaTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public describeRecordsTimestr_resultTupleScheme getScheme() { - return new describeRecordsTimestr_resultTupleScheme(); + public selectCriteriaTimeOrder_resultTupleScheme getScheme() { + return new selectCriteriaTimeOrder_resultTupleScheme(); } } - private static class describeRecordsTimestr_resultTupleScheme - extends TupleScheme { + private static class selectCriteriaTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - describeRecordsTimestr_result struct) + selectCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -147674,20 +279587,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter527 : struct.success + for (Map.Entry>> _iter1854 : struct.success .entrySet()) { - oprot.writeI64(_iter527.getKey()); + oprot.writeI64(_iter1854.getKey()); { - oprot.writeI32(_iter527.getValue().size()); - for (String _iter528 : _iter527.getValue()) { - oprot.writeString(_iter528); + oprot.writeI32(_iter1854.getValue().size()); + for (Map.Entry> _iter1855 : _iter1854 + .getValue().entrySet()) { + oprot.writeString(_iter1855.getKey()); + { + oprot.writeI32( + _iter1855.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1856 : _iter1855 + .getValue()) { + _iter1856.write(oprot); + } + } } } } @@ -147702,42 +279621,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - describeRecordsTimestr_result struct) + selectCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map529 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map1857 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map529.size); - long _key530; - Set _val531; - for (int _i532 = 0; _i532 < _map529.size; ++_i532) { - _key530 = iprot.readI64(); + struct.success = new LinkedHashMap>>( + 2 * _map1857.size); + long _key1858; + Map> _val1859; + for (int _i1860 = 0; _i1860 < _map1857.size; ++_i1860) { + _key1858 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set533 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map1861 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val531 = new LinkedHashSet( - 2 * _set533.size); - String _elem534; - for (int _i535 = 0; _i535 < _set533.size; ++_i535) { - _elem534 = iprot.readString(); - _val531.add(_elem534); + _val1859 = new LinkedHashMap>( + 2 * _map1861.size); + String _key1862; + Set _val1863; + for (int _i1864 = 0; _i1864 < _map1861.size; ++_i1864) { + _key1862 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1865 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val1863 = new LinkedHashSet( + 2 * _set1865.size); + com.cinchapi.concourse.thrift.TObject _elem1866; + for (int _i1867 = 0; _i1867 < _set1865.size; ++_i1867) { + _elem1866 = new com.cinchapi.concourse.thrift.TObject(); + _elem1866.read(iprot); + _val1863.add(_elem1866); + } + } + _val1859.put(_key1862, _val1863); } } - struct.success.put(_key530, _val531); + struct.success.put(_key1858, _val1859); } } struct.setSuccessIsSet(true); @@ -147753,32 +279684,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class diffRecordStart_args implements - org.apache.thrift.TBase, + public static class selectCriteriaTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffRecordStart_args"); + "selectCriteriaTimestr_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -147791,13 +279718,13 @@ public static class diffRecordStart_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffRecordStart_argsStandardSchemeFactory()); + new selectCriteriaTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffRecordStart_argsTupleSchemeFactory()); + new selectCriteriaTimestr_argsTupleSchemeFactory()); } - public long record; // required - public long start; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -147807,8 +279734,8 @@ public static class diffRecordStart_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - START((short) 2, "start"), + CRITERIA((short) 1, "criteria"), + TIMESTAMP((short) 2, "timestamp"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -147827,10 +279754,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // START - return START; + case 1: // CRITERIA + return CRITERIA; + case 2: // TIMESTAMP + return TIMESTAMP; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -147881,23 +279808,21 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __START_ISSET_ID = 1; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -147917,20 +279842,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffRecordStart_args.class, metaDataMap); + selectCriteriaTimestr_args.class, metaDataMap); } - public diffRecordStart_args() {} + public selectCriteriaTimestr_args() {} - public diffRecordStart_args(long record, long start, + public selectCriteriaTimestr_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); - this.start = start; - setStartIsSet(true); + this.criteria = criteria; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -147939,10 +279864,14 @@ public diffRecordStart_args(long record, long start, /** * Performs a deep copy on other. */ - public diffRecordStart_args(diffRecordStart_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; - this.start = other.start; + public selectCriteriaTimestr_args(selectCriteriaTimestr_args other) { + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -147956,82 +279885,79 @@ public diffRecordStart_args(diffRecordStart_args other) { } } - public diffRecordStart_args deepCopy() { - return new diffRecordStart_args(this); + public selectCriteriaTimestr_args deepCopy() { + return new selectCriteriaTimestr_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; - setStartIsSet(false); - this.start = 0; + this.criteria = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public diffRecordStart_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectCriteriaTimestr_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } } - public long getStart() { - return this.start; + public String getTimestamp() { + return this.timestamp; } - public diffRecordStart_args setStart(long start) { - this.start = start; - setStartIsSet(true); + public selectCriteriaTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + public boolean isSetTimestamp() { + return this.timestamp != null; } - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffRecordStart_args setCreds( + public selectCriteriaTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -148059,7 +279985,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffRecordStart_args setTransaction( + public selectCriteriaTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -148087,7 +280013,7 @@ public String getEnvironment() { return this.environment; } - public diffRecordStart_args setEnvironment(String environment) { + public selectCriteriaTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -148112,21 +280038,22 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case CRITERIA: if(value == null) { - unsetRecord(); + unsetCriteria(); } else { - setRecord((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case START: + case TIMESTAMP: if(value == null) { - unsetStart(); + unsetTimestamp(); } else { - setStart((Long) value); + setTimestamp((String) value); } break; @@ -148163,11 +280090,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case CRITERIA: + return getCriteria(); - case START: - return getStart(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -148192,10 +280119,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -148210,30 +280137,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffRecordStart_args) - return this.equals((diffRecordStart_args) that); + if(that instanceof selectCriteriaTimestr_args) + return this.equals((selectCriteriaTimestr_args) that); return false; } - public boolean equals(diffRecordStart_args that) { + public boolean equals(selectCriteriaTimestr_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.record != that.record) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.start != that.start) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -148271,15 +280198,15 @@ public boolean equals(diffRecordStart_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -148300,7 +280227,7 @@ public int hashCode() { } @Override - public int compareTo(diffRecordStart_args other) { + public int compareTo(selectCriteriaTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -148308,26 +280235,26 @@ public int compareTo(diffRecordStart_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -148387,16 +280314,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffRecordStart_args("); + StringBuilder sb = new StringBuilder("selectCriteriaTimestr_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } first = false; if(!first) sb.append(", "); - sb.append("start:"); - sb.append(this.start); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -148435,6 +280372,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -148458,10 +280398,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -148471,18 +280407,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffRecordStart_argsStandardSchemeFactory + private static class selectCriteriaTimestr_argsStandardSchemeFactory implements SchemeFactory { - public diffRecordStart_argsStandardScheme getScheme() { - return new diffRecordStart_argsStandardScheme(); + public selectCriteriaTimestr_argsStandardScheme getScheme() { + return new selectCriteriaTimestr_argsStandardScheme(); } } - private static class diffRecordStart_argsStandardScheme - extends StandardScheme { + private static class selectCriteriaTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffRecordStart_args struct) + selectCriteriaTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -148492,20 +280428,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -148558,17 +280495,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffRecordStart_args struct) + selectCriteriaTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -148590,26 +280531,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffRecordStart_argsTupleSchemeFactory + private static class selectCriteriaTimestr_argsTupleSchemeFactory implements SchemeFactory { - public diffRecordStart_argsTupleScheme getScheme() { - return new diffRecordStart_argsTupleScheme(); + public selectCriteriaTimestr_argsTupleScheme getScheme() { + return new selectCriteriaTimestr_argsTupleScheme(); } } - private static class diffRecordStart_argsTupleScheme - extends TupleScheme { + private static class selectCriteriaTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffRecordStart_args struct) + selectCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(0); } - if(struct.isSetStart()) { + if(struct.isSetTimestamp()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -148622,11 +280563,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -148641,17 +280582,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffRecordStart_args struct) + selectCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -148672,13 +280614,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffRecordStart_result implements - org.apache.thrift.TBase, + public static class selectCriteriaTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffRecordStart_result"); + "selectCriteriaTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -148688,19 +280630,22 @@ public static class diffRecordStart_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffRecordStart_resultStandardSchemeFactory()); + new selectCriteriaTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffRecordStart_resultTupleSchemeFactory()); + new selectCriteriaTimestr_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -148710,7 +280655,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -148734,6 +280680,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -148788,12 +280736,11 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), + org.apache.thrift.protocol.TType.I64), new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.SetMetaData( org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.StructMetaData( @@ -148814,52 +280761,60 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffRecordStart_result.class, metaDataMap); + selectCriteriaTimestr_result.class, metaDataMap); } - public diffRecordStart_result() {} + public selectCriteriaTimestr_result() {} - public diffRecordStart_result( - Map>> success, + public selectCriteriaTimestr_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public diffRecordStart_result(diffRecordStart_result other) { + public selectCriteriaTimestr_result( + selectCriteriaTimestr_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry> other_element_value_element : other_element_value .entrySet()) { - com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + String other_element_value_element_key = other_element_value_element .getKey(); Set other_element_value_element_value = other_element_value_element .getValue(); - com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + String __this__success_copy_value_copy_key = other_element_value_element_key; Set __this__success_copy_value_copy_value = new LinkedHashSet( other_element_value_element_value.size()); @@ -148888,13 +280843,17 @@ public diffRecordStart_result(diffRecordStart_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public diffRecordStart_result deepCopy() { - return new diffRecordStart_result(this); + public selectCriteriaTimestr_result deepCopy() { + return new selectCriteriaTimestr_result(this); } @Override @@ -148903,26 +280862,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Map> val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map>> getSuccess() { return this.success; } - public diffRecordStart_result setSuccess( - Map>> success) { + public selectCriteriaTimestr_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -148949,7 +280909,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffRecordStart_result setEx( + public selectCriteriaTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -148977,7 +280937,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffRecordStart_result setEx2( + public selectCriteriaTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -149001,12 +280961,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public diffRecordStart_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectCriteriaTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -149029,6 +280989,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectCriteriaTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -149037,7 +281025,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>>) value); } break; @@ -149064,7 +281052,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -149085,6 +281082,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -149107,6 +281107,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -149115,12 +281117,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffRecordStart_result) - return this.equals((diffRecordStart_result) that); + if(that instanceof selectCriteriaTimestr_result) + return this.equals((selectCriteriaTimestr_result) that); return false; } - public boolean equals(diffRecordStart_result that) { + public boolean equals(selectCriteriaTimestr_result that) { if(that == null) return false; @@ -149160,6 +281162,15 @@ public boolean equals(diffRecordStart_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -149187,11 +281198,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(diffRecordStart_result other) { + public int compareTo(selectCriteriaTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -149247,6 +281263,18 @@ public int compareTo(diffRecordStart_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -149266,7 +281294,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffRecordStart_result("); + StringBuilder sb = new StringBuilder( + "selectCriteriaTimestr_result("); boolean first = true; sb.append("success:"); @@ -149307,6 +281336,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -149340,18 +281379,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffRecordStart_resultStandardSchemeFactory + private static class selectCriteriaTimestr_resultStandardSchemeFactory implements SchemeFactory { - public diffRecordStart_resultStandardScheme getScheme() { - return new diffRecordStart_resultStandardScheme(); + public selectCriteriaTimestr_resultStandardScheme getScheme() { + return new selectCriteriaTimestr_resultStandardScheme(); } } - private static class diffRecordStart_resultStandardScheme - extends StandardScheme { + private static class selectCriteriaTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffRecordStart_result struct) + selectCriteriaTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -149364,43 +281403,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map536 = iprot + org.apache.thrift.protocol.TMap _map1868 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map536.size); - String _key537; - Map> _val538; - for (int _i539 = 0; _i539 < _map536.size; ++_i539) { - _key537 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map1868.size); + long _key1869; + Map> _val1870; + for (int _i1871 = 0; _i1871 < _map1868.size; ++_i1871) { + _key1869 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map540 = iprot + org.apache.thrift.protocol.TMap _map1872 = iprot .readMapBegin(); - _val538 = new LinkedHashMap>( - 2 * _map540.size); - com.cinchapi.concourse.thrift.Diff _key541; - Set _val542; - for (int _i543 = 0; _i543 < _map540.size; ++_i543) { - _key541 = com.cinchapi.concourse.thrift.Diff - .findByValue( - iprot.readI32()); + _val1870 = new LinkedHashMap>( + 2 * _map1872.size); + String _key1873; + Set _val1874; + for (int _i1875 = 0; _i1875 < _map1872.size; ++_i1875) { + _key1873 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set544 = iprot + org.apache.thrift.protocol.TSet _set1876 = iprot .readSetBegin(); - _val542 = new LinkedHashSet( - 2 * _set544.size); - com.cinchapi.concourse.thrift.TObject _elem545; - for (int _i546 = 0; _i546 < _set544.size; ++_i546) { - _elem545 = new com.cinchapi.concourse.thrift.TObject(); - _elem545.read(iprot); - _val542.add(_elem545); + _val1874 = new LinkedHashSet( + 2 * _set1876.size); + com.cinchapi.concourse.thrift.TObject _elem1877; + for (int _i1878 = 0; _i1878 < _set1876.size; ++_i1878) { + _elem1877 = new com.cinchapi.concourse.thrift.TObject(); + _elem1877.read(iprot); + _val1874.add(_elem1877); } iprot.readSetEnd(); } - _val538.put(_key541, _val542); + _val1870.put(_key1873, _val1874); } iprot.readMapEnd(); } - struct.success.put(_key537, _val538); + struct.success.put(_key1869, _val1870); } iprot.readMapEnd(); } @@ -149435,7 +281472,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -149444,6 +281481,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -149458,7 +281506,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffRecordStart_result struct) + selectCriteriaTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -149467,31 +281515,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter547 : struct.success + for (Map.Entry>> _iter1879 : struct.success .entrySet()) { - oprot.writeString(_iter547.getKey()); + oprot.writeI64(_iter1879.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter547.getValue().size())); - for (Map.Entry> _iter548 : _iter547 + _iter1879.getValue().size())); + for (Map.Entry> _iter1880 : _iter1879 .getValue().entrySet()) { - oprot.writeI32( - _iter548.getKey().getValue()); + oprot.writeString(_iter1880.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter548.getValue() + _iter1880.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter549 : _iter548 + for (com.cinchapi.concourse.thrift.TObject _iter1881 : _iter1880 .getValue()) { - _iter549.write(oprot); + _iter1881.write(oprot); } oprot.writeSetEnd(); } @@ -149518,25 +281565,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class diffRecordStart_resultTupleSchemeFactory + private static class selectCriteriaTimestr_resultTupleSchemeFactory implements SchemeFactory { - public diffRecordStart_resultTupleScheme getScheme() { - return new diffRecordStart_resultTupleScheme(); + public selectCriteriaTimestr_resultTupleScheme getScheme() { + return new selectCriteriaTimestr_resultTupleScheme(); } } - private static class diffRecordStart_resultTupleScheme - extends TupleScheme { + private static class selectCriteriaTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffRecordStart_result struct) + selectCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -149552,25 +281604,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter550 : struct.success + for (Map.Entry>> _iter1882 : struct.success .entrySet()) { - oprot.writeString(_iter550.getKey()); + oprot.writeI64(_iter1882.getKey()); { - oprot.writeI32(_iter550.getValue().size()); - for (Map.Entry> _iter551 : _iter550 + oprot.writeI32(_iter1882.getValue().size()); + for (Map.Entry> _iter1883 : _iter1882 .getValue().entrySet()) { - oprot.writeI32( - _iter551.getKey().getValue()); + oprot.writeString(_iter1883.getKey()); { oprot.writeI32( - _iter551.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter552 : _iter551 + _iter1883.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1884 : _iter1883 .getValue()) { - _iter552.write(oprot); + _iter1884.write(oprot); } } } @@ -149587,55 +281641,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffRecordStart_result struct) + selectCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map553 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1885 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map553.size); - String _key554; - Map> _val555; - for (int _i556 = 0; _i556 < _map553.size; ++_i556) { - _key554 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map1885.size); + long _key1886; + Map> _val1887; + for (int _i1888 = 0; _i1888 < _map1885.size; ++_i1888) { + _key1886 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map557 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TMap _map1889 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val555 = new LinkedHashMap>( - 2 * _map557.size); - com.cinchapi.concourse.thrift.Diff _key558; - Set _val559; - for (int _i560 = 0; _i560 < _map557.size; ++_i560) { - _key558 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + _val1887 = new LinkedHashMap>( + 2 * _map1889.size); + String _key1890; + Set _val1891; + for (int _i1892 = 0; _i1892 < _map1889.size; ++_i1892) { + _key1890 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set561 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set1893 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val559 = new LinkedHashSet( - 2 * _set561.size); - com.cinchapi.concourse.thrift.TObject _elem562; - for (int _i563 = 0; _i563 < _set561.size; ++_i563) { - _elem562 = new com.cinchapi.concourse.thrift.TObject(); - _elem562.read(iprot); - _val559.add(_elem562); + _val1891 = new LinkedHashSet( + 2 * _set1893.size); + com.cinchapi.concourse.thrift.TObject _elem1894; + for (int _i1895 = 0; _i1895 < _set1893.size; ++_i1895) { + _elem1894 = new com.cinchapi.concourse.thrift.TObject(); + _elem1894.read(iprot); + _val1891.add(_elem1894); } } - _val555.put(_key558, _val559); + _val1887.put(_key1890, _val1891); } } - struct.success.put(_key554, _val555); + struct.success.put(_key1886, _val1887); } } struct.setSuccessIsSet(true); @@ -149651,46 +281707,55 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class diffRecordStartstr_args implements - org.apache.thrift.TBase, + public static class selectCriteriaTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffRecordStartstr_args"); + "selectCriteriaTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffRecordStartstr_argsStandardSchemeFactory()); + new selectCriteriaTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffRecordStartstr_argsTupleSchemeFactory()); + new selectCriteriaTimestrOrder_argsTupleSchemeFactory()); } - public long record; // required - public String start; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -149700,11 +281765,12 @@ public static class diffRecordStartstr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - START((short) 2, "start"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + CRITERIA((short) 1, "criteria"), + TIMESTAMP((short) 2, "timestamp"), + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -149720,15 +281786,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // START - return START; - case 3: // CREDS + case 1: // CRITERIA + return CRITERIA; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -149774,22 +281842,27 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -149809,19 +281882,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffRecordStartstr_args.class, metaDataMap); + selectCriteriaTimestrOrder_args.class, metaDataMap); } - public diffRecordStartstr_args() {} + public selectCriteriaTimestrOrder_args() {} - public diffRecordStartstr_args(long record, String start, + public selectCriteriaTimestrOrder_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); - this.start = start; + this.criteria = criteria; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -149830,11 +281905,18 @@ public diffRecordStartstr_args(long record, String start, /** * Performs a deep copy on other. */ - public diffRecordStartstr_args(diffRecordStartstr_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; - if(other.isSetStart()) { - this.start = other.start; + public selectCriteriaTimestrOrder_args( + selectCriteriaTimestrOrder_args other) { + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -149849,72 +281931,100 @@ public diffRecordStartstr_args(diffRecordStartstr_args other) { } } - public diffRecordStartstr_args deepCopy() { - return new diffRecordStartstr_args(this); + public selectCriteriaTimestrOrder_args deepCopy() { + return new selectCriteriaTimestrOrder_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; - this.start = null; + this.criteria = null; + this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public diffRecordStartstr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectCriteriaTimestrOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } } - public String getStart() { - return this.start; + public String getTimestamp() { + return this.timestamp; } - public diffRecordStartstr_args setStart(String start) { - this.start = start; + public selectCriteriaTimestrOrder_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetStart() { - this.start = null; + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectCriteriaTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetOrder() { + return this.order != null; } - public void setStartIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.start = null; + this.order = null; } } @@ -149922,7 +282032,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffRecordStartstr_args setCreds( + public selectCriteriaTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -149950,7 +282060,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffRecordStartstr_args setTransaction( + public selectCriteriaTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -149978,7 +282088,8 @@ public String getEnvironment() { return this.environment; } - public diffRecordStartstr_args setEnvironment(String environment) { + public selectCriteriaTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -150003,21 +282114,31 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case CRITERIA: if(value == null) { - unsetRecord(); + unsetCriteria(); } else { - setRecord((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case START: + case TIMESTAMP: if(value == null) { - unsetStart(); + unsetTimestamp(); } else { - setStart((String) value); + setTimestamp((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -150054,11 +282175,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case CRITERIA: + return getCriteria(); - case START: - return getStart(); + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -150083,10 +282207,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -150101,30 +282227,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffRecordStartstr_args) - return this.equals((diffRecordStartstr_args) that); + if(that instanceof selectCriteriaTimestrOrder_args) + return this.equals((selectCriteriaTimestrOrder_args) that); return false; } - public boolean equals(diffRecordStartstr_args that) { + public boolean equals(selectCriteriaTimestrOrder_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.record != that.record) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.start.equals(that.start)) + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -150162,15 +282297,20 @@ public boolean equals(diffRecordStartstr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -150191,7 +282331,7 @@ public int hashCode() { } @Override - public int compareTo(diffRecordStartstr_args other) { + public int compareTo(selectCriteriaTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -150199,26 +282339,38 @@ public int compareTo(diffRecordStartstr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -150278,20 +282430,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffRecordStartstr_args("); + StringBuilder sb = new StringBuilder( + "selectCriteriaTimestrOrder_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } first = false; if(!first) sb.append(", "); - sb.append("start:"); - if(this.start == null) { + sb.append("timestamp:"); + if(this.timestamp == null) { sb.append("null"); } else { - sb.append(this.start); + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -150331,6 +282499,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -150354,10 +282528,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -150367,18 +282537,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffRecordStartstr_argsStandardSchemeFactory + private static class selectCriteriaTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public diffRecordStartstr_argsStandardScheme getScheme() { - return new diffRecordStartstr_argsStandardScheme(); + public selectCriteriaTimestrOrder_argsStandardScheme getScheme() { + return new selectCriteriaTimestrOrder_argsStandardScheme(); } } - private static class diffRecordStartstr_argsStandardScheme - extends StandardScheme { + private static class selectCriteriaTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffRecordStartstr_args struct) + selectCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -150388,27 +282558,39 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // START + case 2: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -150419,7 +282601,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -150430,7 +282612,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -150454,17 +282636,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffRecordStartstr_args struct) + selectCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -150488,43 +282677,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffRecordStartstr_argsTupleSchemeFactory + private static class selectCriteriaTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public diffRecordStartstr_argsTupleScheme getScheme() { - return new diffRecordStartstr_argsTupleScheme(); + public selectCriteriaTimestrOrder_argsTupleScheme getScheme() { + return new selectCriteriaTimestrOrder_argsTupleScheme(); } } - private static class diffRecordStartstr_argsTupleScheme - extends TupleScheme { + private static class selectCriteriaTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartstr_args struct) + selectCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(0); } - if(struct.isSetStart()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetEnvironment()) { + optionals.set(5); } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + oprot.writeBitSet(optionals, 6); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -150539,29 +282734,35 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartstr_args struct) + selectCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -150570,13 +282771,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffRecordStartstr_result implements - org.apache.thrift.TBase, + public static class selectCriteriaTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffRecordStartstr_result"); + "selectCriteriaTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -150592,12 +282793,12 @@ public static class diffRecordStartstr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffRecordStartstr_resultStandardSchemeFactory()); + new selectCriteriaTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffRecordStartstr_resultTupleSchemeFactory()); + new selectCriteriaTimestrOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -150692,12 +282893,11 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), + org.apache.thrift.protocol.TType.I64), new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.SetMetaData( org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.StructMetaData( @@ -150725,13 +282925,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffRecordStartstr_result.class, metaDataMap); + selectCriteriaTimestrOrder_result.class, metaDataMap); } - public diffRecordStartstr_result() {} + public selectCriteriaTimestrOrder_result() {} - public diffRecordStartstr_result( - Map>> success, + public selectCriteriaTimestrOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -150747,30 +282947,31 @@ public diffRecordStartstr_result( /** * Performs a deep copy on other. */ - public diffRecordStartstr_result(diffRecordStartstr_result other) { + public selectCriteriaTimestrOrder_result( + selectCriteriaTimestrOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry> other_element_value_element : other_element_value .entrySet()) { - com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + String other_element_value_element_key = other_element_value_element .getKey(); Set other_element_value_element_value = other_element_value_element .getValue(); - com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + String __this__success_copy_value_copy_key = other_element_value_element_key; Set __this__success_copy_value_copy_value = new LinkedHashSet( other_element_value_element_value.size()); @@ -150808,8 +283009,8 @@ public diffRecordStartstr_result(diffRecordStartstr_result other) { } } - public diffRecordStartstr_result deepCopy() { - return new diffRecordStartstr_result(this); + public selectCriteriaTimestrOrder_result deepCopy() { + return new selectCriteriaTimestrOrder_result(this); } @Override @@ -150825,20 +283026,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Map> val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map>> getSuccess() { return this.success; } - public diffRecordStartstr_result setSuccess( - Map>> success) { + public selectCriteriaTimestrOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -150865,7 +283066,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffRecordStartstr_result setEx( + public selectCriteriaTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -150893,7 +283094,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffRecordStartstr_result setEx2( + public selectCriteriaTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -150921,7 +283122,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public diffRecordStartstr_result setEx3( + public selectCriteriaTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -150949,7 +283150,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public diffRecordStartstr_result setEx4( + public selectCriteriaTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -150981,7 +283182,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>>) value); } break; @@ -151073,12 +283274,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffRecordStartstr_result) - return this.equals((diffRecordStartstr_result) that); + if(that instanceof selectCriteriaTimestrOrder_result) + return this.equals((selectCriteriaTimestrOrder_result) that); return false; } - public boolean equals(diffRecordStartstr_result that) { + public boolean equals(selectCriteriaTimestrOrder_result that) { if(that == null) return false; @@ -151163,7 +283364,7 @@ public int hashCode() { } @Override - public int compareTo(diffRecordStartstr_result other) { + public int compareTo(selectCriteriaTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -151250,7 +283451,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffRecordStartstr_result("); + StringBuilder sb = new StringBuilder( + "selectCriteriaTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -151334,18 +283536,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffRecordStartstr_resultStandardSchemeFactory + private static class selectCriteriaTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public diffRecordStartstr_resultStandardScheme getScheme() { - return new diffRecordStartstr_resultStandardScheme(); + public selectCriteriaTimestrOrder_resultStandardScheme getScheme() { + return new selectCriteriaTimestrOrder_resultStandardScheme(); } } - private static class diffRecordStartstr_resultStandardScheme - extends StandardScheme { + private static class selectCriteriaTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffRecordStartstr_result struct) + selectCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -151358,43 +283560,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map564 = iprot + org.apache.thrift.protocol.TMap _map1896 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map564.size); - String _key565; - Map> _val566; - for (int _i567 = 0; _i567 < _map564.size; ++_i567) { - _key565 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map1896.size); + long _key1897; + Map> _val1898; + for (int _i1899 = 0; _i1899 < _map1896.size; ++_i1899) { + _key1897 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map568 = iprot + org.apache.thrift.protocol.TMap _map1900 = iprot .readMapBegin(); - _val566 = new LinkedHashMap>( - 2 * _map568.size); - com.cinchapi.concourse.thrift.Diff _key569; - Set _val570; - for (int _i571 = 0; _i571 < _map568.size; ++_i571) { - _key569 = com.cinchapi.concourse.thrift.Diff - .findByValue( - iprot.readI32()); + _val1898 = new LinkedHashMap>( + 2 * _map1900.size); + String _key1901; + Set _val1902; + for (int _i1903 = 0; _i1903 < _map1900.size; ++_i1903) { + _key1901 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set572 = iprot + org.apache.thrift.protocol.TSet _set1904 = iprot .readSetBegin(); - _val570 = new LinkedHashSet( - 2 * _set572.size); - com.cinchapi.concourse.thrift.TObject _elem573; - for (int _i574 = 0; _i574 < _set572.size; ++_i574) { - _elem573 = new com.cinchapi.concourse.thrift.TObject(); - _elem573.read(iprot); - _val570.add(_elem573); + _val1902 = new LinkedHashSet( + 2 * _set1904.size); + com.cinchapi.concourse.thrift.TObject _elem1905; + for (int _i1906 = 0; _i1906 < _set1904.size; ++_i1906) { + _elem1905 = new com.cinchapi.concourse.thrift.TObject(); + _elem1905.read(iprot); + _val1902.add(_elem1905); } iprot.readSetEnd(); } - _val566.put(_key569, _val570); + _val1898.put(_key1901, _val1902); } iprot.readMapEnd(); } - struct.success.put(_key565, _val566); + struct.success.put(_key1897, _val1898); } iprot.readMapEnd(); } @@ -151463,7 +283663,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffRecordStartstr_result struct) + selectCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -151472,31 +283672,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter575 : struct.success + for (Map.Entry>> _iter1907 : struct.success .entrySet()) { - oprot.writeString(_iter575.getKey()); + oprot.writeI64(_iter1907.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter575.getValue().size())); - for (Map.Entry> _iter576 : _iter575 + _iter1907.getValue().size())); + for (Map.Entry> _iter1908 : _iter1907 .getValue().entrySet()) { - oprot.writeI32( - _iter576.getKey().getValue()); + oprot.writeString(_iter1908.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter576.getValue() + _iter1908.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter577 : _iter576 + for (com.cinchapi.concourse.thrift.TObject _iter1909 : _iter1908 .getValue()) { - _iter577.write(oprot); + _iter1909.write(oprot); } oprot.writeSetEnd(); } @@ -151534,19 +283733,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffRecordStartstr_resultTupleSchemeFactory + private static class selectCriteriaTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public diffRecordStartstr_resultTupleScheme getScheme() { - return new diffRecordStartstr_resultTupleScheme(); + public selectCriteriaTimestrOrder_resultTupleScheme getScheme() { + return new selectCriteriaTimestrOrder_resultTupleScheme(); } } - private static class diffRecordStartstr_resultTupleScheme - extends TupleScheme { + private static class selectCriteriaTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartstr_result struct) + selectCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -151569,21 +283768,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter578 : struct.success + for (Map.Entry>> _iter1910 : struct.success .entrySet()) { - oprot.writeString(_iter578.getKey()); + oprot.writeI64(_iter1910.getKey()); { - oprot.writeI32(_iter578.getValue().size()); - for (Map.Entry> _iter579 : _iter578 + oprot.writeI32(_iter1910.getValue().size()); + for (Map.Entry> _iter1911 : _iter1910 .getValue().entrySet()) { - oprot.writeI32( - _iter579.getKey().getValue()); + oprot.writeString(_iter1911.getKey()); { oprot.writeI32( - _iter579.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter580 : _iter579 + _iter1911.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1912 : _iter1911 .getValue()) { - _iter580.write(oprot); + _iter1912.write(oprot); } } } @@ -151607,51 +283805,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartstr_result struct) + selectCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map581 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1913 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map581.size); - String _key582; - Map> _val583; - for (int _i584 = 0; _i584 < _map581.size; ++_i584) { - _key582 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map1913.size); + long _key1914; + Map> _val1915; + for (int _i1916 = 0; _i1916 < _map1913.size; ++_i1916) { + _key1914 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map585 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TMap _map1917 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val583 = new LinkedHashMap>( - 2 * _map585.size); - com.cinchapi.concourse.thrift.Diff _key586; - Set _val587; - for (int _i588 = 0; _i588 < _map585.size; ++_i588) { - _key586 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + _val1915 = new LinkedHashMap>( + 2 * _map1917.size); + String _key1918; + Set _val1919; + for (int _i1920 = 0; _i1920 < _map1917.size; ++_i1920) { + _key1918 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set589 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set1921 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val587 = new LinkedHashSet( - 2 * _set589.size); - com.cinchapi.concourse.thrift.TObject _elem590; - for (int _i591 = 0; _i591 < _set589.size; ++_i591) { - _elem590 = new com.cinchapi.concourse.thrift.TObject(); - _elem590.read(iprot); - _val587.add(_elem590); + _val1919 = new LinkedHashSet( + 2 * _set1921.size); + com.cinchapi.concourse.thrift.TObject _elem1922; + for (int _i1923 = 0; _i1923 < _set1921.size; ++_i1923) { + _elem1922 = new com.cinchapi.concourse.thrift.TObject(); + _elem1922.read(iprot); + _val1919.add(_elem1922); } } - _val583.put(_key586, _val587); + _val1915.put(_key1918, _val1919); } } - struct.success.put(_key582, _val583); + struct.success.put(_key1914, _val1915); } } struct.setSuccessIsSet(true); @@ -151681,40 +283878,37 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffRecordStartEnd_args implements - org.apache.thrift.TBase, + public static class selectCclTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffRecordStartEnd_args"); + "selectCclTime_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffRecordStartEnd_argsStandardSchemeFactory()); + new selectCclTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffRecordStartEnd_argsTupleSchemeFactory()); + new selectCclTime_argsTupleSchemeFactory()); } - public long record; // required - public long start; // required - public long tend; // required + public String ccl; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -151724,12 +283918,11 @@ public static class diffRecordStartEnd_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - START((short) 2, "start"), - TEND((short) 3, "tend"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CCL((short) 1, "ccl"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -151745,17 +283938,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // START - return START; - case 3: // TEND - return TEND; - case 4: // CREDS + case 1: // CCL + return CCL; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -151801,26 +283992,19 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __START_ISSET_ID = 1; - private static final int __TEND_ISSET_ID = 2; + private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); @@ -151843,22 +284027,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffRecordStartEnd_args.class, metaDataMap); + selectCclTime_args.class, metaDataMap); } - public diffRecordStartEnd_args() {} + public selectCclTime_args() {} - public diffRecordStartEnd_args(long record, long start, long tend, + public selectCclTime_args(String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); - this.start = start; - setStartIsSet(true); - this.tend = tend; - setTendIsSet(true); + this.ccl = ccl; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -151867,11 +284048,12 @@ public diffRecordStartEnd_args(long record, long start, long tend, /** * Performs a deep copy on other. */ - public diffRecordStartEnd_args(diffRecordStartEnd_args other) { + public selectCclTime_args(selectCclTime_args other) { __isset_bitfield = other.__isset_bitfield; - this.record = other.record; - this.start = other.start; - this.tend = other.tend; + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -151885,112 +284067,81 @@ public diffRecordStartEnd_args(diffRecordStartEnd_args other) { } } - public diffRecordStartEnd_args deepCopy() { - return new diffRecordStartEnd_args(this); + public selectCclTime_args deepCopy() { + return new selectCclTime_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; - setStartIsSet(false); - this.start = 0; - setTendIsSet(false); - this.tend = 0; + this.ccl = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; - } - - public diffRecordStartEnd_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); - } - - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - - public long getStart() { - return this.start; + public String getCcl() { + return this.ccl; } - public diffRecordStartEnd_args setStart(long start) { - this.start = start; - setStartIsSet(true); + public selectCclTime_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + public boolean isSetCcl() { + return this.ccl != null; } - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } } - public long getTend() { - return this.tend; + public long getTimestamp() { + return this.timestamp; } - public diffRecordStartEnd_args setTend(long tend) { - this.tend = tend; - setTendIsSet(true); + public selectCclTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetTend() { + public void unsetTimestamp() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TEND_ISSET_ID); + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field tend is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetTend() { - return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setTendIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TEND_ISSET_ID, value); + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffRecordStartEnd_args setCreds( + public selectCclTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -152018,7 +284169,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffRecordStartEnd_args setTransaction( + public selectCclTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -152046,7 +284197,7 @@ public String getEnvironment() { return this.environment; } - public diffRecordStartEnd_args setEnvironment(String environment) { + public selectCclTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -152071,30 +284222,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: - if(value == null) { - unsetRecord(); - } - else { - setRecord((Long) value); - } - break; - - case START: + case CCL: if(value == null) { - unsetStart(); + unsetCcl(); } else { - setStart((Long) value); + setCcl((String) value); } break; - case TEND: + case TIMESTAMP: if(value == null) { - unsetTend(); + unsetTimestamp(); } else { - setTend((Long) value); + setTimestamp((Long) value); } break; @@ -152131,14 +284273,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); - - case START: - return getStart(); + case CCL: + return getCcl(); - case TEND: - return getTend(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -152163,12 +284302,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -152183,39 +284320,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffRecordStartEnd_args) - return this.equals((diffRecordStartEnd_args) that); + if(that instanceof selectCclTime_args) + return this.equals((selectCclTime_args) that); return false; } - public boolean equals(diffRecordStartEnd_args that) { + public boolean equals(selectCclTime_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) - return false; - if(this.record != that.record) - return false; - } - - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(this.start != that.start) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_tend = true; - boolean that_present_tend = true; - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.tend != that.tend) + if(this.timestamp != that.timestamp) return false; } @@ -152253,20 +284381,15 @@ public boolean equals(diffRecordStartEnd_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); - - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_tend = true; - list.add(present_tend); - if(present_tend) - list.add(tend); + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -152287,7 +284410,7 @@ public int hashCode() { } @Override - public int compareTo(diffRecordStartEnd_args other) { + public int compareTo(selectCclTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -152295,38 +284418,26 @@ public int compareTo(diffRecordStartEnd_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetRecord()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetTend()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -152386,21 +284497,21 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffRecordStartEnd_args("); + StringBuilder sb = new StringBuilder("selectCclTime_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - sb.append(this.start); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } first = false; if(!first) sb.append(", "); - sb.append("tend:"); - sb.append(this.tend); + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -152475,18 +284586,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffRecordStartEnd_argsStandardSchemeFactory + private static class selectCclTime_argsStandardSchemeFactory implements SchemeFactory { - public diffRecordStartEnd_argsStandardScheme getScheme() { - return new diffRecordStartEnd_argsStandardScheme(); + public selectCclTime_argsStandardScheme getScheme() { + return new selectCclTime_argsStandardScheme(); } } - private static class diffRecordStartEnd_argsStandardScheme - extends StandardScheme { + private static class selectCclTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffRecordStartEnd_args struct) + selectCclTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -152496,37 +284607,27 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + case 1: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TEND + case 2: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -152537,7 +284638,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -152548,7 +284649,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -152572,19 +284673,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffRecordStartEnd_args struct) + selectCclTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeI64(struct.tend); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); @@ -152607,49 +284707,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffRecordStartEnd_argsTupleSchemeFactory + private static class selectCclTime_argsTupleSchemeFactory implements SchemeFactory { - public diffRecordStartEnd_argsTupleScheme getScheme() { - return new diffRecordStartEnd_argsTupleScheme(); + public selectCclTime_argsTupleScheme getScheme() { + return new selectCclTime_argsTupleScheme(); } } - private static class diffRecordStartEnd_argsTupleScheme - extends TupleScheme { + private static class selectCclTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartEnd_args struct) + selectCclTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetStart()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetTend()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + optionals.set(4); } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); + oprot.writeBitSet(optionals, 5); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } - if(struct.isSetTend()) { - oprot.writeI64(struct.tend); + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -152664,33 +284758,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartEnd_args struct) + selectCclTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } if(incoming.get(2)) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -152699,13 +284789,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffRecordStartEnd_result implements - org.apache.thrift.TBase, + public static class selectCclTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffRecordStartEnd_result"); + "selectCclTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -152715,19 +284805,22 @@ public static class diffRecordStartEnd_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffRecordStartEnd_resultStandardSchemeFactory()); + new selectCclTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffRecordStartEnd_resultTupleSchemeFactory()); + new selectCclTime_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -152737,7 +284830,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -152761,6 +284855,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -152815,12 +284911,11 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), + org.apache.thrift.protocol.TType.I64), new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.SetMetaData( org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.StructMetaData( @@ -152841,52 +284936,59 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffRecordStartEnd_result.class, metaDataMap); + selectCclTime_result.class, metaDataMap); } - public diffRecordStartEnd_result() {} + public selectCclTime_result() {} - public diffRecordStartEnd_result( - Map>> success, + public selectCclTime_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public diffRecordStartEnd_result(diffRecordStartEnd_result other) { + public selectCclTime_result(selectCclTime_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry> other_element_value_element : other_element_value .entrySet()) { - com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + String other_element_value_element_key = other_element_value_element .getKey(); Set other_element_value_element_value = other_element_value_element .getValue(); - com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + String __this__success_copy_value_copy_key = other_element_value_element_key; Set __this__success_copy_value_copy_value = new LinkedHashSet( other_element_value_element_value.size()); @@ -152915,13 +285017,17 @@ public diffRecordStartEnd_result(diffRecordStartEnd_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public diffRecordStartEnd_result deepCopy() { - return new diffRecordStartEnd_result(this); + public selectCclTime_result deepCopy() { + return new selectCclTime_result(this); } @Override @@ -152930,26 +285036,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Map> val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map>> getSuccess() { return this.success; } - public diffRecordStartEnd_result setSuccess( - Map>> success) { + public selectCclTime_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -152976,7 +285083,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffRecordStartEnd_result setEx( + public selectCclTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -153004,7 +285111,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffRecordStartEnd_result setEx2( + public selectCclTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -153028,12 +285135,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public diffRecordStartEnd_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectCclTime_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -153056,6 +285163,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectCclTime_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -153064,7 +285199,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>>) value); } break; @@ -153091,7 +285226,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -153112,6 +285256,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -153134,6 +285281,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -153142,12 +285291,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffRecordStartEnd_result) - return this.equals((diffRecordStartEnd_result) that); + if(that instanceof selectCclTime_result) + return this.equals((selectCclTime_result) that); return false; } - public boolean equals(diffRecordStartEnd_result that) { + public boolean equals(selectCclTime_result that) { if(that == null) return false; @@ -153187,6 +285336,15 @@ public boolean equals(diffRecordStartEnd_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -153214,11 +285372,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(diffRecordStartEnd_result other) { + public int compareTo(selectCclTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -153274,6 +285437,18 @@ public int compareTo(diffRecordStartEnd_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -153293,7 +285468,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffRecordStartEnd_result("); + StringBuilder sb = new StringBuilder("selectCclTime_result("); boolean first = true; sb.append("success:"); @@ -153334,6 +285509,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -153367,18 +285552,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffRecordStartEnd_resultStandardSchemeFactory + private static class selectCclTime_resultStandardSchemeFactory implements SchemeFactory { - public diffRecordStartEnd_resultStandardScheme getScheme() { - return new diffRecordStartEnd_resultStandardScheme(); + public selectCclTime_resultStandardScheme getScheme() { + return new selectCclTime_resultStandardScheme(); } } - private static class diffRecordStartEnd_resultStandardScheme - extends StandardScheme { + private static class selectCclTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffRecordStartEnd_result struct) + selectCclTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -153391,43 +285576,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map592 = iprot + org.apache.thrift.protocol.TMap _map1924 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map592.size); - String _key593; - Map> _val594; - for (int _i595 = 0; _i595 < _map592.size; ++_i595) { - _key593 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map1924.size); + long _key1925; + Map> _val1926; + for (int _i1927 = 0; _i1927 < _map1924.size; ++_i1927) { + _key1925 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map596 = iprot + org.apache.thrift.protocol.TMap _map1928 = iprot .readMapBegin(); - _val594 = new LinkedHashMap>( - 2 * _map596.size); - com.cinchapi.concourse.thrift.Diff _key597; - Set _val598; - for (int _i599 = 0; _i599 < _map596.size; ++_i599) { - _key597 = com.cinchapi.concourse.thrift.Diff - .findByValue( - iprot.readI32()); + _val1926 = new LinkedHashMap>( + 2 * _map1928.size); + String _key1929; + Set _val1930; + for (int _i1931 = 0; _i1931 < _map1928.size; ++_i1931) { + _key1929 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set600 = iprot + org.apache.thrift.protocol.TSet _set1932 = iprot .readSetBegin(); - _val598 = new LinkedHashSet( - 2 * _set600.size); - com.cinchapi.concourse.thrift.TObject _elem601; - for (int _i602 = 0; _i602 < _set600.size; ++_i602) { - _elem601 = new com.cinchapi.concourse.thrift.TObject(); - _elem601.read(iprot); - _val598.add(_elem601); + _val1930 = new LinkedHashSet( + 2 * _set1932.size); + com.cinchapi.concourse.thrift.TObject _elem1933; + for (int _i1934 = 0; _i1934 < _set1932.size; ++_i1934) { + _elem1933 = new com.cinchapi.concourse.thrift.TObject(); + _elem1933.read(iprot); + _val1930.add(_elem1933); } iprot.readSetEnd(); } - _val594.put(_key597, _val598); + _val1926.put(_key1929, _val1930); } iprot.readMapEnd(); } - struct.success.put(_key593, _val594); + struct.success.put(_key1925, _val1926); } iprot.readMapEnd(); } @@ -153462,7 +285645,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -153471,6 +285654,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -153485,7 +285679,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffRecordStartEnd_result struct) + selectCclTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -153494,31 +285688,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter603 : struct.success + for (Map.Entry>> _iter1935 : struct.success .entrySet()) { - oprot.writeString(_iter603.getKey()); + oprot.writeI64(_iter1935.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter603.getValue().size())); - for (Map.Entry> _iter604 : _iter603 + _iter1935.getValue().size())); + for (Map.Entry> _iter1936 : _iter1935 .getValue().entrySet()) { - oprot.writeI32( - _iter604.getKey().getValue()); + oprot.writeString(_iter1936.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter604.getValue() + _iter1936.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter605 : _iter604 + for (com.cinchapi.concourse.thrift.TObject _iter1937 : _iter1936 .getValue()) { - _iter605.write(oprot); + _iter1937.write(oprot); } oprot.writeSetEnd(); } @@ -153545,25 +285738,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class diffRecordStartEnd_resultTupleSchemeFactory + private static class selectCclTime_resultTupleSchemeFactory implements SchemeFactory { - public diffRecordStartEnd_resultTupleScheme getScheme() { - return new diffRecordStartEnd_resultTupleScheme(); + public selectCclTime_resultTupleScheme getScheme() { + return new selectCclTime_resultTupleScheme(); } } - private static class diffRecordStartEnd_resultTupleScheme - extends TupleScheme { + private static class selectCclTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartEnd_result struct) + selectCclTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -153579,25 +285777,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter606 : struct.success + for (Map.Entry>> _iter1938 : struct.success .entrySet()) { - oprot.writeString(_iter606.getKey()); + oprot.writeI64(_iter1938.getKey()); { - oprot.writeI32(_iter606.getValue().size()); - for (Map.Entry> _iter607 : _iter606 + oprot.writeI32(_iter1938.getValue().size()); + for (Map.Entry> _iter1939 : _iter1938 .getValue().entrySet()) { - oprot.writeI32( - _iter607.getKey().getValue()); + oprot.writeString(_iter1939.getKey()); { oprot.writeI32( - _iter607.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter608 : _iter607 + _iter1939.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1940 : _iter1939 .getValue()) { - _iter608.write(oprot); + _iter1940.write(oprot); } } } @@ -153614,55 +285814,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartEnd_result struct) + selectCclTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map609 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1941 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map609.size); - String _key610; - Map> _val611; - for (int _i612 = 0; _i612 < _map609.size; ++_i612) { - _key610 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map1941.size); + long _key1942; + Map> _val1943; + for (int _i1944 = 0; _i1944 < _map1941.size; ++_i1944) { + _key1942 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map613 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TMap _map1945 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val611 = new LinkedHashMap>( - 2 * _map613.size); - com.cinchapi.concourse.thrift.Diff _key614; - Set _val615; - for (int _i616 = 0; _i616 < _map613.size; ++_i616) { - _key614 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + _val1943 = new LinkedHashMap>( + 2 * _map1945.size); + String _key1946; + Set _val1947; + for (int _i1948 = 0; _i1948 < _map1945.size; ++_i1948) { + _key1946 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set617 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set1949 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val615 = new LinkedHashSet( - 2 * _set617.size); - com.cinchapi.concourse.thrift.TObject _elem618; - for (int _i619 = 0; _i619 < _set617.size; ++_i619) { - _elem618 = new com.cinchapi.concourse.thrift.TObject(); - _elem618.read(iprot); - _val615.add(_elem618); + _val1947 = new LinkedHashSet( + 2 * _set1949.size); + com.cinchapi.concourse.thrift.TObject _elem1950; + for (int _i1951 = 0; _i1951 < _set1949.size; ++_i1951) { + _elem1950 = new com.cinchapi.concourse.thrift.TObject(); + _elem1950.read(iprot); + _val1947.add(_elem1950); } } - _val611.put(_key614, _val615); + _val1943.put(_key1946, _val1947); } } - struct.success.put(_key610, _val611); + struct.success.put(_key1942, _val1943); } } struct.setSuccessIsSet(true); @@ -153678,29 +285880,34 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class diffRecordStartstrEndstr_args implements - org.apache.thrift.TBase, + public static class selectCclTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffRecordStartstrEndstr_args"); + "selectCclTimeOrder_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 2); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -153713,14 +285920,14 @@ public static class diffRecordStartstrEndstr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffRecordStartstrEndstr_argsStandardSchemeFactory()); + new selectCclTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffRecordStartstrEndstr_argsTupleSchemeFactory()); + new selectCclTimeOrder_argsTupleSchemeFactory()); } - public long record; // required - public String start; // required - public String tend; // required + public String ccl; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -153730,9 +285937,9 @@ public static class diffRecordStartstrEndstr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - START((short) 2, "start"), - TEND((short) 3, "tend"), + CCL((short) 1, "ccl"), + TIMESTAMP((short) 2, "timestamp"), + ORDER((short) 3, "order"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -153751,12 +285958,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // START - return START; - case 3: // TEND - return TEND; + case 1: // CCL + return CCL; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // ORDER + return ORDER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -153807,27 +286014,28 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -153847,20 +286055,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffRecordStartstrEndstr_args.class, metaDataMap); + selectCclTimeOrder_args.class, metaDataMap); } - public diffRecordStartstrEndstr_args() {} + public selectCclTimeOrder_args() {} - public diffRecordStartstrEndstr_args(long record, String start, - String tend, com.cinchapi.concourse.thrift.AccessToken creds, + public selectCclTimeOrder_args(String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); - this.start = start; - this.tend = tend; + this.ccl = ccl; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -153869,15 +286078,15 @@ public diffRecordStartstrEndstr_args(long record, String start, /** * Performs a deep copy on other. */ - public diffRecordStartstrEndstr_args( - diffRecordStartstrEndstr_args other) { + public selectCclTimeOrder_args(selectCclTimeOrder_args other) { __isset_bitfield = other.__isset_bitfield; - this.record = other.record; - if(other.isSetStart()) { - this.start = other.start; + if(other.isSetCcl()) { + this.ccl = other.ccl; } - if(other.isSetTend()) { - this.tend = other.tend; + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -153892,100 +286101,102 @@ public diffRecordStartstrEndstr_args( } } - public diffRecordStartstrEndstr_args deepCopy() { - return new diffRecordStartstrEndstr_args(this); + public selectCclTimeOrder_args deepCopy() { + return new selectCclTimeOrder_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; - this.start = null; - this.tend = null; + this.ccl = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public String getCcl() { + return this.ccl; } - public diffRecordStartstrEndstr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectCclTimeOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCcl() { + return this.ccl != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } } - public String getStart() { - return this.start; + public long getTimestamp() { + return this.timestamp; } - public diffRecordStartstrEndstr_args setStart(String start) { - this.start = start; + public selectCclTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetStart() { - this.start = null; + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setStartIsSet(boolean value) { - if(!value) { - this.start = null; - } + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } - public String getTend() { - return this.tend; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public diffRecordStartstrEndstr_args setTend(String tend) { - this.tend = tend; + public selectCclTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetTend() { - this.tend = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field tend is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetTend() { - return this.tend != null; + public boolean isSetOrder() { + return this.order != null; } - public void setTendIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.tend = null; + this.order = null; } } @@ -153993,7 +286204,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffRecordStartstrEndstr_args setCreds( + public selectCclTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -154021,7 +286232,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffRecordStartstrEndstr_args setTransaction( + public selectCclTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -154049,8 +286260,7 @@ public String getEnvironment() { return this.environment; } - public diffRecordStartstrEndstr_args setEnvironment( - String environment) { + public selectCclTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -154075,30 +286285,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case CCL: if(value == null) { - unsetRecord(); + unsetCcl(); } else { - setRecord((Long) value); + setCcl((String) value); } break; - case START: + case TIMESTAMP: if(value == null) { - unsetStart(); + unsetTimestamp(); } else { - setStart((String) value); + setTimestamp((Long) value); } break; - case TEND: + case ORDER: if(value == null) { - unsetTend(); + unsetOrder(); } else { - setTend((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -154135,14 +286345,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case CCL: + return getCcl(); - case START: - return getStart(); + case TIMESTAMP: + return getTimestamp(); - case TEND: - return getTend(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -154167,12 +286377,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -154187,39 +286397,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffRecordStartstrEndstr_args) - return this.equals((diffRecordStartstrEndstr_args) that); + if(that instanceof selectCclTimeOrder_args) + return this.equals((selectCclTimeOrder_args) that); return false; } - public boolean equals(diffRecordStartstrEndstr_args that) { + public boolean equals(selectCclTimeOrder_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(this.record != that.record) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.start.equals(that.start)) + if(this.timestamp != that.timestamp) return false; } - boolean this_present_tend = true && this.isSetTend(); - boolean that_present_tend = true && that.isSetTend(); - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.tend.equals(that.tend)) + if(!this.order.equals(that.order)) return false; } @@ -154257,20 +286467,20 @@ public boolean equals(diffRecordStartstrEndstr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); - boolean present_tend = true && (isSetTend()); - list.add(present_tend); - if(present_tend) - list.add(tend); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -154291,7 +286501,7 @@ public int hashCode() { } @Override - public int compareTo(diffRecordStartstrEndstr_args other) { + public int compareTo(selectCclTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -154299,38 +286509,38 @@ public int compareTo(diffRecordStartstrEndstr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTend()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -154390,31 +286600,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "diffRecordStartstrEndstr_args("); + StringBuilder sb = new StringBuilder("selectCclTimeOrder_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - if(this.start == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.start); + sb.append(this.ccl); } first = false; if(!first) sb.append(", "); - sb.append("tend:"); - if(this.tend == null) { + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.tend); + sb.append(this.order); } first = false; if(!first) @@ -154454,6 +286663,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -154490,18 +286702,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffRecordStartstrEndstr_argsStandardSchemeFactory + private static class selectCclTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public diffRecordStartstrEndstr_argsStandardScheme getScheme() { - return new diffRecordStartstrEndstr_argsStandardScheme(); + public selectCclTimeOrder_argsStandardScheme getScheme() { + return new selectCclTimeOrder_argsStandardScheme(); } } - private static class diffRecordStartstrEndstr_argsStandardScheme - extends StandardScheme { + private static class selectCclTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffRecordStartstrEndstr_args struct) + selectCclTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -154511,30 +286723,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // START - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TEND - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -154587,22 +286800,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffRecordStartstrEndstr_args struct) + selectCclTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } - if(struct.tend != null) { - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeString(struct.tend); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -154626,29 +286839,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffRecordStartstrEndstr_argsTupleSchemeFactory + private static class selectCclTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public diffRecordStartstrEndstr_argsTupleScheme getScheme() { - return new diffRecordStartstrEndstr_argsTupleScheme(); + public selectCclTimeOrder_argsTupleScheme getScheme() { + return new selectCclTimeOrder_argsTupleScheme(); } } - private static class diffRecordStartstrEndstr_argsTupleScheme - extends TupleScheme { + private static class selectCclTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartstrEndstr_args struct) + selectCclTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetStart()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetTend()) { + if(struct.isSetOrder()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -154661,14 +286874,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } - if(struct.isSetTend()) { - oprot.writeString(struct.tend); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -154683,21 +286896,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartstrEndstr_args struct) + selectCclTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } if(incoming.get(2)) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -154718,13 +286932,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffRecordStartstrEndstr_result implements - org.apache.thrift.TBase, + public static class selectCclTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffRecordStartstrEndstr_result"); + "selectCclTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -154740,12 +286954,12 @@ public static class diffRecordStartstrEndstr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffRecordStartstrEndstr_resultStandardSchemeFactory()); + new selectCclTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffRecordStartstrEndstr_resultTupleSchemeFactory()); + new selectCclTimeOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -154840,12 +287054,11 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), + org.apache.thrift.protocol.TType.I64), new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.SetMetaData( org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.StructMetaData( @@ -154873,13 +287086,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffRecordStartstrEndstr_result.class, metaDataMap); + selectCclTimeOrder_result.class, metaDataMap); } - public diffRecordStartstrEndstr_result() {} + public selectCclTimeOrder_result() {} - public diffRecordStartstrEndstr_result( - Map>> success, + public selectCclTimeOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -154895,31 +287108,30 @@ public diffRecordStartstrEndstr_result( /** * Performs a deep copy on other. */ - public diffRecordStartstrEndstr_result( - diffRecordStartstrEndstr_result other) { + public selectCclTimeOrder_result(selectCclTimeOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry> other_element_value_element : other_element_value .entrySet()) { - com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element + String other_element_value_element_key = other_element_value_element .getKey(); Set other_element_value_element_value = other_element_value_element .getValue(); - com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; + String __this__success_copy_value_copy_key = other_element_value_element_key; Set __this__success_copy_value_copy_value = new LinkedHashSet( other_element_value_element_value.size()); @@ -154957,8 +287169,8 @@ public diffRecordStartstrEndstr_result( } } - public diffRecordStartstrEndstr_result deepCopy() { - return new diffRecordStartstrEndstr_result(this); + public selectCclTimeOrder_result deepCopy() { + return new selectCclTimeOrder_result(this); } @Override @@ -154974,20 +287186,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Map> val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map>> getSuccess() { return this.success; } - public diffRecordStartstrEndstr_result setSuccess( - Map>> success) { + public selectCclTimeOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -155014,7 +287226,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffRecordStartstrEndstr_result setEx( + public selectCclTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -155042,7 +287254,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffRecordStartstrEndstr_result setEx2( + public selectCclTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -155070,7 +287282,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public diffRecordStartstrEndstr_result setEx3( + public selectCclTimeOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -155098,7 +287310,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public diffRecordStartstrEndstr_result setEx4( + public selectCclTimeOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -155130,7 +287342,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>>) value); } break; @@ -155222,12 +287434,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffRecordStartstrEndstr_result) - return this.equals((diffRecordStartstrEndstr_result) that); + if(that instanceof selectCclTimeOrder_result) + return this.equals((selectCclTimeOrder_result) that); return false; } - public boolean equals(diffRecordStartstrEndstr_result that) { + public boolean equals(selectCclTimeOrder_result that) { if(that == null) return false; @@ -155312,7 +287524,7 @@ public int hashCode() { } @Override - public int compareTo(diffRecordStartstrEndstr_result other) { + public int compareTo(selectCclTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -155399,8 +287611,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "diffRecordStartstrEndstr_result("); + StringBuilder sb = new StringBuilder("selectCclTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -155484,18 +287695,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffRecordStartstrEndstr_resultStandardSchemeFactory + private static class selectCclTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public diffRecordStartstrEndstr_resultStandardScheme getScheme() { - return new diffRecordStartstrEndstr_resultStandardScheme(); + public selectCclTimeOrder_resultStandardScheme getScheme() { + return new selectCclTimeOrder_resultStandardScheme(); } } - private static class diffRecordStartstrEndstr_resultStandardScheme - extends StandardScheme { + private static class selectCclTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffRecordStartstrEndstr_result struct) + selectCclTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -155508,43 +287719,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map620 = iprot + org.apache.thrift.protocol.TMap _map1952 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map620.size); - String _key621; - Map> _val622; - for (int _i623 = 0; _i623 < _map620.size; ++_i623) { - _key621 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map1952.size); + long _key1953; + Map> _val1954; + for (int _i1955 = 0; _i1955 < _map1952.size; ++_i1955) { + _key1953 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map624 = iprot + org.apache.thrift.protocol.TMap _map1956 = iprot .readMapBegin(); - _val622 = new LinkedHashMap>( - 2 * _map624.size); - com.cinchapi.concourse.thrift.Diff _key625; - Set _val626; - for (int _i627 = 0; _i627 < _map624.size; ++_i627) { - _key625 = com.cinchapi.concourse.thrift.Diff - .findByValue( - iprot.readI32()); + _val1954 = new LinkedHashMap>( + 2 * _map1956.size); + String _key1957; + Set _val1958; + for (int _i1959 = 0; _i1959 < _map1956.size; ++_i1959) { + _key1957 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set628 = iprot + org.apache.thrift.protocol.TSet _set1960 = iprot .readSetBegin(); - _val626 = new LinkedHashSet( - 2 * _set628.size); - com.cinchapi.concourse.thrift.TObject _elem629; - for (int _i630 = 0; _i630 < _set628.size; ++_i630) { - _elem629 = new com.cinchapi.concourse.thrift.TObject(); - _elem629.read(iprot); - _val626.add(_elem629); + _val1958 = new LinkedHashSet( + 2 * _set1960.size); + com.cinchapi.concourse.thrift.TObject _elem1961; + for (int _i1962 = 0; _i1962 < _set1960.size; ++_i1962) { + _elem1961 = new com.cinchapi.concourse.thrift.TObject(); + _elem1961.read(iprot); + _val1958.add(_elem1961); } iprot.readSetEnd(); } - _val622.put(_key625, _val626); + _val1954.put(_key1957, _val1958); } iprot.readMapEnd(); } - struct.success.put(_key621, _val622); + struct.success.put(_key1953, _val1954); } iprot.readMapEnd(); } @@ -155613,7 +287822,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffRecordStartstrEndstr_result struct) + selectCclTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -155622,31 +287831,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter631 : struct.success + for (Map.Entry>> _iter1963 : struct.success .entrySet()) { - oprot.writeString(_iter631.getKey()); + oprot.writeI64(_iter1963.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter631.getValue().size())); - for (Map.Entry> _iter632 : _iter631 + _iter1963.getValue().size())); + for (Map.Entry> _iter1964 : _iter1963 .getValue().entrySet()) { - oprot.writeI32( - _iter632.getKey().getValue()); + oprot.writeString(_iter1964.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter632.getValue() + _iter1964.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter633 : _iter632 + for (com.cinchapi.concourse.thrift.TObject _iter1965 : _iter1964 .getValue()) { - _iter633.write(oprot); + _iter1965.write(oprot); } oprot.writeSetEnd(); } @@ -155684,19 +287892,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffRecordStartstrEndstr_resultTupleSchemeFactory + private static class selectCclTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public diffRecordStartstrEndstr_resultTupleScheme getScheme() { - return new diffRecordStartstrEndstr_resultTupleScheme(); + public selectCclTimeOrder_resultTupleScheme getScheme() { + return new selectCclTimeOrder_resultTupleScheme(); } } - private static class diffRecordStartstrEndstr_resultTupleScheme - extends TupleScheme { + private static class selectCclTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartstrEndstr_result struct) + selectCclTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -155719,21 +287927,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter634 : struct.success + for (Map.Entry>> _iter1966 : struct.success .entrySet()) { - oprot.writeString(_iter634.getKey()); + oprot.writeI64(_iter1966.getKey()); { - oprot.writeI32(_iter634.getValue().size()); - for (Map.Entry> _iter635 : _iter634 + oprot.writeI32(_iter1966.getValue().size()); + for (Map.Entry> _iter1967 : _iter1966 .getValue().entrySet()) { - oprot.writeI32( - _iter635.getKey().getValue()); + oprot.writeString(_iter1967.getKey()); { oprot.writeI32( - _iter635.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter636 : _iter635 + _iter1967.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1968 : _iter1967 .getValue()) { - _iter636.write(oprot); + _iter1968.write(oprot); } } } @@ -155757,51 +287964,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffRecordStartstrEndstr_result struct) + selectCclTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map637 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map1969 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map637.size); - String _key638; - Map> _val639; - for (int _i640 = 0; _i640 < _map637.size; ++_i640) { - _key638 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map1969.size); + long _key1970; + Map> _val1971; + for (int _i1972 = 0; _i1972 < _map1969.size; ++_i1972) { + _key1970 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map641 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TMap _map1973 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val639 = new LinkedHashMap>( - 2 * _map641.size); - com.cinchapi.concourse.thrift.Diff _key642; - Set _val643; - for (int _i644 = 0; _i644 < _map641.size; ++_i644) { - _key642 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + _val1971 = new LinkedHashMap>( + 2 * _map1973.size); + String _key1974; + Set _val1975; + for (int _i1976 = 0; _i1976 < _map1973.size; ++_i1976) { + _key1974 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set645 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set1977 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val643 = new LinkedHashSet( - 2 * _set645.size); - com.cinchapi.concourse.thrift.TObject _elem646; - for (int _i647 = 0; _i647 < _set645.size; ++_i647) { - _elem646 = new com.cinchapi.concourse.thrift.TObject(); - _elem646.read(iprot); - _val643.add(_elem646); + _val1975 = new LinkedHashSet( + 2 * _set1977.size); + com.cinchapi.concourse.thrift.TObject _elem1978; + for (int _i1979 = 0; _i1979 < _set1977.size; ++_i1979) { + _elem1978 = new com.cinchapi.concourse.thrift.TObject(); + _elem1978.read(iprot); + _val1975.add(_elem1978); } } - _val639.put(_key642, _val643); + _val1971.put(_key1974, _val1975); } } - struct.success.put(_key638, _val639); + struct.success.put(_key1970, _val1971); } } struct.setSuccessIsSet(true); @@ -155831,40 +288037,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyRecordStart_args implements - org.apache.thrift.TBase, + public static class selectCclTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyRecordStart_args"); + "selectCclTimestr_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyRecordStart_argsStandardSchemeFactory()); + new selectCclTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyRecordStart_argsTupleSchemeFactory()); + new selectCclTimestr_argsTupleSchemeFactory()); } - public String key; // required - public long record; // required - public long start; // required + public String ccl; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -155874,12 +288078,11 @@ public static class diffKeyRecordStart_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - RECORD((short) 2, "record"), - START((short) 3, "start"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CCL((short) 1, "ccl"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -155895,17 +288098,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // RECORD - return RECORD; - case 3: // START - return START; - case 4: // CREDS + case 1: // CCL + return CCL; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -155951,28 +288152,20 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __START_ISSET_ID = 1; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -155992,21 +288185,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyRecordStart_args.class, metaDataMap); + selectCclTimestr_args.class, metaDataMap); } - public diffKeyRecordStart_args() {} + public selectCclTimestr_args() {} - public diffKeyRecordStart_args(String key, long record, long start, + public selectCclTimestr_args(String ccl, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.record = record; - setRecordIsSet(true); - this.start = start; - setStartIsSet(true); + this.ccl = ccl; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -156015,13 +288205,13 @@ public diffKeyRecordStart_args(String key, long record, long start, /** * Performs a deep copy on other. */ - public diffKeyRecordStart_args(diffKeyRecordStart_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public selectCclTimestr_args(selectCclTimestr_args other) { + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } - this.record = other.record; - this.start = other.start; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -156035,110 +288225,78 @@ public diffKeyRecordStart_args(diffKeyRecordStart_args other) { } } - public diffKeyRecordStart_args deepCopy() { - return new diffKeyRecordStart_args(this); + public selectCclTimestr_args deepCopy() { + return new selectCclTimestr_args(this); } @Override public void clear() { - this.key = null; - setRecordIsSet(false); - this.record = 0; - setStartIsSet(false); - this.start = 0; + this.ccl = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public String getCcl() { + return this.ccl; } - public diffKeyRecordStart_args setKey(String key) { - this.key = key; + public selectCclTimestr_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetKey() { - this.key = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setKeyIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.key = null; + this.ccl = null; } } - public long getRecord() { - return this.record; - } - - public diffKeyRecordStart_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); - } - - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - - public long getStart() { - return this.start; + public String getTimestamp() { + return this.timestamp; } - public diffKeyRecordStart_args setStart(long start) { - this.start = start; - setStartIsSet(true); + public selectCclTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + public boolean isSetTimestamp() { + return this.timestamp != null; } - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffKeyRecordStart_args setCreds( + public selectCclTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -156166,7 +288324,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffKeyRecordStart_args setTransaction( + public selectCclTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -156194,7 +288352,7 @@ public String getEnvironment() { return this.environment; } - public diffKeyRecordStart_args setEnvironment(String environment) { + public selectCclTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -156219,30 +288377,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case RECORD: + case CCL: if(value == null) { - unsetRecord(); + unsetCcl(); } else { - setRecord((Long) value); + setCcl((String) value); } break; - case START: + case TIMESTAMP: if(value == null) { - unsetStart(); + unsetTimestamp(); } else { - setStart((Long) value); + setTimestamp((String) value); } break; @@ -156279,14 +288428,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case RECORD: - return getRecord(); + case CCL: + return getCcl(); - case START: - return getStart(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -156311,12 +288457,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -156331,39 +288475,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyRecordStart_args) - return this.equals((diffKeyRecordStart_args) that); + if(that instanceof selectCclTimestr_args) + return this.equals((selectCclTimestr_args) that); return false; } - public boolean equals(diffKeyRecordStart_args that) { + public boolean equals(selectCclTimestr_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(this.record != that.record) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.start != that.start) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -156401,20 +288536,15 @@ public boolean equals(diffKeyRecordStart_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -156435,7 +288565,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyRecordStart_args other) { + public int compareTo(selectCclTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -156443,38 +288573,26 @@ public int compareTo(diffKeyRecordStart_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -156534,26 +288652,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyRecordStart_args("); + StringBuilder sb = new StringBuilder("selectCclTimestr_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.ccl); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - sb.append(this.start); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -156615,10 +288733,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -156628,18 +288742,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyRecordStart_argsStandardSchemeFactory + private static class selectCclTimestr_argsStandardSchemeFactory implements SchemeFactory { - public diffKeyRecordStart_argsStandardScheme getScheme() { - return new diffKeyRecordStart_argsStandardScheme(); + public selectCclTimestr_argsStandardScheme getScheme() { + return new selectCclTimestr_argsStandardScheme(); } } - private static class diffKeyRecordStart_argsStandardScheme - extends StandardScheme { + private static class selectCclTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyRecordStart_args struct) + selectCclTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -156649,37 +288763,27 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY + case 1: // CCL if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -156690,7 +288794,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -156701,7 +288805,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -156725,22 +288829,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyRecordStart_args struct) + selectCclTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -156762,49 +288865,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyRecordStart_argsTupleSchemeFactory + private static class selectCclTimestr_argsTupleSchemeFactory implements SchemeFactory { - public diffKeyRecordStart_argsTupleScheme getScheme() { - return new diffKeyRecordStart_argsTupleScheme(); + public selectCclTimestr_argsTupleScheme getScheme() { + return new selectCclTimestr_argsTupleScheme(); } } - private static class diffKeyRecordStart_argsTupleScheme - extends TupleScheme { + private static class selectCclTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStart_args struct) + selectCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetStart()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + optionals.set(4); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + oprot.writeBitSet(optionals, 5); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -156819,33 +288916,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStart_args struct) + selectCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } if(incoming.get(2)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -156854,13 +288947,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyRecordStart_result implements - org.apache.thrift.TBase, + public static class selectCclTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyRecordStart_result"); + "selectCclTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -156870,19 +288963,22 @@ public static class diffKeyRecordStart_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyRecordStart_resultStandardSchemeFactory()); + new selectCclTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyRecordStart_resultTupleSchemeFactory()); + new selectCclTimestr_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -156892,7 +288988,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -156916,6 +289013,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -156969,14 +289068,17 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -156992,48 +289094,71 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyRecordStart_result.class, metaDataMap); + selectCclTimestr_result.class, metaDataMap); } - public diffKeyRecordStart_result() {} + public selectCclTimestr_result() {} - public diffKeyRecordStart_result( - Map> success, + public selectCclTimestr_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public diffKeyRecordStart_result(diffKeyRecordStart_result other) { + public selectCclTimestr_result(selectCclTimestr_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - com.cinchapi.concourse.thrift.Diff other_element_key = other_element - .getKey(); - Set other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element .getValue(); - com.cinchapi.concourse.thrift.Diff __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -157050,13 +289175,17 @@ public diffKeyRecordStart_result(diffKeyRecordStart_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public diffKeyRecordStart_result deepCopy() { - return new diffKeyRecordStart_result(this); + public selectCclTimestr_result deepCopy() { + return new selectCclTimestr_result(this); } @Override @@ -157065,26 +289194,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.Diff key, - Set val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public diffKeyRecordStart_result setSuccess( - Map> success) { + public selectCclTimestr_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -157111,7 +289241,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffKeyRecordStart_result setEx( + public selectCclTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -157139,7 +289269,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffKeyRecordStart_result setEx2( + public selectCclTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -157163,12 +289293,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public diffKeyRecordStart_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectCclTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -157191,6 +289321,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectCclTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -157199,7 +289357,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>>) value); } break; @@ -157226,7 +289384,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -157247,6 +289414,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -157269,6 +289439,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -157277,12 +289449,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyRecordStart_result) - return this.equals((diffKeyRecordStart_result) that); + if(that instanceof selectCclTimestr_result) + return this.equals((selectCclTimestr_result) that); return false; } - public boolean equals(diffKeyRecordStart_result that) { + public boolean equals(selectCclTimestr_result that) { if(that == null) return false; @@ -157322,6 +289494,15 @@ public boolean equals(diffKeyRecordStart_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -157349,11 +289530,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(diffKeyRecordStart_result other) { + public int compareTo(selectCclTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -157409,6 +289595,18 @@ public int compareTo(diffKeyRecordStart_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -157428,7 +289626,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyRecordStart_result("); + StringBuilder sb = new StringBuilder("selectCclTimestr_result("); boolean first = true; sb.append("success:"); @@ -157469,6 +289667,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -157502,18 +289710,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyRecordStart_resultStandardSchemeFactory + private static class selectCclTimestr_resultStandardSchemeFactory implements SchemeFactory { - public diffKeyRecordStart_resultStandardScheme getScheme() { - return new diffKeyRecordStart_resultStandardScheme(); + public selectCclTimestr_resultStandardScheme getScheme() { + return new selectCclTimestr_resultStandardScheme(); } } - private static class diffKeyRecordStart_resultStandardScheme - extends StandardScheme { + private static class selectCclTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyRecordStart_result struct) + selectCclTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -157526,29 +289734,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map648 = iprot + org.apache.thrift.protocol.TMap _map1980 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map648.size); - com.cinchapi.concourse.thrift.Diff _key649; - Set _val650; - for (int _i651 = 0; _i651 < _map648.size; ++_i651) { - _key649 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map1980.size); + long _key1981; + Map> _val1982; + for (int _i1983 = 0; _i1983 < _map1980.size; ++_i1983) { + _key1981 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set652 = iprot - .readSetBegin(); - _val650 = new LinkedHashSet( - 2 * _set652.size); - com.cinchapi.concourse.thrift.TObject _elem653; - for (int _i654 = 0; _i654 < _set652.size; ++_i654) { - _elem653 = new com.cinchapi.concourse.thrift.TObject(); - _elem653.read(iprot); - _val650.add(_elem653); + org.apache.thrift.protocol.TMap _map1984 = iprot + .readMapBegin(); + _val1982 = new LinkedHashMap>( + 2 * _map1984.size); + String _key1985; + Set _val1986; + for (int _i1987 = 0; _i1987 < _map1984.size; ++_i1987) { + _key1985 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set1988 = iprot + .readSetBegin(); + _val1986 = new LinkedHashSet( + 2 * _set1988.size); + com.cinchapi.concourse.thrift.TObject _elem1989; + for (int _i1990 = 0; _i1990 < _set1988.size; ++_i1990) { + _elem1989 = new com.cinchapi.concourse.thrift.TObject(); + _elem1989.read(iprot); + _val1986.add(_elem1989); + } + iprot.readSetEnd(); + } + _val1982.put(_key1985, _val1986); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key649, _val650); + struct.success.put(_key1981, _val1982); } iprot.readMapEnd(); } @@ -157583,7 +289803,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -157592,6 +289812,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -157606,7 +289837,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyRecordStart_result struct) + selectCclTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -157615,22 +289846,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter655 : struct.success + for (Map.Entry>> _iter1991 : struct.success .entrySet()) { - oprot.writeI32(_iter655.getKey().getValue()); + oprot.writeI64(_iter1991.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter655.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter656 : _iter655 - .getValue()) { - _iter656.write(oprot); + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter1991.getValue().size())); + for (Map.Entry> _iter1992 : _iter1991 + .getValue().entrySet()) { + oprot.writeString(_iter1992.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter1992.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter1993 : _iter1992 + .getValue()) { + _iter1993.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -157652,25 +289896,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class diffKeyRecordStart_resultTupleSchemeFactory + private static class selectCclTimestr_resultTupleSchemeFactory implements SchemeFactory { - public diffKeyRecordStart_resultTupleScheme getScheme() { - return new diffKeyRecordStart_resultTupleScheme(); + public selectCclTimestr_resultTupleScheme getScheme() { + return new selectCclTimestr_resultTupleScheme(); } } - private static class diffKeyRecordStart_resultTupleScheme - extends TupleScheme { + private static class selectCclTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStart_result struct) + selectCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -157686,18 +289935,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter657 : struct.success + for (Map.Entry>> _iter1994 : struct.success .entrySet()) { - oprot.writeI32(_iter657.getKey().getValue()); + oprot.writeI64(_iter1994.getKey()); { - oprot.writeI32(_iter657.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter658 : _iter657 - .getValue()) { - _iter658.write(oprot); + oprot.writeI32(_iter1994.getValue().size()); + for (Map.Entry> _iter1995 : _iter1994 + .getValue().entrySet()) { + oprot.writeString(_iter1995.getKey()); + { + oprot.writeI32( + _iter1995.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter1996 : _iter1995 + .getValue()) { + _iter1996.write(oprot); + } + } } } } @@ -157712,41 +289972,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStart_result struct) + selectCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map659 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TMap _map1997 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map659.size); - com.cinchapi.concourse.thrift.Diff _key660; - Set _val661; - for (int _i662 = 0; _i662 < _map659.size; ++_i662) { - _key660 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map1997.size); + long _key1998; + Map> _val1999; + for (int _i2000 = 0; _i2000 < _map1997.size; ++_i2000) { + _key1998 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set663 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TMap _map2001 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val661 = new LinkedHashSet( - 2 * _set663.size); - com.cinchapi.concourse.thrift.TObject _elem664; - for (int _i665 = 0; _i665 < _set663.size; ++_i665) { - _elem664 = new com.cinchapi.concourse.thrift.TObject(); - _elem664.read(iprot); - _val661.add(_elem664); + _val1999 = new LinkedHashMap>( + 2 * _map2001.size); + String _key2002; + Set _val2003; + for (int _i2004 = 0; _i2004 < _map2001.size; ++_i2004) { + _key2002 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2005 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2003 = new LinkedHashSet( + 2 * _set2005.size); + com.cinchapi.concourse.thrift.TObject _elem2006; + for (int _i2007 = 0; _i2007 < _set2005.size; ++_i2007) { + _elem2006 = new com.cinchapi.concourse.thrift.TObject(); + _elem2006.read(iprot); + _val2003.add(_elem2006); + } + } + _val1999.put(_key2002, _val2003); } } - struct.success.put(_key660, _val661); + struct.success.put(_key1998, _val1999); } } struct.setSuccessIsSet(true); @@ -157762,29 +290038,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class diffKeyRecordStartstr_args implements - org.apache.thrift.TBase, + public static class selectCclTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyRecordStartstr_args"); + "selectCclTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -157797,14 +290079,14 @@ public static class diffKeyRecordStartstr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyRecordStartstr_argsStandardSchemeFactory()); + new selectCclTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyRecordStartstr_argsTupleSchemeFactory()); + new selectCclTimestrOrder_argsTupleSchemeFactory()); } - public String key; // required - public long record; // required - public String start; // required + public String ccl; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -157814,9 +290096,9 @@ public static class diffKeyRecordStartstr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - RECORD((short) 2, "record"), - START((short) 3, "start"), + CCL((short) 1, "ccl"), + TIMESTAMP((short) 2, "timestamp"), + ORDER((short) 3, "order"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -157835,12 +290117,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // RECORD - return RECORD; - case 3: // START - return START; + case 1: // CCL + return CCL; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // ORDER + return ORDER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -157891,27 +290173,26 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -157931,20 +290212,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyRecordStartstr_args.class, metaDataMap); + selectCclTimestrOrder_args.class, metaDataMap); } - public diffKeyRecordStartstr_args() {} + public selectCclTimestrOrder_args() {} - public diffKeyRecordStartstr_args(String key, long record, String start, + public selectCclTimestrOrder_args(String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.record = record; - setRecordIsSet(true); - this.start = start; + this.ccl = ccl; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -157953,14 +290234,16 @@ public diffKeyRecordStartstr_args(String key, long record, String start, /** * Performs a deep copy on other. */ - public diffKeyRecordStartstr_args(diffKeyRecordStartstr_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public selectCclTimestrOrder_args(selectCclTimestrOrder_args other) { + if(other.isSetCcl()) { + this.ccl = other.ccl; } - this.record = other.record; - if(other.isSetStart()) { - this.start = other.start; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -157975,100 +290258,99 @@ public diffKeyRecordStartstr_args(diffKeyRecordStartstr_args other) { } } - public diffKeyRecordStartstr_args deepCopy() { - return new diffKeyRecordStartstr_args(this); + public selectCclTimestrOrder_args deepCopy() { + return new selectCclTimestrOrder_args(this); } @Override public void clear() { - this.key = null; - setRecordIsSet(false); - this.record = 0; - this.start = null; + this.ccl = null; + this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public String getCcl() { + return this.ccl; } - public diffKeyRecordStartstr_args setKey(String key) { - this.key = key; + public selectCclTimestrOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetKey() { - this.key = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setKeyIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.key = null; + this.ccl = null; } } - public long getRecord() { - return this.record; + public String getTimestamp() { + return this.timestamp; } - public diffKeyRecordStartstr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectCclTimestrOrder_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetTimestamp() { + return this.timestamp != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } } - public String getStart() { - return this.start; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public diffKeyRecordStartstr_args setStart(String start) { - this.start = start; + public selectCclTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetStart() { - this.start = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetOrder() { + return this.order != null; } - public void setStartIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.start = null; + this.order = null; } } @@ -158076,7 +290358,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffKeyRecordStartstr_args setCreds( + public selectCclTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -158104,7 +290386,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffKeyRecordStartstr_args setTransaction( + public selectCclTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -158132,7 +290414,7 @@ public String getEnvironment() { return this.environment; } - public diffKeyRecordStartstr_args setEnvironment(String environment) { + public selectCclTimestrOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -158157,30 +290439,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case CCL: if(value == null) { - unsetKey(); + unsetCcl(); } else { - setKey((String) value); + setCcl((String) value); } break; - case RECORD: + case TIMESTAMP: if(value == null) { - unsetRecord(); + unsetTimestamp(); } else { - setRecord((Long) value); + setTimestamp((String) value); } break; - case START: + case ORDER: if(value == null) { - unsetStart(); + unsetOrder(); } else { - setStart((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -158217,14 +290499,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case CCL: + return getCcl(); - case RECORD: - return getRecord(); + case TIMESTAMP: + return getTimestamp(); - case START: - return getStart(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -158249,12 +290531,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -158269,39 +290551,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyRecordStartstr_args) - return this.equals((diffKeyRecordStartstr_args) that); + if(that instanceof selectCclTimestrOrder_args) + return this.equals((selectCclTimestrOrder_args) that); return false; } - public boolean equals(diffKeyRecordStartstr_args that) { + public boolean equals(selectCclTimestrOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.key.equals(that.key)) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.record != that.record) + if(!this.timestamp.equals(that.timestamp)) return false; } - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.start.equals(that.start)) + if(!this.order.equals(that.order)) return false; } @@ -158339,20 +290621,20 @@ public boolean equals(diffKeyRecordStartstr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -158373,7 +290655,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyRecordStartstr_args other) { + public int compareTo(selectCclTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -158381,38 +290663,38 @@ public int compareTo(diffKeyRecordStartstr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -158472,30 +290754,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyRecordStartstr_args("); + StringBuilder sb = new StringBuilder("selectCclTimestrOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.ccl); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); - sb.append("start:"); - if(this.start == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.start); + sb.append(this.order); } first = false; if(!first) @@ -158535,6 +290822,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -158558,10 +290848,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -158571,18 +290857,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyRecordStartstr_argsStandardSchemeFactory + private static class selectCclTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public diffKeyRecordStartstr_argsStandardScheme getScheme() { - return new diffKeyRecordStartstr_argsStandardScheme(); + public selectCclTimestrOrder_argsStandardScheme getScheme() { + return new selectCclTimestrOrder_argsStandardScheme(); } } - private static class diffKeyRecordStartstr_argsStandardScheme - extends StandardScheme { + private static class selectCclTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyRecordStartstr_args struct) + selectCclTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -158592,30 +290878,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY + case 1: // CCL if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // START - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -158668,22 +290955,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyRecordStartstr_args struct) + selectCclTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -158707,29 +290996,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyRecordStartstr_argsTupleSchemeFactory + private static class selectCclTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public diffKeyRecordStartstr_argsTupleScheme getScheme() { - return new diffKeyRecordStartstr_argsTupleScheme(); + public selectCclTimestrOrder_argsTupleScheme getScheme() { + return new selectCclTimestrOrder_argsTupleScheme(); } } - private static class diffKeyRecordStartstr_argsTupleScheme - extends TupleScheme { + private static class selectCclTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartstr_args struct) + selectCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetStart()) { + if(struct.isSetOrder()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -158742,14 +291031,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -158764,21 +291053,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartstr_args struct) + selectCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } if(incoming.get(2)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -158799,13 +291089,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyRecordStartstr_result implements - org.apache.thrift.TBase, + public static class selectCclTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyRecordStartstr_result"); + "selectCclTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -158821,12 +291111,12 @@ public static class diffKeyRecordStartstr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyRecordStartstr_resultStandardSchemeFactory()); + new selectCclTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyRecordStartstr_resultTupleSchemeFactory()); + new selectCclTimestrOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -158920,14 +291210,17 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -158950,13 +291243,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyRecordStartstr_result.class, metaDataMap); + selectCclTimestrOrder_result.class, metaDataMap); } - public diffKeyRecordStartstr_result() {} + public selectCclTimestrOrder_result() {} - public diffKeyRecordStartstr_result( - Map> success, + public selectCclTimestrOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -158972,27 +291265,43 @@ public diffKeyRecordStartstr_result( /** * Performs a deep copy on other. */ - public diffKeyRecordStartstr_result( - diffKeyRecordStartstr_result other) { + public selectCclTimestrOrder_result( + selectCclTimestrOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - com.cinchapi.concourse.thrift.Diff other_element_key = other_element - .getKey(); - Set other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element .getValue(); - com.cinchapi.concourse.thrift.Diff __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -159018,8 +291327,8 @@ public diffKeyRecordStartstr_result( } } - public diffKeyRecordStartstr_result deepCopy() { - return new diffKeyRecordStartstr_result(this); + public selectCclTimestrOrder_result deepCopy() { + return new selectCclTimestrOrder_result(this); } @Override @@ -159035,20 +291344,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.Diff key, - Set val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public diffKeyRecordStartstr_result setSuccess( - Map> success) { + public selectCclTimestrOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -159075,7 +291384,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffKeyRecordStartstr_result setEx( + public selectCclTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -159103,7 +291412,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffKeyRecordStartstr_result setEx2( + public selectCclTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -159131,7 +291440,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public diffKeyRecordStartstr_result setEx3( + public selectCclTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -159159,7 +291468,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public diffKeyRecordStartstr_result setEx4( + public selectCclTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -159191,7 +291500,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>>) value); } break; @@ -159283,12 +291592,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyRecordStartstr_result) - return this.equals((diffKeyRecordStartstr_result) that); + if(that instanceof selectCclTimestrOrder_result) + return this.equals((selectCclTimestrOrder_result) that); return false; } - public boolean equals(diffKeyRecordStartstr_result that) { + public boolean equals(selectCclTimestrOrder_result that) { if(that == null) return false; @@ -159373,7 +291682,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyRecordStartstr_result other) { + public int compareTo(selectCclTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -159461,7 +291770,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "diffKeyRecordStartstr_result("); + "selectCclTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -159545,18 +291854,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyRecordStartstr_resultStandardSchemeFactory + private static class selectCclTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public diffKeyRecordStartstr_resultStandardScheme getScheme() { - return new diffKeyRecordStartstr_resultStandardScheme(); + public selectCclTimestrOrder_resultStandardScheme getScheme() { + return new selectCclTimestrOrder_resultStandardScheme(); } } - private static class diffKeyRecordStartstr_resultStandardScheme - extends StandardScheme { + private static class selectCclTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyRecordStartstr_result struct) + selectCclTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -159569,29 +291878,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map666 = iprot + org.apache.thrift.protocol.TMap _map2008 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map666.size); - com.cinchapi.concourse.thrift.Diff _key667; - Set _val668; - for (int _i669 = 0; _i669 < _map666.size; ++_i669) { - _key667 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map2008.size); + long _key2009; + Map> _val2010; + for (int _i2011 = 0; _i2011 < _map2008.size; ++_i2011) { + _key2009 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set670 = iprot - .readSetBegin(); - _val668 = new LinkedHashSet( - 2 * _set670.size); - com.cinchapi.concourse.thrift.TObject _elem671; - for (int _i672 = 0; _i672 < _set670.size; ++_i672) { - _elem671 = new com.cinchapi.concourse.thrift.TObject(); - _elem671.read(iprot); - _val668.add(_elem671); + org.apache.thrift.protocol.TMap _map2012 = iprot + .readMapBegin(); + _val2010 = new LinkedHashMap>( + 2 * _map2012.size); + String _key2013; + Set _val2014; + for (int _i2015 = 0; _i2015 < _map2012.size; ++_i2015) { + _key2013 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2016 = iprot + .readSetBegin(); + _val2014 = new LinkedHashSet( + 2 * _set2016.size); + com.cinchapi.concourse.thrift.TObject _elem2017; + for (int _i2018 = 0; _i2018 < _set2016.size; ++_i2018) { + _elem2017 = new com.cinchapi.concourse.thrift.TObject(); + _elem2017.read(iprot); + _val2014.add(_elem2017); + } + iprot.readSetEnd(); + } + _val2010.put(_key2013, _val2014); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key667, _val668); + struct.success.put(_key2009, _val2010); } iprot.readMapEnd(); } @@ -159660,7 +291981,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyRecordStartstr_result struct) + selectCclTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -159669,22 +291990,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter673 : struct.success + for (Map.Entry>> _iter2019 : struct.success .entrySet()) { - oprot.writeI32(_iter673.getKey().getValue()); + oprot.writeI64(_iter2019.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter673.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter674 : _iter673 - .getValue()) { - _iter674.write(oprot); + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2019.getValue().size())); + for (Map.Entry> _iter2020 : _iter2019 + .getValue().entrySet()) { + oprot.writeString(_iter2020.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2020.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2021 : _iter2020 + .getValue()) { + _iter2021.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -159717,19 +292051,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyRecordStartstr_resultTupleSchemeFactory + private static class selectCclTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public diffKeyRecordStartstr_resultTupleScheme getScheme() { - return new diffKeyRecordStartstr_resultTupleScheme(); + public selectCclTimestrOrder_resultTupleScheme getScheme() { + return new selectCclTimestrOrder_resultTupleScheme(); } } - private static class diffKeyRecordStartstr_resultTupleScheme - extends TupleScheme { + private static class selectCclTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartstr_result struct) + selectCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -159752,14 +292086,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter675 : struct.success + for (Map.Entry>> _iter2022 : struct.success .entrySet()) { - oprot.writeI32(_iter675.getKey().getValue()); + oprot.writeI64(_iter2022.getKey()); { - oprot.writeI32(_iter675.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter676 : _iter675 - .getValue()) { - _iter676.write(oprot); + oprot.writeI32(_iter2022.getValue().size()); + for (Map.Entry> _iter2023 : _iter2022 + .getValue().entrySet()) { + oprot.writeString(_iter2023.getKey()); + { + oprot.writeI32( + _iter2023.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2024 : _iter2023 + .getValue()) { + _iter2024.write(oprot); + } + } } } } @@ -159781,37 +292123,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartstr_result struct) + selectCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map677 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TMap _map2025 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map677.size); - com.cinchapi.concourse.thrift.Diff _key678; - Set _val679; - for (int _i680 = 0; _i680 < _map677.size; ++_i680) { - _key678 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map2025.size); + long _key2026; + Map> _val2027; + for (int _i2028 = 0; _i2028 < _map2025.size; ++_i2028) { + _key2026 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set681 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TMap _map2029 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val679 = new LinkedHashSet( - 2 * _set681.size); - com.cinchapi.concourse.thrift.TObject _elem682; - for (int _i683 = 0; _i683 < _set681.size; ++_i683) { - _elem682 = new com.cinchapi.concourse.thrift.TObject(); - _elem682.read(iprot); - _val679.add(_elem682); + _val2027 = new LinkedHashMap>( + 2 * _map2029.size); + String _key2030; + Set _val2031; + for (int _i2032 = 0; _i2032 < _map2029.size; ++_i2032) { + _key2030 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2033 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2031 = new LinkedHashSet( + 2 * _set2033.size); + com.cinchapi.concourse.thrift.TObject _elem2034; + for (int _i2035 = 0; _i2035 < _set2033.size; ++_i2035) { + _elem2034 = new com.cinchapi.concourse.thrift.TObject(); + _elem2034.read(iprot); + _val2031.add(_elem2034); + } + } + _val2027.put(_key2030, _val2031); } } - struct.success.put(_key678, _val679); + struct.success.put(_key2026, _val2027); } } struct.setSuccessIsSet(true); @@ -159841,43 +292196,37 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyRecordStartEnd_args implements - org.apache.thrift.TBase, + public static class selectKeyCriteria_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyRecordStartEnd_args"); + "selectKeyCriteria_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 3); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.I64, (short) 4); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 6); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 7); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyRecordStartEnd_argsStandardSchemeFactory()); + new selectKeyCriteria_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyRecordStartEnd_argsTupleSchemeFactory()); + new selectKeyCriteria_argsTupleSchemeFactory()); } public String key; // required - public long record; // required - public long start; // required - public long tend; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -159888,12 +292237,10 @@ public static class diffKeyRecordStartEnd_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - RECORD((short) 2, "record"), - START((short) 3, "start"), - TEND((short) 4, "tend"), - CREDS((short) 5, "creds"), - TRANSACTION((short) 6, "transaction"), - ENVIRONMENT((short) 7, "environment"); + CRITERIA((short) 2, "criteria"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -159911,17 +292258,13 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // RECORD - return RECORD; - case 3: // START - return START; - case 4: // TEND - return TEND; - case 5: // CREDS + case 2: // CRITERIA + return CRITERIA; + case 3: // CREDS return CREDS; - case 6: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 7: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -159967,10 +292310,6 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __START_ISSET_ID = 1; - private static final int __TEND_ISSET_ID = 2; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -159980,21 +292319,12 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -160014,23 +292344,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyRecordStartEnd_args.class, metaDataMap); + selectKeyCriteria_args.class, metaDataMap); } - public diffKeyRecordStartEnd_args() {} + public selectKeyCriteria_args() {} - public diffKeyRecordStartEnd_args(String key, long record, long start, - long tend, com.cinchapi.concourse.thrift.AccessToken creds, + public selectKeyCriteria_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.record = record; - setRecordIsSet(true); - this.start = start; - setStartIsSet(true); - this.tend = tend; - setTendIsSet(true); + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -160039,14 +292365,14 @@ public diffKeyRecordStartEnd_args(String key, long record, long start, /** * Performs a deep copy on other. */ - public diffKeyRecordStartEnd_args(diffKeyRecordStartEnd_args other) { - __isset_bitfield = other.__isset_bitfield; + public selectKeyCriteria_args(selectKeyCriteria_args other) { if(other.isSetKey()) { this.key = other.key; } - this.record = other.record; - this.start = other.start; - this.tend = other.tend; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -160060,19 +292386,14 @@ public diffKeyRecordStartEnd_args(diffKeyRecordStartEnd_args other) { } } - public diffKeyRecordStartEnd_args deepCopy() { - return new diffKeyRecordStartEnd_args(this); + public selectKeyCriteria_args deepCopy() { + return new selectKeyCriteria_args(this); } @Override public void clear() { this.key = null; - setRecordIsSet(false); - this.record = 0; - setStartIsSet(false); - this.start = 0; - setTendIsSet(false); - this.tend = 0; + this.criteria = null; this.creds = null; this.transaction = null; this.environment = null; @@ -160082,7 +292403,7 @@ public String getKey() { return this.key; } - public diffKeyRecordStartEnd_args setKey(String key) { + public selectKeyCriteria_args setKey(String key) { this.key = key; return this; } @@ -160105,95 +292426,39 @@ public void setKeyIsSet(boolean value) { } } - public long getRecord() { - return this.record; - } - - public diffKeyRecordStartEnd_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); - } - - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - - public long getStart() { - return this.start; - } - - public diffKeyRecordStartEnd_args setStart(long start) { - this.start = start; - setStartIsSet(true); - return this; - } - - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); - } - - /** - * Returns true if field start is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); - } - - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); - } - - public long getTend() { - return this.tend; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public diffKeyRecordStartEnd_args setTend(long tend) { - this.tend = tend; - setTendIsSet(true); + public selectKeyCriteria_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetTend() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TEND_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field tend is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetTend() { - return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + public boolean isSetCriteria() { + return this.criteria != null; } - public void setTendIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TEND_ISSET_ID, value); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffKeyRecordStartEnd_args setCreds( + public selectKeyCriteria_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -160221,7 +292486,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffKeyRecordStartEnd_args setTransaction( + public selectKeyCriteria_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -160249,7 +292514,7 @@ public String getEnvironment() { return this.environment; } - public diffKeyRecordStartEnd_args setEnvironment(String environment) { + public selectKeyCriteria_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -160283,30 +292548,13 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORD: - if(value == null) { - unsetRecord(); - } - else { - setRecord((Long) value); - } - break; - - case START: - if(value == null) { - unsetStart(); - } - else { - setStart((Long) value); - } - break; - - case TEND: + case CRITERIA: if(value == null) { - unsetTend(); + unsetCriteria(); } else { - setTend((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -160346,14 +292594,8 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case RECORD: - return getRecord(); - - case START: - return getStart(); - - case TEND: - return getTend(); + case CRITERIA: + return getCriteria(); case CREDS: return getCreds(); @@ -160380,12 +292622,8 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); + case CRITERIA: + return isSetCriteria(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -160400,12 +292638,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyRecordStartEnd_args) - return this.equals((diffKeyRecordStartEnd_args) that); + if(that instanceof selectKeyCriteria_args) + return this.equals((selectKeyCriteria_args) that); return false; } - public boolean equals(diffKeyRecordStartEnd_args that) { + public boolean equals(selectKeyCriteria_args that) { if(that == null) return false; @@ -160418,30 +292656,12 @@ public boolean equals(diffKeyRecordStartEnd_args that) { return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) - return false; - if(this.record != that.record) - return false; - } - - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) - return false; - if(this.start != that.start) - return false; - } - - boolean this_present_tend = true; - boolean that_present_tend = true; - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.tend != that.tend) + if(!this.criteria.equals(that.criteria)) return false; } @@ -160484,20 +292704,10 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); - - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); - - boolean present_tend = true; - list.add(present_tend); - if(present_tend) - list.add(tend); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -160518,7 +292728,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyRecordStartEnd_args other) { + public int compareTo(selectKeyCriteria_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -160538,38 +292748,14 @@ public int compareTo(diffKeyRecordStartEnd_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetRecord()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetStart()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetTend()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -160629,7 +292815,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyRecordStartEnd_args("); + StringBuilder sb = new StringBuilder("selectKeyCriteria_args("); boolean first = true; sb.append("key:"); @@ -160642,18 +292828,13 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - sb.append(this.start); - first = false; - if(!first) - sb.append(", "); - sb.append("tend:"); - sb.append(this.tend); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } first = false; if(!first) sb.append(", "); @@ -160692,6 +292873,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -160715,10 +292899,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -160728,18 +292908,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyRecordStartEnd_argsStandardSchemeFactory + private static class selectKeyCriteria_argsStandardSchemeFactory implements SchemeFactory { - public diffKeyRecordStartEnd_argsStandardScheme getScheme() { - return new diffKeyRecordStartEnd_argsStandardScheme(); + public selectKeyCriteria_argsStandardScheme getScheme() { + return new selectKeyCriteria_argsStandardScheme(); } } - private static class diffKeyRecordStartEnd_argsStandardScheme - extends StandardScheme { + private static class selectKeyCriteria_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyRecordStartEnd_args struct) + selectKeyCriteria_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -160759,37 +292939,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 4: // TEND - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 5: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -160800,7 +292961,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -160811,7 +292972,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 7: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -160835,7 +292996,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyRecordStartEnd_args struct) + selectKeyCriteria_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -160845,15 +293006,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeI64(struct.tend); - oprot.writeFieldEnd(); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -160875,55 +293032,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyRecordStartEnd_argsTupleSchemeFactory + private static class selectKeyCriteria_argsTupleSchemeFactory implements SchemeFactory { - public diffKeyRecordStartEnd_argsTupleScheme getScheme() { - return new diffKeyRecordStartEnd_argsTupleScheme(); + public selectKeyCriteria_argsTupleScheme getScheme() { + return new selectKeyCriteria_argsTupleScheme(); } } - private static class diffKeyRecordStartEnd_argsTupleScheme - extends TupleScheme { + private static class selectKeyCriteria_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartEnd_args struct) + selectKeyCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetStart()) { - optionals.set(2); - } - if(struct.isSetTend()) { - optionals.set(3); - } if(struct.isSetCreds()) { - optionals.set(4); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(5); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(6); + optionals.set(4); } - oprot.writeBitSet(optionals, 7); + oprot.writeBitSet(optionals, 5); if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); - } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); - } - if(struct.isSetTend()) { - oprot.writeI64(struct.tend); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -160938,37 +293083,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartEnd_args struct) + selectKeyCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(7); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); - } - if(incoming.get(3)) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); - } - if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(6)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -160977,13 +293115,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyRecordStartEnd_result implements - org.apache.thrift.TBase, + public static class selectKeyCriteria_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyRecordStartEnd_result"); + "selectKeyCriteria_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -160997,12 +293135,12 @@ public static class diffKeyRecordStartEnd_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyRecordStartEnd_resultStandardSchemeFactory()); + new selectKeyCriteria_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyRecordStartEnd_resultTupleSchemeFactory()); + new selectKeyCriteria_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -161092,9 +293230,8 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), new org.apache.thrift.meta_data.SetMetaData( org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.StructMetaData( @@ -161117,13 +293254,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyRecordStartEnd_result.class, metaDataMap); + selectKeyCriteria_result.class, metaDataMap); } - public diffKeyRecordStartEnd_result() {} + public selectKeyCriteria_result() {} - public diffKeyRecordStartEnd_result( - Map> success, + public selectKeyCriteria_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -161137,20 +293274,18 @@ public diffKeyRecordStartEnd_result( /** * Performs a deep copy on other. */ - public diffKeyRecordStartEnd_result( - diffKeyRecordStartEnd_result other) { + public selectKeyCriteria_result(selectKeyCriteria_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - com.cinchapi.concourse.thrift.Diff other_element_key = other_element - .getKey(); + Long other_element_key = other_element.getKey(); Set other_element_value = other_element .getValue(); - com.cinchapi.concourse.thrift.Diff __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; Set __this__success_copy_value = new LinkedHashSet( other_element_value.size()); @@ -161179,8 +293314,8 @@ public diffKeyRecordStartEnd_result( } } - public diffKeyRecordStartEnd_result deepCopy() { - return new diffKeyRecordStartEnd_result(this); + public selectKeyCriteria_result deepCopy() { + return new selectKeyCriteria_result(this); } @Override @@ -161195,20 +293330,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.Diff key, + public void putToSuccess(long key, Set val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public diffKeyRecordStartEnd_result setSuccess( - Map> success) { + public selectKeyCriteria_result setSuccess( + Map> success) { this.success = success; return this; } @@ -161235,7 +293370,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffKeyRecordStartEnd_result setEx( + public selectKeyCriteria_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -161263,7 +293398,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffKeyRecordStartEnd_result setEx2( + public selectKeyCriteria_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -161291,7 +293426,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public diffKeyRecordStartEnd_result setEx3( + public selectKeyCriteria_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -161323,7 +293458,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -161401,12 +293536,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyRecordStartEnd_result) - return this.equals((diffKeyRecordStartEnd_result) that); + if(that instanceof selectKeyCriteria_result) + return this.equals((selectKeyCriteria_result) that); return false; } - public boolean equals(diffKeyRecordStartEnd_result that) { + public boolean equals(selectKeyCriteria_result that) { if(that == null) return false; @@ -161477,7 +293612,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyRecordStartEnd_result other) { + public int compareTo(selectKeyCriteria_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -161552,8 +293687,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "diffKeyRecordStartEnd_result("); + StringBuilder sb = new StringBuilder("selectKeyCriteria_result("); boolean first = true; sb.append("success:"); @@ -161627,18 +293761,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyRecordStartEnd_resultStandardSchemeFactory + private static class selectKeyCriteria_resultStandardSchemeFactory implements SchemeFactory { - public diffKeyRecordStartEnd_resultStandardScheme getScheme() { - return new diffKeyRecordStartEnd_resultStandardScheme(); + public selectKeyCriteria_resultStandardScheme getScheme() { + return new selectKeyCriteria_resultStandardScheme(); } } - private static class diffKeyRecordStartEnd_resultStandardScheme - extends StandardScheme { + private static class selectKeyCriteria_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyRecordStartEnd_result struct) + selectKeyCriteria_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -161651,29 +293785,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map684 = iprot + org.apache.thrift.protocol.TMap _map2036 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map684.size); - com.cinchapi.concourse.thrift.Diff _key685; - Set _val686; - for (int _i687 = 0; _i687 < _map684.size; ++_i687) { - _key685 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map2036.size); + long _key2037; + Set _val2038; + for (int _i2039 = 0; _i2039 < _map2036.size; ++_i2039) { + _key2037 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set688 = iprot + org.apache.thrift.protocol.TSet _set2040 = iprot .readSetBegin(); - _val686 = new LinkedHashSet( - 2 * _set688.size); - com.cinchapi.concourse.thrift.TObject _elem689; - for (int _i690 = 0; _i690 < _set688.size; ++_i690) { - _elem689 = new com.cinchapi.concourse.thrift.TObject(); - _elem689.read(iprot); - _val686.add(_elem689); + _val2038 = new LinkedHashSet( + 2 * _set2040.size); + com.cinchapi.concourse.thrift.TObject _elem2041; + for (int _i2042 = 0; _i2042 < _set2040.size; ++_i2042) { + _elem2041 = new com.cinchapi.concourse.thrift.TObject(); + _elem2041.read(iprot); + _val2038.add(_elem2041); } iprot.readSetEnd(); } - struct.success.put(_key685, _val686); + struct.success.put(_key2037, _val2038); } iprot.readMapEnd(); } @@ -161731,7 +293864,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyRecordStartEnd_result struct) + selectKeyCriteria_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -161740,20 +293873,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter691 : struct.success + for (Map.Entry> _iter2043 : struct.success .entrySet()) { - oprot.writeI32(_iter691.getKey().getValue()); + oprot.writeI64(_iter2043.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter691.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter692 : _iter691 + _iter2043.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2044 : _iter2043 .getValue()) { - _iter692.write(oprot); + _iter2044.write(oprot); } oprot.writeSetEnd(); } @@ -161783,19 +293916,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyRecordStartEnd_resultTupleSchemeFactory + private static class selectKeyCriteria_resultTupleSchemeFactory implements SchemeFactory { - public diffKeyRecordStartEnd_resultTupleScheme getScheme() { - return new diffKeyRecordStartEnd_resultTupleScheme(); + public selectKeyCriteria_resultTupleScheme getScheme() { + return new selectKeyCriteria_resultTupleScheme(); } } - private static class diffKeyRecordStartEnd_resultTupleScheme - extends TupleScheme { + private static class selectKeyCriteria_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartEnd_result struct) + selectKeyCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -161815,14 +293948,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter693 : struct.success + for (Map.Entry> _iter2045 : struct.success .entrySet()) { - oprot.writeI32(_iter693.getKey().getValue()); + oprot.writeI64(_iter2045.getKey()); { - oprot.writeI32(_iter693.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter694 : _iter693 + oprot.writeI32(_iter2045.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2046 : _iter2045 .getValue()) { - _iter694.write(oprot); + _iter2046.write(oprot); } } } @@ -161841,37 +293974,36 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartEnd_result struct) + selectKeyCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map695 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TMap _map2047 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map695.size); - com.cinchapi.concourse.thrift.Diff _key696; - Set _val697; - for (int _i698 = 0; _i698 < _map695.size; ++_i698) { - _key696 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map2047.size); + long _key2048; + Set _val2049; + for (int _i2050 = 0; _i2050 < _map2047.size; ++_i2050) { + _key2048 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set699 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set2051 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val697 = new LinkedHashSet( - 2 * _set699.size); - com.cinchapi.concourse.thrift.TObject _elem700; - for (int _i701 = 0; _i701 < _set699.size; ++_i701) { - _elem700 = new com.cinchapi.concourse.thrift.TObject(); - _elem700.read(iprot); - _val697.add(_elem700); + _val2049 = new LinkedHashSet( + 2 * _set2051.size); + com.cinchapi.concourse.thrift.TObject _elem2052; + for (int _i2053 = 0; _i2053 < _set2051.size; ++_i2053) { + _elem2052 = new com.cinchapi.concourse.thrift.TObject(); + _elem2052.read(iprot); + _val2049.add(_elem2052); } } - struct.success.put(_key696, _val697); + struct.success.put(_key2048, _val2049); } } struct.setSuccessIsSet(true); @@ -161896,43 +294028,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyRecordStartstrEndstr_args implements - org.apache.thrift.TBase, + public static class selectKeyCriteriaOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyRecordStartstrEndstr_args"); + "selectKeyCriteriaOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 3); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.STRING, (short) 4); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 6); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 7); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyRecordStartstrEndstr_argsStandardSchemeFactory()); + new selectKeyCriteriaOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyRecordStartstrEndstr_argsTupleSchemeFactory()); + new selectKeyCriteriaOrder_argsTupleSchemeFactory()); } public String key; // required - public long record; // required - public String start; // required - public String tend; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -161943,12 +294072,11 @@ public static class diffKeyRecordStartstrEndstr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - RECORD((short) 2, "record"), - START((short) 3, "start"), - TEND((short) 4, "tend"), - CREDS((short) 5, "creds"), - TRANSACTION((short) 6, "transaction"), - ENVIRONMENT((short) 7, "environment"); + CRITERIA((short) 2, "criteria"), + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -161966,17 +294094,15 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // RECORD - return RECORD; - case 3: // START - return START; - case 4: // TEND - return TEND; - case 5: // CREDS + case 2: // CRITERIA + return CRITERIA; + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 6: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 7: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -162022,8 +294148,6 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -162033,21 +294157,18 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -162067,22 +294188,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyRecordStartstrEndstr_args.class, metaDataMap); + selectKeyCriteriaOrder_args.class, metaDataMap); } - public diffKeyRecordStartstrEndstr_args() {} + public selectKeyCriteriaOrder_args() {} - public diffKeyRecordStartstrEndstr_args(String key, long record, - String start, String tend, + public selectKeyCriteriaOrder_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.record = record; - setRecordIsSet(true); - this.start = start; - this.tend = tend; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -162091,18 +294211,17 @@ public diffKeyRecordStartstrEndstr_args(String key, long record, /** * Performs a deep copy on other. */ - public diffKeyRecordStartstrEndstr_args( - diffKeyRecordStartstrEndstr_args other) { - __isset_bitfield = other.__isset_bitfield; + public selectKeyCriteriaOrder_args(selectKeyCriteriaOrder_args other) { if(other.isSetKey()) { this.key = other.key; } - this.record = other.record; - if(other.isSetStart()) { - this.start = other.start; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - if(other.isSetTend()) { - this.tend = other.tend; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -162117,17 +294236,15 @@ public diffKeyRecordStartstrEndstr_args( } } - public diffKeyRecordStartstrEndstr_args deepCopy() { - return new diffKeyRecordStartstrEndstr_args(this); + public selectKeyCriteriaOrder_args deepCopy() { + return new selectKeyCriteriaOrder_args(this); } @Override public void clear() { this.key = null; - setRecordIsSet(false); - this.record = 0; - this.start = null; - this.tend = null; + this.criteria = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -162137,7 +294254,7 @@ public String getKey() { return this.key; } - public diffKeyRecordStartstrEndstr_args setKey(String key) { + public selectKeyCriteriaOrder_args setKey(String key) { this.key = key; return this; } @@ -162160,85 +294277,59 @@ public void setKeyIsSet(boolean value) { } } - public long getRecord() { - return this.record; - } - - public diffKeyRecordStartstrEndstr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); - } - - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - - public String getStart() { - return this.start; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public diffKeyRecordStartstrEndstr_args setStart(String start) { - this.start = start; + public selectKeyCriteriaOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetStart() { - this.start = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setStartIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.start = null; + this.criteria = null; } } - public String getTend() { - return this.tend; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public diffKeyRecordStartstrEndstr_args setTend(String tend) { - this.tend = tend; + public selectKeyCriteriaOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetTend() { - this.tend = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field tend is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetTend() { - return this.tend != null; + public boolean isSetOrder() { + return this.order != null; } - public void setTendIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.tend = null; + this.order = null; } } @@ -162246,7 +294337,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffKeyRecordStartstrEndstr_args setCreds( + public selectKeyCriteriaOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -162274,7 +294365,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffKeyRecordStartstrEndstr_args setTransaction( + public selectKeyCriteriaOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -162302,8 +294393,7 @@ public String getEnvironment() { return this.environment; } - public diffKeyRecordStartstrEndstr_args setEnvironment( - String environment) { + public selectKeyCriteriaOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -162337,30 +294427,22 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORD: - if(value == null) { - unsetRecord(); - } - else { - setRecord((Long) value); - } - break; - - case START: + case CRITERIA: if(value == null) { - unsetStart(); + unsetCriteria(); } else { - setStart((String) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case TEND: + case ORDER: if(value == null) { - unsetTend(); + unsetOrder(); } else { - setTend((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -162400,14 +294482,11 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case RECORD: - return getRecord(); - - case START: - return getStart(); + case CRITERIA: + return getCriteria(); - case TEND: - return getTend(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -162434,12 +294513,10 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case RECORD: - return isSetRecord(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); + case CRITERIA: + return isSetCriteria(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -162454,12 +294531,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyRecordStartstrEndstr_args) - return this.equals((diffKeyRecordStartstrEndstr_args) that); + if(that instanceof selectKeyCriteriaOrder_args) + return this.equals((selectKeyCriteriaOrder_args) that); return false; } - public boolean equals(diffKeyRecordStartstrEndstr_args that) { + public boolean equals(selectKeyCriteriaOrder_args that) { if(that == null) return false; @@ -162472,30 +294549,21 @@ public boolean equals(diffKeyRecordStartstrEndstr_args that) { return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) - return false; - if(this.record != that.record) - return false; - } - - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.start.equals(that.start)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_tend = true && this.isSetTend(); - boolean that_present_tend = true && that.isSetTend(); - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.tend.equals(that.tend)) + if(!this.order.equals(that.order)) return false; } @@ -162538,20 +294606,15 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); - - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_tend = true && (isSetTend()); - list.add(present_tend); - if(present_tend) - list.add(tend); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -162572,7 +294635,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyRecordStartstrEndstr_args other) { + public int compareTo(selectKeyCriteriaOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -162592,38 +294655,26 @@ public int compareTo(diffKeyRecordStartstrEndstr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetRecord()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTend()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -162684,7 +294735,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "diffKeyRecordStartstrEndstr_args("); + "selectKeyCriteriaOrder_args("); boolean first = true; sb.append("key:"); @@ -162697,27 +294748,22 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("start:"); - if(this.start == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.start); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("tend:"); - if(this.tend == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.tend); + sb.append(this.order); } first = false; if(!first) @@ -162757,6 +294803,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -162780,10 +294832,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -162793,18 +294841,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyRecordStartstrEndstr_argsStandardSchemeFactory + private static class selectKeyCriteriaOrder_argsStandardSchemeFactory implements SchemeFactory { - public diffKeyRecordStartstrEndstr_argsStandardScheme getScheme() { - return new diffKeyRecordStartstrEndstr_argsStandardScheme(); + public selectKeyCriteriaOrder_argsStandardScheme getScheme() { + return new selectKeyCriteriaOrder_argsStandardScheme(); } } - private static class diffKeyRecordStartstrEndstr_argsStandardScheme - extends StandardScheme { + private static class selectKeyCriteriaOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyRecordStartstrEndstr_args struct) + selectKeyCriteriaOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -162824,37 +294872,29 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // START - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // TEND - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 5: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -162865,7 +294905,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -162876,7 +294916,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 7: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -162900,7 +294940,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyRecordStartstrEndstr_args struct) + selectKeyCriteriaOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -162910,17 +294950,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - if(struct.tend != null) { - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeString(struct.tend); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -162944,55 +294981,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyRecordStartstrEndstr_argsTupleSchemeFactory + private static class selectKeyCriteriaOrder_argsTupleSchemeFactory implements SchemeFactory { - public diffKeyRecordStartstrEndstr_argsTupleScheme getScheme() { - return new diffKeyRecordStartstrEndstr_argsTupleScheme(); + public selectKeyCriteriaOrder_argsTupleScheme getScheme() { + return new selectKeyCriteriaOrder_argsTupleScheme(); } } - private static class diffKeyRecordStartstrEndstr_argsTupleScheme - extends TupleScheme { + private static class selectKeyCriteriaOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartstrEndstr_args struct) + selectKeyCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetStart()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetTend()) { - optionals.set(3); - } if(struct.isSetCreds()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetTransaction()) { - optionals.set(5); + optionals.set(4); } if(struct.isSetEnvironment()) { - optionals.set(6); + optionals.set(5); } - oprot.writeBitSet(optionals, 7); + oprot.writeBitSet(optionals, 6); if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); - } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } - if(struct.isSetTend()) { - oprot.writeString(struct.tend); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -163007,37 +295038,35 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartstrEndstr_args struct) + selectKeyCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(7); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); - } - if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(6)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -163046,13 +295075,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyRecordStartstrEndstr_result implements - org.apache.thrift.TBase, + public static class selectKeyCriteriaOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyRecordStartstrEndstr_result"); + "selectKeyCriteriaOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -163062,22 +295091,19 @@ public static class diffKeyRecordStartstrEndstr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyRecordStartstrEndstr_resultStandardSchemeFactory()); + new selectKeyCriteriaOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyRecordStartstrEndstr_resultTupleSchemeFactory()); + new selectKeyCriteriaOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -163087,8 +295113,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -163112,8 +295137,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -163167,9 +295190,8 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), new org.apache.thrift.meta_data.SetMetaData( org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.StructMetaData( @@ -163190,49 +295212,41 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyRecordStartstrEndstr_result.class, metaDataMap); + selectKeyCriteriaOrder_result.class, metaDataMap); } - public diffKeyRecordStartstrEndstr_result() {} + public selectKeyCriteriaOrder_result() {} - public diffKeyRecordStartstrEndstr_result( - Map> success, + public selectKeyCriteriaOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public diffKeyRecordStartstrEndstr_result( - diffKeyRecordStartstrEndstr_result other) { + public selectKeyCriteriaOrder_result( + selectKeyCriteriaOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - com.cinchapi.concourse.thrift.Diff other_element_key = other_element - .getKey(); + Long other_element_key = other_element.getKey(); Set other_element_value = other_element .getValue(); - com.cinchapi.concourse.thrift.Diff __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; Set __this__success_copy_value = new LinkedHashSet( other_element_value.size()); @@ -163256,17 +295270,13 @@ public diffKeyRecordStartstrEndstr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public diffKeyRecordStartstrEndstr_result deepCopy() { - return new diffKeyRecordStartstrEndstr_result(this); + public selectKeyCriteriaOrder_result deepCopy() { + return new selectKeyCriteriaOrder_result(this); } @Override @@ -163275,27 +295285,26 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.Diff key, + public void putToSuccess(long key, Set val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public diffKeyRecordStartstrEndstr_result setSuccess( - Map> success) { + public selectKeyCriteriaOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -163322,7 +295331,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffKeyRecordStartstrEndstr_result setEx( + public selectKeyCriteriaOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -163350,7 +295359,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffKeyRecordStartstrEndstr_result setEx2( + public selectKeyCriteriaOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -163374,12 +295383,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public diffKeyRecordStartstrEndstr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public selectKeyCriteriaOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -163402,34 +295411,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public diffKeyRecordStartstrEndstr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -163438,7 +295419,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -163465,16 +295446,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -163495,9 +295467,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -163520,8 +295489,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -163530,12 +295497,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyRecordStartstrEndstr_result) - return this.equals((diffKeyRecordStartstrEndstr_result) that); + if(that instanceof selectKeyCriteriaOrder_result) + return this.equals((selectKeyCriteriaOrder_result) that); return false; } - public boolean equals(diffKeyRecordStartstrEndstr_result that) { + public boolean equals(selectKeyCriteriaOrder_result that) { if(that == null) return false; @@ -163575,15 +295542,6 @@ public boolean equals(diffKeyRecordStartstrEndstr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -163611,16 +295569,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(diffKeyRecordStartstrEndstr_result other) { + public int compareTo(selectKeyCriteriaOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -163676,18 +295629,6 @@ public int compareTo(diffKeyRecordStartstrEndstr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -163708,7 +295649,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "diffKeyRecordStartstrEndstr_result("); + "selectKeyCriteriaOrder_result("); boolean first = true; sb.append("success:"); @@ -163749,16 +295690,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -163792,18 +295723,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyRecordStartstrEndstr_resultStandardSchemeFactory + private static class selectKeyCriteriaOrder_resultStandardSchemeFactory implements SchemeFactory { - public diffKeyRecordStartstrEndstr_resultStandardScheme getScheme() { - return new diffKeyRecordStartstrEndstr_resultStandardScheme(); + public selectKeyCriteriaOrder_resultStandardScheme getScheme() { + return new selectKeyCriteriaOrder_resultStandardScheme(); } } - private static class diffKeyRecordStartstrEndstr_resultStandardScheme - extends StandardScheme { + private static class selectKeyCriteriaOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyRecordStartstrEndstr_result struct) + selectKeyCriteriaOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -163816,29 +295747,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map702 = iprot + org.apache.thrift.protocol.TMap _map2054 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map702.size); - com.cinchapi.concourse.thrift.Diff _key703; - Set _val704; - for (int _i705 = 0; _i705 < _map702.size; ++_i705) { - _key703 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map2054.size); + long _key2055; + Set _val2056; + for (int _i2057 = 0; _i2057 < _map2054.size; ++_i2057) { + _key2055 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set706 = iprot + org.apache.thrift.protocol.TSet _set2058 = iprot .readSetBegin(); - _val704 = new LinkedHashSet( - 2 * _set706.size); - com.cinchapi.concourse.thrift.TObject _elem707; - for (int _i708 = 0; _i708 < _set706.size; ++_i708) { - _elem707 = new com.cinchapi.concourse.thrift.TObject(); - _elem707.read(iprot); - _val704.add(_elem707); + _val2056 = new LinkedHashSet( + 2 * _set2058.size); + com.cinchapi.concourse.thrift.TObject _elem2059; + for (int _i2060 = 0; _i2060 < _set2058.size; ++_i2060) { + _elem2059 = new com.cinchapi.concourse.thrift.TObject(); + _elem2059.read(iprot); + _val2056.add(_elem2059); } iprot.readSetEnd(); } - struct.success.put(_key703, _val704); + struct.success.put(_key2055, _val2056); } iprot.readMapEnd(); } @@ -163873,7 +295803,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -163882,17 +295812,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -163907,7 +295826,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyRecordStartstrEndstr_result struct) + selectKeyCriteriaOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -163916,20 +295835,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter709 : struct.success + for (Map.Entry> _iter2061 : struct.success .entrySet()) { - oprot.writeI32(_iter709.getKey().getValue()); + oprot.writeI64(_iter2061.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter709.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter710 : _iter709 + _iter2061.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2062 : _iter2061 .getValue()) { - _iter710.write(oprot); + _iter2062.write(oprot); } oprot.writeSetEnd(); } @@ -163953,30 +295872,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class diffKeyRecordStartstrEndstr_resultTupleSchemeFactory + private static class selectKeyCriteriaOrder_resultTupleSchemeFactory implements SchemeFactory { - public diffKeyRecordStartstrEndstr_resultTupleScheme getScheme() { - return new diffKeyRecordStartstrEndstr_resultTupleScheme(); + public selectKeyCriteriaOrder_resultTupleScheme getScheme() { + return new selectKeyCriteriaOrder_resultTupleScheme(); } } - private static class diffKeyRecordStartstrEndstr_resultTupleScheme - extends TupleScheme { + private static class selectKeyCriteriaOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartstrEndstr_result struct) + selectKeyCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -163992,21 +295906,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter711 : struct.success + for (Map.Entry> _iter2063 : struct.success .entrySet()) { - oprot.writeI32(_iter711.getKey().getValue()); + oprot.writeI64(_iter2063.getKey()); { - oprot.writeI32(_iter711.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter712 : _iter711 + oprot.writeI32(_iter2063.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2064 : _iter2063 .getValue()) { - _iter712.write(oprot); + _iter2064.write(oprot); } } } @@ -164021,44 +295932,40 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyRecordStartstrEndstr_result struct) + selectKeyCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map713 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, + org.apache.thrift.protocol.TMap _map2065 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map713.size); - com.cinchapi.concourse.thrift.Diff _key714; - Set _val715; - for (int _i716 = 0; _i716 < _map713.size; ++_i716) { - _key714 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map2065.size); + long _key2066; + Set _val2067; + for (int _i2068 = 0; _i2068 < _map2065.size; ++_i2068) { + _key2066 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set717 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set2069 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val715 = new LinkedHashSet( - 2 * _set717.size); - com.cinchapi.concourse.thrift.TObject _elem718; - for (int _i719 = 0; _i719 < _set717.size; ++_i719) { - _elem718 = new com.cinchapi.concourse.thrift.TObject(); - _elem718.read(iprot); - _val715.add(_elem718); + _val2067 = new LinkedHashSet( + 2 * _set2069.size); + com.cinchapi.concourse.thrift.TObject _elem2070; + for (int _i2071 = 0; _i2071 < _set2069.size; ++_i2071) { + _elem2070 = new com.cinchapi.concourse.thrift.TObject(); + _elem2070.read(iprot); + _val2067.add(_elem2070); } } - struct.success.put(_key714, _val715); + struct.success.put(_key2066, _val2067); } } struct.setSuccessIsSet(true); @@ -164074,32 +295981,27 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class diffKeyStart_args implements - org.apache.thrift.TBase, + public static class selectKeyCcl_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyStart_args"); + "selectKeyCcl_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -164112,13 +296014,13 @@ public static class diffKeyStart_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyStart_argsStandardSchemeFactory()); + new selectKeyCcl_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyStart_argsTupleSchemeFactory()); + new selectKeyCcl_argsTupleSchemeFactory()); } public String key; // required - public long start; // required + public String ccl; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -164129,7 +296031,7 @@ public static class diffKeyStart_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - START((short) 2, "start"), + CCL((short) 2, "ccl"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -164150,8 +296052,8 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // START - return START; + case 2: // CCL + return CCL; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -164202,8 +296104,6 @@ public String getFieldName() { } // isset id assignments - private static final int __START_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -164213,11 +296113,11 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -164237,19 +296137,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(diffKeyStart_args.class, metaDataMap); + .addStructMetaDataMap(selectKeyCcl_args.class, metaDataMap); } - public diffKeyStart_args() {} + public selectKeyCcl_args() {} - public diffKeyStart_args(String key, long start, + public selectKeyCcl_args(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.start = start; - setStartIsSet(true); + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -164258,12 +296157,13 @@ public diffKeyStart_args(String key, long start, /** * Performs a deep copy on other. */ - public diffKeyStart_args(diffKeyStart_args other) { - __isset_bitfield = other.__isset_bitfield; + public selectKeyCcl_args(selectKeyCcl_args other) { if(other.isSetKey()) { this.key = other.key; } - this.start = other.start; + if(other.isSetCcl()) { + this.ccl = other.ccl; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -164277,15 +296177,14 @@ public diffKeyStart_args(diffKeyStart_args other) { } } - public diffKeyStart_args deepCopy() { - return new diffKeyStart_args(this); + public selectKeyCcl_args deepCopy() { + return new selectKeyCcl_args(this); } @Override public void clear() { this.key = null; - setStartIsSet(false); - this.start = 0; + this.ccl = null; this.creds = null; this.transaction = null; this.environment = null; @@ -164295,7 +296194,7 @@ public String getKey() { return this.key; } - public diffKeyStart_args setKey(String key) { + public selectKeyCcl_args setKey(String key) { this.key = key; return this; } @@ -164318,39 +296217,38 @@ public void setKeyIsSet(boolean value) { } } - public long getStart() { - return this.start; + public String getCcl() { + return this.ccl; } - public diffKeyStart_args setStart(long start) { - this.start = start; - setStartIsSet(true); + public selectKeyCcl_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + public boolean isSetCcl() { + return this.ccl != null; } - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffKeyStart_args setCreds( + public selectKeyCcl_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -164378,7 +296276,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffKeyStart_args setTransaction( + public selectKeyCcl_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -164406,7 +296304,7 @@ public String getEnvironment() { return this.environment; } - public diffKeyStart_args setEnvironment(String environment) { + public selectKeyCcl_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -164440,12 +296338,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case START: + case CCL: if(value == null) { - unsetStart(); + unsetCcl(); } else { - setStart((Long) value); + setCcl((String) value); } break; @@ -164485,8 +296383,8 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case START: - return getStart(); + case CCL: + return getCcl(); case CREDS: return getCreds(); @@ -164513,8 +296411,8 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case START: - return isSetStart(); + case CCL: + return isSetCcl(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -164529,12 +296427,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyStart_args) - return this.equals((diffKeyStart_args) that); + if(that instanceof selectKeyCcl_args) + return this.equals((selectKeyCcl_args) that); return false; } - public boolean equals(diffKeyStart_args that) { + public boolean equals(selectKeyCcl_args that) { if(that == null) return false; @@ -164547,12 +296445,12 @@ public boolean equals(diffKeyStart_args that) { return false; } - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(this.start != that.start) + if(!this.ccl.equals(that.ccl)) return false; } @@ -164595,10 +296493,10 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -164619,7 +296517,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyStart_args other) { + public int compareTo(selectKeyCcl_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -164639,14 +296537,14 @@ public int compareTo(diffKeyStart_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -164706,7 +296604,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyStart_args("); + StringBuilder sb = new StringBuilder("selectKeyCcl_args("); boolean first = true; sb.append("key:"); @@ -164719,8 +296617,13 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("start:"); - sb.append(this.start); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } first = false; if(!first) sb.append(", "); @@ -164782,10 +296685,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -164795,18 +296694,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyStart_argsStandardSchemeFactory + private static class selectKeyCcl_argsStandardSchemeFactory implements SchemeFactory { - public diffKeyStart_argsStandardScheme getScheme() { - return new diffKeyStart_argsStandardScheme(); + public selectKeyCcl_argsStandardScheme getScheme() { + return new selectKeyCcl_argsStandardScheme(); } } - private static class diffKeyStart_argsStandardScheme - extends StandardScheme { + private static class selectKeyCcl_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyStart_args struct) + selectKeyCcl_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -164826,10 +296725,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -164882,7 +296781,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyStart_args struct) + selectKeyCcl_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -164892,9 +296791,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -164916,26 +296817,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyStart_argsTupleSchemeFactory + private static class selectKeyCcl_argsTupleSchemeFactory implements SchemeFactory { - public diffKeyStart_argsTupleScheme getScheme() { - return new diffKeyStart_argsTupleScheme(); + public selectKeyCcl_argsTupleScheme getScheme() { + return new selectKeyCcl_argsTupleScheme(); } } - private static class diffKeyStart_argsTupleScheme - extends TupleScheme { + private static class selectKeyCcl_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyStart_args struct) + selectKeyCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetStart()) { + if(struct.isSetCcl()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -164951,8 +296852,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -164967,7 +296868,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyStart_args struct) + selectKeyCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); @@ -164976,8 +296877,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -164998,13 +296899,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyStart_result implements - org.apache.thrift.TBase, + public static class selectKeyCcl_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyStart_result"); + "selectKeyCcl_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -165014,19 +296915,22 @@ public static class diffKeyStart_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyStart_resultStandardSchemeFactory()); + new selectKeyCcl_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyStart_resultTupleSchemeFactory()); + new selectKeyCcl_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -165036,7 +296940,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -165060,6 +296965,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -165113,18 +297020,13 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -165140,61 +297042,54 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyStart_result.class, metaDataMap); + selectKeyCcl_result.class, metaDataMap); } - public diffKeyStart_result() {} + public selectKeyCcl_result() {} - public diffKeyStart_result( - Map>> success, + public selectKeyCcl_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public diffKeyStart_result(diffKeyStart_result other) { + public selectKeyCcl_result(selectKeyCcl_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - com.cinchapi.concourse.thrift.TObject other_element_key = other_element - .getKey(); - Map> other_element_value = other_element + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element .getValue(); - com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( - other_element_key); + Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Set __this__success_copy_value = new LinkedHashSet( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); } __this__success.put(__this__success_copy_key, @@ -165211,13 +297106,17 @@ public diffKeyStart_result(diffKeyStart_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public diffKeyStart_result deepCopy() { - return new diffKeyStart_result(this); + public selectKeyCcl_result deepCopy() { + return new selectKeyCcl_result(this); } @Override @@ -165226,26 +297125,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, - Map> val) { + public void putToSuccess(long key, + Set val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public diffKeyStart_result setSuccess( - Map>> success) { + public selectKeyCcl_result setSuccess( + Map> success) { this.success = success; return this; } @@ -165272,7 +297172,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffKeyStart_result setEx( + public selectKeyCcl_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -165300,7 +297200,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffKeyStart_result setEx2( + public selectKeyCcl_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -165324,12 +297224,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public diffKeyStart_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectKeyCcl_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -165352,6 +297252,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeyCcl_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -165360,7 +297288,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -165387,7 +297315,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -165408,6 +297345,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -165430,6 +297370,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -165438,12 +297380,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyStart_result) - return this.equals((diffKeyStart_result) that); + if(that instanceof selectKeyCcl_result) + return this.equals((selectKeyCcl_result) that); return false; } - public boolean equals(diffKeyStart_result that) { + public boolean equals(selectKeyCcl_result that) { if(that == null) return false; @@ -165483,6 +297425,15 @@ public boolean equals(diffKeyStart_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -165510,11 +297461,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(diffKeyStart_result other) { + public int compareTo(selectKeyCcl_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -165570,6 +297526,18 @@ public int compareTo(diffKeyStart_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -165589,7 +297557,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyStart_result("); + StringBuilder sb = new StringBuilder("selectKeyCcl_result("); boolean first = true; sb.append("success:"); @@ -165630,6 +297598,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -165663,18 +297641,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyStart_resultStandardSchemeFactory + private static class selectKeyCcl_resultStandardSchemeFactory implements SchemeFactory { - public diffKeyStart_resultStandardScheme getScheme() { - return new diffKeyStart_resultStandardScheme(); + public selectKeyCcl_resultStandardScheme getScheme() { + return new selectKeyCcl_resultStandardScheme(); } } - private static class diffKeyStart_resultStandardScheme - extends StandardScheme { + private static class selectKeyCcl_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyStart_result struct) + selectKeyCcl_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -165687,43 +297665,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map720 = iprot + org.apache.thrift.protocol.TMap _map2072 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map720.size); - com.cinchapi.concourse.thrift.TObject _key721; - Map> _val722; - for (int _i723 = 0; _i723 < _map720.size; ++_i723) { - _key721 = new com.cinchapi.concourse.thrift.TObject(); - _key721.read(iprot); + struct.success = new LinkedHashMap>( + 2 * _map2072.size); + long _key2073; + Set _val2074; + for (int _i2075 = 0; _i2075 < _map2072.size; ++_i2075) { + _key2073 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map724 = iprot - .readMapBegin(); - _val722 = new LinkedHashMap>( - 2 * _map724.size); - com.cinchapi.concourse.thrift.Diff _key725; - Set _val726; - for (int _i727 = 0; _i727 < _map724.size; ++_i727) { - _key725 = com.cinchapi.concourse.thrift.Diff - .findByValue( - iprot.readI32()); - { - org.apache.thrift.protocol.TSet _set728 = iprot - .readSetBegin(); - _val726 = new LinkedHashSet( - 2 * _set728.size); - long _elem729; - for (int _i730 = 0; _i730 < _set728.size; ++_i730) { - _elem729 = iprot.readI64(); - _val726.add(_elem729); - } - iprot.readSetEnd(); - } - _val722.put(_key725, _val726); + org.apache.thrift.protocol.TSet _set2076 = iprot + .readSetBegin(); + _val2074 = new LinkedHashSet( + 2 * _set2076.size); + com.cinchapi.concourse.thrift.TObject _elem2077; + for (int _i2078 = 0; _i2078 < _set2076.size; ++_i2078) { + _elem2077 = new com.cinchapi.concourse.thrift.TObject(); + _elem2077.read(iprot); + _val2074.add(_elem2077); } - iprot.readMapEnd(); + iprot.readSetEnd(); } - struct.success.put(_key721, _val722); + struct.success.put(_key2073, _val2074); } iprot.readMapEnd(); } @@ -165758,7 +297721,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -165767,6 +297730,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -165781,7 +297755,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyStart_result struct) + selectKeyCcl_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -165790,36 +297764,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry>> _iter731 : struct.success + for (Map.Entry> _iter2079 : struct.success .entrySet()) { - _iter731.getKey().write(oprot); + oprot.writeI64(_iter2079.getKey()); { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, - _iter731.getValue().size())); - for (Map.Entry> _iter732 : _iter731 - .getValue().entrySet()) { - oprot.writeI32( - _iter732.getKey().getValue()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - _iter732.getValue() - .size())); - for (long _iter733 : _iter732 - .getValue()) { - oprot.writeI64(_iter733); - } - oprot.writeSetEnd(); - } + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2079.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2080 : _iter2079 + .getValue()) { + _iter2080.write(oprot); } - oprot.writeMapEnd(); + oprot.writeSetEnd(); } } oprot.writeMapEnd(); @@ -165841,25 +297801,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class diffKeyStart_resultTupleSchemeFactory + private static class selectKeyCcl_resultTupleSchemeFactory implements SchemeFactory { - public diffKeyStart_resultTupleScheme getScheme() { - return new diffKeyStart_resultTupleScheme(); + public selectKeyCcl_resultTupleScheme getScheme() { + return new selectKeyCcl_resultTupleScheme(); } } - private static class diffKeyStart_resultTupleScheme - extends TupleScheme { + private static class selectKeyCcl_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyStart_result struct) + selectKeyCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -165875,27 +297840,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter734 : struct.success + for (Map.Entry> _iter2081 : struct.success .entrySet()) { - _iter734.getKey().write(oprot); + oprot.writeI64(_iter2081.getKey()); { - oprot.writeI32(_iter734.getValue().size()); - for (Map.Entry> _iter735 : _iter734 - .getValue().entrySet()) { - oprot.writeI32( - _iter735.getKey().getValue()); - { - oprot.writeI32( - _iter735.getValue().size()); - for (long _iter736 : _iter735 - .getValue()) { - oprot.writeI64(_iter736); - } - } + oprot.writeI32(_iter2081.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2082 : _iter2081 + .getValue()) { + _iter2082.write(oprot); } } } @@ -165910,55 +297869,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyStart_result struct) + selectKeyCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map737 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TMap _map2083 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map737.size); - com.cinchapi.concourse.thrift.TObject _key738; - Map> _val739; - for (int _i740 = 0; _i740 < _map737.size; ++_i740) { - _key738 = new com.cinchapi.concourse.thrift.TObject(); - _key738.read(iprot); + struct.success = new LinkedHashMap>( + 2 * _map2083.size); + long _key2084; + Set _val2085; + for (int _i2086 = 0; _i2086 < _map2083.size; ++_i2086) { + _key2084 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map741 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TSet _set2087 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val739 = new LinkedHashMap>( - 2 * _map741.size); - com.cinchapi.concourse.thrift.Diff _key742; - Set _val743; - for (int _i744 = 0; _i744 < _map741.size; ++_i744) { - _key742 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); - { - org.apache.thrift.protocol.TSet _set745 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - _val743 = new LinkedHashSet( - 2 * _set745.size); - long _elem746; - for (int _i747 = 0; _i747 < _set745.size; ++_i747) { - _elem746 = iprot.readI64(); - _val743.add(_elem746); - } - } - _val739.put(_key742, _val743); + _val2085 = new LinkedHashSet( + 2 * _set2087.size); + com.cinchapi.concourse.thrift.TObject _elem2088; + for (int _i2089 = 0; _i2089 < _set2087.size; ++_i2089) { + _elem2088 = new com.cinchapi.concourse.thrift.TObject(); + _elem2088.read(iprot); + _val2085.add(_elem2088); } } - struct.success.put(_key738, _val739); + struct.success.put(_key2084, _val2085); } } struct.setSuccessIsSet(true); @@ -165974,46 +297921,54 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class diffKeyStartstr_args implements - org.apache.thrift.TBase, + public static class selectKeyCclOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyStartstr_args"); + "selectKeyCclOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyStartstr_argsStandardSchemeFactory()); + new selectKeyCclOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyStartstr_argsTupleSchemeFactory()); + new selectKeyCclOrder_argsTupleSchemeFactory()); } public String key; // required - public String start; // required + public String ccl; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -166024,10 +297979,11 @@ public static class diffKeyStartstr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - START((short) 2, "start"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + CCL((short) 2, "ccl"), + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -166045,13 +298001,15 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // START - return START; - case 3: // CREDS + case 2: // CCL + return CCL; + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -166106,11 +298064,17 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -166130,18 +298094,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyStartstr_args.class, metaDataMap); + selectKeyCclOrder_args.class, metaDataMap); } - public diffKeyStartstr_args() {} + public selectKeyCclOrder_args() {} - public diffKeyStartstr_args(String key, String start, + public selectKeyCclOrder_args(String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.start = start; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -166150,12 +298116,16 @@ public diffKeyStartstr_args(String key, String start, /** * Performs a deep copy on other. */ - public diffKeyStartstr_args(diffKeyStartstr_args other) { + public selectKeyCclOrder_args(selectKeyCclOrder_args other) { if(other.isSetKey()) { this.key = other.key; } - if(other.isSetStart()) { - this.start = other.start; + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -166170,14 +298140,15 @@ public diffKeyStartstr_args(diffKeyStartstr_args other) { } } - public diffKeyStartstr_args deepCopy() { - return new diffKeyStartstr_args(this); + public selectKeyCclOrder_args deepCopy() { + return new selectKeyCclOrder_args(this); } @Override public void clear() { this.key = null; - this.start = null; + this.ccl = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -166187,7 +298158,7 @@ public String getKey() { return this.key; } - public diffKeyStartstr_args setKey(String key) { + public selectKeyCclOrder_args setKey(String key) { this.key = key; return this; } @@ -166210,30 +298181,58 @@ public void setKeyIsSet(boolean value) { } } - public String getStart() { - return this.start; + public String getCcl() { + return this.ccl; } - public diffKeyStartstr_args setStart(String start) { - this.start = start; + public selectKeyCclOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetStart() { - this.start = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setStartIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.start = null; + this.ccl = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeyCclOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; } } @@ -166241,7 +298240,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffKeyStartstr_args setCreds( + public selectKeyCclOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -166269,7 +298268,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffKeyStartstr_args setTransaction( + public selectKeyCclOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -166297,7 +298296,7 @@ public String getEnvironment() { return this.environment; } - public diffKeyStartstr_args setEnvironment(String environment) { + public selectKeyCclOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -166331,12 +298330,21 @@ public void setFieldValue(_Fields field, Object value) { } break; - case START: + case CCL: if(value == null) { - unsetStart(); + unsetCcl(); } else { - setStart((String) value); + setCcl((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -166376,8 +298384,11 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case START: - return getStart(); + case CCL: + return getCcl(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -166404,8 +298415,10 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case START: - return isSetStart(); + case CCL: + return isSetCcl(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -166420,12 +298433,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyStartstr_args) - return this.equals((diffKeyStartstr_args) that); + if(that instanceof selectKeyCclOrder_args) + return this.equals((selectKeyCclOrder_args) that); return false; } - public boolean equals(diffKeyStartstr_args that) { + public boolean equals(selectKeyCclOrder_args that) { if(that == null) return false; @@ -166438,12 +298451,21 @@ public boolean equals(diffKeyStartstr_args that) { return false; } - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.start.equals(that.start)) + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -166486,10 +298508,15 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -166510,7 +298537,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyStartstr_args other) { + public int compareTo(selectKeyCclOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -166530,14 +298557,26 @@ public int compareTo(diffKeyStartstr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -166597,7 +298636,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyStartstr_args("); + StringBuilder sb = new StringBuilder("selectKeyCclOrder_args("); boolean first = true; sb.append("key:"); @@ -166610,12 +298649,22 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("start:"); - if(this.start == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.start); + sb.append(this.ccl); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -166655,6 +298704,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -166687,18 +298739,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyStartstr_argsStandardSchemeFactory + private static class selectKeyCclOrder_argsStandardSchemeFactory implements SchemeFactory { - public diffKeyStartstr_argsStandardScheme getScheme() { - return new diffKeyStartstr_argsStandardScheme(); + public selectKeyCclOrder_argsStandardScheme getScheme() { + return new selectKeyCclOrder_argsStandardScheme(); } } - private static class diffKeyStartstr_argsStandardScheme - extends StandardScheme { + private static class selectKeyCclOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyStartstr_args struct) + selectKeyCclOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -166718,17 +298770,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // START + case 2: // CCL if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -166739,7 +298802,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -166750,7 +298813,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -166774,7 +298837,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyStartstr_args struct) + selectKeyCclOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -166784,9 +298847,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -166810,43 +298878,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyStartstr_argsTupleSchemeFactory + private static class selectKeyCclOrder_argsTupleSchemeFactory implements SchemeFactory { - public diffKeyStartstr_argsTupleScheme getScheme() { - return new diffKeyStartstr_argsTupleScheme(); + public selectKeyCclOrder_argsTupleScheme getScheme() { + return new selectKeyCclOrder_argsTupleScheme(); } } - private static class diffKeyStartstr_argsTupleScheme - extends TupleScheme { + private static class selectKeyCclOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartstr_args struct) + selectKeyCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetStart()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -166861,29 +298935,34 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartstr_args struct) + selectKeyCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -166892,13 +298971,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyStartstr_result implements - org.apache.thrift.TBase, + public static class selectKeyCclOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyStartstr_result"); + "selectKeyCclOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -166914,12 +298993,12 @@ public static class diffKeyStartstr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyStartstr_resultStandardSchemeFactory()); + new selectKeyCclOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyStartstr_resultTupleSchemeFactory()); + new selectKeyCclOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -167013,18 +299092,13 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -167047,13 +299121,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyStartstr_result.class, metaDataMap); + selectKeyCclOrder_result.class, metaDataMap); } - public diffKeyStartstr_result() {} + public selectKeyCclOrder_result() {} - public diffKeyStartstr_result( - Map>> success, + public selectKeyCclOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -167069,39 +299143,25 @@ public diffKeyStartstr_result( /** * Performs a deep copy on other. */ - public diffKeyStartstr_result(diffKeyStartstr_result other) { + public selectKeyCclOrder_result(selectKeyCclOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - com.cinchapi.concourse.thrift.TObject other_element_key = other_element - .getKey(); - Map> other_element_value = other_element + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element .getValue(); - com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( - other_element_key); + Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Set __this__success_copy_value = new LinkedHashSet( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); } __this__success.put(__this__success_copy_key, @@ -167127,8 +299187,8 @@ public diffKeyStartstr_result(diffKeyStartstr_result other) { } } - public diffKeyStartstr_result deepCopy() { - return new diffKeyStartstr_result(this); + public selectKeyCclOrder_result deepCopy() { + return new selectKeyCclOrder_result(this); } @Override @@ -167144,20 +299204,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, - Map> val) { + public void putToSuccess(long key, + Set val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public diffKeyStartstr_result setSuccess( - Map>> success) { + public selectKeyCclOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -167184,7 +299244,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffKeyStartstr_result setEx( + public selectKeyCclOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -167212,7 +299272,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffKeyStartstr_result setEx2( + public selectKeyCclOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -167240,7 +299300,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public diffKeyStartstr_result setEx3( + public selectKeyCclOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -167268,7 +299328,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public diffKeyStartstr_result setEx4( + public selectKeyCclOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -167300,7 +299360,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -167392,12 +299452,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyStartstr_result) - return this.equals((diffKeyStartstr_result) that); + if(that instanceof selectKeyCclOrder_result) + return this.equals((selectKeyCclOrder_result) that); return false; } - public boolean equals(diffKeyStartstr_result that) { + public boolean equals(selectKeyCclOrder_result that) { if(that == null) return false; @@ -167482,7 +299542,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyStartstr_result other) { + public int compareTo(selectKeyCclOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -167569,7 +299629,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyStartstr_result("); + StringBuilder sb = new StringBuilder("selectKeyCclOrder_result("); boolean first = true; sb.append("success:"); @@ -167653,18 +299713,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyStartstr_resultStandardSchemeFactory + private static class selectKeyCclOrder_resultStandardSchemeFactory implements SchemeFactory { - public diffKeyStartstr_resultStandardScheme getScheme() { - return new diffKeyStartstr_resultStandardScheme(); + public selectKeyCclOrder_resultStandardScheme getScheme() { + return new selectKeyCclOrder_resultStandardScheme(); } } - private static class diffKeyStartstr_resultStandardScheme - extends StandardScheme { + private static class selectKeyCclOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyStartstr_result struct) + selectKeyCclOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -167677,43 +299737,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map748 = iprot + org.apache.thrift.protocol.TMap _map2090 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map748.size); - com.cinchapi.concourse.thrift.TObject _key749; - Map> _val750; - for (int _i751 = 0; _i751 < _map748.size; ++_i751) { - _key749 = new com.cinchapi.concourse.thrift.TObject(); - _key749.read(iprot); + struct.success = new LinkedHashMap>( + 2 * _map2090.size); + long _key2091; + Set _val2092; + for (int _i2093 = 0; _i2093 < _map2090.size; ++_i2093) { + _key2091 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map752 = iprot - .readMapBegin(); - _val750 = new LinkedHashMap>( - 2 * _map752.size); - com.cinchapi.concourse.thrift.Diff _key753; - Set _val754; - for (int _i755 = 0; _i755 < _map752.size; ++_i755) { - _key753 = com.cinchapi.concourse.thrift.Diff - .findByValue( - iprot.readI32()); - { - org.apache.thrift.protocol.TSet _set756 = iprot - .readSetBegin(); - _val754 = new LinkedHashSet( - 2 * _set756.size); - long _elem757; - for (int _i758 = 0; _i758 < _set756.size; ++_i758) { - _elem757 = iprot.readI64(); - _val754.add(_elem757); - } - iprot.readSetEnd(); - } - _val750.put(_key753, _val754); + org.apache.thrift.protocol.TSet _set2094 = iprot + .readSetBegin(); + _val2092 = new LinkedHashSet( + 2 * _set2094.size); + com.cinchapi.concourse.thrift.TObject _elem2095; + for (int _i2096 = 0; _i2096 < _set2094.size; ++_i2096) { + _elem2095 = new com.cinchapi.concourse.thrift.TObject(); + _elem2095.read(iprot); + _val2092.add(_elem2095); } - iprot.readMapEnd(); + iprot.readSetEnd(); } - struct.success.put(_key749, _val750); + struct.success.put(_key2091, _val2092); } iprot.readMapEnd(); } @@ -167782,7 +299827,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyStartstr_result struct) + selectKeyCclOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -167791,36 +299836,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry>> _iter759 : struct.success + for (Map.Entry> _iter2097 : struct.success .entrySet()) { - _iter759.getKey().write(oprot); + oprot.writeI64(_iter2097.getKey()); { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, - _iter759.getValue().size())); - for (Map.Entry> _iter760 : _iter759 - .getValue().entrySet()) { - oprot.writeI32( - _iter760.getKey().getValue()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - _iter760.getValue() - .size())); - for (long _iter761 : _iter760 - .getValue()) { - oprot.writeI64(_iter761); - } - oprot.writeSetEnd(); - } + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2097.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2098 : _iter2097 + .getValue()) { + _iter2098.write(oprot); } - oprot.writeMapEnd(); + oprot.writeSetEnd(); } } oprot.writeMapEnd(); @@ -167853,19 +299884,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyStartstr_resultTupleSchemeFactory + private static class selectKeyCclOrder_resultTupleSchemeFactory implements SchemeFactory { - public diffKeyStartstr_resultTupleScheme getScheme() { - return new diffKeyStartstr_resultTupleScheme(); + public selectKeyCclOrder_resultTupleScheme getScheme() { + return new selectKeyCclOrder_resultTupleScheme(); } } - private static class diffKeyStartstr_resultTupleScheme - extends TupleScheme { + private static class selectKeyCclOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartstr_result struct) + selectKeyCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -167888,23 +299919,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter762 : struct.success + for (Map.Entry> _iter2099 : struct.success .entrySet()) { - _iter762.getKey().write(oprot); + oprot.writeI64(_iter2099.getKey()); { - oprot.writeI32(_iter762.getValue().size()); - for (Map.Entry> _iter763 : _iter762 - .getValue().entrySet()) { - oprot.writeI32( - _iter763.getKey().getValue()); - { - oprot.writeI32( - _iter763.getValue().size()); - for (long _iter764 : _iter763 - .getValue()) { - oprot.writeI64(_iter764); - } - } + oprot.writeI32(_iter2099.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2100 : _iter2099 + .getValue()) { + _iter2100.write(oprot); } } } @@ -167926,51 +299948,36 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartstr_result struct) + selectKeyCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map765 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TMap _map2101 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map765.size); - com.cinchapi.concourse.thrift.TObject _key766; - Map> _val767; - for (int _i768 = 0; _i768 < _map765.size; ++_i768) { - _key766 = new com.cinchapi.concourse.thrift.TObject(); - _key766.read(iprot); + struct.success = new LinkedHashMap>( + 2 * _map2101.size); + long _key2102; + Set _val2103; + for (int _i2104 = 0; _i2104 < _map2101.size; ++_i2104) { + _key2102 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map769 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TSet _set2105 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val767 = new LinkedHashMap>( - 2 * _map769.size); - com.cinchapi.concourse.thrift.Diff _key770; - Set _val771; - for (int _i772 = 0; _i772 < _map769.size; ++_i772) { - _key770 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); - { - org.apache.thrift.protocol.TSet _set773 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - _val771 = new LinkedHashSet( - 2 * _set773.size); - long _elem774; - for (int _i775 = 0; _i775 < _set773.size; ++_i775) { - _elem774 = iprot.readI64(); - _val771.add(_elem774); - } - } - _val767.put(_key770, _val771); + _val2103 = new LinkedHashSet( + 2 * _set2105.size); + com.cinchapi.concourse.thrift.TObject _elem2106; + for (int _i2107 = 0; _i2107 < _set2105.size; ++_i2107) { + _elem2106 = new com.cinchapi.concourse.thrift.TObject(); + _elem2106.read(iprot); + _val2103.add(_elem2106); } } - struct.success.put(_key766, _val767); + struct.success.put(_key2102, _val2103); } } struct.setSuccessIsSet(true); @@ -168000,20 +300007,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyStartEnd_args implements - org.apache.thrift.TBase, + public static class selectKeyCriteriaTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyStartEnd_args"); + "selectKeyCriteriaTime_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -168026,14 +300033,14 @@ public static class diffKeyStartEnd_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyStartEnd_argsStandardSchemeFactory()); + new selectKeyCriteriaTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyStartEnd_argsTupleSchemeFactory()); + new selectKeyCriteriaTime_argsTupleSchemeFactory()); } public String key; // required - public long start; // required - public long tend; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -168044,8 +300051,8 @@ public static class diffKeyStartEnd_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - START((short) 2, "start"), - TEND((short) 3, "tend"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -168066,10 +300073,10 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // START - return START; - case 3: // TEND - return TEND; + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP + return TIMESTAMP; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -168120,8 +300127,7 @@ public String getFieldName() { } // isset id assignments - private static final int __START_ISSET_ID = 0; - private static final int __TEND_ISSET_ID = 1; + private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { @@ -168132,13 +300138,14 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); @@ -168161,21 +300168,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyStartEnd_args.class, metaDataMap); + selectKeyCriteriaTime_args.class, metaDataMap); } - public diffKeyStartEnd_args() {} + public selectKeyCriteriaTime_args() {} - public diffKeyStartEnd_args(String key, long start, long tend, - com.cinchapi.concourse.thrift.AccessToken creds, + public selectKeyCriteriaTime_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.start = start; - setStartIsSet(true); - this.tend = tend; - setTendIsSet(true); + this.criteria = criteria; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -168184,13 +300191,16 @@ public diffKeyStartEnd_args(String key, long start, long tend, /** * Performs a deep copy on other. */ - public diffKeyStartEnd_args(diffKeyStartEnd_args other) { + public selectKeyCriteriaTime_args(selectKeyCriteriaTime_args other) { __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } - this.start = other.start; - this.tend = other.tend; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -168204,17 +300214,16 @@ public diffKeyStartEnd_args(diffKeyStartEnd_args other) { } } - public diffKeyStartEnd_args deepCopy() { - return new diffKeyStartEnd_args(this); + public selectKeyCriteriaTime_args deepCopy() { + return new selectKeyCriteriaTime_args(this); } @Override public void clear() { this.key = null; - setStartIsSet(false); - this.start = 0; - setTendIsSet(false); - this.tend = 0; + this.criteria = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; @@ -168224,7 +300233,7 @@ public String getKey() { return this.key; } - public diffKeyStartEnd_args setKey(String key) { + public selectKeyCriteriaTime_args setKey(String key) { this.key = key; return this; } @@ -168247,67 +300256,68 @@ public void setKeyIsSet(boolean value) { } } - public long getStart() { - return this.start; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public diffKeyStartEnd_args setStart(long start) { - this.start = start; - setStartIsSet(true); + public selectKeyCriteriaTime_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetStart() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __START_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return EncodingUtils.testBit(__isset_bitfield, __START_ISSET_ID); + public boolean isSetCriteria() { + return this.criteria != null; } - public void setStartIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __START_ISSET_ID, value); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } } - public long getTend() { - return this.tend; + public long getTimestamp() { + return this.timestamp; } - public diffKeyStartEnd_args setTend(long tend) { - this.tend = tend; - setTendIsSet(true); + public selectKeyCriteriaTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetTend() { + public void unsetTimestamp() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TEND_ISSET_ID); + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field tend is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetTend() { - return EncodingUtils.testBit(__isset_bitfield, __TEND_ISSET_ID); + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setTendIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TEND_ISSET_ID, value); + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffKeyStartEnd_args setCreds( + public selectKeyCriteriaTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -168335,7 +300345,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffKeyStartEnd_args setTransaction( + public selectKeyCriteriaTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -168363,7 +300373,7 @@ public String getEnvironment() { return this.environment; } - public diffKeyStartEnd_args setEnvironment(String environment) { + public selectKeyCriteriaTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -168397,21 +300407,22 @@ public void setFieldValue(_Fields field, Object value) { } break; - case START: + case CRITERIA: if(value == null) { - unsetStart(); + unsetCriteria(); } else { - setStart((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case TEND: + case TIMESTAMP: if(value == null) { - unsetTend(); + unsetTimestamp(); } else { - setTend((Long) value); + setTimestamp((Long) value); } break; @@ -168451,11 +300462,11 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case START: - return getStart(); + case CRITERIA: + return getCriteria(); - case TEND: - return getTend(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -168482,10 +300493,10 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -168500,12 +300511,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyStartEnd_args) - return this.equals((diffKeyStartEnd_args) that); + if(that instanceof selectKeyCriteriaTime_args) + return this.equals((selectKeyCriteriaTime_args) that); return false; } - public boolean equals(diffKeyStartEnd_args that) { + public boolean equals(selectKeyCriteriaTime_args that) { if(that == null) return false; @@ -168518,21 +300529,21 @@ public boolean equals(diffKeyStartEnd_args that) { return false; } - boolean this_present_start = true; - boolean that_present_start = true; - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.start != that.start) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_tend = true; - boolean that_present_tend = true; - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.tend != that.tend) + if(this.timestamp != that.timestamp) return false; } @@ -168575,15 +300586,15 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_start = true; - list.add(present_start); - if(present_start) - list.add(start); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_tend = true; - list.add(present_tend); - if(present_tend) - list.add(tend); + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -168604,7 +300615,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyStartEnd_args other) { + public int compareTo(selectKeyCriteriaTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -168624,26 +300635,26 @@ public int compareTo(diffKeyStartEnd_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetTend()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -168703,7 +300714,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyStartEnd_args("); + StringBuilder sb = new StringBuilder("selectKeyCriteriaTime_args("); boolean first = true; sb.append("key:"); @@ -168716,13 +300727,18 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("start:"); - sb.append(this.start); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } first = false; if(!first) sb.append(", "); - sb.append("tend:"); - sb.append(this.tend); + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -168761,6 +300777,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -168797,18 +300816,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyStartEnd_argsStandardSchemeFactory + private static class selectKeyCriteriaTime_argsStandardSchemeFactory implements SchemeFactory { - public diffKeyStartEnd_argsStandardScheme getScheme() { - return new diffKeyStartEnd_argsStandardScheme(); + public selectKeyCriteriaTime_argsStandardScheme getScheme() { + return new selectKeyCriteriaTime_argsStandardScheme(); } } - private static class diffKeyStartEnd_argsStandardScheme - extends StandardScheme { + private static class selectKeyCriteriaTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyStartEnd_args struct) + selectKeyCriteriaTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -168828,20 +300847,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // START - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TEND + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -168894,7 +300914,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyStartEnd_args struct) + selectKeyCriteriaTime_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -168904,11 +300924,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeI64(struct.start); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeI64(struct.tend); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); @@ -168931,29 +300953,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyStartEnd_argsTupleSchemeFactory + private static class selectKeyCriteriaTime_argsTupleSchemeFactory implements SchemeFactory { - public diffKeyStartEnd_argsTupleScheme getScheme() { - return new diffKeyStartEnd_argsTupleScheme(); + public selectKeyCriteriaTime_argsTupleScheme getScheme() { + return new selectKeyCriteriaTime_argsTupleScheme(); } } - private static class diffKeyStartEnd_argsTupleScheme - extends TupleScheme { + private static class selectKeyCriteriaTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartEnd_args struct) + selectKeyCriteriaTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetStart()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetTend()) { + if(struct.isSetTimestamp()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -168969,11 +300991,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetStart()) { - oprot.writeI64(struct.start); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } - if(struct.isSetTend()) { - oprot.writeI64(struct.tend); + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -168988,7 +301010,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartEnd_args struct) + selectKeyCriteriaTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); @@ -168997,12 +301019,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readI64(); - struct.setStartIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { - struct.tend = iprot.readI64(); - struct.setTendIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -169023,13 +301046,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyStartEnd_result implements - org.apache.thrift.TBase, + public static class selectKeyCriteriaTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyStartEnd_result"); + "selectKeyCriteriaTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -169043,12 +301066,12 @@ public static class diffKeyStartEnd_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyStartEnd_resultStandardSchemeFactory()); + new selectKeyCriteriaTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyStartEnd_resultTupleSchemeFactory()); + new selectKeyCriteriaTime_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -169138,18 +301161,13 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -169167,13 +301185,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyStartEnd_result.class, metaDataMap); + selectKeyCriteriaTime_result.class, metaDataMap); } - public diffKeyStartEnd_result() {} + public selectKeyCriteriaTime_result() {} - public diffKeyStartEnd_result( - Map>> success, + public selectKeyCriteriaTime_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -169187,39 +301205,26 @@ public diffKeyStartEnd_result( /** * Performs a deep copy on other. */ - public diffKeyStartEnd_result(diffKeyStartEnd_result other) { + public selectKeyCriteriaTime_result( + selectKeyCriteriaTime_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - com.cinchapi.concourse.thrift.TObject other_element_key = other_element - .getKey(); - Map> other_element_value = other_element + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element .getValue(); - com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( - other_element_key); + Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Set __this__success_copy_value = new LinkedHashSet( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); } __this__success.put(__this__success_copy_key, @@ -169241,8 +301246,8 @@ public diffKeyStartEnd_result(diffKeyStartEnd_result other) { } } - public diffKeyStartEnd_result deepCopy() { - return new diffKeyStartEnd_result(this); + public selectKeyCriteriaTime_result deepCopy() { + return new selectKeyCriteriaTime_result(this); } @Override @@ -169257,20 +301262,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, - Map> val) { + public void putToSuccess(long key, + Set val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public diffKeyStartEnd_result setSuccess( - Map>> success) { + public selectKeyCriteriaTime_result setSuccess( + Map> success) { this.success = success; return this; } @@ -169297,7 +301302,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffKeyStartEnd_result setEx( + public selectKeyCriteriaTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -169325,7 +301330,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffKeyStartEnd_result setEx2( + public selectKeyCriteriaTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -169353,7 +301358,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public diffKeyStartEnd_result setEx3( + public selectKeyCriteriaTime_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -169385,7 +301390,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -169463,12 +301468,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyStartEnd_result) - return this.equals((diffKeyStartEnd_result) that); + if(that instanceof selectKeyCriteriaTime_result) + return this.equals((selectKeyCriteriaTime_result) that); return false; } - public boolean equals(diffKeyStartEnd_result that) { + public boolean equals(selectKeyCriteriaTime_result that) { if(that == null) return false; @@ -169539,7 +301544,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyStartEnd_result other) { + public int compareTo(selectKeyCriteriaTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -169614,7 +301619,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyStartEnd_result("); + StringBuilder sb = new StringBuilder( + "selectKeyCriteriaTime_result("); boolean first = true; sb.append("success:"); @@ -169688,18 +301694,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyStartEnd_resultStandardSchemeFactory + private static class selectKeyCriteriaTime_resultStandardSchemeFactory implements SchemeFactory { - public diffKeyStartEnd_resultStandardScheme getScheme() { - return new diffKeyStartEnd_resultStandardScheme(); + public selectKeyCriteriaTime_resultStandardScheme getScheme() { + return new selectKeyCriteriaTime_resultStandardScheme(); } } - private static class diffKeyStartEnd_resultStandardScheme - extends StandardScheme { + private static class selectKeyCriteriaTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyStartEnd_result struct) + selectKeyCriteriaTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -169712,43 +301718,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map776 = iprot + org.apache.thrift.protocol.TMap _map2108 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map776.size); - com.cinchapi.concourse.thrift.TObject _key777; - Map> _val778; - for (int _i779 = 0; _i779 < _map776.size; ++_i779) { - _key777 = new com.cinchapi.concourse.thrift.TObject(); - _key777.read(iprot); + struct.success = new LinkedHashMap>( + 2 * _map2108.size); + long _key2109; + Set _val2110; + for (int _i2111 = 0; _i2111 < _map2108.size; ++_i2111) { + _key2109 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map780 = iprot - .readMapBegin(); - _val778 = new LinkedHashMap>( - 2 * _map780.size); - com.cinchapi.concourse.thrift.Diff _key781; - Set _val782; - for (int _i783 = 0; _i783 < _map780.size; ++_i783) { - _key781 = com.cinchapi.concourse.thrift.Diff - .findByValue( - iprot.readI32()); - { - org.apache.thrift.protocol.TSet _set784 = iprot - .readSetBegin(); - _val782 = new LinkedHashSet( - 2 * _set784.size); - long _elem785; - for (int _i786 = 0; _i786 < _set784.size; ++_i786) { - _elem785 = iprot.readI64(); - _val782.add(_elem785); - } - iprot.readSetEnd(); - } - _val778.put(_key781, _val782); + org.apache.thrift.protocol.TSet _set2112 = iprot + .readSetBegin(); + _val2110 = new LinkedHashSet( + 2 * _set2112.size); + com.cinchapi.concourse.thrift.TObject _elem2113; + for (int _i2114 = 0; _i2114 < _set2112.size; ++_i2114) { + _elem2113 = new com.cinchapi.concourse.thrift.TObject(); + _elem2113.read(iprot); + _val2110.add(_elem2113); } - iprot.readMapEnd(); + iprot.readSetEnd(); } - struct.success.put(_key777, _val778); + struct.success.put(_key2109, _val2110); } iprot.readMapEnd(); } @@ -169806,7 +301797,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyStartEnd_result struct) + selectKeyCriteriaTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -169815,36 +301806,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry>> _iter787 : struct.success + for (Map.Entry> _iter2115 : struct.success .entrySet()) { - _iter787.getKey().write(oprot); + oprot.writeI64(_iter2115.getKey()); { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, - _iter787.getValue().size())); - for (Map.Entry> _iter788 : _iter787 - .getValue().entrySet()) { - oprot.writeI32( - _iter788.getKey().getValue()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - _iter788.getValue() - .size())); - for (long _iter789 : _iter788 - .getValue()) { - oprot.writeI64(_iter789); - } - oprot.writeSetEnd(); - } + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2115.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2116 : _iter2115 + .getValue()) { + _iter2116.write(oprot); } - oprot.writeMapEnd(); + oprot.writeSetEnd(); } } oprot.writeMapEnd(); @@ -169872,19 +301849,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyStartEnd_resultTupleSchemeFactory + private static class selectKeyCriteriaTime_resultTupleSchemeFactory implements SchemeFactory { - public diffKeyStartEnd_resultTupleScheme getScheme() { - return new diffKeyStartEnd_resultTupleScheme(); + public selectKeyCriteriaTime_resultTupleScheme getScheme() { + return new selectKeyCriteriaTime_resultTupleScheme(); } } - private static class diffKeyStartEnd_resultTupleScheme - extends TupleScheme { + private static class selectKeyCriteriaTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartEnd_result struct) + selectKeyCriteriaTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -169904,23 +301881,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter790 : struct.success + for (Map.Entry> _iter2117 : struct.success .entrySet()) { - _iter790.getKey().write(oprot); + oprot.writeI64(_iter2117.getKey()); { - oprot.writeI32(_iter790.getValue().size()); - for (Map.Entry> _iter791 : _iter790 - .getValue().entrySet()) { - oprot.writeI32( - _iter791.getKey().getValue()); - { - oprot.writeI32( - _iter791.getValue().size()); - for (long _iter792 : _iter791 - .getValue()) { - oprot.writeI64(_iter792); - } - } + oprot.writeI32(_iter2117.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2118 : _iter2117 + .getValue()) { + _iter2118.write(oprot); } } } @@ -169939,51 +301907,36 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartEnd_result struct) + selectKeyCriteriaTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map793 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TMap _map2119 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map793.size); - com.cinchapi.concourse.thrift.TObject _key794; - Map> _val795; - for (int _i796 = 0; _i796 < _map793.size; ++_i796) { - _key794 = new com.cinchapi.concourse.thrift.TObject(); - _key794.read(iprot); + struct.success = new LinkedHashMap>( + 2 * _map2119.size); + long _key2120; + Set _val2121; + for (int _i2122 = 0; _i2122 < _map2119.size; ++_i2122) { + _key2120 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map797 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TSet _set2123 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val795 = new LinkedHashMap>( - 2 * _map797.size); - com.cinchapi.concourse.thrift.Diff _key798; - Set _val799; - for (int _i800 = 0; _i800 < _map797.size; ++_i800) { - _key798 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); - { - org.apache.thrift.protocol.TSet _set801 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - _val799 = new LinkedHashSet( - 2 * _set801.size); - long _elem802; - for (int _i803 = 0; _i803 < _set801.size; ++_i803) { - _elem802 = iprot.readI64(); - _val799.add(_elem802); - } - } - _val795.put(_key798, _val799); + _val2121 = new LinkedHashSet( + 2 * _set2123.size); + com.cinchapi.concourse.thrift.TObject _elem2124; + for (int _i2125 = 0; _i2125 < _set2123.size; ++_i2125) { + _elem2124 = new com.cinchapi.concourse.thrift.TObject(); + _elem2124.read(iprot); + _val2121.add(_elem2124); } } - struct.success.put(_key794, _val795); + struct.success.put(_key2120, _val2121); } } struct.setSuccessIsSet(true); @@ -170008,40 +301961,43 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyStartstrEndstr_args implements - org.apache.thrift.TBase, + public static class selectKeyCriteriaTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyStartstrEndstr_args"); + "selectKeyCriteriaTimeOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField( - "start", org.apache.thrift.protocol.TType.STRING, (short) 2); - private static final org.apache.thrift.protocol.TField TEND_FIELD_DESC = new org.apache.thrift.protocol.TField( - "tend", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyStartstrEndstr_argsStandardSchemeFactory()); + new selectKeyCriteriaTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyStartstrEndstr_argsTupleSchemeFactory()); + new selectKeyCriteriaTimeOrder_argsTupleSchemeFactory()); } public String key; // required - public String start; // required - public String tend; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -170052,11 +302008,12 @@ public static class diffKeyStartstrEndstr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - START((short) 2, "start"), - TEND((short) 3, "tend"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -170074,15 +302031,17 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // START - return START; - case 3: // TEND - return TEND; - case 4: // CREDS + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 5: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -170128,6 +302087,8 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -170137,16 +302098,23 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.START, - new org.apache.thrift.meta_data.FieldMetaData("start", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TEND, - new org.apache.thrift.meta_data.FieldMetaData("tend", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -170166,19 +302134,23 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyStartstrEndstr_args.class, metaDataMap); + selectKeyCriteriaTimeOrder_args.class, metaDataMap); } - public diffKeyStartstrEndstr_args() {} + public selectKeyCriteriaTimeOrder_args() {} - public diffKeyStartstrEndstr_args(String key, String start, String tend, + public selectKeyCriteriaTimeOrder_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.start = start; - this.tend = tend; + this.criteria = criteria; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -170187,15 +302159,20 @@ public diffKeyStartstrEndstr_args(String key, String start, String tend, /** * Performs a deep copy on other. */ - public diffKeyStartstrEndstr_args(diffKeyStartstrEndstr_args other) { + public selectKeyCriteriaTimeOrder_args( + selectKeyCriteriaTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } - if(other.isSetStart()) { - this.start = other.start; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - if(other.isSetTend()) { - this.tend = other.tend; + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -170210,15 +302187,17 @@ public diffKeyStartstrEndstr_args(diffKeyStartstrEndstr_args other) { } } - public diffKeyStartstrEndstr_args deepCopy() { - return new diffKeyStartstrEndstr_args(this); + public selectKeyCriteriaTimeOrder_args deepCopy() { + return new selectKeyCriteriaTimeOrder_args(this); } @Override public void clear() { this.key = null; - this.start = null; - this.tend = null; + this.criteria = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -170228,7 +302207,7 @@ public String getKey() { return this.key; } - public diffKeyStartstrEndstr_args setKey(String key) { + public selectKeyCriteriaTimeOrder_args setKey(String key) { this.key = key; return this; } @@ -170251,57 +302230,88 @@ public void setKeyIsSet(boolean value) { } } - public String getStart() { - return this.start; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public diffKeyStartstrEndstr_args setStart(String start) { - this.start = start; + public selectKeyCriteriaTimeOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetStart() { - this.start = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field start is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetStart() { - return this.start != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setStartIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.start = null; + this.criteria = null; } } - public String getTend() { - return this.tend; + public long getTimestamp() { + return this.timestamp; } - public diffKeyStartstrEndstr_args setTend(String tend) { - this.tend = tend; + public selectKeyCriteriaTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetTend() { - this.tend = null; + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field tend is set (has been assigned a value) and + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeyCriteriaTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetTend() { - return this.tend != null; + public boolean isSetOrder() { + return this.order != null; } - public void setTendIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.tend = null; + this.order = null; } } @@ -170309,7 +302319,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public diffKeyStartstrEndstr_args setCreds( + public selectKeyCriteriaTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -170337,7 +302347,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public diffKeyStartstrEndstr_args setTransaction( + public selectKeyCriteriaTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -170365,7 +302375,8 @@ public String getEnvironment() { return this.environment; } - public diffKeyStartstrEndstr_args setEnvironment(String environment) { + public selectKeyCriteriaTimeOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -170399,21 +302410,31 @@ public void setFieldValue(_Fields field, Object value) { } break; - case START: + case CRITERIA: if(value == null) { - unsetStart(); + unsetCriteria(); } else { - setStart((String) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case TEND: + case TIMESTAMP: if(value == null) { - unsetTend(); + unsetTimestamp(); } else { - setTend((String) value); + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -170453,11 +302474,14 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case START: - return getStart(); + case CRITERIA: + return getCriteria(); - case TEND: - return getTend(); + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -170484,10 +302508,12 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case START: - return isSetStart(); - case TEND: - return isSetTend(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -170502,12 +302528,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyStartstrEndstr_args) - return this.equals((diffKeyStartstrEndstr_args) that); + if(that instanceof selectKeyCriteriaTimeOrder_args) + return this.equals((selectKeyCriteriaTimeOrder_args) that); return false; } - public boolean equals(diffKeyStartstrEndstr_args that) { + public boolean equals(selectKeyCriteriaTimeOrder_args that) { if(that == null) return false; @@ -170520,21 +302546,30 @@ public boolean equals(diffKeyStartstrEndstr_args that) { return false; } - boolean this_present_start = true && this.isSetStart(); - boolean that_present_start = true && that.isSetStart(); - if(this_present_start || that_present_start) { - if(!(this_present_start && that_present_start)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.start.equals(that.start)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_tend = true && this.isSetTend(); - boolean that_present_tend = true && that.isSetTend(); - if(this_present_tend || that_present_tend) { - if(!(this_present_tend && that_present_tend)) + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.tend.equals(that.tend)) + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -170577,15 +302612,20 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_start = true && (isSetStart()); - list.add(present_start); - if(present_start) - list.add(start); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_tend = true && (isSetTend()); - list.add(present_tend); - if(present_tend) - list.add(tend); + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -170606,7 +302646,7 @@ public int hashCode() { } @Override - public int compareTo(diffKeyStartstrEndstr_args other) { + public int compareTo(selectKeyCriteriaTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -170626,26 +302666,38 @@ public int compareTo(diffKeyStartstrEndstr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetStart()) - .compareTo(other.isSetStart()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetStart()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.start, other.start); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTend()) - .compareTo(other.isSetTend()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetTend()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.tend, other.tend); + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -170705,7 +302757,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("diffKeyStartstrEndstr_args("); + StringBuilder sb = new StringBuilder( + "selectKeyCriteriaTimeOrder_args("); boolean first = true; sb.append("key:"); @@ -170718,22 +302771,27 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("start:"); - if(this.start == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.start); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("tend:"); - if(this.tend == null) { + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.tend); + sb.append(this.order); } first = false; if(!first) @@ -170773,6 +302831,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -170796,6 +302860,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -170805,18 +302873,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyStartstrEndstr_argsStandardSchemeFactory + private static class selectKeyCriteriaTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public diffKeyStartstrEndstr_argsStandardScheme getScheme() { - return new diffKeyStartstrEndstr_argsStandardScheme(); + public selectKeyCriteriaTimeOrder_argsStandardScheme getScheme() { + return new selectKeyCriteriaTimeOrder_argsStandardScheme(); } } - private static class diffKeyStartstrEndstr_argsStandardScheme - extends StandardScheme { + private static class selectKeyCriteriaTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyStartstrEndstr_args struct) + selectKeyCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -170836,27 +302904,39 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // START - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TEND - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -170867,7 +302947,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -170878,7 +302958,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -170902,7 +302982,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyStartstrEndstr_args struct) + selectKeyCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -170912,14 +302992,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.start != null) { - oprot.writeFieldBegin(START_FIELD_DESC); - oprot.writeString(struct.start); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - if(struct.tend != null) { - oprot.writeFieldBegin(TEND_FIELD_DESC); - oprot.writeString(struct.tend); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -170943,49 +303026,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class diffKeyStartstrEndstr_argsTupleSchemeFactory + private static class selectKeyCriteriaTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public diffKeyStartstrEndstr_argsTupleScheme getScheme() { - return new diffKeyStartstrEndstr_argsTupleScheme(); + public selectKeyCriteriaTimeOrder_argsTupleScheme getScheme() { + return new selectKeyCriteriaTimeOrder_argsTupleScheme(); } } - private static class diffKeyStartstrEndstr_argsTupleScheme - extends TupleScheme { + private static class selectKeyCriteriaTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartstrEndstr_args struct) + selectKeyCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetStart()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetTend()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetStart()) { - oprot.writeString(struct.start); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } - if(struct.isSetTend()) { - oprot.writeString(struct.tend); + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -171000,33 +303089,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartstrEndstr_args struct) + selectKeyCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.start = iprot.readString(); - struct.setStartIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { - struct.tend = iprot.readString(); - struct.setTendIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -171035,13 +303130,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class diffKeyStartstrEndstr_result implements - org.apache.thrift.TBase, + public static class selectKeyCriteriaTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "diffKeyStartstrEndstr_result"); + "selectKeyCriteriaTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -171051,22 +303146,19 @@ public static class diffKeyStartstrEndstr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new diffKeyStartstrEndstr_resultStandardSchemeFactory()); + new selectKeyCriteriaTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new diffKeyStartstrEndstr_resultTupleSchemeFactory()); + new selectKeyCriteriaTimeOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -171076,8 +303168,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -171101,8 +303192,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -171156,18 +303245,13 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Diff.class), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -171183,69 +303267,48 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - diffKeyStartstrEndstr_result.class, metaDataMap); + selectKeyCriteriaTimeOrder_result.class, metaDataMap); } - public diffKeyStartstrEndstr_result() {} + public selectKeyCriteriaTimeOrder_result() {} - public diffKeyStartstrEndstr_result( - Map>> success, + public selectKeyCriteriaTimeOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public diffKeyStartstrEndstr_result( - diffKeyStartstrEndstr_result other) { + public selectKeyCriteriaTimeOrder_result( + selectKeyCriteriaTimeOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - com.cinchapi.concourse.thrift.TObject other_element_key = other_element - .getKey(); - Map> other_element_value = other_element + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element .getValue(); - com.cinchapi.concourse.thrift.TObject __this__success_copy_key = new com.cinchapi.concourse.thrift.TObject( - other_element_key); + Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Set __this__success_copy_value = new LinkedHashSet( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - com.cinchapi.concourse.thrift.Diff other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - com.cinchapi.concourse.thrift.Diff __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); } __this__success.put(__this__success_copy_key, @@ -171262,17 +303325,13 @@ public diffKeyStartstrEndstr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public diffKeyStartstrEndstr_result deepCopy() { - return new diffKeyStartstrEndstr_result(this); + public selectKeyCriteriaTimeOrder_result deepCopy() { + return new selectKeyCriteriaTimeOrder_result(this); } @Override @@ -171281,27 +303340,26 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(com.cinchapi.concourse.thrift.TObject key, - Map> val) { + public void putToSuccess(long key, + Set val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public diffKeyStartstrEndstr_result setSuccess( - Map>> success) { + public selectKeyCriteriaTimeOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -171328,7 +303386,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public diffKeyStartstrEndstr_result setEx( + public selectKeyCriteriaTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -171356,7 +303414,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public diffKeyStartstrEndstr_result setEx2( + public selectKeyCriteriaTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -171380,12 +303438,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public diffKeyStartstrEndstr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public selectKeyCriteriaTimeOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -171408,34 +303466,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public diffKeyStartstrEndstr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -171444,7 +303474,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -171471,16 +303501,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -171501,9 +303522,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -171526,8 +303544,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -171536,12 +303552,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof diffKeyStartstrEndstr_result) - return this.equals((diffKeyStartstrEndstr_result) that); + if(that instanceof selectKeyCriteriaTimeOrder_result) + return this.equals((selectKeyCriteriaTimeOrder_result) that); return false; } - public boolean equals(diffKeyStartstrEndstr_result that) { + public boolean equals(selectKeyCriteriaTimeOrder_result that) { if(that == null) return false; @@ -171581,15 +303597,6 @@ public boolean equals(diffKeyStartstrEndstr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -171617,16 +303624,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(diffKeyStartstrEndstr_result other) { + public int compareTo(selectKeyCriteriaTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -171682,18 +303684,6 @@ public int compareTo(diffKeyStartstrEndstr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -171714,7 +303704,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "diffKeyStartstrEndstr_result("); + "selectKeyCriteriaTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -171755,16 +303745,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -171798,18 +303778,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class diffKeyStartstrEndstr_resultStandardSchemeFactory + private static class selectKeyCriteriaTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public diffKeyStartstrEndstr_resultStandardScheme getScheme() { - return new diffKeyStartstrEndstr_resultStandardScheme(); + public selectKeyCriteriaTimeOrder_resultStandardScheme getScheme() { + return new selectKeyCriteriaTimeOrder_resultStandardScheme(); } } - private static class diffKeyStartstrEndstr_resultStandardScheme - extends StandardScheme { + private static class selectKeyCriteriaTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - diffKeyStartstrEndstr_result struct) + selectKeyCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -171822,43 +303802,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map804 = iprot + org.apache.thrift.protocol.TMap _map2126 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map804.size); - com.cinchapi.concourse.thrift.TObject _key805; - Map> _val806; - for (int _i807 = 0; _i807 < _map804.size; ++_i807) { - _key805 = new com.cinchapi.concourse.thrift.TObject(); - _key805.read(iprot); + struct.success = new LinkedHashMap>( + 2 * _map2126.size); + long _key2127; + Set _val2128; + for (int _i2129 = 0; _i2129 < _map2126.size; ++_i2129) { + _key2127 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map808 = iprot - .readMapBegin(); - _val806 = new LinkedHashMap>( - 2 * _map808.size); - com.cinchapi.concourse.thrift.Diff _key809; - Set _val810; - for (int _i811 = 0; _i811 < _map808.size; ++_i811) { - _key809 = com.cinchapi.concourse.thrift.Diff - .findByValue( - iprot.readI32()); - { - org.apache.thrift.protocol.TSet _set812 = iprot - .readSetBegin(); - _val810 = new LinkedHashSet( - 2 * _set812.size); - long _elem813; - for (int _i814 = 0; _i814 < _set812.size; ++_i814) { - _elem813 = iprot.readI64(); - _val810.add(_elem813); - } - iprot.readSetEnd(); - } - _val806.put(_key809, _val810); + org.apache.thrift.protocol.TSet _set2130 = iprot + .readSetBegin(); + _val2128 = new LinkedHashSet( + 2 * _set2130.size); + com.cinchapi.concourse.thrift.TObject _elem2131; + for (int _i2132 = 0; _i2132 < _set2130.size; ++_i2132) { + _elem2131 = new com.cinchapi.concourse.thrift.TObject(); + _elem2131.read(iprot); + _val2128.add(_elem2131); } - iprot.readMapEnd(); + iprot.readSetEnd(); } - struct.success.put(_key805, _val806); + struct.success.put(_key2127, _val2128); } iprot.readMapEnd(); } @@ -171893,7 +303858,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -171902,17 +303867,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -171927,7 +303881,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - diffKeyStartstrEndstr_result struct) + selectKeyCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -171936,36 +303890,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry>> _iter815 : struct.success + for (Map.Entry> _iter2133 : struct.success .entrySet()) { - _iter815.getKey().write(oprot); + oprot.writeI64(_iter2133.getKey()); { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, - _iter815.getValue().size())); - for (Map.Entry> _iter816 : _iter815 - .getValue().entrySet()) { - oprot.writeI32( - _iter816.getKey().getValue()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - _iter816.getValue() - .size())); - for (long _iter817 : _iter816 - .getValue()) { - oprot.writeI64(_iter817); - } - oprot.writeSetEnd(); - } + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2133.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2134 : _iter2133 + .getValue()) { + _iter2134.write(oprot); } - oprot.writeMapEnd(); + oprot.writeSetEnd(); } } oprot.writeMapEnd(); @@ -171987,30 +303927,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class diffKeyStartstrEndstr_resultTupleSchemeFactory + private static class selectKeyCriteriaTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public diffKeyStartstrEndstr_resultTupleScheme getScheme() { - return new diffKeyStartstrEndstr_resultTupleScheme(); + public selectKeyCriteriaTimeOrder_resultTupleScheme getScheme() { + return new selectKeyCriteriaTimeOrder_resultTupleScheme(); } } - private static class diffKeyStartstrEndstr_resultTupleScheme - extends TupleScheme { + private static class selectKeyCriteriaTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartstrEndstr_result struct) + selectKeyCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -172026,30 +303961,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter818 : struct.success + for (Map.Entry> _iter2135 : struct.success .entrySet()) { - _iter818.getKey().write(oprot); + oprot.writeI64(_iter2135.getKey()); { - oprot.writeI32(_iter818.getValue().size()); - for (Map.Entry> _iter819 : _iter818 - .getValue().entrySet()) { - oprot.writeI32( - _iter819.getKey().getValue()); - { - oprot.writeI32( - _iter819.getValue().size()); - for (long _iter820 : _iter819 - .getValue()) { - oprot.writeI64(_iter820); - } - } + oprot.writeI32(_iter2135.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2136 : _iter2135 + .getValue()) { + _iter2136.write(oprot); } } } @@ -172064,58 +303987,40 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - diffKeyStartstrEndstr_result struct) + selectKeyCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map821 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRUCT, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TMap _map2137 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map821.size); - com.cinchapi.concourse.thrift.TObject _key822; - Map> _val823; - for (int _i824 = 0; _i824 < _map821.size; ++_i824) { - _key822 = new com.cinchapi.concourse.thrift.TObject(); - _key822.read(iprot); + struct.success = new LinkedHashMap>( + 2 * _map2137.size); + long _key2138; + Set _val2139; + for (int _i2140 = 0; _i2140 < _map2137.size; ++_i2140) { + _key2138 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map825 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I32, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TSet _set2141 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val823 = new LinkedHashMap>( - 2 * _map825.size); - com.cinchapi.concourse.thrift.Diff _key826; - Set _val827; - for (int _i828 = 0; _i828 < _map825.size; ++_i828) { - _key826 = com.cinchapi.concourse.thrift.Diff - .findByValue(iprot.readI32()); - { - org.apache.thrift.protocol.TSet _set829 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - _val827 = new LinkedHashSet( - 2 * _set829.size); - long _elem830; - for (int _i831 = 0; _i831 < _set829.size; ++_i831) { - _elem830 = iprot.readI64(); - _val827.add(_elem830); - } - } - _val823.put(_key826, _val827); + _val2139 = new LinkedHashSet( + 2 * _set2141.size); + com.cinchapi.concourse.thrift.TObject _elem2142; + for (int _i2143 = 0; _i2143 < _set2141.size; ++_i2143) { + _elem2142 = new com.cinchapi.concourse.thrift.TObject(); + _elem2142.read(iprot); + _val2139.add(_elem2142); } } - struct.success.put(_key822, _val823); + struct.success.put(_key2138, _val2139); } } struct.setSuccessIsSet(true); @@ -172131,34 +304036,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class invokePlugin_args implements - org.apache.thrift.TBase, + public static class selectKeyCriteriaTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "invokePlugin_args"); + "selectKeyCriteriaTimestr_args"); - private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField( - "id", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField METHOD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "method", org.apache.thrift.protocol.TType.STRING, (short) 2); - private static final org.apache.thrift.protocol.TField PARAMS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "params", org.apache.thrift.protocol.TType.LIST, (short) 3); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -172171,14 +304072,14 @@ public static class invokePlugin_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new invokePlugin_argsStandardSchemeFactory()); + new selectKeyCriteriaTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new invokePlugin_argsTupleSchemeFactory()); + new selectKeyCriteriaTimestr_argsTupleSchemeFactory()); } - public String id; // required - public String method; // required - public List params; // required + public String key; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -172188,9 +304089,9 @@ public static class invokePlugin_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - ID((short) 1, "id"), - METHOD((short) 2, "method"), - PARAMS((short) 3, "params"), + KEY((short) 1, "key"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -172209,12 +304110,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // ID - return ID; - case 2: // METHOD - return METHOD; - case 3: // PARAMS - return PARAMS; + case 1: // KEY + return KEY; + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP + return TIMESTAMP; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -172269,24 +304170,22 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.ID, - new org.apache.thrift.meta_data.FieldMetaData("id", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.METHOD, - new org.apache.thrift.meta_data.FieldMetaData("method", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.PARAMS, - new org.apache.thrift.meta_data.FieldMetaData("params", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.ComplexTObject.class)))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -172305,21 +304204,22 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(invokePlugin_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyCriteriaTimestr_args.class, metaDataMap); } - public invokePlugin_args() {} + public selectKeyCriteriaTimestr_args() {} - public invokePlugin_args(String id, String method, - List params, + public selectKeyCriteriaTimestr_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.id = id; - this.method = method; - this.params = params; + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -172328,22 +304228,17 @@ public invokePlugin_args(String id, String method, /** * Performs a deep copy on other. */ - public invokePlugin_args(invokePlugin_args other) { - if(other.isSetId()) { - this.id = other.id; + public selectKeyCriteriaTimestr_args( + selectKeyCriteriaTimestr_args other) { + if(other.isSetKey()) { + this.key = other.key; } - if(other.isSetMethod()) { - this.method = other.method; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - if(other.isSetParams()) { - List __this__params = new ArrayList( - other.params.size()); - for (com.cinchapi.concourse.thrift.ComplexTObject other_element : other.params) { - __this__params - .add(new com.cinchapi.concourse.thrift.ComplexTObject( - other_element)); - } - this.params = __this__params; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -172358,115 +304253,99 @@ public invokePlugin_args(invokePlugin_args other) { } } - public invokePlugin_args deepCopy() { - return new invokePlugin_args(this); + public selectKeyCriteriaTimestr_args deepCopy() { + return new selectKeyCriteriaTimestr_args(this); } @Override public void clear() { - this.id = null; - this.method = null; - this.params = null; + this.key = null; + this.criteria = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getId() { - return this.id; + public String getKey() { + return this.key; } - public invokePlugin_args setId(String id) { - this.id = id; + public selectKeyCriteriaTimestr_args setKey(String key) { + this.key = key; return this; } - public void unsetId() { - this.id = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field id is set (has been assigned a value) and false - * otherwise + * Returns true if field key is set (has been assigned a value) and + * false otherwise */ - public boolean isSetId() { - return this.id != null; + public boolean isSetKey() { + return this.key != null; } - public void setIdIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.id = null; + this.key = null; } } - public String getMethod() { - return this.method; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public invokePlugin_args setMethod(String method) { - this.method = method; + public selectKeyCriteriaTimestr_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetMethod() { - this.method = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field method is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetMethod() { - return this.method != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setMethodIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.method = null; - } - } - - public int getParamsSize() { - return (this.params == null) ? 0 : this.params.size(); - } - - public java.util.Iterator getParamsIterator() { - return (this.params == null) ? null : this.params.iterator(); - } - - public void addToParams( - com.cinchapi.concourse.thrift.ComplexTObject elem) { - if(this.params == null) { - this.params = new ArrayList(); + this.criteria = null; } - this.params.add(elem); } - public List getParams() { - return this.params; + public String getTimestamp() { + return this.timestamp; } - public invokePlugin_args setParams( - List params) { - this.params = params; + public selectKeyCriteriaTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetParams() { - this.params = null; + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field params is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetParams() { - return this.params != null; + public boolean isSetTimestamp() { + return this.timestamp != null; } - public void setParamsIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { if(!value) { - this.params = null; + this.timestamp = null; } } @@ -172474,7 +304353,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public invokePlugin_args setCreds( + public selectKeyCriteriaTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -172502,7 +304381,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public invokePlugin_args setTransaction( + public selectKeyCriteriaTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -172530,7 +304409,8 @@ public String getEnvironment() { return this.environment; } - public invokePlugin_args setEnvironment(String environment) { + public selectKeyCriteriaTimestr_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -172555,31 +304435,31 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case ID: + case KEY: if(value == null) { - unsetId(); + unsetKey(); } else { - setId((String) value); + setKey((String) value); } break; - case METHOD: + case CRITERIA: if(value == null) { - unsetMethod(); + unsetCriteria(); } else { - setMethod((String) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case PARAMS: + case TIMESTAMP: if(value == null) { - unsetParams(); + unsetTimestamp(); } else { - setParams( - (List) value); + setTimestamp((String) value); } break; @@ -172616,14 +304496,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case ID: - return getId(); + case KEY: + return getKey(); - case METHOD: - return getMethod(); + case CRITERIA: + return getCriteria(); - case PARAMS: - return getParams(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -172648,12 +304528,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case ID: - return isSetId(); - case METHOD: - return isSetMethod(); - case PARAMS: - return isSetParams(); + case KEY: + return isSetKey(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -172668,39 +304548,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof invokePlugin_args) - return this.equals((invokePlugin_args) that); + if(that instanceof selectKeyCriteriaTimestr_args) + return this.equals((selectKeyCriteriaTimestr_args) that); return false; } - public boolean equals(invokePlugin_args that) { + public boolean equals(selectKeyCriteriaTimestr_args that) { if(that == null) return false; - boolean this_present_id = true && this.isSetId(); - boolean that_present_id = true && that.isSetId(); - if(this_present_id || that_present_id) { - if(!(this_present_id && that_present_id)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.id.equals(that.id)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_method = true && this.isSetMethod(); - boolean that_present_method = true && that.isSetMethod(); - if(this_present_method || that_present_method) { - if(!(this_present_method && that_present_method)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.method.equals(that.method)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_params = true && this.isSetParams(); - boolean that_present_params = true && that.isSetParams(); - if(this_present_params || that_present_params) { - if(!(this_present_params && that_present_params)) + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.params.equals(that.params)) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -172738,20 +304618,20 @@ public boolean equals(invokePlugin_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_id = true && (isSetId()); - list.add(present_id); - if(present_id) - list.add(id); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_method = true && (isSetMethod()); - list.add(present_method); - if(present_method) - list.add(method); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_params = true && (isSetParams()); - list.add(present_params); - if(present_params) - list.add(params); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -172772,7 +304652,7 @@ public int hashCode() { } @Override - public int compareTo(invokePlugin_args other) { + public int compareTo(selectKeyCriteriaTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -172780,38 +304660,38 @@ public int compareTo(invokePlugin_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetId()) - .compareTo(other.isSetId()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetId()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.id, other.id); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetMethod()) - .compareTo(other.isSetMethod()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetMethod()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.method, other.method); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetParams()) - .compareTo(other.isSetParams()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetParams()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.params, other.params); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -172871,35 +304751,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("invokePlugin_args("); + StringBuilder sb = new StringBuilder( + "selectKeyCriteriaTimestr_args("); boolean first = true; - sb.append("id:"); - if(this.id == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.id); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("method:"); - if(this.method == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.method); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("params:"); - if(this.params == null) { + sb.append("timestamp:"); + if(this.timestamp == null) { sb.append("null"); } else { - sb.append(this.params); + sb.append(this.timestamp); } first = false; if(!first) @@ -172939,6 +304820,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -172971,18 +304855,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class invokePlugin_argsStandardSchemeFactory + private static class selectKeyCriteriaTimestr_argsStandardSchemeFactory implements SchemeFactory { - public invokePlugin_argsStandardScheme getScheme() { - return new invokePlugin_argsStandardScheme(); + public selectKeyCriteriaTimestr_argsStandardScheme getScheme() { + return new selectKeyCriteriaTimestr_argsStandardScheme(); } } - private static class invokePlugin_argsStandardScheme - extends StandardScheme { + private static class selectKeyCriteriaTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - invokePlugin_args struct) + selectKeyCriteriaTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -172992,42 +304876,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // ID + case 1: // KEY if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.id = iprot.readString(); - struct.setIdIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // METHOD - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.method = iprot.readString(); - struct.setMethodIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // PARAMS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list832 = iprot - .readListBegin(); - struct.params = new ArrayList( - _list832.size); - com.cinchapi.concourse.thrift.ComplexTObject _elem833; - for (int _i834 = 0; _i834 < _list832.size; ++_i834) { - _elem833 = new com.cinchapi.concourse.thrift.ComplexTObject(); - _elem833.read(iprot); - struct.params.add(_elem833); - } - iprot.readListEnd(); - } - struct.setParamsIsSet(true); + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -173080,33 +304953,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - invokePlugin_args struct) + selectKeyCriteriaTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.id != null) { - oprot.writeFieldBegin(ID_FIELD_DESC); - oprot.writeString(struct.id); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.method != null) { - oprot.writeFieldBegin(METHOD_FIELD_DESC); - oprot.writeString(struct.method); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - if(struct.params != null) { - oprot.writeFieldBegin(PARAMS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRUCT, - struct.params.size())); - for (com.cinchapi.concourse.thrift.ComplexTObject _iter835 : struct.params) { - _iter835.write(oprot); - } - oprot.writeListEnd(); - } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -173130,29 +304994,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class invokePlugin_argsTupleSchemeFactory + private static class selectKeyCriteriaTimestr_argsTupleSchemeFactory implements SchemeFactory { - public invokePlugin_argsTupleScheme getScheme() { - return new invokePlugin_argsTupleScheme(); + public selectKeyCriteriaTimestr_argsTupleScheme getScheme() { + return new selectKeyCriteriaTimestr_argsTupleScheme(); } } - private static class invokePlugin_argsTupleScheme - extends TupleScheme { + private static class selectKeyCriteriaTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - invokePlugin_args struct) + selectKeyCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetId()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetMethod()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetParams()) { + if(struct.isSetTimestamp()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -173165,19 +305029,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetId()) { - oprot.writeString(struct.id); + if(struct.isSetKey()) { + oprot.writeString(struct.key); } - if(struct.isSetMethod()) { - oprot.writeString(struct.method); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } - if(struct.isSetParams()) { - { - oprot.writeI32(struct.params.size()); - for (com.cinchapi.concourse.thrift.ComplexTObject _iter836 : struct.params) { - _iter836.write(oprot); - } - } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -173192,33 +305051,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - invokePlugin_args struct) + selectKeyCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.id = iprot.readString(); - struct.setIdIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.method = iprot.readString(); - struct.setMethodIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { - { - org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - struct.params = new ArrayList( - _list837.size); - com.cinchapi.concourse.thrift.ComplexTObject _elem838; - for (int _i839 = 0; _i839 < _list837.size; ++_i839) { - _elem838 = new com.cinchapi.concourse.thrift.ComplexTObject(); - _elem838.read(iprot); - struct.params.add(_elem838); - } - } - struct.setParamsIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -173239,16 +305087,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class invokePlugin_result implements - org.apache.thrift.TBase, + public static class selectKeyCriteriaTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "invokePlugin_result"); + "selectKeyCriteriaTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -173261,15 +305109,15 @@ public static class invokePlugin_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new invokePlugin_resultStandardSchemeFactory()); + new selectKeyCriteriaTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new invokePlugin_resultTupleSchemeFactory()); + new selectKeyCriteriaTimestr_resultTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.ComplexTObject success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** @@ -173358,9 +305206,15 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.ComplexTObject.class))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -173383,16 +305237,16 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - invokePlugin_result.class, metaDataMap); + selectKeyCriteriaTimestr_result.class, metaDataMap); } - public invokePlugin_result() {} + public selectKeyCriteriaTimestr_result() {} - public invokePlugin_result( - com.cinchapi.concourse.thrift.ComplexTObject success, + public selectKeyCriteriaTimestr_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.InvalidArgumentException ex3, + com.cinchapi.concourse.thrift.ParseException ex3, com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; @@ -173405,10 +305259,32 @@ public invokePlugin_result( /** * Performs a deep copy on other. */ - public invokePlugin_result(invokePlugin_result other) { + public selectKeyCriteriaTimestr_result( + selectKeyCriteriaTimestr_result other) { if(other.isSetSuccess()) { - this.success = new com.cinchapi.concourse.thrift.ComplexTObject( - other.success); + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -173419,7 +305295,7 @@ public invokePlugin_result(invokePlugin_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } if(other.isSetEx4()) { @@ -173428,8 +305304,8 @@ public invokePlugin_result(invokePlugin_result other) { } } - public invokePlugin_result deepCopy() { - return new invokePlugin_result(this); + public selectKeyCriteriaTimestr_result deepCopy() { + return new selectKeyCriteriaTimestr_result(this); } @Override @@ -173441,12 +305317,24 @@ public void clear() { this.ex4 = null; } - public com.cinchapi.concourse.thrift.ComplexTObject getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { return this.success; } - public invokePlugin_result setSuccess( - com.cinchapi.concourse.thrift.ComplexTObject success) { + public selectKeyCriteriaTimestr_result setSuccess( + Map> success) { this.success = success; return this; } @@ -173473,7 +305361,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public invokePlugin_result setEx( + public selectKeyCriteriaTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -173501,7 +305389,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public invokePlugin_result setEx2( + public selectKeyCriteriaTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -173525,12 +305413,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public invokePlugin_result setEx3( - com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + public selectKeyCriteriaTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -173557,7 +305445,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public invokePlugin_result setEx4( + public selectKeyCriteriaTimestr_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -173589,7 +305477,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (com.cinchapi.concourse.thrift.ComplexTObject) value); + (Map>) value); } break; @@ -173616,7 +305504,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); } break; @@ -173681,12 +305569,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof invokePlugin_result) - return this.equals((invokePlugin_result) that); + if(that instanceof selectKeyCriteriaTimestr_result) + return this.equals((selectKeyCriteriaTimestr_result) that); return false; } - public boolean equals(invokePlugin_result that) { + public boolean equals(selectKeyCriteriaTimestr_result that) { if(that == null) return false; @@ -173771,7 +305659,7 @@ public int hashCode() { } @Override - public int compareTo(invokePlugin_result other) { + public int compareTo(selectKeyCriteriaTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -173858,7 +305746,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("invokePlugin_result("); + StringBuilder sb = new StringBuilder( + "selectKeyCriteriaTimestr_result("); boolean first = true; sb.append("success:"); @@ -173916,9 +305805,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) @@ -173945,18 +305831,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class invokePlugin_resultStandardSchemeFactory + private static class selectKeyCriteriaTimestr_resultStandardSchemeFactory implements SchemeFactory { - public invokePlugin_resultStandardScheme getScheme() { - return new invokePlugin_resultStandardScheme(); + public selectKeyCriteriaTimestr_resultStandardScheme getScheme() { + return new selectKeyCriteriaTimestr_resultStandardScheme(); } } - private static class invokePlugin_resultStandardScheme - extends StandardScheme { + private static class selectKeyCriteriaTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - invokePlugin_result struct) + selectKeyCriteriaTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -173967,9 +305853,33 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new com.cinchapi.concourse.thrift.ComplexTObject(); - struct.success.read(iprot); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map2144 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map2144.size); + long _key2145; + Set _val2146; + for (int _i2147 = 0; _i2147 < _map2144.size; ++_i2147) { + _key2145 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2148 = iprot + .readSetBegin(); + _val2146 = new LinkedHashSet( + 2 * _set2148.size); + com.cinchapi.concourse.thrift.TObject _elem2149; + for (int _i2150 = 0; _i2150 < _set2148.size; ++_i2150) { + _elem2149 = new com.cinchapi.concourse.thrift.TObject(); + _elem2149.read(iprot); + _val2146.add(_elem2149); + } + iprot.readSetEnd(); + } + struct.success.put(_key2145, _val2146); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -174001,7 +305911,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -174035,14 +305945,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - invokePlugin_result struct) + selectKeyCriteriaTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter2151 : struct.success + .entrySet()) { + oprot.writeI64(_iter2151.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2151.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2152 : _iter2151 + .getValue()) { + _iter2152.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -174071,19 +306002,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class invokePlugin_resultTupleSchemeFactory + private static class selectKeyCriteriaTimestr_resultTupleSchemeFactory implements SchemeFactory { - public invokePlugin_resultTupleScheme getScheme() { - return new invokePlugin_resultTupleScheme(); + public selectKeyCriteriaTimestr_resultTupleScheme getScheme() { + return new selectKeyCriteriaTimestr_resultTupleScheme(); } } - private static class invokePlugin_resultTupleScheme - extends TupleScheme { + private static class selectKeyCriteriaTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - invokePlugin_result struct) + selectKeyCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -174104,7 +306035,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, } oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - struct.success.write(oprot); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter2153 : struct.success + .entrySet()) { + oprot.writeI64(_iter2153.getKey()); + { + oprot.writeI32(_iter2153.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2154 : _iter2153 + .getValue()) { + _iter2154.write(oprot); + } + } + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -174122,13 +306066,38 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - invokePlugin_result struct) + selectKeyCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.success = new com.cinchapi.concourse.thrift.ComplexTObject(); - struct.success.read(iprot); + { + org.apache.thrift.protocol.TMap _map2155 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map2155.size); + long _key2156; + Set _val2157; + for (int _i2158 = 0; _i2158 < _map2155.size; ++_i2158) { + _key2156 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2159 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2157 = new LinkedHashSet( + 2 * _set2159.size); + com.cinchapi.concourse.thrift.TObject _elem2160; + for (int _i2161 = 0; _i2161 < _set2159.size; ++_i2161) { + _elem2160 = new com.cinchapi.concourse.thrift.TObject(); + _elem2160.read(iprot); + _val2157.add(_elem2160); + } + } + struct.success.put(_key2156, _val2157); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -174142,7 +306111,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -174156,31 +306125,46 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class login_args implements - org.apache.thrift.TBase, + public static class selectKeyCriteriaTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "login_args"); + "selectKeyCriteriaTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField USERNAME_FIELD_DESC = new org.apache.thrift.protocol.TField( - "username", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField PASSWORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "password", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 3); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new login_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new login_argsTupleSchemeFactory()); + new selectKeyCriteriaTimestrOrder_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new selectKeyCriteriaTimestrOrder_argsTupleSchemeFactory()); } - public ByteBuffer username; // required - public ByteBuffer password; // required + public String key; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required /** @@ -174188,9 +306172,13 @@ public static class login_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - USERNAME((short) 1, "username"), - PASSWORD((short) 2, "password"), - ENVIRONMENT((short) 3, "environment"); + KEY((short) 1, "key"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -174206,11 +306194,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // USERNAME - return USERNAME; - case 2: // PASSWORD - return PASSWORD; - case 3: // ENVIRONMENT + case 1: // KEY + return KEY; + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS + return CREDS; + case 6: // TRANSACTION + return TRANSACTION; + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -174260,139 +306256,279 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.USERNAME, - new org.apache.thrift.meta_data.FieldMetaData("username", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING, - true))); - tmpMap.put(_Fields.PASSWORD, - new org.apache.thrift.meta_data.FieldMetaData("password", + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING, - true))); + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); tmpMap.put(_Fields.ENVIRONMENT, new org.apache.thrift.meta_data.FieldMetaData("environment", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(login_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyCriteriaTimestrOrder_args.class, metaDataMap); } - public login_args() {} + public selectKeyCriteriaTimestrOrder_args() {} - public login_args(ByteBuffer username, ByteBuffer password, + public selectKeyCriteriaTimestrOrder_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.username = org.apache.thrift.TBaseHelper.copyBinary(username); - this.password = org.apache.thrift.TBaseHelper.copyBinary(password); + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; + this.order = order; + this.creds = creds; + this.transaction = transaction; this.environment = environment; } /** * Performs a deep copy on other. */ - public login_args(login_args other) { - if(other.isSetUsername()) { - this.username = org.apache.thrift.TBaseHelper - .copyBinary(other.username); + public selectKeyCriteriaTimestrOrder_args( + selectKeyCriteriaTimestrOrder_args other) { + if(other.isSetKey()) { + this.key = other.key; } - if(other.isSetPassword()) { - this.password = org.apache.thrift.TBaseHelper - .copyBinary(other.password); + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); } if(other.isSetEnvironment()) { this.environment = other.environment; } } - public login_args deepCopy() { - return new login_args(this); + public selectKeyCriteriaTimestrOrder_args deepCopy() { + return new selectKeyCriteriaTimestrOrder_args(this); } @Override public void clear() { - this.username = null; - this.password = null; + this.key = null; + this.criteria = null; + this.timestamp = null; + this.order = null; + this.creds = null; + this.transaction = null; this.environment = null; } - public byte[] getUsername() { - setUsername(org.apache.thrift.TBaseHelper.rightSize(username)); - return username == null ? null : username.array(); + public String getKey() { + return this.key; } - public ByteBuffer bufferForUsername() { - return org.apache.thrift.TBaseHelper.copyBinary(username); + public selectKeyCriteriaTimestrOrder_args setKey(String key) { + this.key = key; + return this; } - public login_args setUsername(byte[] username) { - this.username = username == null ? (ByteBuffer) null - : ByteBuffer.wrap(Arrays.copyOf(username, username.length)); - return this; + public void unsetKey() { + this.key = null; } - public login_args setUsername(ByteBuffer username) { - this.username = org.apache.thrift.TBaseHelper.copyBinary(username); + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; + } + + public selectKeyCriteriaTimestrOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetUsername() { - this.username = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field username is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetUsername() { - return this.username != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setUsernameIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.username = null; + this.criteria = null; } } - public byte[] getPassword() { - setPassword(org.apache.thrift.TBaseHelper.rightSize(password)); - return password == null ? null : password.array(); + public String getTimestamp() { + return this.timestamp; } - public ByteBuffer bufferForPassword() { - return org.apache.thrift.TBaseHelper.copyBinary(password); + public selectKeyCriteriaTimestrOrder_args setTimestamp( + String timestamp) { + this.timestamp = timestamp; + return this; } - public login_args setPassword(byte[] password) { - this.password = password == null ? (ByteBuffer) null - : ByteBuffer.wrap(Arrays.copyOf(password, password.length)); + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeyCriteriaTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public login_args setPassword(ByteBuffer password) { - this.password = org.apache.thrift.TBaseHelper.copyBinary(password); + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public selectKeyCriteriaTimestrOrder_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; return this; } - public void unsetPassword() { - this.password = null; + public void unsetCreds() { + this.creds = null; } /** - * Returns true if field password is set (has been assigned a value) and + * Returns true if field creds is set (has been assigned a value) and * false otherwise */ - public boolean isSetPassword() { - return this.password != null; + public boolean isSetCreds() { + return this.creds != null; } - public void setPasswordIsSet(boolean value) { + public void setCredsIsSet(boolean value) { if(!value) { - this.password = null; + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public selectKeyCriteriaTimestrOrder_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; } } @@ -174400,7 +306536,8 @@ public String getEnvironment() { return this.environment; } - public login_args setEnvironment(String environment) { + public selectKeyCriteriaTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -174425,21 +306562,59 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case USERNAME: + case KEY: if(value == null) { - unsetUsername(); + unsetKey(); } else { - setUsername((ByteBuffer) value); + setKey((String) value); } break; - case PASSWORD: + case CRITERIA: if(value == null) { - unsetPassword(); + unsetCriteria(); } else { - setPassword((ByteBuffer) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); } break; @@ -174457,11 +306632,23 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case USERNAME: - return getUsername(); + case KEY: + return getKey(); - case PASSWORD: - return getPassword(); + case CRITERIA: + return getCriteria(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); case ENVIRONMENT: return getEnvironment(); @@ -174480,10 +306667,18 @@ public boolean isSet(_Fields field) { } switch (field) { - case USERNAME: - return isSetUsername(); - case PASSWORD: - return isSetPassword(); + case KEY: + return isSetKey(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); case ENVIRONMENT: return isSetEnvironment(); } @@ -174494,30 +306689,66 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof login_args) - return this.equals((login_args) that); + if(that instanceof selectKeyCriteriaTimestrOrder_args) + return this.equals((selectKeyCriteriaTimestrOrder_args) that); return false; } - public boolean equals(login_args that) { + public boolean equals(selectKeyCriteriaTimestrOrder_args that) { if(that == null) return false; - boolean this_present_username = true && this.isSetUsername(); - boolean that_present_username = true && that.isSetUsername(); - if(this_present_username || that_present_username) { - if(!(this_present_username && that_present_username)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.username.equals(that.username)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_password = true && this.isSetPassword(); - boolean that_present_password = true && that.isSetPassword(); - if(this_present_password || that_present_password) { - if(!(this_present_password && that_present_password)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.password.equals(that.password)) + if(!this.criteria.equals(that.criteria)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) return false; } @@ -174537,15 +306768,35 @@ public boolean equals(login_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_username = true && (isSetUsername()); - list.add(present_username); - if(present_username) - list.add(username); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_password = true && (isSetPassword()); - list.add(present_password); - if(present_password) - list.add(password); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); boolean present_environment = true && (isSetEnvironment()); list.add(present_environment); @@ -174556,7 +306807,7 @@ public int hashCode() { } @Override - public int compareTo(login_args other) { + public int compareTo(selectKeyCriteriaTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -174564,26 +306815,74 @@ public int compareTo(login_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetUsername()) - .compareTo(other.isSetUsername()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetUsername()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.username, other.username); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetPassword()) - .compareTo(other.isSetPassword()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetPassword()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.password, other.password); + .compareTo(this.criteria, other.criteria); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); if(lastComparison != 0) { return lastComparison; } @@ -174619,25 +306918,66 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("login_args("); + StringBuilder sb = new StringBuilder( + "selectKeyCriteriaTimestrOrder_args("); boolean first = true; - sb.append("username:"); - if(this.username == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.username, sb); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("password:"); - if(this.password == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - org.apache.thrift.TBaseHelper.toString(this.password, sb); + sb.append(this.criteria); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); } first = false; if(!first) @@ -174657,6 +306997,18 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) @@ -174683,18 +307035,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class login_argsStandardSchemeFactory + private static class selectKeyCriteriaTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public login_argsStandardScheme getScheme() { - return new login_argsStandardScheme(); + public selectKeyCriteriaTimestrOrder_argsStandardScheme getScheme() { + return new selectKeyCriteriaTimestrOrder_argsStandardScheme(); } } - private static class login_argsStandardScheme - extends StandardScheme { + private static class selectKeyCriteriaTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - login_args struct) throws org.apache.thrift.TException { + selectKeyCriteriaTimestrOrder_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -174703,27 +307056,71 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // USERNAME + case 1: // KEY if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.username = iprot.readBinary(); - struct.setUsernameIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // PASSWORD + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.password = iprot.readBinary(); - struct.setPasswordIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // ENVIRONMENT + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -174747,18 +307144,39 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - login_args struct) throws org.apache.thrift.TException { + selectKeyCriteriaTimestrOrder_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.username != null) { - oprot.writeFieldBegin(USERNAME_FIELD_DESC); - oprot.writeBinary(struct.username); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.password != null) { - oprot.writeFieldBegin(PASSWORD_FIELD_DESC); - oprot.writeBinary(struct.password); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); oprot.writeFieldEnd(); } if(struct.environment != null) { @@ -174772,36 +307190,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class login_argsTupleSchemeFactory + private static class selectKeyCriteriaTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public login_argsTupleScheme getScheme() { - return new login_argsTupleScheme(); + public selectKeyCriteriaTimestrOrder_argsTupleScheme getScheme() { + return new selectKeyCriteriaTimestrOrder_argsTupleScheme(); } } - private static class login_argsTupleScheme - extends TupleScheme { + private static class selectKeyCriteriaTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - login_args struct) throws org.apache.thrift.TException { + selectKeyCriteriaTimestrOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetUsername()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetPassword()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetEnvironment()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); - if(struct.isSetUsername()) { - oprot.writeBinary(struct.username); + if(struct.isSetOrder()) { + optionals.set(3); } - if(struct.isSetPassword()) { - oprot.writeBinary(struct.password); + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); } if(struct.isSetEnvironment()) { oprot.writeString(struct.environment); @@ -174810,18 +307253,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - login_args struct) throws org.apache.thrift.TException { + selectKeyCriteriaTimestrOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.username = iprot.readBinary(); - struct.setUsernameIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.password = iprot.readBinary(); - struct.setPasswordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(5)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -174830,32 +307294,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class login_result implements - org.apache.thrift.TBase, + public static class selectKeyCriteriaTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "login_result"); + "selectKeyCriteriaTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new login_resultStandardSchemeFactory()); + new selectKeyCriteriaTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new login_resultTupleSchemeFactory()); + new selectKeyCriteriaTimestrOrder_resultTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.AccessToken success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required - public com.cinchapi.concourse.thrift.PermissionException ex2; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -174864,7 +307334,9 @@ public static class login_result implements public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), - EX2((short) 2, "ex2"); + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -174886,6 +307358,10 @@ public static _Fields findByThriftId(int fieldId) { return EX; case 2: // EX2 return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -174937,9 +307413,15 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.AccessToken.class))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -174950,42 +307432,87 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(login_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyCriteriaTimestrOrder_result.class, metaDataMap); } - public login_result() {} + public selectKeyCriteriaTimestrOrder_result() {} - public login_result(com.cinchapi.concourse.thrift.AccessToken success, + public selectKeyCriteriaTimestrOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, - com.cinchapi.concourse.thrift.PermissionException ex2) { + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public login_result(login_result other) { + public selectKeyCriteriaTimestrOrder_result( + selectKeyCriteriaTimestrOrder_result other) { if(other.isSetSuccess()) { - this.success = new com.cinchapi.concourse.thrift.AccessToken( - other.success); + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); } if(other.isSetEx2()) { - this.ex2 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( other.ex2); } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public login_result deepCopy() { - return new login_result(this); + public selectKeyCriteriaTimestrOrder_result deepCopy() { + return new selectKeyCriteriaTimestrOrder_result(this); } @Override @@ -174993,14 +307520,28 @@ public void clear() { this.success = null; this.ex = null; this.ex2 = null; + this.ex3 = null; + this.ex4 = null; } - public com.cinchapi.concourse.thrift.AccessToken getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { return this.success; } - public login_result setSuccess( - com.cinchapi.concourse.thrift.AccessToken success) { + public selectKeyCriteriaTimestrOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -175027,7 +307568,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public login_result setEx( + public selectKeyCriteriaTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -175051,12 +307592,12 @@ public void setExIsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx2() { + public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public login_result setEx2( - com.cinchapi.concourse.thrift.PermissionException ex2) { + public selectKeyCriteriaTimestrOrder_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; } @@ -175079,6 +307620,62 @@ public void setEx2IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public selectKeyCriteriaTimestrOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeyCriteriaTimestrOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -175087,7 +307684,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (com.cinchapi.concourse.thrift.AccessToken) value); + (Map>) value); } break; @@ -175105,7 +307702,25 @@ public void setFieldValue(_Fields field, Object value) { unsetEx2(); } else { - setEx2((com.cinchapi.concourse.thrift.PermissionException) value); + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -175123,6 +307738,12 @@ public Object getFieldValue(_Fields field) { case EX2: return getEx2(); + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -175143,6 +307764,10 @@ public boolean isSet(_Fields field) { return isSetEx(); case EX2: return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -175151,12 +307776,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof login_result) - return this.equals((login_result) that); + if(that instanceof selectKeyCriteriaTimestrOrder_result) + return this.equals((selectKeyCriteriaTimestrOrder_result) that); return false; } - public boolean equals(login_result that) { + public boolean equals(selectKeyCriteriaTimestrOrder_result that) { if(that == null) return false; @@ -175187,6 +307812,24 @@ public boolean equals(login_result that) { return false; } + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -175209,11 +307852,21 @@ public int hashCode() { if(present_ex2) list.add(ex2); + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(login_result other) { + public int compareTo(selectKeyCriteriaTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -175257,6 +307910,30 @@ public int compareTo(login_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -175276,7 +307953,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("login_result("); + StringBuilder sb = new StringBuilder( + "selectKeyCriteriaTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -175307,6 +307985,26 @@ public String toString() { sb.append(this.ex2); } first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -175314,9 +308012,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) @@ -175343,18 +308038,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class login_resultStandardSchemeFactory + private static class selectKeyCriteriaTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public login_resultStandardScheme getScheme() { - return new login_resultStandardScheme(); + public selectKeyCriteriaTimestrOrder_resultStandardScheme getScheme() { + return new selectKeyCriteriaTimestrOrder_resultStandardScheme(); } } - private static class login_resultStandardScheme - extends StandardScheme { + private static class selectKeyCriteriaTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - login_result struct) throws org.apache.thrift.TException { + selectKeyCriteriaTimestrOrder_result struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -175364,9 +308060,33 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new com.cinchapi.concourse.thrift.AccessToken(); - struct.success.read(iprot); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map2162 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map2162.size); + long _key2163; + Set _val2164; + for (int _i2165 = 0; _i2165 < _map2162.size; ++_i2165) { + _key2163 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2166 = iprot + .readSetBegin(); + _val2164 = new LinkedHashSet( + 2 * _set2166.size); + com.cinchapi.concourse.thrift.TObject _elem2167; + for (int _i2168 = 0; _i2168 < _set2166.size; ++_i2168) { + _elem2167 = new com.cinchapi.concourse.thrift.TObject(); + _elem2167.read(iprot); + _val2164.add(_elem2167); + } + iprot.readSetEnd(); + } + struct.success.put(_key2163, _val2164); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -175387,7 +308107,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 2: // EX2 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } @@ -175396,6 +308116,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -175410,13 +308152,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - login_result struct) throws org.apache.thrift.TException { + selectKeyCriteriaTimestrOrder_result struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter2169 : struct.success + .entrySet()) { + oprot.writeI64(_iter2169.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2169.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2170 : _iter2169 + .getValue()) { + _iter2170.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -175429,25 +308193,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex2.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class login_resultTupleSchemeFactory + private static class selectKeyCriteriaTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public login_resultTupleScheme getScheme() { - return new login_resultTupleScheme(); + public selectKeyCriteriaTimestrOrder_resultTupleScheme getScheme() { + return new selectKeyCriteriaTimestrOrder_resultTupleScheme(); } } - private static class login_resultTupleScheme - extends TupleScheme { + private static class selectKeyCriteriaTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - login_result struct) throws org.apache.thrift.TException { + selectKeyCriteriaTimestrOrder_result struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetSuccess()) { @@ -175459,9 +308234,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - struct.success.write(oprot); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter2171 : struct.success + .entrySet()) { + oprot.writeI64(_iter2171.getKey()); + { + oprot.writeI32(_iter2171.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2172 : _iter2171 + .getValue()) { + _iter2172.write(oprot); + } + } + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -175469,16 +308263,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx2()) { struct.ex2.write(oprot); } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - login_result struct) throws org.apache.thrift.TException { + selectKeyCriteriaTimestrOrder_result struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.success = new com.cinchapi.concourse.thrift.AccessToken(); - struct.success.read(iprot); + { + org.apache.thrift.protocol.TMap _map2173 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map2173.size); + long _key2174; + Set _val2175; + for (int _i2176 = 0; _i2176 < _map2173.size; ++_i2176) { + _key2174 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2177 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2175 = new LinkedHashSet( + 2 * _set2177.size); + com.cinchapi.concourse.thrift.TObject _elem2178; + for (int _i2179 = 0; _i2179 < _set2177.size; ++_i2179) { + _elem2178 = new com.cinchapi.concourse.thrift.TObject(); + _elem2178.read(iprot); + _val2175.add(_elem2178); + } + } + struct.success.put(_key2174, _val2175); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -175487,37 +308313,61 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setExIsSet(true); } if(incoming.get(2)) { - struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class logout_args implements - org.apache.thrift.TBase, + public static class selectKeyCclTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "logout_args"); + "selectKeyCclTime_args"); - private static final org.apache.thrift.protocol.TField TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField( - "token", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 2); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new logout_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new logout_argsTupleSchemeFactory()); + new selectKeyCclTime_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new selectKeyCclTime_argsTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.AccessToken token; // required + public String key; // required + public String ccl; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required /** @@ -175525,7 +308375,12 @@ public static class logout_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - TOKEN((short) 1, "token"), ENVIRONMENT((short) 2, "environment"); + KEY((short) 1, "key"), + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -175541,9 +308396,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // TOKEN - return TOKEN; - case 2: // ENVIRONMENT + case 1: // KEY + return KEY; + case 2: // CCL + return CCL; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS + return CREDS; + case 5: // TRANSACTION + return TRANSACTION; + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -175589,83 +308452,241 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.TOKEN, - new org.apache.thrift.meta_data.FieldMetaData("token", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); tmpMap.put(_Fields.ENVIRONMENT, new org.apache.thrift.meta_data.FieldMetaData("environment", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(logout_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyCclTime_args.class, metaDataMap); } - public logout_args() {} + public selectKeyCclTime_args() {} - public logout_args(com.cinchapi.concourse.thrift.AccessToken token, + public selectKeyCclTime_args(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.token = token; + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.creds = creds; + this.transaction = transaction; this.environment = environment; } /** * Performs a deep copy on other. */ - public logout_args(logout_args other) { - if(other.isSetToken()) { - this.token = new com.cinchapi.concourse.thrift.AccessToken( - other.token); + public selectKeyCclTime_args(selectKeyCclTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + this.timestamp = other.timestamp; + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); } if(other.isSetEnvironment()) { this.environment = other.environment; } } - public logout_args deepCopy() { - return new logout_args(this); + public selectKeyCclTime_args deepCopy() { + return new selectKeyCclTime_args(this); } @Override public void clear() { - this.token = null; + this.key = null; + this.ccl = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.creds = null; + this.transaction = null; this.environment = null; } - public com.cinchapi.concourse.thrift.AccessToken getToken() { - return this.token; + public String getKey() { + return this.key; } - public logout_args setToken( - com.cinchapi.concourse.thrift.AccessToken token) { - this.token = token; + public selectKeyCclTime_args setKey(String key) { + this.key = key; return this; } - public void unsetToken() { - this.token = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field token is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetToken() { - return this.token != null; + public boolean isSetKey() { + return this.key != null; } - public void setTokenIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.token = null; + this.key = null; + } + } + + public String getCcl() { + return this.ccl; + } + + public selectKeyCclTime_args setCcl(String ccl) { + this.ccl = ccl; + return this; + } + + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public selectKeyCclTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public selectKeyCclTime_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public selectKeyCclTime_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; } } @@ -175673,7 +308694,7 @@ public String getEnvironment() { return this.environment; } - public logout_args setEnvironment(String environment) { + public selectKeyCclTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -175698,12 +308719,49 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case TOKEN: + case KEY: if(value == null) { - unsetToken(); + unsetKey(); } else { - setToken((com.cinchapi.concourse.thrift.AccessToken) value); + setKey((String) value); + } + break; + + case CCL: + if(value == null) { + unsetCcl(); + } + else { + setCcl((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); } break; @@ -175721,8 +308779,20 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case TOKEN: - return getToken(); + case KEY: + return getKey(); + + case CCL: + return getCcl(); + + case TIMESTAMP: + return getTimestamp(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); case ENVIRONMENT: return getEnvironment(); @@ -175741,8 +308811,16 @@ public boolean isSet(_Fields field) { } switch (field) { - case TOKEN: - return isSetToken(); + case KEY: + return isSetKey(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); case ENVIRONMENT: return isSetEnvironment(); } @@ -175753,21 +308831,57 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof logout_args) - return this.equals((logout_args) that); + if(that instanceof selectKeyCclTime_args) + return this.equals((selectKeyCclTime_args) that); return false; } - public boolean equals(logout_args that) { + public boolean equals(selectKeyCclTime_args that) { if(that == null) return false; - boolean this_present_token = true && this.isSetToken(); - boolean that_present_token = true && that.isSetToken(); - if(this_present_token || that_present_token) { - if(!(this_present_token && that_present_token)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.token.equals(that.token)) + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) + return false; + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) return false; } @@ -175787,10 +308901,30 @@ public boolean equals(logout_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_token = true && (isSetToken()); - list.add(present_token); - if(present_token) - list.add(token); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); boolean present_environment = true && (isSetEnvironment()); list.add(present_environment); @@ -175801,7 +308935,7 @@ public int hashCode() { } @Override - public int compareTo(logout_args other) { + public int compareTo(selectKeyCclTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -175809,14 +308943,62 @@ public int compareTo(logout_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetToken()) - .compareTo(other.isSetToken()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetToken()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.token, other.token); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCcl()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); if(lastComparison != 0) { return lastComparison; } @@ -175852,15 +309034,50 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("logout_args("); + StringBuilder sb = new StringBuilder("selectKeyCclTime_args("); boolean first = true; - sb.append("token:"); - if(this.token == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.token); + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); } first = false; if(!first) @@ -175880,8 +309097,11 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(token != null) { - token.validate(); + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); } } @@ -175900,6 +309120,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -175909,18 +309133,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class logout_argsStandardSchemeFactory + private static class selectKeyCclTime_argsStandardSchemeFactory implements SchemeFactory { - public logout_argsStandardScheme getScheme() { - return new logout_argsStandardScheme(); + public selectKeyCclTime_argsStandardScheme getScheme() { + return new selectKeyCclTime_argsStandardScheme(); } } - private static class logout_argsStandardScheme - extends StandardScheme { + private static class selectKeyCclTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - logout_args struct) throws org.apache.thrift.TException { + selectKeyCclTime_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -175929,18 +309154,59 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // TOKEN + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.token = new com.cinchapi.concourse.thrift.AccessToken(); - struct.token.read(iprot); - struct.setTokenIsSet(true); + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // ENVIRONMENT + case 5: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -175964,13 +309230,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - logout_args struct) throws org.apache.thrift.TException { + selectKeyCclTime_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.token != null) { - oprot.writeFieldBegin(TOKEN_FIELD_DESC); - struct.token.write(oprot); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); oprot.writeFieldEnd(); } if(struct.environment != null) { @@ -175984,30 +309269,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class logout_argsTupleSchemeFactory + private static class selectKeyCclTime_argsTupleSchemeFactory implements SchemeFactory { - public logout_argsTupleScheme getScheme() { - return new logout_argsTupleScheme(); + public selectKeyCclTime_argsTupleScheme getScheme() { + return new selectKeyCclTime_argsTupleScheme(); } } - private static class logout_argsTupleScheme - extends TupleScheme { + private static class selectKeyCclTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - logout_args struct) throws org.apache.thrift.TException { + selectKeyCclTime_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetToken()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetEnvironment()) { + if(struct.isSetCcl()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); - if(struct.isSetToken()) { - struct.token.write(oprot); + if(struct.isSetTimestamp()) { + optionals.set(2); + } + if(struct.isSetCreds()) { + optionals.set(3); + } + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); } if(struct.isSetEnvironment()) { oprot.writeString(struct.environment); @@ -176016,15 +309326,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - logout_args struct) throws org.apache.thrift.TException { + selectKeyCclTime_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.token = new com.cinchapi.concourse.thrift.AccessToken(); - struct.token.read(iprot); - struct.setTokenIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(4)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -176033,36 +309361,49 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class logout_result implements - org.apache.thrift.TBase, + public static class selectKeyCclTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "logout_result"); + "selectKeyCclTime_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new logout_resultStandardSchemeFactory()); + new selectKeyCclTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new logout_resultTupleSchemeFactory()); + new selectKeyCclTime_resultTupleSchemeFactory()); } + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required - public com.cinchapi.concourse.thrift.PermissionException ex2; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - EX((short) 1, "ex"), EX2((short) 2, "ex2"); + SUCCESS((short) 0, "success"), + EX((short) 1, "ex"), + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -176078,10 +309419,16 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; case 2: // EX2 return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -176130,6 +309477,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -176140,49 +309499,142 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(logout_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyCclTime_result.class, metaDataMap); } - public logout_result() {} - - public logout_result(com.cinchapi.concourse.thrift.SecurityException ex, - com.cinchapi.concourse.thrift.PermissionException ex2) { + public selectKeyCclTime_result() {} + + public selectKeyCclTime_result( + Map> success, + com.cinchapi.concourse.thrift.SecurityException ex, + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); + this.success = success; this.ex = ex; this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public logout_result(logout_result other) { + public selectKeyCclTime_result(selectKeyCclTime_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); } if(other.isSetEx2()) { - this.ex2 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( other.ex2); } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public logout_result deepCopy() { - return new logout_result(this); + public selectKeyCclTime_result deepCopy() { + return new selectKeyCclTime_result(this); } @Override public void clear() { + this.success = null; this.ex = null; this.ex2 = null; + this.ex3 = null; + this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { + return this.success; + } + + public selectKeyCclTime_result setSuccess( + Map> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public logout_result setEx( + public selectKeyCclTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -176206,12 +309658,12 @@ public void setExIsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx2() { + public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public logout_result setEx2( - com.cinchapi.concourse.thrift.PermissionException ex2) { + public selectKeyCclTime_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; } @@ -176234,8 +309686,74 @@ public void setEx2IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public selectKeyCclTime_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeyCclTime_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -176250,7 +309768,25 @@ public void setFieldValue(_Fields field, Object value) { unsetEx2(); } else { - setEx2((com.cinchapi.concourse.thrift.PermissionException) value); + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -176259,12 +309795,21 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); case EX2: return getEx2(); + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -176279,10 +309824,16 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); case EX2: return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -176291,15 +309842,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof logout_result) - return this.equals((logout_result) that); + if(that instanceof selectKeyCclTime_result) + return this.equals((selectKeyCclTime_result) that); return false; } - public boolean equals(logout_result that) { + public boolean equals(selectKeyCclTime_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -176318,6 +309878,24 @@ public boolean equals(logout_result that) { return false; } + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -176325,6 +309903,11 @@ public boolean equals(logout_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -176335,11 +309918,21 @@ public int hashCode() { if(present_ex2) list.add(ex2); + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(logout_result other) { + public int compareTo(selectKeyCclTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -176347,6 +309940,18 @@ public int compareTo(logout_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -176371,6 +309976,30 @@ public int compareTo(logout_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -176390,9 +310019,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("logout_result("); + StringBuilder sb = new StringBuilder("selectKeyCclTime_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -176411,6 +310050,26 @@ public String toString() { sb.append(this.ex2); } first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -176444,18 +310103,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class logout_resultStandardSchemeFactory + private static class selectKeyCclTime_resultStandardSchemeFactory implements SchemeFactory { - public logout_resultStandardScheme getScheme() { - return new logout_resultStandardScheme(); + public selectKeyCclTime_resultStandardScheme getScheme() { + return new selectKeyCclTime_resultStandardScheme(); } } - private static class logout_resultStandardScheme - extends StandardScheme { + private static class selectKeyCclTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - logout_result struct) throws org.apache.thrift.TException { + selectKeyCclTime_result struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -176464,6 +310124,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map2180 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map2180.size); + long _key2181; + Set _val2182; + for (int _i2183 = 0; _i2183 < _map2180.size; ++_i2183) { + _key2181 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2184 = iprot + .readSetBegin(); + _val2182 = new LinkedHashSet( + 2 * _set2184.size); + com.cinchapi.concourse.thrift.TObject _elem2185; + for (int _i2186 = 0; _i2186 < _set2184.size; ++_i2186) { + _elem2185 = new com.cinchapi.concourse.thrift.TObject(); + _elem2185.read(iprot); + _val2182.add(_elem2185); + } + iprot.readSetEnd(); + } + struct.success.put(_key2181, _val2182); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -176477,7 +310172,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 2: // EX2 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } @@ -176486,6 +310181,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -176500,10 +310217,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - logout_result struct) throws org.apache.thrift.TException { + selectKeyCclTime_result struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter2187 : struct.success + .entrySet()) { + oprot.writeI64(_iter2187.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2187.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2188 : _iter2187 + .getValue()) { + _iter2188.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -176514,84 +310258,184 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex2.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class logout_resultTupleSchemeFactory + private static class selectKeyCclTime_resultTupleSchemeFactory implements SchemeFactory { - public logout_resultTupleScheme getScheme() { - return new logout_resultTupleScheme(); + public selectKeyCclTime_resultTupleScheme getScheme() { + return new selectKeyCclTime_resultTupleScheme(); } } - private static class logout_resultTupleScheme - extends TupleScheme { + private static class selectKeyCclTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - logout_result struct) throws org.apache.thrift.TException { + selectKeyCclTime_result struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - if(struct.isSetEx2()) { + if(struct.isSetEx()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); + if(struct.isSetEx2()) { + optionals.set(2); + } + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter2189 : struct.success + .entrySet()) { + oprot.writeI64(_iter2189.getKey()); + { + oprot.writeI32(_iter2189.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2190 : _iter2189 + .getValue()) { + _iter2190.write(oprot); + } + } + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } if(struct.isSetEx2()) { struct.ex2.write(oprot); } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - logout_result struct) throws org.apache.thrift.TException { + selectKeyCclTime_result struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map2191 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map2191.size); + long _key2192; + Set _val2193; + for (int _i2194 = 0; _i2194 < _map2191.size; ++_i2194) { + _key2192 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2195 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2193 = new LinkedHashSet( + 2 * _set2195.size); + com.cinchapi.concourse.thrift.TObject _elem2196; + for (int _i2197 = 0; _i2197 < _set2195.size; ++_i2197) { + _elem2196 = new com.cinchapi.concourse.thrift.TObject(); + _elem2196.read(iprot); + _val2193.add(_elem2196); + } + } + struct.success.put(_key2192, _val2193); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(1)) { - struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + if(incoming.get(2)) { + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class stage_args implements - org.apache.thrift.TBase, + public static class selectKeyCclTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "stage_args"); + "selectKeyCclTimeOrder_args"); - private static final org.apache.thrift.protocol.TField TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField( - "token", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "transaction", org.apache.thrift.protocol.TType.STRUCT, + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 2); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new stage_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new stage_argsTupleSchemeFactory()); + new selectKeyCclTimeOrder_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new selectKeyCclTimeOrder_argsTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.AccessToken token; // required + public String key; // required + public String ccl; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required + public com.cinchapi.concourse.thrift.AccessToken creds; // required + public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required /** @@ -176599,7 +310443,13 @@ public static class stage_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - TOKEN((short) 1, "token"), ENVIRONMENT((short) 2, "environment"); + KEY((short) 1, "key"), + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -176615,9 +310465,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // TOKEN - return TOKEN; - case 2: // ENVIRONMENT + case 1: // KEY + return KEY; + case 2: // CCL + return CCL; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS + return CREDS; + case 6: // TRANSACTION + return TRANSACTION; + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -176663,83 +310523,282 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.TOKEN, - new org.apache.thrift.meta_data.FieldMetaData("token", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); + tmpMap.put(_Fields.CREDS, + new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.AccessToken.class))); + tmpMap.put(_Fields.TRANSACTION, + new org.apache.thrift.meta_data.FieldMetaData("transaction", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TransactionToken.class))); tmpMap.put(_Fields.ENVIRONMENT, new org.apache.thrift.meta_data.FieldMetaData("environment", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(stage_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyCclTimeOrder_args.class, metaDataMap); } - public stage_args() {} + public selectKeyCclTimeOrder_args() {} - public stage_args(com.cinchapi.concourse.thrift.AccessToken token, + public selectKeyCclTimeOrder_args(String key, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.token = token; + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; + this.creds = creds; + this.transaction = transaction; this.environment = environment; } /** * Performs a deep copy on other. */ - public stage_args(stage_args other) { - if(other.isSetToken()) { - this.token = new com.cinchapi.concourse.thrift.AccessToken( - other.token); + public selectKeyCclTimeOrder_args(selectKeyCclTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } + if(other.isSetCreds()) { + this.creds = new com.cinchapi.concourse.thrift.AccessToken( + other.creds); + } + if(other.isSetTransaction()) { + this.transaction = new com.cinchapi.concourse.thrift.TransactionToken( + other.transaction); } if(other.isSetEnvironment()) { this.environment = other.environment; } } - public stage_args deepCopy() { - return new stage_args(this); + public selectKeyCclTimeOrder_args deepCopy() { + return new selectKeyCclTimeOrder_args(this); } @Override public void clear() { - this.token = null; + this.key = null; + this.ccl = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; + this.creds = null; + this.transaction = null; this.environment = null; } - public com.cinchapi.concourse.thrift.AccessToken getToken() { - return this.token; + public String getKey() { + return this.key; } - public stage_args setToken( - com.cinchapi.concourse.thrift.AccessToken token) { - this.token = token; + public selectKeyCclTimeOrder_args setKey(String key) { + this.key = key; return this; } - public void unsetToken() { - this.token = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field token is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetToken() { - return this.token != null; + public boolean isSetKey() { + return this.key != null; } - public void setTokenIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.token = null; + this.key = null; + } + } + + public String getCcl() { + return this.ccl; + } + + public selectKeyCclTimeOrder_args setCcl(String ccl) { + this.ccl = ccl; + return this; + } + + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public selectKeyCclTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeyCclTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + + public com.cinchapi.concourse.thrift.AccessToken getCreds() { + return this.creds; + } + + public selectKeyCclTimeOrder_args setCreds( + com.cinchapi.concourse.thrift.AccessToken creds) { + this.creds = creds; + return this; + } + + public void unsetCreds() { + this.creds = null; + } + + /** + * Returns true if field creds is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCreds() { + return this.creds != null; + } + + public void setCredsIsSet(boolean value) { + if(!value) { + this.creds = null; + } + } + + public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { + return this.transaction; + } + + public selectKeyCclTimeOrder_args setTransaction( + com.cinchapi.concourse.thrift.TransactionToken transaction) { + this.transaction = transaction; + return this; + } + + public void unsetTransaction() { + this.transaction = null; + } + + /** + * Returns true if field transaction is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTransaction() { + return this.transaction != null; + } + + public void setTransactionIsSet(boolean value) { + if(!value) { + this.transaction = null; } } @@ -176747,7 +310806,7 @@ public String getEnvironment() { return this.environment; } - public stage_args setEnvironment(String environment) { + public selectKeyCclTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -176772,12 +310831,58 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case TOKEN: + case KEY: if(value == null) { - unsetToken(); + unsetKey(); } else { - setToken((com.cinchapi.concourse.thrift.AccessToken) value); + setKey((String) value); + } + break; + + case CCL: + if(value == null) { + unsetCcl(); + } + else { + setCcl((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + + case CREDS: + if(value == null) { + unsetCreds(); + } + else { + setCreds((com.cinchapi.concourse.thrift.AccessToken) value); + } + break; + + case TRANSACTION: + if(value == null) { + unsetTransaction(); + } + else { + setTransaction( + (com.cinchapi.concourse.thrift.TransactionToken) value); } break; @@ -176795,8 +310900,23 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case TOKEN: - return getToken(); + case KEY: + return getKey(); + + case CCL: + return getCcl(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); + + case CREDS: + return getCreds(); + + case TRANSACTION: + return getTransaction(); case ENVIRONMENT: return getEnvironment(); @@ -176815,8 +310935,18 @@ public boolean isSet(_Fields field) { } switch (field) { - case TOKEN: - return isSetToken(); + case KEY: + return isSetKey(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); + case CREDS: + return isSetCreds(); + case TRANSACTION: + return isSetTransaction(); case ENVIRONMENT: return isSetEnvironment(); } @@ -176827,21 +310957,66 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof stage_args) - return this.equals((stage_args) that); + if(that instanceof selectKeyCclTimeOrder_args) + return this.equals((selectKeyCclTimeOrder_args) that); return false; } - public boolean equals(stage_args that) { + public boolean equals(selectKeyCclTimeOrder_args that) { if(that == null) return false; - boolean this_present_token = true && this.isSetToken(); - boolean that_present_token = true && that.isSetToken(); - if(this_present_token || that_present_token) { - if(!(this_present_token && that_present_token)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.token.equals(that.token)) + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) + return false; + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + + boolean this_present_creds = true && this.isSetCreds(); + boolean that_present_creds = true && that.isSetCreds(); + if(this_present_creds || that_present_creds) { + if(!(this_present_creds && that_present_creds)) + return false; + if(!this.creds.equals(that.creds)) + return false; + } + + boolean this_present_transaction = true && this.isSetTransaction(); + boolean that_present_transaction = true && that.isSetTransaction(); + if(this_present_transaction || that_present_transaction) { + if(!(this_present_transaction && that_present_transaction)) + return false; + if(!this.transaction.equals(that.transaction)) return false; } @@ -176861,10 +311036,35 @@ public boolean equals(stage_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_token = true && (isSetToken()); - list.add(present_token); - if(present_token) - list.add(token); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + + boolean present_creds = true && (isSetCreds()); + list.add(present_creds); + if(present_creds) + list.add(creds); + + boolean present_transaction = true && (isSetTransaction()); + list.add(present_transaction); + if(present_transaction) + list.add(transaction); boolean present_environment = true && (isSetEnvironment()); list.add(present_environment); @@ -176875,7 +311075,7 @@ public int hashCode() { } @Override - public int compareTo(stage_args other) { + public int compareTo(selectKeyCclTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -176883,14 +311083,74 @@ public int compareTo(stage_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetToken()) - .compareTo(other.isSetToken()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetToken()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.token, other.token); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCcl()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCreds()) + .compareTo(other.isSetCreds()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCreds()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.creds, other.creds); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTransaction()) + .compareTo(other.isSetTransaction()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTransaction()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.transaction, other.transaction); if(lastComparison != 0) { return lastComparison; } @@ -176926,15 +311186,60 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("stage_args("); + StringBuilder sb = new StringBuilder("selectKeyCclTimeOrder_args("); boolean first = true; - sb.append("token:"); - if(this.token == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.token); + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; + if(!first) + sb.append(", "); + sb.append("creds:"); + if(this.creds == null) { + sb.append("null"); + } + else { + sb.append(this.creds); + } + first = false; + if(!first) + sb.append(", "); + sb.append("transaction:"); + if(this.transaction == null) { + sb.append("null"); + } + else { + sb.append(this.transaction); } first = false; if(!first) @@ -176954,8 +311259,14 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(token != null) { - token.validate(); + if(order != null) { + order.validate(); + } + if(creds != null) { + creds.validate(); + } + if(transaction != null) { + transaction.validate(); } } @@ -176974,6 +311285,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -176983,18 +311298,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class stage_argsStandardSchemeFactory + private static class selectKeyCclTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public stage_argsStandardScheme getScheme() { - return new stage_argsStandardScheme(); + public selectKeyCclTimeOrder_argsStandardScheme getScheme() { + return new selectKeyCclTimeOrder_argsStandardScheme(); } } - private static class stage_argsStandardScheme - extends StandardScheme { + private static class selectKeyCclTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - stage_args struct) throws org.apache.thrift.TException { + selectKeyCclTimeOrder_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -177003,18 +311319,70 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // TOKEN + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ORDER if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.token = new com.cinchapi.concourse.thrift.AccessToken(); - struct.token.read(iprot); - struct.setTokenIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // ENVIRONMENT + case 5: // CREDS + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // TRANSACTION + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -177038,13 +311406,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - stage_args struct) throws org.apache.thrift.TException { + selectKeyCclTimeOrder_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.token != null) { - oprot.writeFieldBegin(TOKEN_FIELD_DESC); - struct.token.write(oprot); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.creds != null) { + oprot.writeFieldBegin(CREDS_FIELD_DESC); + struct.creds.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.transaction != null) { + oprot.writeFieldBegin(TRANSACTION_FIELD_DESC); + struct.transaction.write(oprot); oprot.writeFieldEnd(); } if(struct.environment != null) { @@ -177058,30 +311450,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class stage_argsTupleSchemeFactory + private static class selectKeyCclTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public stage_argsTupleScheme getScheme() { - return new stage_argsTupleScheme(); + public selectKeyCclTimeOrder_argsTupleScheme getScheme() { + return new selectKeyCclTimeOrder_argsTupleScheme(); } } - private static class stage_argsTupleScheme - extends TupleScheme { + private static class selectKeyCclTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - stage_args struct) throws org.apache.thrift.TException { + selectKeyCclTimeOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetToken()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetEnvironment()) { + if(struct.isSetCcl()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); - if(struct.isSetToken()) { - struct.token.write(oprot); + if(struct.isSetTimestamp()) { + optionals.set(2); + } + if(struct.isSetOrder()) { + optionals.set(3); + } + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } + if(struct.isSetCreds()) { + struct.creds.write(oprot); + } + if(struct.isSetTransaction()) { + struct.transaction.write(oprot); } if(struct.isSetEnvironment()) { oprot.writeString(struct.environment); @@ -177090,15 +311513,38 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - stage_args struct) throws org.apache.thrift.TException { + selectKeyCclTimeOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.token = new com.cinchapi.concourse.thrift.AccessToken(); - struct.token.read(iprot); - struct.setTokenIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { + struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); + struct.creds.read(iprot); + struct.setCredsIsSet(true); + } + if(incoming.get(5)) { + struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); + struct.transaction.read(iprot); + struct.setTransactionIsSet(true); + } + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -177107,32 +311553,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class stage_result implements - org.apache.thrift.TBase, + public static class selectKeyCclTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "stage_result"); + "selectKeyCclTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new stage_resultStandardSchemeFactory()); + new selectKeyCclTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new stage_resultTupleSchemeFactory()); + new selectKeyCclTimeOrder_resultTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.TransactionToken success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required - public com.cinchapi.concourse.thrift.PermissionException ex2; // required + public com.cinchapi.concourse.thrift.TransactionException ex2; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -177141,7 +311593,9 @@ public static class stage_result implements public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), - EX2((short) 2, "ex2"); + EX2((short) 2, "ex2"), + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -177163,6 +311617,10 @@ public static _Fields findByThriftId(int fieldId) { return EX; case 2: // EX2 return EX2; + case 3: // EX3 + return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -177214,9 +311672,15 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TransactionToken.class))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -177227,43 +311691,87 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX3, + new org.apache.thrift.meta_data.FieldMetaData("ex3", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(stage_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyCclTimeOrder_result.class, metaDataMap); } - public stage_result() {} + public selectKeyCclTimeOrder_result() {} - public stage_result( - com.cinchapi.concourse.thrift.TransactionToken success, + public selectKeyCclTimeOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, - com.cinchapi.concourse.thrift.PermissionException ex2) { + com.cinchapi.concourse.thrift.TransactionException ex2, + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; + this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public stage_result(stage_result other) { + public selectKeyCclTimeOrder_result( + selectKeyCclTimeOrder_result other) { if(other.isSetSuccess()) { - this.success = new com.cinchapi.concourse.thrift.TransactionToken( - other.success); + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); } if(other.isSetEx2()) { - this.ex2 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex2 = new com.cinchapi.concourse.thrift.TransactionException( other.ex2); } + if(other.isSetEx3()) { + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + other.ex3); + } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public stage_result deepCopy() { - return new stage_result(this); + public selectKeyCclTimeOrder_result deepCopy() { + return new selectKeyCclTimeOrder_result(this); } @Override @@ -177271,14 +311779,28 @@ public void clear() { this.success = null; this.ex = null; this.ex2 = null; + this.ex3 = null; + this.ex4 = null; } - public com.cinchapi.concourse.thrift.TransactionToken getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { return this.success; } - public stage_result setSuccess( - com.cinchapi.concourse.thrift.TransactionToken success) { + public selectKeyCclTimeOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -177305,7 +311827,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public stage_result setEx( + public selectKeyCclTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -177329,12 +311851,12 @@ public void setExIsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx2() { + public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public stage_result setEx2( - com.cinchapi.concourse.thrift.PermissionException ex2) { + public selectKeyCclTimeOrder_result setEx2( + com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; } @@ -177357,6 +311879,62 @@ public void setEx2IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.ParseException getEx3() { + return this.ex3; + } + + public selectKeyCclTimeOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { + this.ex3 = ex3; + return this; + } + + public void unsetEx3() { + this.ex3 = null; + } + + /** + * Returns true if field ex3 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx3() { + return this.ex3 != null; + } + + public void setEx3IsSet(boolean value) { + if(!value) { + this.ex3 = null; + } + } + + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeyCclTimeOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -177365,7 +311943,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (com.cinchapi.concourse.thrift.TransactionToken) value); + (Map>) value); } break; @@ -177383,7 +311961,25 @@ public void setFieldValue(_Fields field, Object value) { unsetEx2(); } else { - setEx2((com.cinchapi.concourse.thrift.PermissionException) value); + setEx2((com.cinchapi.concourse.thrift.TransactionException) value); + } + break; + + case EX3: + if(value == null) { + unsetEx3(); + } + else { + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -177401,6 +311997,12 @@ public Object getFieldValue(_Fields field) { case EX2: return getEx2(); + case EX3: + return getEx3(); + + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -177421,6 +312023,10 @@ public boolean isSet(_Fields field) { return isSetEx(); case EX2: return isSetEx2(); + case EX3: + return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -177429,12 +312035,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof stage_result) - return this.equals((stage_result) that); + if(that instanceof selectKeyCclTimeOrder_result) + return this.equals((selectKeyCclTimeOrder_result) that); return false; } - public boolean equals(stage_result that) { + public boolean equals(selectKeyCclTimeOrder_result that) { if(that == null) return false; @@ -177465,6 +312071,24 @@ public boolean equals(stage_result that) { return false; } + boolean this_present_ex3 = true && this.isSetEx3(); + boolean that_present_ex3 = true && that.isSetEx3(); + if(this_present_ex3 || that_present_ex3) { + if(!(this_present_ex3 && that_present_ex3)) + return false; + if(!this.ex3.equals(that.ex3)) + return false; + } + + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -177487,11 +312111,21 @@ public int hashCode() { if(present_ex2) list.add(ex2); + boolean present_ex3 = true && (isSetEx3()); + list.add(present_ex3); + if(present_ex3) + list.add(ex3); + + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(stage_result other) { + public int compareTo(selectKeyCclTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -177535,6 +312169,30 @@ public int compareTo(stage_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx3()) + .compareTo(other.isSetEx3()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx3()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex3, other.ex3); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -177554,7 +312212,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("stage_result("); + StringBuilder sb = new StringBuilder( + "selectKeyCclTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -177585,6 +312244,26 @@ public String toString() { sb.append(this.ex2); } first = false; + if(!first) + sb.append(", "); + sb.append("ex3:"); + if(this.ex3 == null) { + sb.append("null"); + } + else { + sb.append(this.ex3); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -177592,9 +312271,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) @@ -177621,18 +312297,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class stage_resultStandardSchemeFactory + private static class selectKeyCclTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public stage_resultStandardScheme getScheme() { - return new stage_resultStandardScheme(); + public selectKeyCclTimeOrder_resultStandardScheme getScheme() { + return new selectKeyCclTimeOrder_resultStandardScheme(); } } - private static class stage_resultStandardScheme - extends StandardScheme { + private static class selectKeyCclTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - stage_result struct) throws org.apache.thrift.TException { + selectKeyCclTimeOrder_result struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -177642,9 +312319,33 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new com.cinchapi.concourse.thrift.TransactionToken(); - struct.success.read(iprot); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map2198 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map2198.size); + long _key2199; + Set _val2200; + for (int _i2201 = 0; _i2201 < _map2198.size; ++_i2201) { + _key2199 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2202 = iprot + .readSetBegin(); + _val2200 = new LinkedHashSet( + 2 * _set2202.size); + com.cinchapi.concourse.thrift.TObject _elem2203; + for (int _i2204 = 0; _i2204 < _set2202.size; ++_i2204) { + _elem2203 = new com.cinchapi.concourse.thrift.TObject(); + _elem2203.read(iprot); + _val2200.add(_elem2203); + } + iprot.readSetEnd(); + } + struct.success.put(_key2199, _val2200); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -177665,7 +312366,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 2: // EX2 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } @@ -177674,6 +312375,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 3: // EX3 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -177688,13 +312411,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - stage_result struct) throws org.apache.thrift.TException { + selectKeyCclTimeOrder_result struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter2205 : struct.success + .entrySet()) { + oprot.writeI64(_iter2205.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2205.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2206 : _iter2205 + .getValue()) { + _iter2206.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -177707,25 +312452,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex2.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex3 != null) { + oprot.writeFieldBegin(EX3_FIELD_DESC); + struct.ex3.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class stage_resultTupleSchemeFactory + private static class selectKeyCclTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public stage_resultTupleScheme getScheme() { - return new stage_resultTupleScheme(); + public selectKeyCclTimeOrder_resultTupleScheme getScheme() { + return new selectKeyCclTimeOrder_resultTupleScheme(); } } - private static class stage_resultTupleScheme - extends TupleScheme { + private static class selectKeyCclTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - stage_result struct) throws org.apache.thrift.TException { + selectKeyCclTimeOrder_result struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetSuccess()) { @@ -177737,9 +312493,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetEx3()) { + optionals.set(3); + } + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - struct.success.write(oprot); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter2207 : struct.success + .entrySet()) { + oprot.writeI64(_iter2207.getKey()); + { + oprot.writeI32(_iter2207.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2208 : _iter2207 + .getValue()) { + _iter2208.write(oprot); + } + } + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -177747,16 +312522,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx2()) { struct.ex2.write(oprot); } + if(struct.isSetEx3()) { + struct.ex3.write(oprot); + } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - stage_result struct) throws org.apache.thrift.TException { + selectKeyCclTimeOrder_result struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.success = new com.cinchapi.concourse.thrift.TransactionToken(); - struct.success.read(iprot); + { + org.apache.thrift.protocol.TMap _map2209 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map2209.size); + long _key2210; + Set _val2211; + for (int _i2212 = 0; _i2212 < _map2209.size; ++_i2212) { + _key2210 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2213 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2211 = new LinkedHashSet( + 2 * _set2213.size); + com.cinchapi.concourse.thrift.TObject _elem2214; + for (int _i2215 = 0; _i2215 < _set2213.size; ++_i2215) { + _elem2214 = new com.cinchapi.concourse.thrift.TObject(); + _elem2214.read(iprot); + _val2211.add(_elem2214); + } + } + struct.success.put(_key2210, _val2211); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -177765,43 +312572,60 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setExIsSet(true); } if(incoming.get(2)) { - struct.ex2 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3.read(iprot); + struct.setEx3IsSet(true); + } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class insertJson_args implements - org.apache.thrift.TBase, + public static class selectKeyCclTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "insertJson_args"); + "selectKeyCclTimestr_args"); - private static final org.apache.thrift.protocol.TField JSON_FIELD_DESC = new org.apache.thrift.protocol.TField( - "json", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new insertJson_argsStandardSchemeFactory()); + new selectKeyCclTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new insertJson_argsTupleSchemeFactory()); + new selectKeyCclTimestr_argsTupleSchemeFactory()); } - public String json; // required + public String key; // required + public String ccl; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -177811,10 +312635,12 @@ public static class insertJson_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - JSON((short) 1, "json"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEY((short) 1, "key"), + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -177830,13 +312656,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // JSON - return JSON; - case 2: // CREDS + case 1: // KEY + return KEY; + case 2: // CCL + return CCL; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 3: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -177886,8 +312716,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.JSON, - new org.apache.thrift.meta_data.FieldMetaData("json", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); @@ -177909,18 +312749,21 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(insertJson_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyCclTimestr_args.class, metaDataMap); } - public insertJson_args() {} + public selectKeyCclTimestr_args() {} - public insertJson_args(String json, + public selectKeyCclTimestr_args(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.json = json; + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -177929,9 +312772,15 @@ public insertJson_args(String json, /** * Performs a deep copy on other. */ - public insertJson_args(insertJson_args other) { - if(other.isSetJson()) { - this.json = other.json; + public selectKeyCclTimestr_args(selectKeyCclTimestr_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -177946,42 +312795,98 @@ public insertJson_args(insertJson_args other) { } } - public insertJson_args deepCopy() { - return new insertJson_args(this); + public selectKeyCclTimestr_args deepCopy() { + return new selectKeyCclTimestr_args(this); } @Override public void clear() { - this.json = null; + this.key = null; + this.ccl = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getJson() { - return this.json; + public String getKey() { + return this.key; } - public insertJson_args setJson(String json) { - this.json = json; + public selectKeyCclTimestr_args setKey(String key) { + this.key = key; return this; } - public void unsetJson() { - this.json = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field json is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetJson() { - return this.json != null; + public boolean isSetKey() { + return this.key != null; } - public void setJsonIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.json = null; + this.key = null; + } + } + + public String getCcl() { + return this.ccl; + } + + public selectKeyCclTimestr_args setCcl(String ccl) { + this.ccl = ccl; + return this; + } + + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } + } + + public String getTimestamp() { + return this.timestamp; + } + + public selectKeyCclTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; } } @@ -177989,7 +312894,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public insertJson_args setCreds( + public selectKeyCclTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -178017,7 +312922,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public insertJson_args setTransaction( + public selectKeyCclTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -178045,7 +312950,7 @@ public String getEnvironment() { return this.environment; } - public insertJson_args setEnvironment(String environment) { + public selectKeyCclTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -178070,12 +312975,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case JSON: + case KEY: if(value == null) { - unsetJson(); + unsetKey(); } else { - setJson((String) value); + setKey((String) value); + } + break; + + case CCL: + if(value == null) { + unsetCcl(); + } + else { + setCcl((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); } break; @@ -178112,8 +313035,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case JSON: - return getJson(); + case KEY: + return getKey(); + + case CCL: + return getCcl(); + + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -178138,8 +313067,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case JSON: - return isSetJson(); + case KEY: + return isSetKey(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -178154,21 +313087,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof insertJson_args) - return this.equals((insertJson_args) that); + if(that instanceof selectKeyCclTimestr_args) + return this.equals((selectKeyCclTimestr_args) that); return false; } - public boolean equals(insertJson_args that) { + public boolean equals(selectKeyCclTimestr_args that) { if(that == null) return false; - boolean this_present_json = true && this.isSetJson(); - boolean that_present_json = true && that.isSetJson(); - if(this_present_json || that_present_json) { - if(!(this_present_json && that_present_json)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.json.equals(that.json)) + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) + return false; + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -178206,10 +313157,20 @@ public boolean equals(insertJson_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_json = true && (isSetJson()); - list.add(present_json); - if(present_json) - list.add(json); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -178230,7 +313191,7 @@ public int hashCode() { } @Override - public int compareTo(insertJson_args other) { + public int compareTo(selectKeyCclTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -178238,14 +313199,38 @@ public int compareTo(insertJson_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetJson()) - .compareTo(other.isSetJson()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetJson()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.json, other.json); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCcl()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -178305,15 +313290,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("insertJson_args("); + StringBuilder sb = new StringBuilder("selectKeyCclTimestr_args("); boolean first = true; - sb.append("json:"); - if(this.json == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.json); + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); } first = false; if(!first) @@ -178385,18 +313390,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class insertJson_argsStandardSchemeFactory + private static class selectKeyCclTimestr_argsStandardSchemeFactory implements SchemeFactory { - public insertJson_argsStandardScheme getScheme() { - return new insertJson_argsStandardScheme(); + public selectKeyCclTimestr_argsStandardScheme getScheme() { + return new selectKeyCclTimestr_argsStandardScheme(); } } - private static class insertJson_argsStandardScheme - extends StandardScheme { + private static class selectKeyCclTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - insertJson_args struct) + selectKeyCclTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -178406,17 +313411,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // JSON + case 1: // KEY if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.json = iprot.readString(); - struct.setJsonIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -178427,7 +313452,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -178438,7 +313463,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -178462,14 +313487,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - insertJson_args struct) + selectKeyCclTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.json != null) { - oprot.writeFieldBegin(JSON_FIELD_DESC); - oprot.writeString(struct.json); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -178493,37 +313528,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class insertJson_argsTupleSchemeFactory + private static class selectKeyCclTimestr_argsTupleSchemeFactory implements SchemeFactory { - public insertJson_argsTupleScheme getScheme() { - return new insertJson_argsTupleScheme(); + public selectKeyCclTimestr_argsTupleScheme getScheme() { + return new selectKeyCclTimestr_argsTupleScheme(); } } - private static class insertJson_argsTupleScheme - extends TupleScheme { + private static class selectKeyCclTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - insertJson_args struct) + selectKeyCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetJson()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetJson()) { - oprot.writeString(struct.json); + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -178538,25 +313585,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - insertJson_args struct) + selectKeyCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.json = iprot.readString(); - struct.setJsonIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -178565,16 +313620,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class insertJson_result implements - org.apache.thrift.TBase, + public static class selectKeyCclTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "insertJson_result"); + "selectKeyCclTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -178583,23 +313638,20 @@ public static class insertJson_result implements "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); - private static final org.apache.thrift.protocol.TField EX5_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex5", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new insertJson_resultStandardSchemeFactory()); + new selectKeyCclTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new insertJson_resultTupleSchemeFactory()); + new selectKeyCclTimestr_resultTupleSchemeFactory()); } - public Set success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.InvalidArgumentException ex4; // required - public com.cinchapi.concourse.thrift.PermissionException ex5; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -178610,8 +313662,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"), - EX5((short) 5, "ex5"); + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -178637,8 +313688,6 @@ public static _Fields findByThriftId(int fieldId) { return EX3; case 4: // EX4 return EX4; - case 5: // EX5 - return EX5; default: return null; } @@ -178690,10 +313739,15 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -178714,40 +313768,54 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX5, - new org.apache.thrift.meta_data.FieldMetaData("ex5", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(insertJson_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeyCclTimestr_result.class, metaDataMap); } - public insertJson_result() {} + public selectKeyCclTimestr_result() {} - public insertJson_result(Set success, + public selectKeyCclTimestr_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.InvalidArgumentException ex4, - com.cinchapi.concourse.thrift.PermissionException ex5) { + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; this.ex4 = ex4; - this.ex5 = ex5; } /** * Performs a deep copy on other. */ - public insertJson_result(insertJson_result other) { + public selectKeyCclTimestr_result(selectKeyCclTimestr_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( - other.success); + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -178763,17 +313831,13 @@ public insertJson_result(insertJson_result other) { other.ex3); } if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( other.ex4); } - if(other.isSetEx5()) { - this.ex5 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex5); - } } - public insertJson_result deepCopy() { - return new insertJson_result(this); + public selectKeyCclTimestr_result deepCopy() { + return new selectKeyCclTimestr_result(this); } @Override @@ -178783,29 +313847,26 @@ public void clear() { this.ex2 = null; this.ex3 = null; this.ex4 = null; - this.ex5 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(long elem) { + public void putToSuccess(long key, + Set val) { if(this.success == null) { - this.success = new LinkedHashSet(); + this.success = new LinkedHashMap>(); } - this.success.add(elem); + this.success.put(key, val); } - public Set getSuccess() { + public Map> getSuccess() { return this.success; } - public insertJson_result setSuccess(Set success) { + public selectKeyCclTimestr_result setSuccess( + Map> success) { this.success = success; return this; } @@ -178832,7 +313893,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public insertJson_result setEx( + public selectKeyCclTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -178860,7 +313921,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public insertJson_result setEx2( + public selectKeyCclTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -178888,7 +313949,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public insertJson_result setEx3( + public selectKeyCclTimestr_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -178912,12 +313973,12 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.InvalidArgumentException getEx4() { + public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public insertJson_result setEx4( - com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { + public selectKeyCclTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; } @@ -178940,34 +314001,6 @@ public void setEx4IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx5() { - return this.ex5; - } - - public insertJson_result setEx5( - com.cinchapi.concourse.thrift.PermissionException ex5) { - this.ex5 = ex5; - return this; - } - - public void unsetEx5() { - this.ex5 = null; - } - - /** - * Returns true if field ex5 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx5() { - return this.ex5 != null; - } - - public void setEx5IsSet(boolean value) { - if(!value) { - this.ex5 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -178975,7 +314008,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Set) value); + setSuccess( + (Map>) value); } break; @@ -179011,16 +314045,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx4(); } else { - setEx4((com.cinchapi.concourse.thrift.InvalidArgumentException) value); - } - break; - - case EX5: - if(value == null) { - unsetEx5(); - } - else { - setEx5((com.cinchapi.concourse.thrift.PermissionException) value); + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -179044,9 +314069,6 @@ public Object getFieldValue(_Fields field) { case EX4: return getEx4(); - case EX5: - return getEx5(); - } throw new IllegalStateException(); } @@ -179071,8 +314093,6 @@ public boolean isSet(_Fields field) { return isSetEx3(); case EX4: return isSetEx4(); - case EX5: - return isSetEx5(); } throw new IllegalStateException(); } @@ -179081,12 +314101,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof insertJson_result) - return this.equals((insertJson_result) that); + if(that instanceof selectKeyCclTimestr_result) + return this.equals((selectKeyCclTimestr_result) that); return false; } - public boolean equals(insertJson_result that) { + public boolean equals(selectKeyCclTimestr_result that) { if(that == null) return false; @@ -179135,15 +314155,6 @@ public boolean equals(insertJson_result that) { return false; } - boolean this_present_ex5 = true && this.isSetEx5(); - boolean that_present_ex5 = true && that.isSetEx5(); - if(this_present_ex5 || that_present_ex5) { - if(!(this_present_ex5 && that_present_ex5)) - return false; - if(!this.ex5.equals(that.ex5)) - return false; - } - return true; } @@ -179176,16 +314187,11 @@ public int hashCode() { if(present_ex4) list.add(ex4); - boolean present_ex5 = true && (isSetEx5()); - list.add(present_ex5); - if(present_ex5) - list.add(ex5); - return list.hashCode(); } @Override - public int compareTo(insertJson_result other) { + public int compareTo(selectKeyCclTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -179253,18 +314259,6 @@ public int compareTo(insertJson_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx5()) - .compareTo(other.isSetEx5()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx5()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex5, other.ex5); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -179284,7 +314278,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("insertJson_result("); + StringBuilder sb = new StringBuilder("selectKeyCclTimestr_result("); boolean first = true; sb.append("success:"); @@ -179335,16 +314329,6 @@ public String toString() { sb.append(this.ex4); } first = false; - if(!first) - sb.append(", "); - sb.append("ex5:"); - if(this.ex5 == null) { - sb.append("null"); - } - else { - sb.append(this.ex5); - } - first = false; sb.append(")"); return sb.toString(); } @@ -179378,18 +314362,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class insertJson_resultStandardSchemeFactory + private static class selectKeyCclTimestr_resultStandardSchemeFactory implements SchemeFactory { - public insertJson_resultStandardScheme getScheme() { - return new insertJson_resultStandardScheme(); + public selectKeyCclTimestr_resultStandardScheme getScheme() { + return new selectKeyCclTimestr_resultStandardScheme(); } } - private static class insertJson_resultStandardScheme - extends StandardScheme { + private static class selectKeyCclTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - insertJson_result struct) + selectKeyCclTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -179400,18 +314384,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TSet _set840 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set840.size); - long _elem841; - for (int _i842 = 0; _i842 < _set840.size; ++_i842) { - _elem841 = iprot.readI64(); - struct.success.add(_elem841); + org.apache.thrift.protocol.TMap _map2216 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map2216.size); + long _key2217; + Set _val2218; + for (int _i2219 = 0; _i2219 < _map2216.size; ++_i2219) { + _key2217 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2220 = iprot + .readSetBegin(); + _val2218 = new LinkedHashSet( + 2 * _set2220.size); + com.cinchapi.concourse.thrift.TObject _elem2221; + for (int _i2222 = 0; _i2222 < _set2220.size; ++_i2222) { + _elem2221 = new com.cinchapi.concourse.thrift.TObject(); + _elem2221.read(iprot); + _val2218.add(_elem2221); + } + iprot.readSetEnd(); + } + struct.success.put(_key2217, _val2218); } - iprot.readSetEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } @@ -179455,7 +314453,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 4: // EX4 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex4.read(iprot); struct.setEx4IsSet(true); } @@ -179464,17 +314462,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // EX5 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex5.read(iprot); - struct.setEx5IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -179489,7 +314476,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - insertJson_result struct) + selectKeyCclTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -179497,13 +314484,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (long _iter843 : struct.success) { - oprot.writeI64(_iter843); + for (Map.Entry> _iter2223 : struct.success + .entrySet()) { + oprot.writeI64(_iter2223.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2223.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2224 : _iter2223 + .getValue()) { + _iter2224.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -179527,30 +314527,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex4.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex5 != null) { - oprot.writeFieldBegin(EX5_FIELD_DESC); - struct.ex5.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class insertJson_resultTupleSchemeFactory + private static class selectKeyCclTimestr_resultTupleSchemeFactory implements SchemeFactory { - public insertJson_resultTupleScheme getScheme() { - return new insertJson_resultTupleScheme(); + public selectKeyCclTimestr_resultTupleScheme getScheme() { + return new selectKeyCclTimestr_resultTupleScheme(); } } - private static class insertJson_resultTupleScheme - extends TupleScheme { + private static class selectKeyCclTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - insertJson_result struct) + selectKeyCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -179569,15 +314564,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx4()) { optionals.set(4); } - if(struct.isSetEx5()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter844 : struct.success) { - oprot.writeI64(_iter844); + for (Map.Entry> _iter2225 : struct.success + .entrySet()) { + oprot.writeI64(_iter2225.getKey()); + { + oprot.writeI32(_iter2225.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2226 : _iter2225 + .getValue()) { + _iter2226.write(oprot); + } + } } } } @@ -179593,28 +314593,40 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx4()) { struct.ex4.write(oprot); } - if(struct.isSetEx5()) { - struct.ex5.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - insertJson_result struct) + selectKeyCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set845 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map2227 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set845.size); - long _elem846; - for (int _i847 = 0; _i847 < _set845.size; ++_i847) { - _elem846 = iprot.readI64(); - struct.success.add(_elem846); + struct.success = new LinkedHashMap>( + 2 * _map2227.size); + long _key2228; + Set _val2229; + for (int _i2230 = 0; _i2230 < _map2227.size; ++_i2230) { + _key2228 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2231 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2229 = new LinkedHashSet( + 2 * _set2231.size); + com.cinchapi.concourse.thrift.TObject _elem2232; + for (int _i2233 = 0; _i2233 < _set2231.size; ++_i2233) { + _elem2232 = new com.cinchapi.concourse.thrift.TObject(); + _elem2232.read(iprot); + _val2229.add(_elem2232); + } + } + struct.success.put(_key2228, _val2229); } } struct.setSuccessIsSet(true); @@ -179635,51 +314647,53 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx3IsSet(true); } if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex4.read(iprot); struct.setEx4IsSet(true); } - if(incoming.get(5)) { - struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex5.read(iprot); - struct.setEx5IsSet(true); - } } } } - public static class insertJsonRecord_args implements - org.apache.thrift.TBase, + public static class selectKeyCclTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "insertJsonRecord_args"); + "selectKeyCclTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField JSON_FIELD_DESC = new org.apache.thrift.protocol.TField( - "json", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new insertJsonRecord_argsStandardSchemeFactory()); + new selectKeyCclTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new insertJsonRecord_argsTupleSchemeFactory()); + new selectKeyCclTimestrOrder_argsTupleSchemeFactory()); } - public String json; // required - public long record; // required + public String key; // required + public String ccl; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -179689,11 +314703,13 @@ public static class insertJsonRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - JSON((short) 1, "json"), - RECORD((short) 2, "record"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -179709,15 +314725,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // JSON - return JSON; - case 2: // RECORD - return RECORD; - case 3: // CREDS + case 1: // KEY + return KEY; + case 2: // CCL + return CCL; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -179763,22 +314783,31 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.JSON, - new org.apache.thrift.meta_data.FieldMetaData("json", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -179798,19 +314827,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - insertJsonRecord_args.class, metaDataMap); + selectKeyCclTimestrOrder_args.class, metaDataMap); } - public insertJsonRecord_args() {} + public selectKeyCclTimestrOrder_args() {} - public insertJsonRecord_args(String json, long record, + public selectKeyCclTimestrOrder_args(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.json = json; - this.record = record; - setRecordIsSet(true); + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -179819,12 +314850,21 @@ public insertJsonRecord_args(String json, long record, /** * Performs a deep copy on other. */ - public insertJsonRecord_args(insertJsonRecord_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetJson()) { - this.json = other.json; + public selectKeyCclTimestrOrder_args( + selectKeyCclTimestrOrder_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -179838,80 +314878,135 @@ public insertJsonRecord_args(insertJsonRecord_args other) { } } - public insertJsonRecord_args deepCopy() { - return new insertJsonRecord_args(this); + public selectKeyCclTimestrOrder_args deepCopy() { + return new selectKeyCclTimestrOrder_args(this); } @Override public void clear() { - this.json = null; - setRecordIsSet(false); - this.record = 0; + this.key = null; + this.ccl = null; + this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getJson() { - return this.json; + public String getKey() { + return this.key; } - public insertJsonRecord_args setJson(String json) { - this.json = json; + public selectKeyCclTimestrOrder_args setKey(String key) { + this.key = key; return this; } - public void unsetJson() { - this.json = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field json is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetJson() { - return this.json != null; + public boolean isSetKey() { + return this.key != null; } - public void setJsonIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.json = null; + this.key = null; } } - public long getRecord() { - return this.record; + public String getCcl() { + return this.ccl; } - public insertJsonRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectKeyCclTimestrOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCcl() { + return this.ccl != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } + } + + public String getTimestamp() { + return this.timestamp; + } + + public selectKeyCclTimestrOrder_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeyCclTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public insertJsonRecord_args setCreds( + public selectKeyCclTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -179939,7 +315034,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public insertJsonRecord_args setTransaction( + public selectKeyCclTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -179967,7 +315062,8 @@ public String getEnvironment() { return this.environment; } - public insertJsonRecord_args setEnvironment(String environment) { + public selectKeyCclTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -179992,21 +315088,39 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case JSON: + case KEY: if(value == null) { - unsetJson(); + unsetKey(); } else { - setJson((String) value); + setKey((String) value); } break; - case RECORD: + case CCL: if(value == null) { - unsetRecord(); + unsetCcl(); } else { - setRecord((Long) value); + setCcl((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -180043,11 +315157,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case JSON: - return getJson(); + case KEY: + return getKey(); - case RECORD: - return getRecord(); + case CCL: + return getCcl(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -180072,10 +315192,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case JSON: - return isSetJson(); - case RECORD: - return isSetRecord(); + case KEY: + return isSetKey(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -180090,30 +315214,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof insertJsonRecord_args) - return this.equals((insertJsonRecord_args) that); + if(that instanceof selectKeyCclTimestrOrder_args) + return this.equals((selectKeyCclTimestrOrder_args) that); return false; } - public boolean equals(insertJsonRecord_args that) { + public boolean equals(selectKeyCclTimestrOrder_args that) { if(that == null) return false; - boolean this_present_json = true && this.isSetJson(); - boolean that_present_json = true && that.isSetJson(); - if(this_present_json || that_present_json) { - if(!(this_present_json && that_present_json)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.json.equals(that.json)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(this.record != that.record) + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -180151,15 +315293,25 @@ public boolean equals(insertJsonRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_json = true && (isSetJson()); - list.add(present_json); - if(present_json) - list.add(json); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -180180,7 +315332,7 @@ public int hashCode() { } @Override - public int compareTo(insertJsonRecord_args other) { + public int compareTo(selectKeyCclTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -180188,26 +315340,50 @@ public int compareTo(insertJsonRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetJson()) - .compareTo(other.isSetJson()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetJson()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.json, other.json); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -180267,21 +315443,47 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("insertJsonRecord_args("); + StringBuilder sb = new StringBuilder( + "selectKeyCclTimestrOrder_args("); boolean first = true; - sb.append("json:"); - if(this.json == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.json); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -180320,6 +315522,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -180343,10 +315548,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -180356,18 +315557,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class insertJsonRecord_argsStandardSchemeFactory + private static class selectKeyCclTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public insertJsonRecord_argsStandardScheme getScheme() { - return new insertJsonRecord_argsStandardScheme(); + public selectKeyCclTimestrOrder_argsStandardScheme getScheme() { + return new selectKeyCclTimestrOrder_argsStandardScheme(); } } - private static class insertJsonRecord_argsStandardScheme - extends StandardScheme { + private static class selectKeyCclTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - insertJsonRecord_args struct) + selectKeyCclTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -180377,27 +315578,48 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // JSON + case 1: // KEY if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.json = iprot.readString(); - struct.setJsonIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -180408,7 +315630,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -180419,7 +315641,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -180443,19 +315665,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - insertJsonRecord_args struct) + selectKeyCclTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.json != null) { - oprot.writeFieldBegin(JSON_FIELD_DESC); - oprot.writeString(struct.json); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -180477,43 +315711,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class insertJsonRecord_argsTupleSchemeFactory + private static class selectKeyCclTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public insertJsonRecord_argsTupleScheme getScheme() { - return new insertJsonRecord_argsTupleScheme(); + public selectKeyCclTimestrOrder_argsTupleScheme getScheme() { + return new selectKeyCclTimestrOrder_argsTupleScheme(); } } - private static class insertJsonRecord_argsTupleScheme - extends TupleScheme { + private static class selectKeyCclTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - insertJsonRecord_args struct) + selectKeyCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetJson()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetJson()) { - oprot.writeString(struct.json); + if(struct.isSetTransaction()) { + optionals.set(5); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -180528,29 +315774,38 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - insertJsonRecord_args struct) + selectKeyCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.json = iprot.readString(); - struct.setJsonIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -180559,16 +315814,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class insertJsonRecord_result implements - org.apache.thrift.TBase, + public static class selectKeyCclTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "insertJsonRecord_result"); + "selectKeyCclTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -180577,23 +315832,20 @@ public static class insertJsonRecord_result implements "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); - private static final org.apache.thrift.protocol.TField EX5_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex5", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new insertJsonRecord_resultStandardSchemeFactory()); + new selectKeyCclTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new insertJsonRecord_resultTupleSchemeFactory()); + new selectKeyCclTimestrOrder_resultTupleSchemeFactory()); } - public boolean success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.InvalidArgumentException ex4; // required - public com.cinchapi.concourse.thrift.PermissionException ex5; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -180604,8 +315856,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"), - EX5((short) 5, "ex5"); + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -180631,8 +315882,6 @@ public static _Fields findByThriftId(int fieldId) { return EX3; case 4: // EX4 return EX4; - case 5: // EX5 - return EX5; default: return null; } @@ -180677,8 +315926,6 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -180686,8 +315933,15 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -180708,40 +315962,57 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX5, - new org.apache.thrift.meta_data.FieldMetaData("ex5", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - insertJsonRecord_result.class, metaDataMap); + selectKeyCclTimestrOrder_result.class, metaDataMap); } - public insertJsonRecord_result() {} + public selectKeyCclTimestrOrder_result() {} - public insertJsonRecord_result(boolean success, + public selectKeyCclTimestrOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.InvalidArgumentException ex4, - com.cinchapi.concourse.thrift.PermissionException ex5) { + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; - setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; this.ex4 = ex4; - this.ex5 = ex5; } /** * Performs a deep copy on other. */ - public insertJsonRecord_result(insertJsonRecord_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public selectKeyCclTimestrOrder_result( + selectKeyCclTimestrOrder_result other) { + if(other.isSetSuccess()) { + Map> __this__success = new LinkedHashMap>( + other.success.size()); + for (Map.Entry> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Set other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Set __this__success_copy_value = new LinkedHashSet( + other_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { + __this__success_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element)); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -180755,43 +316026,48 @@ public insertJsonRecord_result(insertJsonRecord_result other) { other.ex3); } if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( other.ex4); } - if(other.isSetEx5()) { - this.ex5 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex5); - } } - public insertJsonRecord_result deepCopy() { - return new insertJsonRecord_result(this); + public selectKeyCclTimestrOrder_result deepCopy() { + return new selectKeyCclTimestrOrder_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; this.ex4 = null; - this.ex5 = null; } - public boolean isSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Set val) { + if(this.success == null) { + this.success = new LinkedHashMap>(); + } + this.success.put(key, val); + } + + public Map> getSuccess() { return this.success; } - public insertJsonRecord_result setSuccess(boolean success) { + public selectKeyCclTimestrOrder_result setSuccess( + Map> success) { this.success = success; - setSuccessIsSet(true); return this; } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __SUCCESS_ISSET_ID); + this.success = null; } /** @@ -180799,19 +316075,20 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __SUCCESS_ISSET_ID, value); + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public insertJsonRecord_result setEx( + public selectKeyCclTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -180839,7 +316116,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public insertJsonRecord_result setEx2( + public selectKeyCclTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -180867,7 +316144,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public insertJsonRecord_result setEx3( + public selectKeyCclTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -180891,12 +316168,12 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.InvalidArgumentException getEx4() { + public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public insertJsonRecord_result setEx4( - com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { + public selectKeyCclTimestrOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; } @@ -180919,34 +316196,6 @@ public void setEx4IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx5() { - return this.ex5; - } - - public insertJsonRecord_result setEx5( - com.cinchapi.concourse.thrift.PermissionException ex5) { - this.ex5 = ex5; - return this; - } - - public void unsetEx5() { - this.ex5 = null; - } - - /** - * Returns true if field ex5 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx5() { - return this.ex5 != null; - } - - public void setEx5IsSet(boolean value) { - if(!value) { - this.ex5 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -180954,7 +316203,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Boolean) value); + setSuccess( + (Map>) value); } break; @@ -180990,16 +316240,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx4(); } else { - setEx4((com.cinchapi.concourse.thrift.InvalidArgumentException) value); - } - break; - - case EX5: - if(value == null) { - unsetEx5(); - } - else { - setEx5((com.cinchapi.concourse.thrift.PermissionException) value); + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -181009,7 +316250,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); case EX: return getEx(); @@ -181023,9 +316264,6 @@ public Object getFieldValue(_Fields field) { case EX4: return getEx4(); - case EX5: - return getEx5(); - } throw new IllegalStateException(); } @@ -181050,8 +316288,6 @@ public boolean isSet(_Fields field) { return isSetEx3(); case EX4: return isSetEx4(); - case EX5: - return isSetEx5(); } throw new IllegalStateException(); } @@ -181060,21 +316296,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof insertJsonRecord_result) - return this.equals((insertJsonRecord_result) that); + if(that instanceof selectKeyCclTimestrOrder_result) + return this.equals((selectKeyCclTimestrOrder_result) that); return false; } - public boolean equals(insertJsonRecord_result that) { + public boolean equals(selectKeyCclTimestrOrder_result that) { if(that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(this.success != that.success) + if(!this.success.equals(that.success)) return false; } @@ -181114,15 +316350,6 @@ public boolean equals(insertJsonRecord_result that) { return false; } - boolean this_present_ex5 = true && this.isSetEx5(); - boolean that_present_ex5 = true && that.isSetEx5(); - if(this_present_ex5 || that_present_ex5) { - if(!(this_present_ex5 && that_present_ex5)) - return false; - if(!this.ex5.equals(that.ex5)) - return false; - } - return true; } @@ -181130,7 +316357,7 @@ public boolean equals(insertJsonRecord_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if(present_success) list.add(success); @@ -181155,16 +316382,11 @@ public int hashCode() { if(present_ex4) list.add(ex4); - boolean present_ex5 = true && (isSetEx5()); - list.add(present_ex5); - if(present_ex5) - list.add(ex5); - return list.hashCode(); } @Override - public int compareTo(insertJsonRecord_result other) { + public int compareTo(selectKeyCclTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -181232,18 +316454,6 @@ public int compareTo(insertJsonRecord_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx5()) - .compareTo(other.isSetEx5()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx5()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex5, other.ex5); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -181263,11 +316473,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("insertJsonRecord_result("); + StringBuilder sb = new StringBuilder( + "selectKeyCclTimestrOrder_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } first = false; if(!first) sb.append(", "); @@ -181309,16 +316525,6 @@ public String toString() { sb.append(this.ex4); } first = false; - if(!first) - sb.append(", "); - sb.append("ex5:"); - if(this.ex5 == null) { - sb.append("null"); - } - else { - sb.append(this.ex5); - } - first = false; sb.append(")"); return sb.toString(); } @@ -181343,10 +316549,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -181356,18 +316558,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class insertJsonRecord_resultStandardSchemeFactory + private static class selectKeyCclTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public insertJsonRecord_resultStandardScheme getScheme() { - return new insertJsonRecord_resultStandardScheme(); + public selectKeyCclTimestrOrder_resultStandardScheme getScheme() { + return new selectKeyCclTimestrOrder_resultStandardScheme(); } } - private static class insertJsonRecord_resultStandardScheme - extends StandardScheme { + private static class selectKeyCclTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - insertJsonRecord_result struct) + selectKeyCclTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -181378,8 +316580,33 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map2234 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>( + 2 * _map2234.size); + long _key2235; + Set _val2236; + for (int _i2237 = 0; _i2237 < _map2234.size; ++_i2237) { + _key2235 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2238 = iprot + .readSetBegin(); + _val2236 = new LinkedHashSet( + 2 * _set2238.size); + com.cinchapi.concourse.thrift.TObject _elem2239; + for (int _i2240 = 0; _i2240 < _set2238.size; ++_i2240) { + _elem2239 = new com.cinchapi.concourse.thrift.TObject(); + _elem2239.read(iprot); + _val2236.add(_elem2239); + } + iprot.readSetEnd(); + } + struct.success.put(_key2235, _val2236); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -181422,7 +316649,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 4: // EX4 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex4.read(iprot); struct.setEx4IsSet(true); } @@ -181431,17 +316658,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // EX5 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex5.read(iprot); - struct.setEx5IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -181456,14 +316672,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - insertJsonRecord_result struct) + selectKeyCclTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.isSetSuccess()) { + if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + struct.success.size())); + for (Map.Entry> _iter2241 : struct.success + .entrySet()) { + oprot.writeI64(_iter2241.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2241.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter2242 : _iter2241 + .getValue()) { + _iter2242.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -181486,30 +316723,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex4.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex5 != null) { - oprot.writeFieldBegin(EX5_FIELD_DESC); - struct.ex5.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class insertJsonRecord_resultTupleSchemeFactory + private static class selectKeyCclTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public insertJsonRecord_resultTupleScheme getScheme() { - return new insertJsonRecord_resultTupleScheme(); + public selectKeyCclTimestrOrder_resultTupleScheme getScheme() { + return new selectKeyCclTimestrOrder_resultTupleScheme(); } } - private static class insertJsonRecord_resultTupleScheme - extends TupleScheme { + private static class selectKeyCclTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - insertJsonRecord_result struct) + selectKeyCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -181528,12 +316760,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx4()) { optionals.set(4); } - if(struct.isSetEx5()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - oprot.writeBool(struct.success); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry> _iter2243 : struct.success + .entrySet()) { + oprot.writeI64(_iter2243.getKey()); + { + oprot.writeI32(_iter2243.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2244 : _iter2243 + .getValue()) { + _iter2244.write(oprot); + } + } + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -181547,19 +316789,42 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx4()) { struct.ex4.write(oprot); } - if(struct.isSetEx5()) { - struct.ex5.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - insertJsonRecord_result struct) + selectKeyCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.success = iprot.readBool(); + { + org.apache.thrift.protocol.TMap _map2245 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + struct.success = new LinkedHashMap>( + 2 * _map2245.size); + long _key2246; + Set _val2247; + for (int _i2248 = 0; _i2248 < _map2245.size; ++_i2248) { + _key2246 = iprot.readI64(); + { + org.apache.thrift.protocol.TSet _set2249 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2247 = new LinkedHashSet( + 2 * _set2249.size); + com.cinchapi.concourse.thrift.TObject _elem2250; + for (int _i2251 = 0; _i2251 < _set2249.size; ++_i2251) { + _elem2250 = new com.cinchapi.concourse.thrift.TObject(); + _elem2250.read(iprot); + _val2247.add(_elem2250); + } + } + struct.success.put(_key2246, _val2247); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -181578,32 +316843,27 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx3IsSet(true); } if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex4.read(iprot); struct.setEx4IsSet(true); } - if(incoming.get(5)) { - struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex5.read(iprot); - struct.setEx5IsSet(true); - } } } } - public static class insertJsonRecords_args implements - org.apache.thrift.TBase, + public static class selectKeysCriteria_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "insertJsonRecords_args"); + "selectKeysCriteria_args"); - private static final org.apache.thrift.protocol.TField JSON_FIELD_DESC = new org.apache.thrift.protocol.TField( - "json", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -181616,13 +316876,13 @@ public static class insertJsonRecords_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new insertJsonRecords_argsStandardSchemeFactory()); + new selectKeysCriteria_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new insertJsonRecords_argsTupleSchemeFactory()); + new selectKeysCriteria_argsTupleSchemeFactory()); } - public String json; // required - public List records; // required + public List keys; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -181632,8 +316892,8 @@ public static class insertJsonRecords_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - JSON((short) 1, "json"), - RECORDS((short) 2, "records"), + KEYS((short) 1, "keys"), + CRITERIA((short) 2, "criteria"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -181652,10 +316912,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // JSON - return JSON; - case 2: // RECORDS - return RECORDS; + case 1: // KEYS + return KEYS; + case 2: // CRITERIA + return CRITERIA; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -181710,18 +316970,19 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.JSON, - new org.apache.thrift.meta_data.FieldMetaData("json", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -181741,18 +317002,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - insertJsonRecords_args.class, metaDataMap); + selectKeysCriteria_args.class, metaDataMap); } - public insertJsonRecords_args() {} + public selectKeysCriteria_args() {} - public insertJsonRecords_args(String json, List records, + public selectKeysCriteria_args(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.json = json; - this.records = records; + this.keys = keys; + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -181761,13 +317023,14 @@ public insertJsonRecords_args(String json, List records, /** * Performs a deep copy on other. */ - public insertJsonRecords_args(insertJsonRecords_args other) { - if(other.isSetJson()) { - this.json = other.json; + public selectKeysCriteria_args(selectKeysCriteria_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -181782,85 +317045,86 @@ public insertJsonRecords_args(insertJsonRecords_args other) { } } - public insertJsonRecords_args deepCopy() { - return new insertJsonRecords_args(this); + public selectKeysCriteria_args deepCopy() { + return new selectKeysCriteria_args(this); } @Override public void clear() { - this.json = null; - this.records = null; + this.keys = null; + this.criteria = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getJson() { - return this.json; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public insertJsonRecords_args setJson(String json) { - this.json = json; - return this; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); } - public void unsetJson() { - this.json = null; + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); } - /** - * Returns true if field json is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetJson() { - return this.json != null; + public List getKeys() { + return this.keys; } - public void setJsonIsSet(boolean value) { - if(!value) { - this.json = null; - } + public selectKeysCriteria_args setKeys(List keys) { + this.keys = keys; + return this; } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); + public void unsetKeys() { + this.keys = null; } - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; } - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; } - this.records.add(elem); } - public List getRecords() { - return this.records; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public insertJsonRecords_args setRecords(List records) { - this.records = records; + public selectKeysCriteria_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecords() { - this.records = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordsIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.records = null; + this.criteria = null; } } @@ -181868,7 +317132,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public insertJsonRecords_args setCreds( + public selectKeysCriteria_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -181896,7 +317160,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public insertJsonRecords_args setTransaction( + public selectKeysCriteria_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -181924,7 +317188,7 @@ public String getEnvironment() { return this.environment; } - public insertJsonRecords_args setEnvironment(String environment) { + public selectKeysCriteria_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -181949,21 +317213,22 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case JSON: + case KEYS: if(value == null) { - unsetJson(); + unsetKeys(); } else { - setJson((String) value); + setKeys((List) value); } break; - case RECORDS: + case CRITERIA: if(value == null) { - unsetRecords(); + unsetCriteria(); } else { - setRecords((List) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -182000,11 +317265,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case JSON: - return getJson(); + case KEYS: + return getKeys(); - case RECORDS: - return getRecords(); + case CRITERIA: + return getCriteria(); case CREDS: return getCreds(); @@ -182029,10 +317294,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case JSON: - return isSetJson(); - case RECORDS: - return isSetRecords(); + case KEYS: + return isSetKeys(); + case CRITERIA: + return isSetCriteria(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -182047,30 +317312,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof insertJsonRecords_args) - return this.equals((insertJsonRecords_args) that); + if(that instanceof selectKeysCriteria_args) + return this.equals((selectKeysCriteria_args) that); return false; } - public boolean equals(insertJsonRecords_args that) { + public boolean equals(selectKeysCriteria_args that) { if(that == null) return false; - boolean this_present_json = true && this.isSetJson(); - boolean that_present_json = true && that.isSetJson(); - if(this_present_json || that_present_json) { - if(!(this_present_json && that_present_json)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.json.equals(that.json)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.records.equals(that.records)) + if(!this.criteria.equals(that.criteria)) return false; } @@ -182108,15 +317373,15 @@ public boolean equals(insertJsonRecords_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_json = true && (isSetJson()); - list.add(present_json); - if(present_json) - list.add(json); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -182137,7 +317402,7 @@ public int hashCode() { } @Override - public int compareTo(insertJsonRecords_args other) { + public int compareTo(selectKeysCriteria_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -182145,26 +317410,26 @@ public int compareTo(insertJsonRecords_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetJson()) - .compareTo(other.isSetJson()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetJson()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.json, other.json); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -182224,25 +317489,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("insertJsonRecords_args("); + StringBuilder sb = new StringBuilder("selectKeysCriteria_args("); boolean first = true; - sb.append("json:"); - if(this.json == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.json); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("records:"); - if(this.records == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.criteria); } first = false; if(!first) @@ -182282,6 +317547,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -182314,18 +317582,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class insertJsonRecords_argsStandardSchemeFactory + private static class selectKeysCriteria_argsStandardSchemeFactory implements SchemeFactory { - public insertJsonRecords_argsStandardScheme getScheme() { - return new insertJsonRecords_argsStandardScheme(); + public selectKeysCriteria_argsStandardScheme getScheme() { + return new selectKeysCriteria_argsStandardScheme(); } } - private static class insertJsonRecords_argsStandardScheme - extends StandardScheme { + private static class selectKeysCriteria_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - insertJsonRecords_args struct) + selectKeysCriteria_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -182335,31 +317603,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // JSON - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.json = iprot.readString(); - struct.setJsonIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // RECORDS + case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list848 = iprot + org.apache.thrift.protocol.TList _list2252 = iprot .readListBegin(); - struct.records = new ArrayList( - _list848.size); - long _elem849; - for (int _i850 = 0; _i850 < _list848.size; ++_i850) { - _elem849 = iprot.readI64(); - struct.records.add(_elem849); + struct.keys = new ArrayList( + _list2252.size); + String _elem2253; + for (int _i2254 = 0; _i2254 < _list2252.size; ++_i2254) { + _elem2253 = iprot.readString(); + struct.keys.add(_elem2253); } iprot.readListEnd(); } - struct.setRecordsIsSet(true); + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -182412,30 +317681,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - insertJsonRecords_args struct) + selectKeysCriteria_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.json != null) { - oprot.writeFieldBegin(JSON_FIELD_DESC); - oprot.writeString(struct.json); - oprot.writeFieldEnd(); - } - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter851 : struct.records) { - oprot.writeI64(_iter851); + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2255 : struct.keys) { + oprot.writeString(_iter2255); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -182457,26 +317726,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class insertJsonRecords_argsTupleSchemeFactory + private static class selectKeysCriteria_argsTupleSchemeFactory implements SchemeFactory { - public insertJsonRecords_argsTupleScheme getScheme() { - return new insertJsonRecords_argsTupleScheme(); + public selectKeysCriteria_argsTupleScheme getScheme() { + return new selectKeysCriteria_argsTupleScheme(); } } - private static class insertJsonRecords_argsTupleScheme - extends TupleScheme { + private static class selectKeysCriteria_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - insertJsonRecords_args struct) + selectKeysCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetJson()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetRecords()) { + if(struct.isSetCriteria()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -182489,17 +317758,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetJson()) { - oprot.writeString(struct.json); - } - if(struct.isSetRecords()) { + if(struct.isSetKeys()) { { - oprot.writeI32(struct.records.size()); - for (long _iter852 : struct.records) { - oprot.writeI64(_iter852); + oprot.writeI32(struct.keys.size()); + for (String _iter2256 : struct.keys) { + oprot.writeString(_iter2256); } } } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -182513,27 +317782,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - insertJsonRecords_args struct) + selectKeysCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.json = iprot.readString(); - struct.setJsonIsSet(true); - } - if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TList _list2257 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.records = new ArrayList(_list853.size); - long _elem854; - for (int _i855 = 0; _i855 < _list853.size; ++_i855) { - _elem854 = iprot.readI64(); - struct.records.add(_elem854); + struct.keys = new ArrayList(_list2257.size); + String _elem2258; + for (int _i2259 = 0; _i2259 < _list2257.size; ++_i2259) { + _elem2258 = iprot.readString(); + struct.keys.add(_elem2258); } } - struct.setRecordsIsSet(true); + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -182554,13 +317824,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class insertJsonRecords_result implements - org.apache.thrift.TBase, + public static class selectKeysCriteria_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "insertJsonRecords_result"); + "selectKeysCriteria_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -182570,25 +317840,19 @@ public static class insertJsonRecords_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); - private static final org.apache.thrift.protocol.TField EX5_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex5", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new insertJsonRecords_resultStandardSchemeFactory()); + new selectKeysCriteria_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new insertJsonRecords_resultTupleSchemeFactory()); + new selectKeysCriteria_resultTupleSchemeFactory()); } - public Map success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.InvalidArgumentException ex4; // required - public com.cinchapi.concourse.thrift.PermissionException ex5; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -182598,9 +317862,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"), - EX5((short) 5, "ex5"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -182624,10 +317886,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; - case 5: // EX5 - return EX5; default: return null; } @@ -182683,8 +317941,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL)))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -182700,45 +317965,69 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX5, - new org.apache.thrift.meta_data.FieldMetaData("ex5", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - insertJsonRecords_result.class, metaDataMap); + selectKeysCriteria_result.class, metaDataMap); } - public insertJsonRecords_result() {} + public selectKeysCriteria_result() {} - public insertJsonRecords_result(Map success, + public selectKeysCriteria_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.InvalidArgumentException ex4, - com.cinchapi.concourse.thrift.PermissionException ex5) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; - this.ex5 = ex5; } /** * Performs a deep copy on other. */ - public insertJsonRecords_result(insertJsonRecords_result other) { + public selectKeysCriteria_result(selectKeysCriteria_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -182750,21 +318039,13 @@ public insertJsonRecords_result(insertJsonRecords_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException( - other.ex4); - } - if(other.isSetEx5()) { - this.ex5 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex5); - } } - public insertJsonRecords_result deepCopy() { - return new insertJsonRecords_result(this); + public selectKeysCriteria_result deepCopy() { + return new selectKeysCriteria_result(this); } @Override @@ -182773,26 +318054,26 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; - this.ex5 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, boolean val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map>> getSuccess() { return this.success; } - public insertJsonRecords_result setSuccess(Map success) { + public selectKeysCriteria_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -182819,7 +318100,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public insertJsonRecords_result setEx( + public selectKeysCriteria_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -182847,7 +318128,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public insertJsonRecords_result setEx2( + public selectKeysCriteria_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -182871,12 +318152,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public insertJsonRecords_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public selectKeysCriteria_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -182899,62 +318180,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.InvalidArgumentException getEx4() { - return this.ex4; - } - - public insertJsonRecords_result setEx4( - com.cinchapi.concourse.thrift.InvalidArgumentException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - - public com.cinchapi.concourse.thrift.PermissionException getEx5() { - return this.ex5; - } - - public insertJsonRecords_result setEx5( - com.cinchapi.concourse.thrift.PermissionException ex5) { - this.ex5 = ex5; - return this; - } - - public void unsetEx5() { - this.ex5 = null; - } - - /** - * Returns true if field ex5 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx5() { - return this.ex5 != null; - } - - public void setEx5IsSet(boolean value) { - if(!value) { - this.ex5 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -182962,7 +318187,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map) value); + setSuccess( + (Map>>) value); } break; @@ -182989,25 +318215,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.InvalidArgumentException) value); - } - break; - - case EX5: - if(value == null) { - unsetEx5(); - } - else { - setEx5((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -183028,12 +318236,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - - case EX5: - return getEx5(); - } throw new IllegalStateException(); } @@ -183056,10 +318258,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); - case EX5: - return isSetEx5(); } throw new IllegalStateException(); } @@ -183068,12 +318266,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof insertJsonRecords_result) - return this.equals((insertJsonRecords_result) that); + if(that instanceof selectKeysCriteria_result) + return this.equals((selectKeysCriteria_result) that); return false; } - public boolean equals(insertJsonRecords_result that) { + public boolean equals(selectKeysCriteria_result that) { if(that == null) return false; @@ -183113,24 +318311,6 @@ public boolean equals(insertJsonRecords_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - - boolean this_present_ex5 = true && this.isSetEx5(); - boolean that_present_ex5 = true && that.isSetEx5(); - if(this_present_ex5 || that_present_ex5) { - if(!(this_present_ex5 && that_present_ex5)) - return false; - if(!this.ex5.equals(that.ex5)) - return false; - } - return true; } @@ -183158,21 +318338,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - - boolean present_ex5 = true && (isSetEx5()); - list.add(present_ex5); - if(present_ex5) - list.add(ex5); - return list.hashCode(); } @Override - public int compareTo(insertJsonRecords_result other) { + public int compareTo(selectKeysCriteria_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -183228,30 +318398,6 @@ public int compareTo(insertJsonRecords_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetEx5()) - .compareTo(other.isSetEx5()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx5()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex5, other.ex5); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -183271,7 +318417,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("insertJsonRecords_result("); + StringBuilder sb = new StringBuilder("selectKeysCriteria_result("); boolean first = true; sb.append("success:"); @@ -183312,26 +318458,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; - if(!first) - sb.append(", "); - sb.append("ex5:"); - if(this.ex5 == null) { - sb.append("null"); - } - else { - sb.append(this.ex5); - } - first = false; sb.append(")"); return sb.toString(); } @@ -183365,18 +318491,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class insertJsonRecords_resultStandardSchemeFactory + private static class selectKeysCriteria_resultStandardSchemeFactory implements SchemeFactory { - public insertJsonRecords_resultStandardScheme getScheme() { - return new insertJsonRecords_resultStandardScheme(); + public selectKeysCriteria_resultStandardScheme getScheme() { + return new selectKeysCriteria_resultStandardScheme(); } } - private static class insertJsonRecords_resultStandardScheme - extends StandardScheme { + private static class selectKeysCriteria_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - insertJsonRecords_result struct) + selectKeysCriteria_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -183389,16 +318515,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map856 = iprot + org.apache.thrift.protocol.TMap _map2260 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map856.size); - long _key857; - boolean _val858; - for (int _i859 = 0; _i859 < _map856.size; ++_i859) { - _key857 = iprot.readI64(); - _val858 = iprot.readBool(); - struct.success.put(_key857, _val858); + struct.success = new LinkedHashMap>>( + 2 * _map2260.size); + long _key2261; + Map> _val2262; + for (int _i2263 = 0; _i2263 < _map2260.size; ++_i2263) { + _key2261 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2264 = iprot + .readMapBegin(); + _val2262 = new LinkedHashMap>( + 2 * _map2264.size); + String _key2265; + Set _val2266; + for (int _i2267 = 0; _i2267 < _map2264.size; ++_i2267) { + _key2265 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2268 = iprot + .readSetBegin(); + _val2266 = new LinkedHashSet( + 2 * _set2268.size); + com.cinchapi.concourse.thrift.TObject _elem2269; + for (int _i2270 = 0; _i2270 < _set2268.size; ++_i2270) { + _elem2269 = new com.cinchapi.concourse.thrift.TObject(); + _elem2269.read(iprot); + _val2266.add(_elem2269); + } + iprot.readSetEnd(); + } + _val2262.put(_key2265, _val2266); + } + iprot.readMapEnd(); + } + struct.success.put(_key2261, _val2262); } iprot.readMapEnd(); } @@ -183433,7 +318584,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -183442,28 +318593,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 5: // EX5 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex5.read(iprot); - struct.setEx5IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -183478,7 +318607,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - insertJsonRecords_result struct) + selectKeysCriteria_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -183488,12 +318617,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.BOOL, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry _iter860 : struct.success + for (Map.Entry>> _iter2271 : struct.success .entrySet()) { - oprot.writeI64(_iter860.getKey()); - oprot.writeBool(_iter860.getValue()); + oprot.writeI64(_iter2271.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2271.getValue().size())); + for (Map.Entry> _iter2272 : _iter2271 + .getValue().entrySet()) { + oprot.writeString(_iter2272.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2272.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2273 : _iter2272 + .getValue()) { + _iter2273.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } oprot.writeMapEnd(); } @@ -183514,35 +318666,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } - if(struct.ex5 != null) { - oprot.writeFieldBegin(EX5_FIELD_DESC); - struct.ex5.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class insertJsonRecords_resultTupleSchemeFactory + private static class selectKeysCriteria_resultTupleSchemeFactory implements SchemeFactory { - public insertJsonRecords_resultTupleScheme getScheme() { - return new insertJsonRecords_resultTupleScheme(); + public selectKeysCriteria_resultTupleScheme getScheme() { + return new selectKeysCriteria_resultTupleScheme(); } } - private static class insertJsonRecords_resultTupleScheme - extends TupleScheme { + private static class selectKeysCriteria_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - insertJsonRecords_result struct) + selectKeysCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -183558,20 +318700,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - if(struct.isSetEx5()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter861 : struct.success + for (Map.Entry>> _iter2274 : struct.success .entrySet()) { - oprot.writeI64(_iter861.getKey()); - oprot.writeBool(_iter861.getValue()); + oprot.writeI64(_iter2274.getKey()); + { + oprot.writeI32(_iter2274.getValue().size()); + for (Map.Entry> _iter2275 : _iter2274 + .getValue().entrySet()) { + oprot.writeString(_iter2275.getKey()); + { + oprot.writeI32( + _iter2275.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2276 : _iter2275 + .getValue()) { + _iter2276.write(oprot); + } + } + } + } } } } @@ -183584,34 +318734,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } - if(struct.isSetEx5()) { - struct.ex5.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - insertJsonRecords_result struct) + selectKeysCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map862 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2277 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.BOOL, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map862.size); - long _key863; - boolean _val864; - for (int _i865 = 0; _i865 < _map862.size; ++_i865) { - _key863 = iprot.readI64(); - _val864 = iprot.readBool(); - struct.success.put(_key863, _val864); + struct.success = new LinkedHashMap>>( + 2 * _map2277.size); + long _key2278; + Map> _val2279; + for (int _i2280 = 0; _i2280 < _map2277.size; ++_i2280) { + _key2278 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2281 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val2279 = new LinkedHashMap>( + 2 * _map2281.size); + String _key2282; + Set _val2283; + for (int _i2284 = 0; _i2284 < _map2281.size; ++_i2284) { + _key2282 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2285 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2283 = new LinkedHashSet( + 2 * _set2285.size); + com.cinchapi.concourse.thrift.TObject _elem2286; + for (int _i2287 = 0; _i2287 < _set2285.size; ++_i2287) { + _elem2286 = new com.cinchapi.concourse.thrift.TObject(); + _elem2286.read(iprot); + _val2283.add(_elem2286); + } + } + _val2279.put(_key2282, _val2283); + } + } + struct.success.put(_key2278, _val2279); } } struct.setSuccessIsSet(true); @@ -183627,39 +318797,29 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - if(incoming.get(5)) { - struct.ex5 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex5.read(iprot); - struct.setEx5IsSet(true); - } } } } - public static class removeKeyValueRecord_args implements - org.apache.thrift.TBase, + public static class selectKeysCriteriaOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "removeKeyValueRecord_args"); + "selectKeysCriteriaOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( - "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -183672,14 +318832,14 @@ public static class removeKeyValueRecord_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new removeKeyValueRecord_argsStandardSchemeFactory()); + new selectKeysCriteriaOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new removeKeyValueRecord_argsTupleSchemeFactory()); + new selectKeysCriteriaOrder_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TObject value; // required - public long record; // required + public List keys; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -183689,9 +318849,9 @@ public static class removeKeyValueRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - VALUE((short) 2, "value"), - RECORD((short) 3, "record"), + KEYS((short) 1, "keys"), + CRITERIA((short) 2, "criteria"), + ORDER((short) 3, "order"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -183710,12 +318870,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // VALUE - return VALUE; - case 3: // RECORD - return RECORD; + case 1: // KEYS + return KEYS; + case 2: // CRITERIA + return CRITERIA; + case 3: // ORDER + return ORDER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -183766,28 +318926,29 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.VALUE, - new org.apache.thrift.meta_data.FieldMetaData("value", + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -183807,21 +318968,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - removeKeyValueRecord_args.class, metaDataMap); + selectKeysCriteriaOrder_args.class, metaDataMap); } - public removeKeyValueRecord_args() {} + public selectKeysCriteriaOrder_args() {} - public removeKeyValueRecord_args(String key, - com.cinchapi.concourse.thrift.TObject value, long record, + public selectKeysCriteriaOrder_args(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.value = value; - this.record = record; - setRecordIsSet(true); + this.keys = keys; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -183830,16 +318991,20 @@ public removeKeyValueRecord_args(String key, /** * Performs a deep copy on other. */ - public removeKeyValueRecord_args(removeKeyValueRecord_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public selectKeysCriteriaOrder_args( + selectKeysCriteriaOrder_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - if(other.isSetValue()) { - this.value = new com.cinchapi.concourse.thrift.TObject( - other.value); + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -183853,109 +319018,123 @@ public removeKeyValueRecord_args(removeKeyValueRecord_args other) { } } - public removeKeyValueRecord_args deepCopy() { - return new removeKeyValueRecord_args(this); + public selectKeysCriteriaOrder_args deepCopy() { + return new selectKeysCriteriaOrder_args(this); } @Override public void clear() { - this.key = null; - this.value = null; - setRecordIsSet(false); - this.record = 0; + this.keys = null; + this.criteria = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public removeKeyValueRecord_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysCriteriaOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } - public com.cinchapi.concourse.thrift.TObject getValue() { - return this.value; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public removeKeyValueRecord_args setValue( - com.cinchapi.concourse.thrift.TObject value) { - this.value = value; + public selectKeysCriteriaOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetValue() { - this.value = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field value is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetValue() { - return this.value != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setValueIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.value = null; + this.criteria = null; } } - public long getRecord() { - return this.record; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public removeKeyValueRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectKeysCriteriaOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetOrder() { + this.order = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetOrder() { + return this.order != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public removeKeyValueRecord_args setCreds( + public selectKeysCriteriaOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -183983,7 +319162,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public removeKeyValueRecord_args setTransaction( + public selectKeysCriteriaOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -184011,7 +319190,7 @@ public String getEnvironment() { return this.environment; } - public removeKeyValueRecord_args setEnvironment(String environment) { + public selectKeysCriteriaOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -184036,30 +319215,31 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; - case VALUE: + case CRITERIA: if(value == null) { - unsetValue(); + unsetCriteria(); } else { - setValue((com.cinchapi.concourse.thrift.TObject) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case RECORD: + case ORDER: if(value == null) { - unsetRecord(); + unsetOrder(); } else { - setRecord((Long) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -184096,14 +319276,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); - case VALUE: - return getValue(); + case CRITERIA: + return getCriteria(); - case RECORD: - return getRecord(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -184128,12 +319308,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case VALUE: - return isSetValue(); - case RECORD: - return isSetRecord(); + case KEYS: + return isSetKeys(); + case CRITERIA: + return isSetCriteria(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -184148,39 +319328,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof removeKeyValueRecord_args) - return this.equals((removeKeyValueRecord_args) that); + if(that instanceof selectKeysCriteriaOrder_args) + return this.equals((selectKeysCriteriaOrder_args) that); return false; } - public boolean equals(removeKeyValueRecord_args that) { + public boolean equals(selectKeysCriteriaOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_value = true && this.isSetValue(); - boolean that_present_value = true && that.isSetValue(); - if(this_present_value || that_present_value) { - if(!(this_present_value && that_present_value)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.value.equals(that.value)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(this.record != that.record) + if(!this.order.equals(that.order)) return false; } @@ -184218,20 +319398,20 @@ public boolean equals(removeKeyValueRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_value = true && (isSetValue()); - list.add(present_value); - if(present_value) - list.add(value); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -184252,7 +319432,7 @@ public int hashCode() { } @Override - public int compareTo(removeKeyValueRecord_args other) { + public int compareTo(selectKeysCriteriaOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -184260,38 +319440,38 @@ public int compareTo(removeKeyValueRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetValue()) - .compareTo(other.isSetValue()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetValue()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.value, other.value); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -184351,31 +319531,37 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("removeKeyValueRecord_args("); + StringBuilder sb = new StringBuilder( + "selectKeysCriteriaOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("value:"); - if(this.value == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.value); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -184414,8 +319600,11 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(value != null) { - value.validate(); + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); } if(creds != null) { creds.validate(); @@ -184440,10 +319629,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -184453,18 +319638,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class removeKeyValueRecord_argsStandardSchemeFactory + private static class selectKeysCriteriaOrder_argsStandardSchemeFactory implements SchemeFactory { - public removeKeyValueRecord_argsStandardScheme getScheme() { - return new removeKeyValueRecord_argsStandardScheme(); + public selectKeysCriteriaOrder_argsStandardScheme getScheme() { + return new selectKeysCriteriaOrder_argsStandardScheme(); } } - private static class removeKeyValueRecord_argsStandardScheme - extends StandardScheme { + private static class selectKeysCriteriaOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - removeKeyValueRecord_args struct) + selectKeysCriteriaOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -184474,31 +319659,43 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2288 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2288.size); + String _elem2289; + for (int _i2290 = 0; _i2290 < _list2288.size; ++_i2290) { + _elem2289 = iprot.readString(); + struct.keys.add(_elem2289); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // VALUE + case 2: // CRITERIA if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -184551,24 +319748,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - removeKeyValueRecord_args struct) + selectKeysCriteriaOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2291 : struct.keys) { + oprot.writeString(_iter2291); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - if(struct.value != null) { - oprot.writeFieldBegin(VALUE_FIELD_DESC); - struct.value.write(oprot); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -184590,29 +319798,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class removeKeyValueRecord_argsTupleSchemeFactory + private static class selectKeysCriteriaOrder_argsTupleSchemeFactory implements SchemeFactory { - public removeKeyValueRecord_argsTupleScheme getScheme() { - return new removeKeyValueRecord_argsTupleScheme(); + public selectKeysCriteriaOrder_argsTupleScheme getScheme() { + return new selectKeysCriteriaOrder_argsTupleScheme(); } } - private static class removeKeyValueRecord_argsTupleScheme - extends TupleScheme { + private static class selectKeysCriteriaOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - removeKeyValueRecord_args struct) + selectKeysCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetValue()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetRecord()) { + if(struct.isSetOrder()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -184625,14 +319833,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2292 : struct.keys) { + oprot.writeString(_iter2292); + } + } } - if(struct.isSetValue()) { - struct.value.write(oprot); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -184647,22 +319860,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - removeKeyValueRecord_args struct) + selectKeysCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list2293 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2293.size); + String _elem2294; + for (int _i2295 = 0; _i2295 < _list2293.size; ++_i2295) { + _elem2294 = iprot.readString(); + struct.keys.add(_elem2294); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -184683,38 +319907,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class removeKeyValueRecord_result implements - org.apache.thrift.TBase, + public static class selectKeysCriteriaOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "removeKeyValueRecord_result"); + "selectKeysCriteriaOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new removeKeyValueRecord_resultStandardSchemeFactory()); + new selectKeysCriteriaOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new removeKeyValueRecord_resultTupleSchemeFactory()); + new selectKeysCriteriaOrder_resultTupleSchemeFactory()); } - public boolean success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -184724,8 +319945,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -184749,8 +319969,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -184795,8 +320013,6 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -184804,8 +320020,19 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -184821,38 +320048,72 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - removeKeyValueRecord_result.class, metaDataMap); + selectKeysCriteriaOrder_result.class, metaDataMap); } - public removeKeyValueRecord_result() {} + public selectKeysCriteriaOrder_result() {} - public removeKeyValueRecord_result(boolean success, + public selectKeysCriteriaOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.InvalidArgumentException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; - setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public removeKeyValueRecord_result(removeKeyValueRecord_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public selectKeysCriteriaOrder_result( + selectKeysCriteriaOrder_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -184862,42 +320123,47 @@ public removeKeyValueRecord_result(removeKeyValueRecord_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public removeKeyValueRecord_result deepCopy() { - return new removeKeyValueRecord_result(this); + public selectKeysCriteriaOrder_result deepCopy() { + return new selectKeysCriteriaOrder_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } - public boolean isSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { return this.success; } - public removeKeyValueRecord_result setSuccess(boolean success) { + public selectKeysCriteriaOrder_result setSuccess( + Map>> success) { this.success = success; - setSuccessIsSet(true); return this; } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __SUCCESS_ISSET_ID); + this.success = null; } /** @@ -184905,19 +320171,20 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __SUCCESS_ISSET_ID, value); + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public removeKeyValueRecord_result setEx( + public selectKeysCriteriaOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -184945,7 +320212,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public removeKeyValueRecord_result setEx2( + public selectKeysCriteriaOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -184969,12 +320236,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public removeKeyValueRecord_result setEx3( - com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + public selectKeysCriteriaOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -184997,34 +320264,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public removeKeyValueRecord_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -185032,7 +320271,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Boolean) value); + setSuccess( + (Map>>) value); } break; @@ -185059,16 +320299,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -185078,7 +320309,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); case EX: return getEx(); @@ -185089,9 +320320,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -185114,8 +320342,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -185124,21 +320350,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof removeKeyValueRecord_result) - return this.equals((removeKeyValueRecord_result) that); + if(that instanceof selectKeysCriteriaOrder_result) + return this.equals((selectKeysCriteriaOrder_result) that); return false; } - public boolean equals(removeKeyValueRecord_result that) { + public boolean equals(selectKeysCriteriaOrder_result that) { if(that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(this.success != that.success) + if(!this.success.equals(that.success)) return false; } @@ -185169,15 +320395,6 @@ public boolean equals(removeKeyValueRecord_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -185185,7 +320402,7 @@ public boolean equals(removeKeyValueRecord_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if(present_success) list.add(success); @@ -185205,16 +320422,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(removeKeyValueRecord_result other) { + public int compareTo(selectKeysCriteriaOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -185270,18 +320482,6 @@ public int compareTo(removeKeyValueRecord_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -185302,11 +320502,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "removeKeyValueRecord_result("); + "selectKeysCriteriaOrder_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } first = false; if(!first) sb.append(", "); @@ -185338,16 +320543,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -185372,10 +320567,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -185385,18 +320576,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class removeKeyValueRecord_resultStandardSchemeFactory + private static class selectKeysCriteriaOrder_resultStandardSchemeFactory implements SchemeFactory { - public removeKeyValueRecord_resultStandardScheme getScheme() { - return new removeKeyValueRecord_resultStandardScheme(); + public selectKeysCriteriaOrder_resultStandardScheme getScheme() { + return new selectKeysCriteriaOrder_resultStandardScheme(); } } - private static class removeKeyValueRecord_resultStandardScheme - extends StandardScheme { + private static class selectKeysCriteriaOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - removeKeyValueRecord_result struct) + selectKeysCriteriaOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -185407,8 +320598,46 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map2296 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map2296.size); + long _key2297; + Map> _val2298; + for (int _i2299 = 0; _i2299 < _map2296.size; ++_i2299) { + _key2297 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2300 = iprot + .readMapBegin(); + _val2298 = new LinkedHashMap>( + 2 * _map2300.size); + String _key2301; + Set _val2302; + for (int _i2303 = 0; _i2303 < _map2300.size; ++_i2303) { + _key2301 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2304 = iprot + .readSetBegin(); + _val2302 = new LinkedHashSet( + 2 * _set2304.size); + com.cinchapi.concourse.thrift.TObject _elem2305; + for (int _i2306 = 0; _i2306 < _set2304.size; ++_i2306) { + _elem2305 = new com.cinchapi.concourse.thrift.TObject(); + _elem2305.read(iprot); + _val2302.add(_elem2305); + } + iprot.readSetEnd(); + } + _val2298.put(_key2301, _val2302); + } + iprot.readMapEnd(); + } + struct.success.put(_key2297, _val2298); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -185440,7 +320669,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -185449,17 +320678,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -185474,14 +320692,48 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - removeKeyValueRecord_result struct) + selectKeysCriteriaOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.isSetSuccess()) { + if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter2307 : struct.success + .entrySet()) { + oprot.writeI64(_iter2307.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2307.getValue().size())); + for (Map.Entry> _iter2308 : _iter2307 + .getValue().entrySet()) { + oprot.writeString(_iter2308.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2308.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2309 : _iter2308 + .getValue()) { + _iter2309.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -185499,30 +320751,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class removeKeyValueRecord_resultTupleSchemeFactory + private static class selectKeysCriteriaOrder_resultTupleSchemeFactory implements SchemeFactory { - public removeKeyValueRecord_resultTupleScheme getScheme() { - return new removeKeyValueRecord_resultTupleScheme(); + public selectKeysCriteriaOrder_resultTupleScheme getScheme() { + return new selectKeysCriteriaOrder_resultTupleScheme(); } } - private static class removeKeyValueRecord_resultTupleScheme - extends TupleScheme { + private static class selectKeysCriteriaOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - removeKeyValueRecord_result struct) + selectKeysCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -185538,12 +320785,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - oprot.writeBool(struct.success); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter2310 : struct.success + .entrySet()) { + oprot.writeI64(_iter2310.getKey()); + { + oprot.writeI32(_iter2310.getValue().size()); + for (Map.Entry> _iter2311 : _iter2310 + .getValue().entrySet()) { + oprot.writeString(_iter2311.getKey()); + { + oprot.writeI32( + _iter2311.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2312 : _iter2311 + .getValue()) { + _iter2312.write(oprot); + } + } + } + } + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -185554,19 +320819,56 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - removeKeyValueRecord_result struct) + selectKeysCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.success = iprot.readBool(); + { + org.apache.thrift.protocol.TMap _map2313 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map2313.size); + long _key2314; + Map> _val2315; + for (int _i2316 = 0; _i2316 < _map2313.size; ++_i2316) { + _key2314 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2317 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val2315 = new LinkedHashMap>( + 2 * _map2317.size); + String _key2318; + Set _val2319; + for (int _i2320 = 0; _i2320 < _map2317.size; ++_i2320) { + _key2318 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2321 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2319 = new LinkedHashSet( + 2 * _set2321.size); + com.cinchapi.concourse.thrift.TObject _elem2322; + for (int _i2323 = 0; _i2323 < _set2321.size; ++_i2323) { + _elem2322 = new com.cinchapi.concourse.thrift.TObject(); + _elem2322.read(iprot); + _val2319.add(_elem2322); + } + } + _val2315.put(_key2318, _val2319); + } + } + struct.success.put(_key2314, _val2315); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -185580,54 +320882,46 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class removeKeyValueRecords_args implements - org.apache.thrift.TBase, + public static class selectKeysCcl_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "removeKeyValueRecords_args"); + "selectKeysCcl_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( - "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 3); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new removeKeyValueRecords_argsStandardSchemeFactory()); + new selectKeysCcl_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new removeKeyValueRecords_argsTupleSchemeFactory()); + new selectKeysCcl_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TObject value; // required - public List records; // required + public List keys; // required + public String ccl; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -185637,12 +320931,11 @@ public static class removeKeyValueRecords_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - VALUE((short) 2, "value"), - RECORDS((short) 3, "records"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -185658,17 +320951,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // VALUE - return VALUE; - case 3: // RECORDS - return RECORDS; - case 4: // CREDS + case 1: // KEYS + return KEYS; + case 2: // CCL + return CCL; + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -185718,24 +321009,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.VALUE, - new org.apache.thrift.meta_data.FieldMetaData("value", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -185755,20 +321040,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - removeKeyValueRecords_args.class, metaDataMap); + selectKeysCcl_args.class, metaDataMap); } - public removeKeyValueRecords_args() {} + public selectKeysCcl_args() {} - public removeKeyValueRecords_args(String key, - com.cinchapi.concourse.thrift.TObject value, List records, + public selectKeysCcl_args(List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.value = value; - this.records = records; + this.keys = keys; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -185777,17 +321060,13 @@ public removeKeyValueRecords_args(String key, /** * Performs a deep copy on other. */ - public removeKeyValueRecords_args(removeKeyValueRecords_args other) { - if(other.isSetKey()) { - this.key = other.key; - } - if(other.isSetValue()) { - this.value = new com.cinchapi.concourse.thrift.TObject( - other.value); + public selectKeysCcl_args(selectKeysCcl_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetCcl()) { + this.ccl = other.ccl; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -185802,114 +321081,85 @@ public removeKeyValueRecords_args(removeKeyValueRecords_args other) { } } - public removeKeyValueRecords_args deepCopy() { - return new removeKeyValueRecords_args(this); + public selectKeysCcl_args deepCopy() { + return new selectKeysCcl_args(this); } @Override public void clear() { - this.key = null; - this.value = null; - this.records = null; + this.keys = null; + this.ccl = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; - } - - public removeKeyValueRecords_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); } - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); } + this.keys.add(elem); } - public com.cinchapi.concourse.thrift.TObject getValue() { - return this.value; + public List getKeys() { + return this.keys; } - public removeKeyValueRecords_args setValue( - com.cinchapi.concourse.thrift.TObject value) { - this.value = value; + public selectKeysCcl_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetValue() { - this.value = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field value is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetValue() { - return this.value != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setValueIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.value = null; - } - } - - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); - } - - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); - } - - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); + this.keys = null; } - this.records.add(elem); } - public List getRecords() { - return this.records; + public String getCcl() { + return this.ccl; } - public removeKeyValueRecords_args setRecords(List records) { - this.records = records; + public selectKeysCcl_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetRecords() { - this.records = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setRecordsIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.records = null; + this.ccl = null; } } @@ -185917,7 +321167,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public removeKeyValueRecords_args setCreds( + public selectKeysCcl_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -185945,7 +321195,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public removeKeyValueRecords_args setTransaction( + public selectKeysCcl_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -185973,7 +321223,7 @@ public String getEnvironment() { return this.environment; } - public removeKeyValueRecords_args setEnvironment(String environment) { + public selectKeysCcl_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -185998,30 +321248,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case VALUE: + case KEYS: if(value == null) { - unsetValue(); + unsetKeys(); } else { - setValue((com.cinchapi.concourse.thrift.TObject) value); + setKeys((List) value); } break; - case RECORDS: + case CCL: if(value == null) { - unsetRecords(); + unsetCcl(); } else { - setRecords((List) value); + setCcl((String) value); } break; @@ -186058,14 +321299,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case VALUE: - return getValue(); + case KEYS: + return getKeys(); - case RECORDS: - return getRecords(); + case CCL: + return getCcl(); case CREDS: return getCreds(); @@ -186090,12 +321328,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case VALUE: - return isSetValue(); - case RECORDS: - return isSetRecords(); + case KEYS: + return isSetKeys(); + case CCL: + return isSetCcl(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -186110,39 +321346,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof removeKeyValueRecords_args) - return this.equals((removeKeyValueRecords_args) that); + if(that instanceof selectKeysCcl_args) + return this.equals((selectKeysCcl_args) that); return false; } - public boolean equals(removeKeyValueRecords_args that) { + public boolean equals(selectKeysCcl_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_value = true && this.isSetValue(); - boolean that_present_value = true && that.isSetValue(); - if(this_present_value || that_present_value) { - if(!(this_present_value && that_present_value)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.value.equals(that.value)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.records.equals(that.records)) + if(!this.ccl.equals(that.ccl)) return false; } @@ -186180,20 +321407,15 @@ public boolean equals(removeKeyValueRecords_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_value = true && (isSetValue()); - list.add(present_value); - if(present_value) - list.add(value); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -186214,7 +321436,7 @@ public int hashCode() { } @Override - public int compareTo(removeKeyValueRecords_args other) { + public int compareTo(selectKeysCcl_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -186222,38 +321444,26 @@ public int compareTo(removeKeyValueRecords_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetValue()) - .compareTo(other.isSetValue()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetValue()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.value, other.value); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -186313,35 +321523,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("removeKeyValueRecords_args("); + StringBuilder sb = new StringBuilder("selectKeysCcl_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { - sb.append("null"); - } - else { - sb.append(this.key); - } - first = false; - if(!first) - sb.append(", "); - sb.append("value:"); - if(this.value == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.value); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("records:"); - if(this.records == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.ccl); } first = false; if(!first) @@ -186381,9 +321581,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(value != null) { - value.validate(); - } if(creds != null) { creds.validate(); } @@ -186416,18 +321613,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class removeKeyValueRecords_argsStandardSchemeFactory + private static class selectKeysCcl_argsStandardSchemeFactory implements SchemeFactory { - public removeKeyValueRecords_argsStandardScheme getScheme() { - return new removeKeyValueRecords_argsStandardScheme(); + public selectKeysCcl_argsStandardScheme getScheme() { + return new selectKeysCcl_argsStandardScheme(); } } - private static class removeKeyValueRecords_argsStandardScheme - extends StandardScheme { + private static class selectKeysCcl_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - removeKeyValueRecords_args struct) + selectKeysCcl_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -186437,49 +321634,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // VALUE - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // RECORDS + case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list866 = iprot + org.apache.thrift.protocol.TList _list2324 = iprot .readListBegin(); - struct.records = new ArrayList( - _list866.size); - long _elem867; - for (int _i868 = 0; _i868 < _list866.size; ++_i868) { - _elem867 = iprot.readI64(); - struct.records.add(_elem867); + struct.keys = new ArrayList( + _list2324.size); + String _elem2325; + for (int _i2326 = 0; _i2326 < _list2324.size; ++_i2326) { + _elem2325 = iprot.readString(); + struct.keys.add(_elem2325); } iprot.readListEnd(); } - struct.setRecordsIsSet(true); + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -186490,7 +321676,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -186501,7 +321687,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -186525,35 +321711,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - removeKeyValueRecords_args struct) + selectKeysCcl_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } - if(struct.value != null) { - oprot.writeFieldBegin(VALUE_FIELD_DESC); - struct.value.write(oprot); - oprot.writeFieldEnd(); - } - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter869 : struct.records) { - oprot.writeI64(_iter869); + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2327 : struct.keys) { + oprot.writeString(_iter2327); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -186575,55 +321756,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class removeKeyValueRecords_argsTupleSchemeFactory + private static class selectKeysCcl_argsTupleSchemeFactory implements SchemeFactory { - public removeKeyValueRecords_argsTupleScheme getScheme() { - return new removeKeyValueRecords_argsTupleScheme(); + public selectKeysCcl_argsTupleScheme getScheme() { + return new selectKeysCcl_argsTupleScheme(); } } - private static class removeKeyValueRecords_argsTupleScheme - extends TupleScheme { + private static class selectKeysCcl_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - removeKeyValueRecords_args struct) + selectKeysCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetValue()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetRecords()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); - } - if(struct.isSetValue()) { - struct.value.write(oprot); + optionals.set(4); } - if(struct.isSetRecords()) { + oprot.writeBitSet(optionals, 5); + if(struct.isSetKeys()) { { - oprot.writeI32(struct.records.size()); - for (long _iter870 : struct.records) { - oprot.writeI64(_iter870); + oprot.writeI32(struct.keys.size()); + for (String _iter2328 : struct.keys) { + oprot.writeString(_iter2328); } } } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -186637,44 +321812,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - removeKeyValueRecords_args struct) + selectKeysCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - if(incoming.get(1)) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); - } - if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list871 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TList _list2329 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.records = new ArrayList(_list871.size); - long _elem872; - for (int _i873 = 0; _i873 < _list871.size; ++_i873) { - _elem872 = iprot.readI64(); - struct.records.add(_elem872); + struct.keys = new ArrayList(_list2329.size); + String _elem2330; + for (int _i2331 = 0; _i2331 < _list2329.size; ++_i2331) { + _elem2330 = iprot.readString(); + struct.keys.add(_elem2330); } } - struct.setRecordsIsSet(true); + struct.setKeysIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(1)) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -186683,13 +321853,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class removeKeyValueRecords_result implements - org.apache.thrift.TBase, + public static class selectKeysCcl_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "removeKeyValueRecords_result"); + "selectKeysCcl_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -186705,15 +321875,15 @@ public static class removeKeyValueRecords_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new removeKeyValueRecords_resultStandardSchemeFactory()); + new selectKeysCcl_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new removeKeyValueRecords_resultTupleSchemeFactory()); + new selectKeysCcl_resultTupleSchemeFactory()); } - public Map success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** @@ -186806,8 +321976,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL)))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -186830,15 +322007,16 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - removeKeyValueRecords_result.class, metaDataMap); + selectKeysCcl_result.class, metaDataMap); } - public removeKeyValueRecords_result() {} + public selectKeysCcl_result() {} - public removeKeyValueRecords_result(Map success, + public selectKeysCcl_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.InvalidArgumentException ex3, + com.cinchapi.concourse.thrift.ParseException ex3, com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; @@ -186851,11 +322029,47 @@ public removeKeyValueRecords_result(Map success, /** * Performs a deep copy on other. */ - public removeKeyValueRecords_result( - removeKeyValueRecords_result other) { + public selectKeysCcl_result(selectKeysCcl_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -186867,7 +322081,7 @@ public removeKeyValueRecords_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } if(other.isSetEx4()) { @@ -186876,8 +322090,8 @@ public removeKeyValueRecords_result( } } - public removeKeyValueRecords_result deepCopy() { - return new removeKeyValueRecords_result(this); + public selectKeysCcl_result deepCopy() { + return new selectKeysCcl_result(this); } @Override @@ -186893,19 +322107,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, boolean val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map>> getSuccess() { return this.success; } - public removeKeyValueRecords_result setSuccess( - Map success) { + public selectKeysCcl_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -186932,7 +322147,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public removeKeyValueRecords_result setEx( + public selectKeysCcl_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -186960,7 +322175,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public removeKeyValueRecords_result setEx2( + public selectKeysCcl_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -186984,12 +322199,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public removeKeyValueRecords_result setEx3( - com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + public selectKeysCcl_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -187016,7 +322231,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public removeKeyValueRecords_result setEx4( + public selectKeysCcl_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -187047,7 +322262,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Map) value); + setSuccess( + (Map>>) value); } break; @@ -187074,7 +322290,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); } break; @@ -187139,12 +322355,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof removeKeyValueRecords_result) - return this.equals((removeKeyValueRecords_result) that); + if(that instanceof selectKeysCcl_result) + return this.equals((selectKeysCcl_result) that); return false; } - public boolean equals(removeKeyValueRecords_result that) { + public boolean equals(selectKeysCcl_result that) { if(that == null) return false; @@ -187229,7 +322445,7 @@ public int hashCode() { } @Override - public int compareTo(removeKeyValueRecords_result other) { + public int compareTo(selectKeysCcl_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -187316,8 +322532,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "removeKeyValueRecords_result("); + StringBuilder sb = new StringBuilder("selectKeysCcl_result("); boolean first = true; sb.append("success:"); @@ -187401,18 +322616,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class removeKeyValueRecords_resultStandardSchemeFactory + private static class selectKeysCcl_resultStandardSchemeFactory implements SchemeFactory { - public removeKeyValueRecords_resultStandardScheme getScheme() { - return new removeKeyValueRecords_resultStandardScheme(); + public selectKeysCcl_resultStandardScheme getScheme() { + return new selectKeysCcl_resultStandardScheme(); } } - private static class removeKeyValueRecords_resultStandardScheme - extends StandardScheme { + private static class selectKeysCcl_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - removeKeyValueRecords_result struct) + selectKeysCcl_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -187425,16 +322640,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map874 = iprot + org.apache.thrift.protocol.TMap _map2332 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map874.size); - long _key875; - boolean _val876; - for (int _i877 = 0; _i877 < _map874.size; ++_i877) { - _key875 = iprot.readI64(); - _val876 = iprot.readBool(); - struct.success.put(_key875, _val876); + struct.success = new LinkedHashMap>>( + 2 * _map2332.size); + long _key2333; + Map> _val2334; + for (int _i2335 = 0; _i2335 < _map2332.size; ++_i2335) { + _key2333 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2336 = iprot + .readMapBegin(); + _val2334 = new LinkedHashMap>( + 2 * _map2336.size); + String _key2337; + Set _val2338; + for (int _i2339 = 0; _i2339 < _map2336.size; ++_i2339) { + _key2337 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2340 = iprot + .readSetBegin(); + _val2338 = new LinkedHashSet( + 2 * _set2340.size); + com.cinchapi.concourse.thrift.TObject _elem2341; + for (int _i2342 = 0; _i2342 < _set2340.size; ++_i2342) { + _elem2341 = new com.cinchapi.concourse.thrift.TObject(); + _elem2341.read(iprot); + _val2338.add(_elem2341); + } + iprot.readSetEnd(); + } + _val2334.put(_key2337, _val2338); + } + iprot.readMapEnd(); + } + struct.success.put(_key2333, _val2334); } iprot.readMapEnd(); } @@ -187469,7 +322709,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -187503,7 +322743,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - removeKeyValueRecords_result struct) + selectKeysCcl_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -187513,12 +322753,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.BOOL, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry _iter878 : struct.success + for (Map.Entry>> _iter2343 : struct.success .entrySet()) { - oprot.writeI64(_iter878.getKey()); - oprot.writeBool(_iter878.getValue()); + oprot.writeI64(_iter2343.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2343.getValue().size())); + for (Map.Entry> _iter2344 : _iter2343 + .getValue().entrySet()) { + oprot.writeString(_iter2344.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2344.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2345 : _iter2344 + .getValue()) { + _iter2345.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } oprot.writeMapEnd(); } @@ -187550,19 +322813,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class removeKeyValueRecords_resultTupleSchemeFactory + private static class selectKeysCcl_resultTupleSchemeFactory implements SchemeFactory { - public removeKeyValueRecords_resultTupleScheme getScheme() { - return new removeKeyValueRecords_resultTupleScheme(); + public selectKeysCcl_resultTupleScheme getScheme() { + return new selectKeysCcl_resultTupleScheme(); } } - private static class removeKeyValueRecords_resultTupleScheme - extends TupleScheme { + private static class selectKeysCcl_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - removeKeyValueRecords_result struct) + selectKeysCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -187585,10 +322848,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter879 : struct.success + for (Map.Entry>> _iter2346 : struct.success .entrySet()) { - oprot.writeI64(_iter879.getKey()); - oprot.writeBool(_iter879.getValue()); + oprot.writeI64(_iter2346.getKey()); + { + oprot.writeI32(_iter2346.getValue().size()); + for (Map.Entry> _iter2347 : _iter2346 + .getValue().entrySet()) { + oprot.writeString(_iter2347.getKey()); + { + oprot.writeI32( + _iter2347.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2348 : _iter2347 + .getValue()) { + _iter2348.write(oprot); + } + } + } + } } } } @@ -187608,24 +322885,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - removeKeyValueRecords_result struct) + selectKeysCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map880 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2349 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.BOOL, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map880.size); - long _key881; - boolean _val882; - for (int _i883 = 0; _i883 < _map880.size; ++_i883) { - _key881 = iprot.readI64(); - _val882 = iprot.readBool(); - struct.success.put(_key881, _val882); + struct.success = new LinkedHashMap>>( + 2 * _map2349.size); + long _key2350; + Map> _val2351; + for (int _i2352 = 0; _i2352 < _map2349.size; ++_i2352) { + _key2350 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2353 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val2351 = new LinkedHashMap>( + 2 * _map2353.size); + String _key2354; + Set _val2355; + for (int _i2356 = 0; _i2356 < _map2353.size; ++_i2356) { + _key2354 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2357 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2355 = new LinkedHashSet( + 2 * _set2357.size); + com.cinchapi.concourse.thrift.TObject _elem2358; + for (int _i2359 = 0; _i2359 < _set2357.size; ++_i2359) { + _elem2358 = new com.cinchapi.concourse.thrift.TObject(); + _elem2358.read(iprot); + _val2355.add(_elem2358); + } + } + _val2351.put(_key2354, _val2355); + } + } + struct.success.put(_key2350, _val2351); } } struct.setSuccessIsSet(true); @@ -187641,7 +322944,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -187655,20 +322958,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class setKeyValueRecord_args implements - org.apache.thrift.TBase, + public static class selectKeysCclOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "setKeyValueRecord_args"); + "selectKeysCclOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( - "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -187681,14 +322984,14 @@ public static class setKeyValueRecord_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new setKeyValueRecord_argsStandardSchemeFactory()); + new selectKeysCclOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new setKeyValueRecord_argsTupleSchemeFactory()); + new selectKeysCclOrder_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TObject value; // required - public long record; // required + public List keys; // required + public String ccl; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -187698,9 +323001,9 @@ public static class setKeyValueRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - VALUE((short) 2, "value"), - RECORD((short) 3, "record"), + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), + ORDER((short) 3, "order"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -187719,12 +323022,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // VALUE - return VALUE; - case 3: // RECORD - return RECORD; + case 1: // KEYS + return KEYS; + case 2: // CCL + return CCL; + case 3: // ORDER + return ORDER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -187775,28 +323078,28 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.VALUE, - new org.apache.thrift.meta_data.FieldMetaData("value", + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -187816,21 +323119,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - setKeyValueRecord_args.class, metaDataMap); + selectKeysCclOrder_args.class, metaDataMap); } - public setKeyValueRecord_args() {} + public selectKeysCclOrder_args() {} - public setKeyValueRecord_args(String key, - com.cinchapi.concourse.thrift.TObject value, long record, + public selectKeysCclOrder_args(List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.value = value; - this.record = record; - setRecordIsSet(true); + this.keys = keys; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -187839,16 +323141,18 @@ public setKeyValueRecord_args(String key, /** * Performs a deep copy on other. */ - public setKeyValueRecord_args(setKeyValueRecord_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public selectKeysCclOrder_args(selectKeysCclOrder_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - if(other.isSetValue()) { - this.value = new com.cinchapi.concourse.thrift.TObject( - other.value); + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -187862,109 +323166,122 @@ public setKeyValueRecord_args(setKeyValueRecord_args other) { } } - public setKeyValueRecord_args deepCopy() { - return new setKeyValueRecord_args(this); + public selectKeysCclOrder_args deepCopy() { + return new selectKeysCclOrder_args(this); } @Override public void clear() { - this.key = null; - this.value = null; - setRecordIsSet(false); - this.record = 0; + this.keys = null; + this.ccl = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public setKeyValueRecord_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysCclOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } - public com.cinchapi.concourse.thrift.TObject getValue() { - return this.value; + public String getCcl() { + return this.ccl; } - public setKeyValueRecord_args setValue( - com.cinchapi.concourse.thrift.TObject value) { - this.value = value; + public selectKeysCclOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetValue() { - this.value = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field value is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetValue() { - return this.value != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setValueIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.value = null; + this.ccl = null; } } - public long getRecord() { - return this.record; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public setKeyValueRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectKeysCclOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetOrder() { + this.order = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetOrder() { + return this.order != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public setKeyValueRecord_args setCreds( + public selectKeysCclOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -187992,7 +323309,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public setKeyValueRecord_args setTransaction( + public selectKeysCclOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -188020,7 +323337,7 @@ public String getEnvironment() { return this.environment; } - public setKeyValueRecord_args setEnvironment(String environment) { + public selectKeysCclOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -188045,30 +323362,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; - case VALUE: + case CCL: if(value == null) { - unsetValue(); + unsetCcl(); } else { - setValue((com.cinchapi.concourse.thrift.TObject) value); + setCcl((String) value); } break; - case RECORD: + case ORDER: if(value == null) { - unsetRecord(); + unsetOrder(); } else { - setRecord((Long) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -188105,14 +323422,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); - case VALUE: - return getValue(); + case CCL: + return getCcl(); - case RECORD: - return getRecord(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -188137,12 +323454,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case VALUE: - return isSetValue(); - case RECORD: - return isSetRecord(); + case KEYS: + return isSetKeys(); + case CCL: + return isSetCcl(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -188157,39 +323474,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof setKeyValueRecord_args) - return this.equals((setKeyValueRecord_args) that); + if(that instanceof selectKeysCclOrder_args) + return this.equals((selectKeysCclOrder_args) that); return false; } - public boolean equals(setKeyValueRecord_args that) { + public boolean equals(selectKeysCclOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_value = true && this.isSetValue(); - boolean that_present_value = true && that.isSetValue(); - if(this_present_value || that_present_value) { - if(!(this_present_value && that_present_value)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.value.equals(that.value)) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(this.record != that.record) + if(!this.order.equals(that.order)) return false; } @@ -188227,20 +323544,20 @@ public boolean equals(setKeyValueRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_value = true && (isSetValue()); - list.add(present_value); - if(present_value) - list.add(value); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -188261,7 +323578,7 @@ public int hashCode() { } @Override - public int compareTo(setKeyValueRecord_args other) { + public int compareTo(selectKeysCclOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -188269,38 +323586,38 @@ public int compareTo(setKeyValueRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetValue()) - .compareTo(other.isSetValue()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetValue()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.value, other.value); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -188360,31 +323677,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("setKeyValueRecord_args("); + StringBuilder sb = new StringBuilder("selectKeysCclOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("value:"); - if(this.value == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.value); + sb.append(this.ccl); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -188423,8 +323745,8 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(value != null) { - value.validate(); + if(order != null) { + order.validate(); } if(creds != null) { creds.validate(); @@ -188449,10 +323771,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -188462,18 +323780,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class setKeyValueRecord_argsStandardSchemeFactory + private static class selectKeysCclOrder_argsStandardSchemeFactory implements SchemeFactory { - public setKeyValueRecord_argsStandardScheme getScheme() { - return new setKeyValueRecord_argsStandardScheme(); + public selectKeysCclOrder_argsStandardScheme getScheme() { + return new selectKeysCclOrder_argsStandardScheme(); } } - private static class setKeyValueRecord_argsStandardScheme - extends StandardScheme { + private static class selectKeysCclOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - setKeyValueRecord_args struct) + selectKeysCclOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -188483,31 +323801,42 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2360 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2360.size); + String _elem2361; + for (int _i2362 = 0; _i2362 < _list2360.size; ++_i2362) { + _elem2361 = iprot.readString(); + struct.keys.add(_elem2361); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // VALUE - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -188560,24 +323889,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - setKeyValueRecord_args struct) + selectKeysCclOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2363 : struct.keys) { + oprot.writeString(_iter2363); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - if(struct.value != null) { - oprot.writeFieldBegin(VALUE_FIELD_DESC); - struct.value.write(oprot); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -188599,29 +323939,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class setKeyValueRecord_argsTupleSchemeFactory + private static class selectKeysCclOrder_argsTupleSchemeFactory implements SchemeFactory { - public setKeyValueRecord_argsTupleScheme getScheme() { - return new setKeyValueRecord_argsTupleScheme(); + public selectKeysCclOrder_argsTupleScheme getScheme() { + return new selectKeysCclOrder_argsTupleScheme(); } } - private static class setKeyValueRecord_argsTupleScheme - extends TupleScheme { + private static class selectKeysCclOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - setKeyValueRecord_args struct) + selectKeysCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetValue()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetRecord()) { + if(struct.isSetOrder()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -188634,14 +323974,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2364 : struct.keys) { + oprot.writeString(_iter2364); + } + } } - if(struct.isSetValue()) { - struct.value.write(oprot); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -188656,22 +324001,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - setKeyValueRecord_args struct) + selectKeysCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list2365 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2365.size); + String _elem2366; + for (int _i2367 = 0; _i2367 < _list2365.size; ++_i2367) { + _elem2366 = iprot.readString(); + struct.keys.add(_elem2366); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -188692,14 +324047,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class setKeyValueRecord_result implements - org.apache.thrift.TBase, + public static class selectKeysCclOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "setKeyValueRecord_result"); + "selectKeysCclOrder_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -188712,14 +324069,15 @@ public static class setKeyValueRecord_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new setKeyValueRecord_resultStandardSchemeFactory()); + new selectKeysCclOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new setKeyValueRecord_resultTupleSchemeFactory()); + new selectKeysCclOrder_resultTupleSchemeFactory()); } + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** @@ -188727,6 +324085,7 @@ public static class setKeyValueRecord_result implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"), @@ -188746,6 +324105,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; case 2: // EX2 @@ -188802,6 +324163,22 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -188824,17 +324201,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - setKeyValueRecord_result.class, metaDataMap); + selectKeysCclOrder_result.class, metaDataMap); } - public setKeyValueRecord_result() {} + public selectKeysCclOrder_result() {} - public setKeyValueRecord_result( + public selectKeysCclOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.InvalidArgumentException ex3, + com.cinchapi.concourse.thrift.ParseException ex3, com.cinchapi.concourse.thrift.PermissionException ex4) { this(); + this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; @@ -188844,7 +324223,49 @@ public setKeyValueRecord_result( /** * Performs a deep copy on other. */ - public setKeyValueRecord_result(setKeyValueRecord_result other) { + public selectKeysCclOrder_result(selectKeysCclOrder_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -188854,7 +324275,7 @@ public setKeyValueRecord_result(setKeyValueRecord_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } if(other.isSetEx4()) { @@ -188863,23 +324284,64 @@ public setKeyValueRecord_result(setKeyValueRecord_result other) { } } - public setKeyValueRecord_result deepCopy() { - return new setKeyValueRecord_result(this); + public selectKeysCclOrder_result deepCopy() { + return new selectKeysCclOrder_result(this); } @Override public void clear() { + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; this.ex4 = null; } + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public selectKeysCclOrder_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public setKeyValueRecord_result setEx( + public selectKeysCclOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -188907,7 +324369,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public setKeyValueRecord_result setEx2( + public selectKeysCclOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -188931,12 +324393,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public setKeyValueRecord_result setEx3( - com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + public selectKeysCclOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -188963,7 +324425,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public setKeyValueRecord_result setEx4( + public selectKeysCclOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -188989,6 +324451,16 @@ public void setEx4IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -189012,7 +324484,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); } break; @@ -189030,6 +324502,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); @@ -189056,6 +324531,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); case EX2: @@ -189072,15 +324549,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof setKeyValueRecord_result) - return this.equals((setKeyValueRecord_result) that); + if(that instanceof selectKeysCclOrder_result) + return this.equals((selectKeysCclOrder_result) that); return false; } - public boolean equals(setKeyValueRecord_result that) { + public boolean equals(selectKeysCclOrder_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -189124,6 +324610,11 @@ public boolean equals(setKeyValueRecord_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -189148,7 +324639,7 @@ public int hashCode() { } @Override - public int compareTo(setKeyValueRecord_result other) { + public int compareTo(selectKeysCclOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -189156,6 +324647,18 @@ public int compareTo(setKeyValueRecord_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -189223,9 +324726,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("setKeyValueRecord_result("); + StringBuilder sb = new StringBuilder("selectKeysCclOrder_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -189297,18 +324810,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class setKeyValueRecord_resultStandardSchemeFactory + private static class selectKeysCclOrder_resultStandardSchemeFactory implements SchemeFactory { - public setKeyValueRecord_resultStandardScheme getScheme() { - return new setKeyValueRecord_resultStandardScheme(); + public selectKeysCclOrder_resultStandardScheme getScheme() { + return new selectKeysCclOrder_resultStandardScheme(); } } - private static class setKeyValueRecord_resultStandardScheme - extends StandardScheme { + private static class selectKeysCclOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - setKeyValueRecord_result struct) + selectKeysCclOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -189318,6 +324831,54 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map2368 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map2368.size); + long _key2369; + Map> _val2370; + for (int _i2371 = 0; _i2371 < _map2368.size; ++_i2371) { + _key2369 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2372 = iprot + .readMapBegin(); + _val2370 = new LinkedHashMap>( + 2 * _map2372.size); + String _key2373; + Set _val2374; + for (int _i2375 = 0; _i2375 < _map2372.size; ++_i2375) { + _key2373 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2376 = iprot + .readSetBegin(); + _val2374 = new LinkedHashSet( + 2 * _set2376.size); + com.cinchapi.concourse.thrift.TObject _elem2377; + for (int _i2378 = 0; _i2378 < _set2376.size; ++_i2378) { + _elem2377 = new com.cinchapi.concourse.thrift.TObject(); + _elem2377.read(iprot); + _val2374.add(_elem2377); + } + iprot.readSetEnd(); + } + _val2370.put(_key2373, _val2374); + } + iprot.readMapEnd(); + } + struct.success.put(_key2369, _val2370); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -189342,7 +324903,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -189376,11 +324937,50 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - setKeyValueRecord_result struct) + selectKeysCclOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter2379 : struct.success + .entrySet()) { + oprot.writeI64(_iter2379.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2379.getValue().size())); + for (Map.Entry> _iter2380 : _iter2379 + .getValue().entrySet()) { + oprot.writeString(_iter2380.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2380.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2381 : _iter2380 + .getValue()) { + _iter2381.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -189407,35 +325007,62 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class setKeyValueRecord_resultTupleSchemeFactory + private static class selectKeysCclOrder_resultTupleSchemeFactory implements SchemeFactory { - public setKeyValueRecord_resultTupleScheme getScheme() { - return new setKeyValueRecord_resultTupleScheme(); + public selectKeysCclOrder_resultTupleScheme getScheme() { + return new selectKeysCclOrder_resultTupleScheme(); } } - private static class setKeyValueRecord_resultTupleScheme - extends TupleScheme { + private static class selectKeysCclOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - setKeyValueRecord_result struct) + selectKeysCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - if(struct.isSetEx2()) { + if(struct.isSetEx()) { optionals.set(1); } - if(struct.isSetEx3()) { + if(struct.isSetEx2()) { optionals.set(2); } - if(struct.isSetEx4()) { + if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter2382 : struct.success + .entrySet()) { + oprot.writeI64(_iter2382.getKey()); + { + oprot.writeI32(_iter2382.getValue().size()); + for (Map.Entry> _iter2383 : _iter2382 + .getValue().entrySet()) { + oprot.writeString(_iter2383.getKey()); + { + oprot.writeI32( + _iter2383.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2384 : _iter2383 + .getValue()) { + _iter2384.write(oprot); + } + } + } + } + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -189452,26 +325079,70 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - setKeyValueRecord_result struct) + selectKeysCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map2385 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map2385.size); + long _key2386; + Map> _val2387; + for (int _i2388 = 0; _i2388 < _map2385.size; ++_i2388) { + _key2386 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2389 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val2387 = new LinkedHashMap>( + 2 * _map2389.size); + String _key2390; + Set _val2391; + for (int _i2392 = 0; _i2392 < _map2389.size; ++_i2392) { + _key2390 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2393 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2391 = new LinkedHashSet( + 2 * _set2393.size); + com.cinchapi.concourse.thrift.TObject _elem2394; + for (int _i2395 = 0; _i2395 < _set2393.size; ++_i2395) { + _elem2394 = new com.cinchapi.concourse.thrift.TObject(); + _elem2394.read(iprot); + _val2391.add(_elem2394); + } + } + _val2387.put(_key2390, _val2391); + } + } + struct.success.put(_key2386, _val2387); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(2)) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex4.read(iprot); struct.setEx4IsSet(true); @@ -189481,37 +325152,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class setKeyValue_args implements - org.apache.thrift.TBase, + public static class selectKeysCriteriaTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "setKeyValue_args"); + "selectKeysCriteriaTime_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( - "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new setKeyValue_argsStandardSchemeFactory()); + new selectKeysCriteriaTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new setKeyValue_argsTupleSchemeFactory()); + new selectKeysCriteriaTime_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TObject value; // required + public List keys; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -189521,11 +325195,12 @@ public static class setKeyValue_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - VALUE((short) 2, "value"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEYS((short) 1, "keys"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -189541,15 +325216,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // VALUE - return VALUE; - case 3: // CREDS + case 1: // KEYS + return KEYS; + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -189595,21 +325272,30 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.VALUE, - new org.apache.thrift.meta_data.FieldMetaData("value", + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -189628,20 +325314,22 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(setKeyValue_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeysCriteriaTime_args.class, metaDataMap); } - public setKeyValue_args() {} + public selectKeysCriteriaTime_args() {} - public setKeyValue_args(String key, - com.cinchapi.concourse.thrift.TObject value, - com.cinchapi.concourse.thrift.AccessToken creds, + public selectKeysCriteriaTime_args(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.value = value; + this.keys = keys; + this.criteria = criteria; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -189650,14 +325338,17 @@ public setKeyValue_args(String key, /** * Performs a deep copy on other. */ - public setKeyValue_args(setKeyValue_args other) { - if(other.isSetKey()) { - this.key = other.key; + public selectKeysCriteriaTime_args(selectKeysCriteriaTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - if(other.isSetValue()) { - this.value = new com.cinchapi.concourse.thrift.TObject( - other.value); + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -189671,79 +325362,125 @@ public setKeyValue_args(setKeyValue_args other) { } } - public setKeyValue_args deepCopy() { - return new setKeyValue_args(this); + public selectKeysCriteriaTime_args deepCopy() { + return new selectKeysCriteriaTime_args(this); } @Override public void clear() { - this.key = null; - this.value = null; + this.keys = null; + this.criteria = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public setKeyValue_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysCriteriaTime_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } - public com.cinchapi.concourse.thrift.TObject getValue() { - return this.value; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public setKeyValue_args setValue( - com.cinchapi.concourse.thrift.TObject value) { - this.value = value; + public selectKeysCriteriaTime_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetValue() { - this.value = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field value is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetValue() { - return this.value != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setValueIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.value = null; + this.criteria = null; } } + public long getTimestamp() { + return this.timestamp; + } + + public selectKeysCriteriaTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public setKeyValue_args setCreds( + public selectKeysCriteriaTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -189771,7 +325508,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public setKeyValue_args setTransaction( + public selectKeysCriteriaTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -189799,7 +325536,7 @@ public String getEnvironment() { return this.environment; } - public setKeyValue_args setEnvironment(String environment) { + public selectKeysCriteriaTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -189822,23 +325559,33 @@ public void setEnvironmentIsSet(boolean value) { } } - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case KEY: + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case CRITERIA: if(value == null) { - unsetKey(); + unsetCriteria(); } else { - setKey((String) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case VALUE: + case TIMESTAMP: if(value == null) { - unsetValue(); + unsetTimestamp(); } else { - setValue((com.cinchapi.concourse.thrift.TObject) value); + setTimestamp((Long) value); } break; @@ -189875,11 +325622,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); - case VALUE: - return getValue(); + case CRITERIA: + return getCriteria(); + + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -189904,10 +325654,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case VALUE: - return isSetValue(); + case KEYS: + return isSetKeys(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -189922,30 +325674,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof setKeyValue_args) - return this.equals((setKeyValue_args) that); + if(that instanceof selectKeysCriteriaTime_args) + return this.equals((selectKeysCriteriaTime_args) that); return false; } - public boolean equals(setKeyValue_args that) { + public boolean equals(selectKeysCriteriaTime_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_value = true && this.isSetValue(); - boolean that_present_value = true && that.isSetValue(); - if(this_present_value || that_present_value) { - if(!(this_present_value && that_present_value)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.value.equals(that.value)) + if(!this.criteria.equals(that.criteria)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) return false; } @@ -189983,15 +325744,20 @@ public boolean equals(setKeyValue_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_value = true && (isSetValue()); - list.add(present_value); - if(present_value) - list.add(value); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -190012,7 +325778,7 @@ public int hashCode() { } @Override - public int compareTo(setKeyValue_args other) { + public int compareTo(selectKeysCriteriaTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -190020,26 +325786,38 @@ public int compareTo(setKeyValue_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetValue()) - .compareTo(other.isSetValue()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetValue()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.value, other.value); + .compareTo(this.criteria, other.criteria); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -190099,27 +325877,33 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("setKeyValue_args("); + StringBuilder sb = new StringBuilder( + "selectKeysCriteriaTime_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("value:"); - if(this.value == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.value); + sb.append(this.criteria); } first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -190157,8 +325941,8 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(value != null) { - value.validate(); + if(criteria != null) { + criteria.validate(); } if(creds != null) { creds.validate(); @@ -190183,6 +325967,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -190192,18 +325980,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class setKeyValue_argsStandardSchemeFactory + private static class selectKeysCriteriaTime_argsStandardSchemeFactory implements SchemeFactory { - public setKeyValue_argsStandardScheme getScheme() { - return new setKeyValue_argsStandardScheme(); + public selectKeysCriteriaTime_argsStandardScheme getScheme() { + return new selectKeysCriteriaTime_argsStandardScheme(); } } - private static class setKeyValue_argsStandardScheme - extends StandardScheme { + private static class selectKeysCriteriaTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - setKeyValue_args struct) + selectKeysCriteriaTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -190213,28 +326001,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2396 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2396.size); + String _elem2397; + for (int _i2398 = 0; _i2398 < _list2396.size; ++_i2398) { + _elem2397 = iprot.readString(); + struct.keys.add(_elem2397); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // VALUE + case 2: // CRITERIA if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -190245,7 +326054,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -190256,7 +326065,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -190280,21 +326089,33 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - setKeyValue_args struct) + selectKeysCriteriaTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2399 : struct.keys) { + oprot.writeString(_iter2399); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - if(struct.value != null) { - oprot.writeFieldBegin(VALUE_FIELD_DESC); - struct.value.write(oprot); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -190316,43 +326137,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class setKeyValue_argsTupleSchemeFactory + private static class selectKeysCriteriaTime_argsTupleSchemeFactory implements SchemeFactory { - public setKeyValue_argsTupleScheme getScheme() { - return new setKeyValue_argsTupleScheme(); + public selectKeysCriteriaTime_argsTupleScheme getScheme() { + return new selectKeysCriteriaTime_argsTupleScheme(); } } - private static class setKeyValue_argsTupleScheme - extends TupleScheme { + private static class selectKeysCriteriaTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - setKeyValue_args struct) + selectKeysCriteriaTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetValue()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetEnvironment()) { + optionals.set(5); } - if(struct.isSetValue()) { - struct.value.write(oprot); + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2400 : struct.keys) { + oprot.writeString(_iter2400); + } + } + } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -190367,30 +326199,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - setKeyValue_args struct) + selectKeysCriteriaTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list2401 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2401.size); + String _elem2402; + for (int _i2403 = 0; _i2403 < _list2401.size; ++_i2403) { + _elem2402 = iprot.readString(); + struct.keys.add(_elem2402); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -190399,38 +326245,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class setKeyValue_result implements - org.apache.thrift.TBase, + public static class selectKeysCriteriaTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "setKeyValue_result"); + "selectKeysCriteriaTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.I64, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new setKeyValue_resultStandardSchemeFactory()); + new selectKeysCriteriaTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new setKeyValue_resultTupleSchemeFactory()); + new selectKeysCriteriaTime_resultTupleSchemeFactory()); } - public long success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -190440,8 +326283,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -190465,8 +326307,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -190511,8 +326351,6 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -190520,8 +326358,19 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -190537,38 +326386,72 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - setKeyValue_result.class, metaDataMap); + selectKeysCriteriaTime_result.class, metaDataMap); } - public setKeyValue_result() {} + public selectKeysCriteriaTime_result() {} - public setKeyValue_result(long success, + public selectKeysCriteriaTime_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.InvalidArgumentException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; - setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public setKeyValue_result(setKeyValue_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public selectKeysCriteriaTime_result( + selectKeysCriteriaTime_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -190578,42 +326461,47 @@ public setKeyValue_result(setKeyValue_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public setKeyValue_result deepCopy() { - return new setKeyValue_result(this); + public selectKeysCriteriaTime_result deepCopy() { + return new selectKeysCriteriaTime_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = 0; + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } - public long getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { return this.success; } - public setKeyValue_result setSuccess(long success) { + public selectKeysCriteriaTime_result setSuccess( + Map>> success) { this.success = success; - setSuccessIsSet(true); return this; } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __SUCCESS_ISSET_ID); + this.success = null; } /** @@ -190621,19 +326509,20 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __SUCCESS_ISSET_ID, value); + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public setKeyValue_result setEx( + public selectKeysCriteriaTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -190661,7 +326550,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public setKeyValue_result setEx2( + public selectKeysCriteriaTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -190685,12 +326574,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public setKeyValue_result setEx3( - com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + public selectKeysCriteriaTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -190713,34 +326602,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public setKeyValue_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -190748,7 +326609,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Long) value); + setSuccess( + (Map>>) value); } break; @@ -190775,16 +326637,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -190805,9 +326658,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -190830,8 +326680,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -190840,21 +326688,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof setKeyValue_result) - return this.equals((setKeyValue_result) that); + if(that instanceof selectKeysCriteriaTime_result) + return this.equals((selectKeysCriteriaTime_result) that); return false; } - public boolean equals(setKeyValue_result that) { + public boolean equals(selectKeysCriteriaTime_result that) { if(that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(this.success != that.success) + if(!this.success.equals(that.success)) return false; } @@ -190885,15 +326733,6 @@ public boolean equals(setKeyValue_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -190901,7 +326740,7 @@ public boolean equals(setKeyValue_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if(present_success) list.add(success); @@ -190921,16 +326760,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(setKeyValue_result other) { + public int compareTo(selectKeysCriteriaTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -190986,18 +326820,6 @@ public int compareTo(setKeyValue_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -191017,11 +326839,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("setKeyValue_result("); + StringBuilder sb = new StringBuilder( + "selectKeysCriteriaTime_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } first = false; if(!first) sb.append(", "); @@ -191053,16 +326881,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -191087,10 +326905,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -191100,18 +326914,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class setKeyValue_resultStandardSchemeFactory + private static class selectKeysCriteriaTime_resultStandardSchemeFactory implements SchemeFactory { - public setKeyValue_resultStandardScheme getScheme() { - return new setKeyValue_resultStandardScheme(); + public selectKeysCriteriaTime_resultStandardScheme getScheme() { + return new selectKeysCriteriaTime_resultStandardScheme(); } } - private static class setKeyValue_resultStandardScheme - extends StandardScheme { + private static class selectKeysCriteriaTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - setKeyValue_result struct) + selectKeysCriteriaTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -191122,8 +326936,46 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.success = iprot.readI64(); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map2404 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map2404.size); + long _key2405; + Map> _val2406; + for (int _i2407 = 0; _i2407 < _map2404.size; ++_i2407) { + _key2405 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2408 = iprot + .readMapBegin(); + _val2406 = new LinkedHashMap>( + 2 * _map2408.size); + String _key2409; + Set _val2410; + for (int _i2411 = 0; _i2411 < _map2408.size; ++_i2411) { + _key2409 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2412 = iprot + .readSetBegin(); + _val2410 = new LinkedHashSet( + 2 * _set2412.size); + com.cinchapi.concourse.thrift.TObject _elem2413; + for (int _i2414 = 0; _i2414 < _set2412.size; ++_i2414) { + _elem2413 = new com.cinchapi.concourse.thrift.TObject(); + _elem2413.read(iprot); + _val2410.add(_elem2413); + } + iprot.readSetEnd(); + } + _val2406.put(_key2409, _val2410); + } + iprot.readMapEnd(); + } + struct.success.put(_key2405, _val2406); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -191155,7 +327007,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -191164,17 +327016,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -191189,14 +327030,48 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - setKeyValue_result struct) + selectKeysCriteriaTime_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.isSetSuccess()) { + if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeI64(struct.success); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter2415 : struct.success + .entrySet()) { + oprot.writeI64(_iter2415.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2415.getValue().size())); + for (Map.Entry> _iter2416 : _iter2415 + .getValue().entrySet()) { + oprot.writeString(_iter2416.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2416.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2417 : _iter2416 + .getValue()) { + _iter2417.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -191214,30 +327089,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class setKeyValue_resultTupleSchemeFactory + private static class selectKeysCriteriaTime_resultTupleSchemeFactory implements SchemeFactory { - public setKeyValue_resultTupleScheme getScheme() { - return new setKeyValue_resultTupleScheme(); + public selectKeysCriteriaTime_resultTupleScheme getScheme() { + return new selectKeysCriteriaTime_resultTupleScheme(); } } - private static class setKeyValue_resultTupleScheme - extends TupleScheme { + private static class selectKeysCriteriaTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - setKeyValue_result struct) + selectKeysCriteriaTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -191253,12 +327123,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - oprot.writeI64(struct.success); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter2418 : struct.success + .entrySet()) { + oprot.writeI64(_iter2418.getKey()); + { + oprot.writeI32(_iter2418.getValue().size()); + for (Map.Entry> _iter2419 : _iter2418 + .getValue().entrySet()) { + oprot.writeString(_iter2419.getKey()); + { + oprot.writeI32( + _iter2419.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2420 : _iter2419 + .getValue()) { + _iter2420.write(oprot); + } + } + } + } + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -191269,19 +327157,56 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - setKeyValue_result struct) + selectKeysCriteriaTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.success = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2421 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map2421.size); + long _key2422; + Map> _val2423; + for (int _i2424 = 0; _i2424 < _map2421.size; ++_i2424) { + _key2422 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2425 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val2423 = new LinkedHashMap>( + 2 * _map2425.size); + String _key2426; + Set _val2427; + for (int _i2428 = 0; _i2428 < _map2425.size; ++_i2428) { + _key2426 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2429 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2427 = new LinkedHashSet( + 2 * _set2429.size); + com.cinchapi.concourse.thrift.TObject _elem2430; + for (int _i2431 = 0; _i2431 < _set2429.size; ++_i2431) { + _elem2430 = new com.cinchapi.concourse.thrift.TObject(); + _elem2430.read(iprot); + _val2427.add(_elem2430); + } + } + _val2423.put(_key2426, _val2427); + } + } + struct.success.put(_key2422, _val2423); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -191295,54 +327220,52 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class setKeyValueRecords_args implements - org.apache.thrift.TBase, + public static class selectKeysCriteriaTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "setKeyValueRecords_args"); + "selectKeysCriteriaTimeOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( - "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 3); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new setKeyValueRecords_argsStandardSchemeFactory()); + new selectKeysCriteriaTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new setKeyValueRecords_argsTupleSchemeFactory()); + new selectKeysCriteriaTimeOrder_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TObject value; // required - public List records; // required + public List keys; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -191352,12 +327275,13 @@ public static class setKeyValueRecords_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - VALUE((short) 2, "value"), - RECORDS((short) 3, "records"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + KEYS((short) 1, "keys"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -191373,17 +327297,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // VALUE - return VALUE; - case 3: // RECORDS - return RECORDS; - case 4: // CREDS + case 1: // KEYS + return KEYS; + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 5: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -191429,28 +327355,36 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.VALUE, - new org.apache.thrift.meta_data.FieldMetaData("value", + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -191470,20 +327404,23 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - setKeyValueRecords_args.class, metaDataMap); + selectKeysCriteriaTimeOrder_args.class, metaDataMap); } - public setKeyValueRecords_args() {} + public selectKeysCriteriaTimeOrder_args() {} - public setKeyValueRecords_args(String key, - com.cinchapi.concourse.thrift.TObject value, List records, + public selectKeysCriteriaTimeOrder_args(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.value = value; - this.records = records; + this.keys = keys; + this.criteria = criteria; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -191492,17 +327429,21 @@ public setKeyValueRecords_args(String key, /** * Performs a deep copy on other. */ - public setKeyValueRecords_args(setKeyValueRecords_args other) { - if(other.isSetKey()) { - this.key = other.key; + public selectKeysCriteriaTimeOrder_args( + selectKeysCriteriaTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - if(other.isSetValue()) { - this.value = new com.cinchapi.concourse.thrift.TObject( - other.value); + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -191517,114 +327458,146 @@ public setKeyValueRecords_args(setKeyValueRecords_args other) { } } - public setKeyValueRecords_args deepCopy() { - return new setKeyValueRecords_args(this); + public selectKeysCriteriaTimeOrder_args deepCopy() { + return new selectKeysCriteriaTimeOrder_args(this); } @Override public void clear() { - this.key = null; - this.value = null; - this.records = null; + this.keys = null; + this.criteria = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public setKeyValueRecords_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysCriteriaTimeOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } - public com.cinchapi.concourse.thrift.TObject getValue() { - return this.value; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public setKeyValueRecords_args setValue( - com.cinchapi.concourse.thrift.TObject value) { - this.value = value; + public selectKeysCriteriaTimeOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetValue() { - this.value = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field value is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetValue() { - return this.value != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setValueIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.value = null; + this.criteria = null; } } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); + public long getTimestamp() { + return this.timestamp; } - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); + public selectKeysCriteriaTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; } - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); - } - this.records.add(elem); + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public List getRecords() { - return this.records; + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public setKeyValueRecords_args setRecords(List records) { - this.records = records; + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeysCriteriaTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetRecords() { - this.records = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetOrder() { + return this.order != null; } - public void setRecordsIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.records = null; + this.order = null; } } @@ -191632,7 +327605,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public setKeyValueRecords_args setCreds( + public selectKeysCriteriaTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -191660,7 +327633,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public setKeyValueRecords_args setTransaction( + public selectKeysCriteriaTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -191688,7 +327661,8 @@ public String getEnvironment() { return this.environment; } - public setKeyValueRecords_args setEnvironment(String environment) { + public selectKeysCriteriaTimeOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -191713,30 +327687,40 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; - case VALUE: + case CRITERIA: if(value == null) { - unsetValue(); + unsetCriteria(); } else { - setValue((com.cinchapi.concourse.thrift.TObject) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case RECORDS: + case TIMESTAMP: if(value == null) { - unsetRecords(); + unsetTimestamp(); } else { - setRecords((List) value); + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -191773,14 +327757,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); - case VALUE: - return getValue(); + case CRITERIA: + return getCriteria(); - case RECORDS: - return getRecords(); + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -191805,12 +327792,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case VALUE: - return isSetValue(); - case RECORDS: - return isSetRecords(); + case KEYS: + return isSetKeys(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -191825,39 +327814,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof setKeyValueRecords_args) - return this.equals((setKeyValueRecords_args) that); + if(that instanceof selectKeysCriteriaTimeOrder_args) + return this.equals((selectKeysCriteriaTimeOrder_args) that); return false; } - public boolean equals(setKeyValueRecords_args that) { + public boolean equals(selectKeysCriteriaTimeOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_value = true && this.isSetValue(); - boolean that_present_value = true && that.isSetValue(); - if(this_present_value || that_present_value) { - if(!(this_present_value && that_present_value)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.value.equals(that.value)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.records.equals(that.records)) + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -191895,20 +327893,25 @@ public boolean equals(setKeyValueRecords_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_value = true && (isSetValue()); - list.add(present_value); - if(present_value) - list.add(value); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -191929,7 +327932,7 @@ public int hashCode() { } @Override - public int compareTo(setKeyValueRecords_args other) { + public int compareTo(selectKeysCriteriaTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -191937,38 +327940,50 @@ public int compareTo(setKeyValueRecords_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetValue()) - .compareTo(other.isSetValue()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetValue()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.value, other.value); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -192028,35 +328043,41 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("setKeyValueRecords_args("); + StringBuilder sb = new StringBuilder( + "selectKeysCriteriaTimeOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("value:"); - if(this.value == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.value); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("records:"); - if(this.records == null) { + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.order); } first = false; if(!first) @@ -192096,8 +328117,11 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(value != null) { - value.validate(); + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); } if(creds != null) { creds.validate(); @@ -192122,6 +328146,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -192131,18 +328159,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class setKeyValueRecords_argsStandardSchemeFactory + private static class selectKeysCriteriaTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public setKeyValueRecords_argsStandardScheme getScheme() { - return new setKeyValueRecords_argsStandardScheme(); + public selectKeysCriteriaTimeOrder_argsStandardScheme getScheme() { + return new selectKeysCriteriaTimeOrder_argsStandardScheme(); } } - private static class setKeyValueRecords_argsStandardScheme - extends StandardScheme { + private static class selectKeysCriteriaTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - setKeyValueRecords_args struct) + selectKeysCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -192152,49 +328180,60 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2432 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2432.size); + String _elem2433; + for (int _i2434 = 0; _i2434 < _list2432.size; ++_i2434) { + _elem2433 = iprot.readString(); + struct.keys.add(_elem2433); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // VALUE + case 2: // CRITERIA if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list884 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list884.size); - long _elem885; - for (int _i886 = 0; _i886 < _list884.size; ++_i886) { - _elem885 = iprot.readI64(); - struct.records.add(_elem885); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -192205,7 +328244,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -192216,7 +328255,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -192240,35 +328279,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - setKeyValueRecords_args struct) + selectKeysCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } - if(struct.value != null) { - oprot.writeFieldBegin(VALUE_FIELD_DESC); - struct.value.write(oprot); - oprot.writeFieldEnd(); - } - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter887 : struct.records) { - oprot.writeI64(_iter887); + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2435 : struct.keys) { + oprot.writeString(_iter2435); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -192290,55 +328332,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class setKeyValueRecords_argsTupleSchemeFactory + private static class selectKeysCriteriaTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public setKeyValueRecords_argsTupleScheme getScheme() { - return new setKeyValueRecords_argsTupleScheme(); + public selectKeysCriteriaTimeOrder_argsTupleScheme getScheme() { + return new selectKeysCriteriaTimeOrder_argsTupleScheme(); } } - private static class setKeyValueRecords_argsTupleScheme - extends TupleScheme { + private static class selectKeysCriteriaTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - setKeyValueRecords_args struct) + selectKeysCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetValue()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetRecords()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); - } - if(struct.isSetValue()) { - struct.value.write(oprot); + if(struct.isSetEnvironment()) { + optionals.set(6); } - if(struct.isSetRecords()) { + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { { - oprot.writeI32(struct.records.size()); - for (long _iter888 : struct.records) { - oprot.writeI64(_iter888); + oprot.writeI32(struct.keys.size()); + for (String _iter2436 : struct.keys) { + oprot.writeString(_iter2436); } } } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -192352,44 +328400,49 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - setKeyValueRecords_args struct) + selectKeysCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - if(incoming.get(1)) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); - } - if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list889 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TList _list2437 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.records = new ArrayList(_list889.size); - long _elem890; - for (int _i891 = 0; _i891 < _list889.size; ++_i891) { - _elem890 = iprot.readI64(); - struct.records.add(_elem890); + struct.keys = new ArrayList(_list2437.size); + String _elem2438; + for (int _i2439 = 0; _i2439 < _list2437.size; ++_i2439) { + _elem2438 = iprot.readString(); + struct.keys.add(_elem2438); } } - struct.setRecordsIsSet(true); + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -192398,45 +328451,45 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class setKeyValueRecords_result implements - org.apache.thrift.TBase, + public static class selectKeysCriteriaTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "setKeyValueRecords_result"); + "selectKeysCriteriaTimeOrder_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new setKeyValueRecords_resultStandardSchemeFactory()); + new selectKeysCriteriaTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new setKeyValueRecords_resultTupleSchemeFactory()); + new selectKeysCriteriaTimeOrder_resultTupleSchemeFactory()); } + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -192452,14 +328505,14 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; case 2: // EX2 return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -192508,6 +328561,22 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -192523,34 +328592,72 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - setKeyValueRecords_result.class, metaDataMap); + selectKeysCriteriaTimeOrder_result.class, metaDataMap); } - public setKeyValueRecords_result() {} + public selectKeysCriteriaTimeOrder_result() {} - public setKeyValueRecords_result( + public selectKeysCriteriaTimeOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.InvalidArgumentException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); + this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public setKeyValueRecords_result(setKeyValueRecords_result other) { + public selectKeysCriteriaTimeOrder_result( + selectKeysCriteriaTimeOrder_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -192560,32 +328667,68 @@ public setKeyValueRecords_result(setKeyValueRecords_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public setKeyValueRecords_result deepCopy() { - return new setKeyValueRecords_result(this); + public selectKeysCriteriaTimeOrder_result deepCopy() { + return new selectKeysCriteriaTimeOrder_result(this); } @Override public void clear() { + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; + } + + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public selectKeysCriteriaTimeOrder_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public setKeyValueRecords_result setEx( + public selectKeysCriteriaTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -192613,7 +328756,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public setKeyValueRecords_result setEx2( + public selectKeysCriteriaTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -192637,12 +328780,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public setKeyValueRecords_result setEx3( - com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + public selectKeysCriteriaTimeOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -192665,36 +328808,18 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public setKeyValueRecords_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -192718,16 +328843,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -192736,6 +328852,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); @@ -192745,9 +328864,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -192762,14 +328878,14 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); case EX2: return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -192778,15 +328894,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof setKeyValueRecords_result) - return this.equals((setKeyValueRecords_result) that); + if(that instanceof selectKeysCriteriaTimeOrder_result) + return this.equals((selectKeysCriteriaTimeOrder_result) that); return false; } - public boolean equals(setKeyValueRecords_result that) { + public boolean equals(selectKeysCriteriaTimeOrder_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -192814,15 +328939,6 @@ public boolean equals(setKeyValueRecords_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -192830,6 +328946,11 @@ public boolean equals(setKeyValueRecords_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -192845,16 +328966,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(setKeyValueRecords_result other) { + public int compareTo(selectKeysCriteriaTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -192862,6 +328978,18 @@ public int compareTo(setKeyValueRecords_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -192898,18 +329026,6 @@ public int compareTo(setKeyValueRecords_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -192929,9 +329045,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("setKeyValueRecords_result("); + StringBuilder sb = new StringBuilder( + "selectKeysCriteriaTimeOrder_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -192960,16 +329087,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -193003,18 +329120,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class setKeyValueRecords_resultStandardSchemeFactory + private static class selectKeysCriteriaTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public setKeyValueRecords_resultStandardScheme getScheme() { - return new setKeyValueRecords_resultStandardScheme(); + public selectKeysCriteriaTimeOrder_resultStandardScheme getScheme() { + return new selectKeysCriteriaTimeOrder_resultStandardScheme(); } } - private static class setKeyValueRecords_resultStandardScheme - extends StandardScheme { + private static class selectKeysCriteriaTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - setKeyValueRecords_result struct) + selectKeysCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -193024,6 +329141,54 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map2440 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map2440.size); + long _key2441; + Map> _val2442; + for (int _i2443 = 0; _i2443 < _map2440.size; ++_i2443) { + _key2441 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2444 = iprot + .readMapBegin(); + _val2442 = new LinkedHashMap>( + 2 * _map2444.size); + String _key2445; + Set _val2446; + for (int _i2447 = 0; _i2447 < _map2444.size; ++_i2447) { + _key2445 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2448 = iprot + .readSetBegin(); + _val2446 = new LinkedHashSet( + 2 * _set2448.size); + com.cinchapi.concourse.thrift.TObject _elem2449; + for (int _i2450 = 0; _i2450 < _set2448.size; ++_i2450) { + _elem2449 = new com.cinchapi.concourse.thrift.TObject(); + _elem2449.read(iprot); + _val2446.add(_elem2449); + } + iprot.readSetEnd(); + } + _val2442.put(_key2445, _val2446); + } + iprot.readMapEnd(); + } + struct.success.put(_key2441, _val2442); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -193048,7 +329213,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -193057,17 +329222,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -193082,11 +329236,50 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - setKeyValueRecords_result struct) + selectKeysCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter2451 : struct.success + .entrySet()) { + oprot.writeI64(_iter2451.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2451.getValue().size())); + for (Map.Entry> _iter2452 : _iter2451 + .getValue().entrySet()) { + oprot.writeString(_iter2452.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2452.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2453 : _iter2452 + .getValue()) { + _iter2453.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -193102,46 +329295,65 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class setKeyValueRecords_resultTupleSchemeFactory + private static class selectKeysCriteriaTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public setKeyValueRecords_resultTupleScheme getScheme() { - return new setKeyValueRecords_resultTupleScheme(); + public selectKeysCriteriaTimeOrder_resultTupleScheme getScheme() { + return new selectKeysCriteriaTimeOrder_resultTupleScheme(); } } - private static class setKeyValueRecords_resultTupleScheme - extends TupleScheme { + private static class selectKeysCriteriaTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - setKeyValueRecords_result struct) + selectKeysCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - if(struct.isSetEx2()) { + if(struct.isSetEx()) { optionals.set(1); } - if(struct.isSetEx3()) { + if(struct.isSetEx2()) { optionals.set(2); } - if(struct.isSetEx4()) { + if(struct.isSetEx3()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter2454 : struct.success + .entrySet()) { + oprot.writeI64(_iter2454.getKey()); + { + oprot.writeI32(_iter2454.getValue().size()); + for (Map.Entry> _iter2455 : _iter2454 + .getValue().entrySet()) { + oprot.writeString(_iter2455.getKey()); + { + oprot.writeI32( + _iter2455.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2456 : _iter2455 + .getValue()) { + _iter2456.write(oprot); + } + } + } + } + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -193151,56 +329363,93 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - setKeyValueRecords_result struct) + selectKeysCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map2457 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map2457.size); + long _key2458; + Map> _val2459; + for (int _i2460 = 0; _i2460 < _map2457.size; ++_i2460) { + _key2458 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2461 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val2459 = new LinkedHashMap>( + 2 * _map2461.size); + String _key2462; + Set _val2463; + for (int _i2464 = 0; _i2464 < _map2461.size; ++_i2464) { + _key2462 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2465 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2463 = new LinkedHashSet( + 2 * _set2465.size); + com.cinchapi.concourse.thrift.TObject _elem2466; + for (int _i2467 = 0; _i2467 < _set2465.size; ++_i2467) { + _elem2466 = new com.cinchapi.concourse.thrift.TObject(); + _elem2466.read(iprot); + _val2463.add(_elem2466); + } + } + _val2459.put(_key2462, _val2463); + } + } + struct.success.put(_key2458, _val2459); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(2)) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(3)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class reconcileKeyRecordValues_args implements - org.apache.thrift.TBase, + public static class selectKeysCriteriaTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "reconcileKeyRecordValues_args"); + "selectKeysCriteriaTimestr_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( - "values", org.apache.thrift.protocol.TType.SET, (short) 3); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -193213,14 +329462,14 @@ public static class reconcileKeyRecordValues_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new reconcileKeyRecordValues_argsStandardSchemeFactory()); + new selectKeysCriteriaTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new reconcileKeyRecordValues_argsTupleSchemeFactory()); + new selectKeysCriteriaTimestr_argsTupleSchemeFactory()); } - public String key; // required - public long record; // required - public Set values; // required + public List keys; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -193230,9 +329479,9 @@ public static class reconcileKeyRecordValues_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - RECORD((short) 2, "record"), - VALUES((short) 3, "values"), + KEYS((short) 1, "keys"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -193251,12 +329500,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // RECORD - return RECORD; - case 3: // VALUES - return VALUES; + case 1: // KEYS + return KEYS; + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP + return TIMESTAMP; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -193307,30 +329556,28 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.VALUES, - new org.apache.thrift.meta_data.FieldMetaData("values", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -193350,21 +329597,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - reconcileKeyRecordValues_args.class, metaDataMap); + selectKeysCriteriaTimestr_args.class, metaDataMap); } - public reconcileKeyRecordValues_args() {} + public selectKeysCriteriaTimestr_args() {} - public reconcileKeyRecordValues_args(String key, long record, - Set values, + public selectKeysCriteriaTimestr_args(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.record = record; - setRecordIsSet(true); - this.values = values; + this.keys = keys; + this.criteria = criteria; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -193373,22 +329620,18 @@ public reconcileKeyRecordValues_args(String key, long record, /** * Performs a deep copy on other. */ - public reconcileKeyRecordValues_args( - reconcileKeyRecordValues_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public selectKeysCriteriaTimestr_args( + selectKeysCriteriaTimestr_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - this.record = other.record; - if(other.isSetValues()) { - Set __this__values = new LinkedHashSet( - other.values.size()); - for (com.cinchapi.concourse.thrift.TObject other_element : other.values) { - __this__values - .add(new com.cinchapi.concourse.thrift.TObject( - other_element)); - } - this.values = __this__values; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -193403,116 +329646,114 @@ public reconcileKeyRecordValues_args( } } - public reconcileKeyRecordValues_args deepCopy() { - return new reconcileKeyRecordValues_args(this); + public selectKeysCriteriaTimestr_args deepCopy() { + return new selectKeysCriteriaTimestr_args(this); } @Override public void clear() { - this.key = null; - setRecordIsSet(false); - this.record = 0; - this.values = null; + this.keys = null; + this.criteria = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public reconcileKeyRecordValues_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysCriteriaTimestr_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } - public long getRecord() { - return this.record; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public reconcileKeyRecordValues_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public selectKeysCriteriaTimestr_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - - public int getValuesSize() { - return (this.values == null) ? 0 : this.values.size(); - } - - public java.util.Iterator getValuesIterator() { - return (this.values == null) ? null : this.values.iterator(); + public boolean isSetCriteria() { + return this.criteria != null; } - public void addToValues(com.cinchapi.concourse.thrift.TObject elem) { - if(this.values == null) { - this.values = new LinkedHashSet(); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; } - this.values.add(elem); } - public Set getValues() { - return this.values; + public String getTimestamp() { + return this.timestamp; } - public reconcileKeyRecordValues_args setValues( - Set values) { - this.values = values; + public selectKeysCriteriaTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetValues() { - this.values = null; + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field values is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetValues() { - return this.values != null; + public boolean isSetTimestamp() { + return this.timestamp != null; } - public void setValuesIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { if(!value) { - this.values = null; + this.timestamp = null; } } @@ -193520,7 +329761,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public reconcileKeyRecordValues_args setCreds( + public selectKeysCriteriaTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -193548,7 +329789,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public reconcileKeyRecordValues_args setTransaction( + public selectKeysCriteriaTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -193576,7 +329817,7 @@ public String getEnvironment() { return this.environment; } - public reconcileKeyRecordValues_args setEnvironment( + public selectKeysCriteriaTimestr_args setEnvironment( String environment) { this.environment = environment; return this; @@ -193602,31 +329843,31 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; - case RECORD: + case CRITERIA: if(value == null) { - unsetRecord(); + unsetCriteria(); } else { - setRecord((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case VALUES: + case TIMESTAMP: if(value == null) { - unsetValues(); + unsetTimestamp(); } else { - setValues( - (Set) value); + setTimestamp((String) value); } break; @@ -193663,14 +329904,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); - case RECORD: - return getRecord(); + case CRITERIA: + return getCriteria(); - case VALUES: - return getValues(); + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -193695,12 +329936,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case RECORD: - return isSetRecord(); - case VALUES: - return isSetValues(); + case KEYS: + return isSetKeys(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -193715,39 +329956,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof reconcileKeyRecordValues_args) - return this.equals((reconcileKeyRecordValues_args) that); + if(that instanceof selectKeysCriteriaTimestr_args) + return this.equals((selectKeysCriteriaTimestr_args) that); return false; } - public boolean equals(reconcileKeyRecordValues_args that) { + public boolean equals(selectKeysCriteriaTimestr_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.record != that.record) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_values = true && this.isSetValues(); - boolean that_present_values = true && that.isSetValues(); - if(this_present_values || that_present_values) { - if(!(this_present_values && that_present_values)) + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.values.equals(that.values)) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -193785,20 +330026,20 @@ public boolean equals(reconcileKeyRecordValues_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_values = true && (isSetValues()); - list.add(present_values); - if(present_values) - list.add(values); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -193819,7 +330060,7 @@ public int hashCode() { } @Override - public int compareTo(reconcileKeyRecordValues_args other) { + public int compareTo(selectKeysCriteriaTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -193827,38 +330068,38 @@ public int compareTo(reconcileKeyRecordValues_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetValues()) - .compareTo(other.isSetValues()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetValues()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.values, other.values); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -193919,30 +330160,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "reconcileKeyRecordValues_args("); + "selectKeysCriteriaTimestr_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } first = false; if(!first) sb.append(", "); - sb.append("values:"); - if(this.values == null) { + sb.append("timestamp:"); + if(this.timestamp == null) { sb.append("null"); } else { - sb.append(this.values); + sb.append(this.timestamp); } first = false; if(!first) @@ -193982,6 +330228,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -194005,10 +330254,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -194018,18 +330263,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class reconcileKeyRecordValues_argsStandardSchemeFactory + private static class selectKeysCriteriaTimestr_argsStandardSchemeFactory implements SchemeFactory { - public reconcileKeyRecordValues_argsStandardScheme getScheme() { - return new reconcileKeyRecordValues_argsStandardScheme(); + public selectKeysCriteriaTimestr_argsStandardScheme getScheme() { + return new selectKeysCriteriaTimestr_argsStandardScheme(); } } - private static class reconcileKeyRecordValues_argsStandardScheme - extends StandardScheme { + private static class selectKeysCriteriaTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - reconcileKeyRecordValues_args struct) + selectKeysCriteriaTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -194039,42 +330284,42 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2468 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2468.size); + String _elem2469; + for (int _i2470 = 0; _i2470 < _list2468.size; ++_i2470) { + _elem2469 = iprot.readString(); + struct.keys.add(_elem2469); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // VALUES - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { - { - org.apache.thrift.protocol.TSet _set892 = iprot - .readSetBegin(); - struct.values = new LinkedHashSet( - 2 * _set892.size); - com.cinchapi.concourse.thrift.TObject _elem893; - for (int _i894 = 0; _i894 < _set892.size; ++_i894) { - _elem893 = new com.cinchapi.concourse.thrift.TObject(); - _elem893.read(iprot); - struct.values.add(_elem893); - } - iprot.readSetEnd(); - } - struct.setValuesIsSet(true); + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -194127,32 +330372,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - reconcileKeyRecordValues_args struct) + selectKeysCriteriaTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - if(struct.values != null) { - oprot.writeFieldBegin(VALUES_FIELD_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - struct.values.size())); - for (com.cinchapi.concourse.thrift.TObject _iter895 : struct.values) { - _iter895.write(oprot); + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2471 : struct.keys) { + oprot.writeString(_iter2471); } - oprot.writeSetEnd(); + oprot.writeListEnd(); } oprot.writeFieldEnd(); } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -194174,29 +330422,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class reconcileKeyRecordValues_argsTupleSchemeFactory + private static class selectKeysCriteriaTimestr_argsTupleSchemeFactory implements SchemeFactory { - public reconcileKeyRecordValues_argsTupleScheme getScheme() { - return new reconcileKeyRecordValues_argsTupleScheme(); + public selectKeysCriteriaTimestr_argsTupleScheme getScheme() { + return new selectKeysCriteriaTimestr_argsTupleScheme(); } } - private static class reconcileKeyRecordValues_argsTupleScheme - extends TupleScheme { + private static class selectKeysCriteriaTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - reconcileKeyRecordValues_args struct) + selectKeysCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetValues()) { + if(struct.isSetTimestamp()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -194209,20 +330457,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); - } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); - } - if(struct.isSetValues()) { + if(struct.isSetKeys()) { { - oprot.writeI32(struct.values.size()); - for (com.cinchapi.concourse.thrift.TObject _iter896 : struct.values) { - _iter896.write(oprot); + oprot.writeI32(struct.keys.size()); + for (String _iter2472 : struct.keys) { + oprot.writeString(_iter2472); } } } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -194236,33 +330484,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - reconcileKeyRecordValues_args struct) + selectKeysCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - if(incoming.get(2)) { { - org.apache.thrift.protocol.TSet _set897 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TList _list2473 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.values = new LinkedHashSet( - 2 * _set897.size); - com.cinchapi.concourse.thrift.TObject _elem898; - for (int _i899 = 0; _i899 < _set897.size; ++_i899) { - _elem898 = new com.cinchapi.concourse.thrift.TObject(); - _elem898.read(iprot); - struct.values.add(_elem898); + struct.keys = new ArrayList(_list2473.size); + String _elem2474; + for (int _i2475 = 0; _i2475 < _list2473.size; ++_i2475) { + _elem2474 = iprot.readString(); + struct.keys.add(_elem2474); } } - struct.setValuesIsSet(true); + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -194283,14 +330530,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class reconcileKeyRecordValues_result implements - org.apache.thrift.TBase, + public static class selectKeysCriteriaTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "reconcileKeyRecordValues_result"); + "selectKeysCriteriaTimestr_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -194303,14 +330552,15 @@ public static class reconcileKeyRecordValues_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new reconcileKeyRecordValues_resultStandardSchemeFactory()); + new selectKeysCriteriaTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new reconcileKeyRecordValues_resultTupleSchemeFactory()); + new selectKeysCriteriaTimestr_resultTupleSchemeFactory()); } + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.InvalidArgumentException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** @@ -194318,6 +330568,7 @@ public static class reconcileKeyRecordValues_result implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), EX3((short) 3, "ex3"), @@ -194337,6 +330588,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // EX return EX; case 2: // EX2 @@ -194393,6 +330646,22 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.SUCCESS, + new org.apache.thrift.meta_data.FieldMetaData("success", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -194415,17 +330684,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - reconcileKeyRecordValues_result.class, metaDataMap); + selectKeysCriteriaTimestr_result.class, metaDataMap); } - public reconcileKeyRecordValues_result() {} + public selectKeysCriteriaTimestr_result() {} - public reconcileKeyRecordValues_result( + public selectKeysCriteriaTimestr_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.InvalidArgumentException ex3, + com.cinchapi.concourse.thrift.ParseException ex3, com.cinchapi.concourse.thrift.PermissionException ex4) { this(); + this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; @@ -194435,8 +330706,50 @@ public reconcileKeyRecordValues_result( /** * Performs a deep copy on other. */ - public reconcileKeyRecordValues_result( - reconcileKeyRecordValues_result other) { + public selectKeysCriteriaTimestr_result( + selectKeysCriteriaTimestr_result other) { + if(other.isSetSuccess()) { + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -194446,7 +330759,7 @@ public reconcileKeyRecordValues_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } if(other.isSetEx4()) { @@ -194455,23 +330768,64 @@ public reconcileKeyRecordValues_result( } } - public reconcileKeyRecordValues_result deepCopy() { - return new reconcileKeyRecordValues_result(this); + public selectKeysCriteriaTimestr_result deepCopy() { + return new selectKeysCriteriaTimestr_result(this); } @Override public void clear() { + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; this.ex4 = null; } + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + Map> val) { + if(this.success == null) { + this.success = new LinkedHashMap>>(); + } + this.success.put(key, val); + } + + public Map>> getSuccess() { + return this.success; + } + + public selectKeysCriteriaTimestr_result setSuccess( + Map>> success) { + this.success = success; + return this; + } + + public void unsetSuccess() { + this.success = null; + } + + /** + * Returns true if field success is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if(!value) { + this.success = null; + } + } + public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public reconcileKeyRecordValues_result setEx( + public selectKeysCriteriaTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -194499,7 +330853,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public reconcileKeyRecordValues_result setEx2( + public selectKeysCriteriaTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -194523,12 +330877,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.InvalidArgumentException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public reconcileKeyRecordValues_result setEx3( - com.cinchapi.concourse.thrift.InvalidArgumentException ex3) { + public selectKeysCriteriaTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -194555,7 +330909,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public reconcileKeyRecordValues_result setEx4( + public selectKeysCriteriaTimestr_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -194581,6 +330935,16 @@ public void setEx4IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if(value == null) { + unsetSuccess(); + } + else { + setSuccess( + (Map>>) value); + } + break; + case EX: if(value == null) { unsetEx(); @@ -194604,7 +330968,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.InvalidArgumentException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); } break; @@ -194622,6 +330986,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case EX: return getEx(); @@ -194648,6 +331015,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case EX: return isSetEx(); case EX2: @@ -194664,15 +331033,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof reconcileKeyRecordValues_result) - return this.equals((reconcileKeyRecordValues_result) that); + if(that instanceof selectKeysCriteriaTimestr_result) + return this.equals((selectKeysCriteriaTimestr_result) that); return false; } - public boolean equals(reconcileKeyRecordValues_result that) { + public boolean equals(selectKeysCriteriaTimestr_result that) { if(that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if(this_present_success || that_present_success) { + if(!(this_present_success && that_present_success)) + return false; + if(!this.success.equals(that.success)) + return false; + } + boolean this_present_ex = true && this.isSetEx(); boolean that_present_ex = true && that.isSetEx(); if(this_present_ex || that_present_ex) { @@ -194716,6 +331094,11 @@ public boolean equals(reconcileKeyRecordValues_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if(present_success) + list.add(success); + boolean present_ex = true && (isSetEx()); list.add(present_ex); if(present_ex) @@ -194740,7 +331123,7 @@ public int hashCode() { } @Override - public int compareTo(reconcileKeyRecordValues_result other) { + public int compareTo(selectKeysCriteriaTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -194748,6 +331131,18 @@ public int compareTo(reconcileKeyRecordValues_result other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()) + .compareTo(other.isSetSuccess()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.success, other.success); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetEx()) .compareTo(other.isSetEx()); if(lastComparison != 0) { @@ -194816,9 +331211,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "reconcileKeyRecordValues_result("); + "selectKeysCriteriaTimestr_result("); boolean first = true; + sb.append("success:"); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } + first = false; + if(!first) + sb.append(", "); sb.append("ex:"); if(this.ex == null) { sb.append("null"); @@ -194890,18 +331295,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class reconcileKeyRecordValues_resultStandardSchemeFactory + private static class selectKeysCriteriaTimestr_resultStandardSchemeFactory implements SchemeFactory { - public reconcileKeyRecordValues_resultStandardScheme getScheme() { - return new reconcileKeyRecordValues_resultStandardScheme(); + public selectKeysCriteriaTimestr_resultStandardScheme getScheme() { + return new selectKeysCriteriaTimestr_resultStandardScheme(); } } - private static class reconcileKeyRecordValues_resultStandardScheme - extends StandardScheme { + private static class selectKeysCriteriaTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - reconcileKeyRecordValues_result struct) + selectKeysCriteriaTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -194911,6 +331316,54 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { + case 0: // SUCCESS + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map2476 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map2476.size); + long _key2477; + Map> _val2478; + for (int _i2479 = 0; _i2479 < _map2476.size; ++_i2479) { + _key2477 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2480 = iprot + .readMapBegin(); + _val2478 = new LinkedHashMap>( + 2 * _map2480.size); + String _key2481; + Set _val2482; + for (int _i2483 = 0; _i2483 < _map2480.size; ++_i2483) { + _key2481 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2484 = iprot + .readSetBegin(); + _val2482 = new LinkedHashSet( + 2 * _set2484.size); + com.cinchapi.concourse.thrift.TObject _elem2485; + for (int _i2486 = 0; _i2486 < _set2484.size; ++_i2486) { + _elem2485 = new com.cinchapi.concourse.thrift.TObject(); + _elem2485.read(iprot); + _val2482.add(_elem2485); + } + iprot.readSetEnd(); + } + _val2478.put(_key2481, _val2482); + } + iprot.readMapEnd(); + } + struct.success.put(_key2477, _val2478); + } + iprot.readMapEnd(); + } + struct.setSuccessIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; case 1: // EX if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); @@ -194935,7 +331388,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -194969,11 +331422,50 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - reconcileKeyRecordValues_result struct) + selectKeysCriteriaTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + struct.success.size())); + for (Map.Entry>> _iter2487 : struct.success + .entrySet()) { + oprot.writeI64(_iter2487.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2487.getValue().size())); + for (Map.Entry> _iter2488 : _iter2487 + .getValue().entrySet()) { + oprot.writeString(_iter2488.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2488.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2489 : _iter2488 + .getValue()) { + _iter2489.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } + } + oprot.writeMapEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ex != null) { oprot.writeFieldBegin(EX_FIELD_DESC); struct.ex.write(oprot); @@ -195000,35 +331492,62 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class reconcileKeyRecordValues_resultTupleSchemeFactory + private static class selectKeysCriteriaTimestr_resultTupleSchemeFactory implements SchemeFactory { - public reconcileKeyRecordValues_resultTupleScheme getScheme() { - return new reconcileKeyRecordValues_resultTupleScheme(); + public selectKeysCriteriaTimestr_resultTupleScheme getScheme() { + return new selectKeysCriteriaTimestr_resultTupleScheme(); } } - private static class reconcileKeyRecordValues_resultTupleScheme - extends TupleScheme { + private static class selectKeysCriteriaTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - reconcileKeyRecordValues_result struct) + selectKeysCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetEx()) { + if(struct.isSetSuccess()) { optionals.set(0); } - if(struct.isSetEx2()) { + if(struct.isSetEx()) { optionals.set(1); } - if(struct.isSetEx3()) { + if(struct.isSetEx2()) { optionals.set(2); } - if(struct.isSetEx4()) { + if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); + if(struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (Map.Entry>> _iter2490 : struct.success + .entrySet()) { + oprot.writeI64(_iter2490.getKey()); + { + oprot.writeI32(_iter2490.getValue().size()); + for (Map.Entry> _iter2491 : _iter2490 + .getValue().entrySet()) { + oprot.writeString(_iter2491.getKey()); + { + oprot.writeI32( + _iter2491.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2492 : _iter2491 + .getValue()) { + _iter2492.write(oprot); + } + } + } + } + } + } + } if(struct.isSetEx()) { struct.ex.write(oprot); } @@ -195045,26 +331564,70 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - reconcileKeyRecordValues_result struct) + selectKeysCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TMap _map2493 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, + iprot.readI32()); + struct.success = new LinkedHashMap>>( + 2 * _map2493.size); + long _key2494; + Map> _val2495; + for (int _i2496 = 0; _i2496 < _map2493.size; ++_i2496) { + _key2494 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2497 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val2495 = new LinkedHashMap>( + 2 * _map2497.size); + String _key2498; + Set _val2499; + for (int _i2500 = 0; _i2500 < _map2497.size; ++_i2500) { + _key2498 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2501 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2499 = new LinkedHashSet( + 2 * _set2501.size); + com.cinchapi.concourse.thrift.TObject _elem2502; + for (int _i2503 = 0; _i2503 < _set2501.size; ++_i2503) { + _elem2502 = new com.cinchapi.concourse.thrift.TObject(); + _elem2502.read(iprot); + _val2499.add(_elem2502); + } + } + _val2495.put(_key2498, _val2499); + } + } + struct.success.put(_key2494, _val2495); + } + } + struct.setSuccessIsSet(true); + } + if(incoming.get(1)) { struct.ex = new com.cinchapi.concourse.thrift.SecurityException(); struct.ex.read(iprot); struct.setExIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.ex2 = new com.cinchapi.concourse.thrift.TransactionException(); struct.ex2.read(iprot); struct.setEx2IsSet(true); } - if(incoming.get(2)) { - struct.ex3 = new com.cinchapi.concourse.thrift.InvalidArgumentException(); + if(incoming.get(3)) { + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex4.read(iprot); struct.setEx4IsSet(true); @@ -195074,31 +331637,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class inventory_args implements - org.apache.thrift.TBase, + public static class selectKeysCriteriaTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "inventory_args"); + "selectKeysCriteriaTimestrOrder_args"); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 2); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 3); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new inventory_argsStandardSchemeFactory()); + new selectKeysCriteriaTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new inventory_argsTupleSchemeFactory()); + new selectKeysCriteriaTimestrOrder_argsTupleSchemeFactory()); } + public List keys; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -195108,9 +331684,13 @@ public static class inventory_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CREDS((short) 1, "creds"), - TRANSACTION((short) 2, "transaction"), - ENVIRONMENT((short) 3, "environment"); + KEYS((short) 1, "keys"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -195126,11 +331706,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CREDS + case 1: // KEYS + return KEYS; + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 2: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 3: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -195180,6 +331768,30 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -195198,16 +331810,23 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(inventory_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeysCriteriaTimestrOrder_args.class, metaDataMap); } - public inventory_args() {} + public selectKeysCriteriaTimestrOrder_args() {} - public inventory_args(com.cinchapi.concourse.thrift.AccessToken creds, + public selectKeysCriteriaTimestrOrder_args(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.keys = keys; + this.criteria = criteria; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -195216,7 +331835,23 @@ public inventory_args(com.cinchapi.concourse.thrift.AccessToken creds, /** * Performs a deep copy on other. */ - public inventory_args(inventory_args other) { + public selectKeysCriteriaTimestrOrder_args( + selectKeysCriteriaTimestrOrder_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -195230,22 +331865,152 @@ public inventory_args(inventory_args other) { } } - public inventory_args deepCopy() { - return new inventory_args(this); + public selectKeysCriteriaTimestrOrder_args deepCopy() { + return new selectKeysCriteriaTimestrOrder_args(this); } @Override public void clear() { + this.keys = null; + this.criteria = null; + this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysCriteriaTimestrOrder_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; + } + + public selectKeysCriteriaTimestrOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; + return this; + } + + public void unsetCriteria() { + this.criteria = null; + } + + /** + * Returns true if field criteria is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCriteria() { + return this.criteria != null; + } + + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } + } + + public String getTimestamp() { + return this.timestamp; + } + + public selectKeysCriteriaTimestrOrder_args setTimestamp( + String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeysCriteriaTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public inventory_args setCreds( + public selectKeysCriteriaTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -195273,7 +332038,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public inventory_args setTransaction( + public selectKeysCriteriaTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -195301,7 +332066,8 @@ public String getEnvironment() { return this.environment; } - public inventory_args setEnvironment(String environment) { + public selectKeysCriteriaTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -195326,6 +332092,43 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + + case CRITERIA: + if(value == null) { + unsetCriteria(); + } + else { + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -195359,6 +332162,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case KEYS: + return getKeys(); + + case CRITERIA: + return getCriteria(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -195382,6 +332197,14 @@ public boolean isSet(_Fields field) { } switch (field) { + case KEYS: + return isSetKeys(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -195396,15 +332219,51 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof inventory_args) - return this.equals((inventory_args) that); + if(that instanceof selectKeysCriteriaTimestrOrder_args) + return this.equals((selectKeysCriteriaTimestrOrder_args) that); return false; } - public boolean equals(inventory_args that) { + public boolean equals(selectKeysCriteriaTimestrOrder_args that) { if(that == null) return false; + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) + return false; + if(!this.criteria.equals(that.criteria)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -195439,6 +332298,26 @@ public boolean equals(inventory_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -195458,7 +332337,7 @@ public int hashCode() { } @Override - public int compareTo(inventory_args other) { + public int compareTo(selectKeysCriteriaTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -195466,6 +332345,54 @@ public int compareTo(inventory_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCriteria()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.criteria, other.criteria); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -195521,9 +332448,50 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("inventory_args("); + StringBuilder sb = new StringBuilder( + "selectKeysCriteriaTimestrOrder_args("); boolean first = true; + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; + if(!first) + sb.append(", "); sb.append("creds:"); if(this.creds == null) { sb.append("null"); @@ -195559,6 +332527,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -195591,18 +332565,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class inventory_argsStandardSchemeFactory + private static class selectKeysCriteriaTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public inventory_argsStandardScheme getScheme() { - return new inventory_argsStandardScheme(); + public selectKeysCriteriaTimestrOrder_argsStandardScheme getScheme() { + return new selectKeysCriteriaTimestrOrder_argsStandardScheme(); } } - private static class inventory_argsStandardScheme - extends StandardScheme { + private static class selectKeysCriteriaTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - inventory_args struct) throws org.apache.thrift.TException { + selectKeysCriteriaTimestrOrder_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -195611,7 +332586,60 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CREDS + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2504 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2504.size); + String _elem2505; + for (int _i2506 = 0; _i2506 < _list2504.size; ++_i2506) { + _elem2505 = iprot.readString(); + struct.keys.add(_elem2505); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -195622,7 +332650,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -195633,7 +332661,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -195657,10 +332685,40 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - inventory_args struct) throws org.apache.thrift.TException { + selectKeysCriteriaTimestrOrder_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2507 : struct.keys) { + oprot.writeString(_iter2507); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -195682,31 +332740,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class inventory_argsTupleSchemeFactory + private static class selectKeysCriteriaTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public inventory_argsTupleScheme getScheme() { - return new inventory_argsTupleScheme(); + public selectKeysCriteriaTimestrOrder_argsTupleScheme getScheme() { + return new selectKeysCriteriaTimestrOrder_argsTupleScheme(); } } - private static class inventory_argsTupleScheme - extends TupleScheme { + private static class selectKeysCriteriaTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - inventory_args struct) throws org.apache.thrift.TException { + selectKeysCriteriaTimestrOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCreds()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTransaction()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetEnvironment()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if(struct.isSetOrder()) { + optionals.set(3); + } + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2508 : struct.keys) { + oprot.writeString(_iter2508); + } + } + } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -195720,20 +332808,49 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - inventory_args struct) throws org.apache.thrift.TException { + selectKeysCriteriaTimestrOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list2509 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2509.size); + String _elem2510; + for (int _i2511 = 0; _i2511 < _list2509.size; ++_i2511) { + _elem2510 = iprot.readString(); + struct.keys.add(_elem2510); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -195742,35 +332859,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class inventory_result implements - org.apache.thrift.TBase, + public static class selectKeysCriteriaTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "inventory_result"); + "selectKeysCriteriaTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new inventory_resultStandardSchemeFactory()); + new selectKeysCriteriaTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new inventory_resultTupleSchemeFactory()); + new selectKeysCriteriaTimestrOrder_resultTupleSchemeFactory()); } - public Set success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -195780,7 +332900,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -195804,6 +332925,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -195855,10 +332978,19 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -195874,31 +333006,77 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(inventory_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeysCriteriaTimestrOrder_result.class, metaDataMap); } - public inventory_result() {} + public selectKeysCriteriaTimestrOrder_result() {} - public inventory_result(Set success, + public selectKeysCriteriaTimestrOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public inventory_result(inventory_result other) { + public selectKeysCriteriaTimestrOrder_result( + selectKeysCriteriaTimestrOrder_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( - other.success); + Map>> __this__success = new LinkedHashMap>>( + other.success.size()); + for (Map.Entry>> other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + Map> __this__success_copy_value = new LinkedHashMap>( + other_element_value.size()); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } this.success = __this__success; } if(other.isSetEx()) { @@ -195910,13 +333088,17 @@ public inventory_result(inventory_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public inventory_result deepCopy() { - return new inventory_result(this); + public selectKeysCriteriaTimestrOrder_result deepCopy() { + return new selectKeysCriteriaTimestrOrder_result(this); } @Override @@ -195925,28 +333107,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(long elem) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashSet(); + this.success = new LinkedHashMap>>(); } - this.success.add(elem); + this.success.put(key, val); } - public Set getSuccess() { + public Map>> getSuccess() { return this.success; } - public inventory_result setSuccess(Set success) { + public selectKeysCriteriaTimestrOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -195973,7 +333154,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public inventory_result setEx( + public selectKeysCriteriaTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -196001,7 +333182,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public inventory_result setEx2( + public selectKeysCriteriaTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -196025,12 +333206,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public inventory_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectKeysCriteriaTimestrOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -196053,6 +333234,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeysCriteriaTimestrOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -196060,7 +333269,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Set) value); + setSuccess( + (Map>>) value); } break; @@ -196087,7 +333297,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -196108,6 +333327,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -196130,6 +333352,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -196138,12 +333362,13 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof inventory_result) - return this.equals((inventory_result) that); + if(that instanceof selectKeysCriteriaTimestrOrder_result) + return this + .equals((selectKeysCriteriaTimestrOrder_result) that); return false; } - public boolean equals(inventory_result that) { + public boolean equals(selectKeysCriteriaTimestrOrder_result that) { if(that == null) return false; @@ -196183,6 +333408,15 @@ public boolean equals(inventory_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -196210,11 +333444,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(inventory_result other) { + public int compareTo(selectKeysCriteriaTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -196270,6 +333509,18 @@ public int compareTo(inventory_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -196289,7 +333540,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("inventory_result("); + StringBuilder sb = new StringBuilder( + "selectKeysCriteriaTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -196330,6 +333582,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -196363,18 +333625,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class inventory_resultStandardSchemeFactory + private static class selectKeysCriteriaTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public inventory_resultStandardScheme getScheme() { - return new inventory_resultStandardScheme(); + public selectKeysCriteriaTimestrOrder_resultStandardScheme getScheme() { + return new selectKeysCriteriaTimestrOrder_resultStandardScheme(); } } - private static class inventory_resultStandardScheme - extends StandardScheme { + private static class selectKeysCriteriaTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - inventory_result struct) + selectKeysCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -196385,18 +333647,45 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TSet _set900 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set900.size); - long _elem901; - for (int _i902 = 0; _i902 < _set900.size; ++_i902) { - _elem901 = iprot.readI64(); - struct.success.add(_elem901); + org.apache.thrift.protocol.TMap _map2512 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap>>( + 2 * _map2512.size); + long _key2513; + Map> _val2514; + for (int _i2515 = 0; _i2515 < _map2512.size; ++_i2515) { + _key2513 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2516 = iprot + .readMapBegin(); + _val2514 = new LinkedHashMap>( + 2 * _map2516.size); + String _key2517; + Set _val2518; + for (int _i2519 = 0; _i2519 < _map2516.size; ++_i2519) { + _key2517 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2520 = iprot + .readSetBegin(); + _val2518 = new LinkedHashSet( + 2 * _set2520.size); + com.cinchapi.concourse.thrift.TObject _elem2521; + for (int _i2522 = 0; _i2522 < _set2520.size; ++_i2522) { + _elem2521 = new com.cinchapi.concourse.thrift.TObject(); + _elem2521.read(iprot); + _val2518.add(_elem2521); + } + iprot.readSetEnd(); + } + _val2514.put(_key2517, _val2518); + } + iprot.readMapEnd(); + } + struct.success.put(_key2513, _val2514); } - iprot.readSetEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } @@ -196429,7 +333718,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -196438,6 +333727,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -196452,7 +333752,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - inventory_result struct) + selectKeysCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -196460,13 +333760,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (long _iter903 : struct.success) { - oprot.writeI64(_iter903); + for (Map.Entry>> _iter2523 : struct.success + .entrySet()) { + oprot.writeI64(_iter2523.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2523.getValue().size())); + for (Map.Entry> _iter2524 : _iter2523 + .getValue().entrySet()) { + oprot.writeString(_iter2524.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2524.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2525 : _iter2524 + .getValue()) { + _iter2525.write(oprot); + } + oprot.writeSetEnd(); + } + } + oprot.writeMapEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -196485,25 +333811,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class inventory_resultTupleSchemeFactory + private static class selectKeysCriteriaTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public inventory_resultTupleScheme getScheme() { - return new inventory_resultTupleScheme(); + public selectKeysCriteriaTimestrOrder_resultTupleScheme getScheme() { + return new selectKeysCriteriaTimestrOrder_resultTupleScheme(); } } - private static class inventory_resultTupleScheme - extends TupleScheme { + private static class selectKeysCriteriaTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - inventory_result struct) + selectKeysCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -196519,12 +333850,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter904 : struct.success) { - oprot.writeI64(_iter904); + for (Map.Entry>> _iter2526 : struct.success + .entrySet()) { + oprot.writeI64(_iter2526.getKey()); + { + oprot.writeI32(_iter2526.getValue().size()); + for (Map.Entry> _iter2527 : _iter2526 + .getValue().entrySet()) { + oprot.writeString(_iter2527.getKey()); + { + oprot.writeI32( + _iter2527.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2528 : _iter2527 + .getValue()) { + _iter2528.write(oprot); + } + } + } + } } } } @@ -196537,25 +333887,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - inventory_result struct) + selectKeysCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set905 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map2529 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set905.size); - long _elem906; - for (int _i907 = 0; _i907 < _set905.size; ++_i907) { - _elem906 = iprot.readI64(); - struct.success.add(_elem906); + struct.success = new LinkedHashMap>>( + 2 * _map2529.size); + long _key2530; + Map> _val2531; + for (int _i2532 = 0; _i2532 < _map2529.size; ++_i2532) { + _key2530 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map2533 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + iprot.readI32()); + _val2531 = new LinkedHashMap>( + 2 * _map2533.size); + String _key2534; + Set _val2535; + for (int _i2536 = 0; _i2536 < _map2533.size; ++_i2536) { + _key2534 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2537 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2535 = new LinkedHashSet( + 2 * _set2537.size); + com.cinchapi.concourse.thrift.TObject _elem2538; + for (int _i2539 = 0; _i2539 < _set2537.size; ++_i2539) { + _elem2538 = new com.cinchapi.concourse.thrift.TObject(); + _elem2538.read(iprot); + _val2535.add(_elem2538); + } + } + _val2531.put(_key2534, _val2535); + } + } + struct.success.put(_key2530, _val2531); } } struct.setSuccessIsSet(true); @@ -196571,43 +333953,54 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectRecord_args implements - org.apache.thrift.TBase, + public static class selectKeysCclTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecord_args"); + "selectKeysCclTime_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecord_argsStandardSchemeFactory()); + new selectKeysCclTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecord_argsTupleSchemeFactory()); + new selectKeysCclTime_argsTupleSchemeFactory()); } - public long record; // required + public List keys; // required + public String ccl; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -196617,10 +334010,12 @@ public static class selectRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -196636,13 +334031,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // CREDS + case 1: // KEYS + return KEYS; + case 2: // CCL + return CCL; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 3: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -196688,14 +334087,26 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); @@ -196717,19 +334128,21 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(selectRecord_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + selectKeysCclTime_args.class, metaDataMap); } - public selectRecord_args() {} + public selectKeysCclTime_args() {} - public selectRecord_args(long record, - com.cinchapi.concourse.thrift.AccessToken creds, + public selectKeysCclTime_args(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); + this.keys = keys; + this.ccl = ccl; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -196738,9 +334151,16 @@ public selectRecord_args(long record, /** * Performs a deep copy on other. */ - public selectRecord_args(selectRecord_args other) { + public selectKeysCclTime_args(selectKeysCclTime_args other) { __isset_bitfield = other.__isset_bitfield; - this.record = other.record; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -196754,52 +334174,124 @@ public selectRecord_args(selectRecord_args other) { } } - public selectRecord_args deepCopy() { - return new selectRecord_args(this); + public selectKeysCclTime_args deepCopy() { + return new selectKeysCclTime_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; + this.keys = null; + this.ccl = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public selectRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysCclTime_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetKeys() { + return this.keys != null; } - public void setRecordIsSet(boolean value) { + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public String getCcl() { + return this.ccl; + } + + public selectKeysCclTime_args setCcl(String ccl) { + this.ccl = ccl; + return this; + } + + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public selectKeysCclTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectRecord_args setCreds( + public selectKeysCclTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -196827,7 +334319,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectRecord_args setTransaction( + public selectKeysCclTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -196855,7 +334347,7 @@ public String getEnvironment() { return this.environment; } - public selectRecord_args setEnvironment(String environment) { + public selectKeysCclTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -196880,12 +334372,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case KEYS: if(value == null) { - unsetRecord(); + unsetKeys(); } else { - setRecord((Long) value); + setKeys((List) value); + } + break; + + case CCL: + if(value == null) { + unsetCcl(); + } + else { + setCcl((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); } break; @@ -196922,8 +334432,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case KEYS: + return getKeys(); + + case CCL: + return getCcl(); + + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -196948,8 +334464,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); + case KEYS: + return isSetKeys(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -196964,21 +334484,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecord_args) - return this.equals((selectRecord_args) that); + if(that instanceof selectKeysCclTime_args) + return this.equals((selectKeysCclTime_args) that); return false; } - public boolean equals(selectRecord_args that) { + public boolean equals(selectKeysCclTime_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(this.record != that.record) + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) + return false; + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) return false; } @@ -197016,10 +334554,20 @@ public boolean equals(selectRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -197040,7 +334588,7 @@ public int hashCode() { } @Override - public int compareTo(selectRecord_args other) { + public int compareTo(selectKeysCclTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -197048,14 +334596,38 @@ public int compareTo(selectRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCcl()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -197115,11 +334687,31 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecord_args("); + StringBuilder sb = new StringBuilder("selectKeysCclTime_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -197194,18 +334786,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecord_argsStandardSchemeFactory + private static class selectKeysCclTime_argsStandardSchemeFactory implements SchemeFactory { - public selectRecord_argsStandardScheme getScheme() { - return new selectRecord_argsStandardScheme(); + public selectKeysCclTime_argsStandardScheme getScheme() { + return new selectKeysCclTime_argsStandardScheme(); } } - private static class selectRecord_argsStandardScheme - extends StandardScheme { + private static class selectKeysCclTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecord_args struct) + selectKeysCclTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -197215,17 +334807,48 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2540 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2540.size); + String _elem2541; + for (int _i2542 = 0; _i2542 < _list2540.size; ++_i2542) { + _elem2541 = iprot.readString(); + struct.keys.add(_elem2541); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -197236,7 +334859,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -197247,7 +334870,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -197271,13 +334894,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecord_args struct) + selectKeysCclTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2543 : struct.keys) { + oprot.writeString(_iter2543); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); @@ -197300,37 +334942,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectRecord_argsTupleSchemeFactory + private static class selectKeysCclTime_argsTupleSchemeFactory implements SchemeFactory { - public selectRecord_argsTupleScheme getScheme() { - return new selectRecord_argsTupleScheme(); + public selectKeysCclTime_argsTupleScheme getScheme() { + return new selectKeysCclTime_argsTupleScheme(); } } - private static class selectRecord_argsTupleScheme - extends TupleScheme { + private static class selectKeysCclTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecord_args struct) + selectKeysCclTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2544 : struct.keys) { + oprot.writeString(_iter2544); + } + } + } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -197345,25 +335004,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecord_args struct) + selectKeysCclTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + { + org.apache.thrift.protocol.TList _list2545 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2545.size); + String _elem2546; + for (int _i2547 = 0; _i2547 < _list2545.size; ++_i2547) { + _elem2546 = iprot.readString(); + struct.keys.add(_elem2546); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -197372,13 +335049,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectRecord_result implements - org.apache.thrift.TBase, + public static class selectKeysCclTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecord_result"); + "selectKeysCclTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -197388,19 +335065,22 @@ public static class selectRecord_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecord_resultStandardSchemeFactory()); + new selectKeysCclTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecord_resultTupleSchemeFactory()); + new selectKeysCclTime_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -197410,7 +335090,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -197434,6 +335115,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -197488,12 +335171,16 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -197509,47 +335196,71 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecord_result.class, metaDataMap); + selectKeysCclTime_result.class, metaDataMap); } - public selectRecord_result() {} + public selectKeysCclTime_result() {} - public selectRecord_result( - Map> success, + public selectKeysCclTime_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectRecord_result(selectRecord_result other) { + public selectKeysCclTime_result(selectKeysCclTime_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); - Set other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -197566,13 +335277,17 @@ public selectRecord_result(selectRecord_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public selectRecord_result deepCopy() { - return new selectRecord_result(this); + public selectKeysCclTime_result deepCopy() { + return new selectKeysCclTime_result(this); } @Override @@ -197581,26 +335296,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Set val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public selectRecord_result setSuccess( - Map> success) { + public selectKeysCclTime_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -197627,7 +335343,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectRecord_result setEx( + public selectKeysCclTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -197655,7 +335371,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectRecord_result setEx2( + public selectKeysCclTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -197679,12 +335395,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectRecord_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectKeysCclTime_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -197707,6 +335423,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeysCclTime_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -197715,7 +335459,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>>) value); } break; @@ -197742,7 +335486,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -197763,6 +335516,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -197785,6 +335541,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -197793,12 +335551,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecord_result) - return this.equals((selectRecord_result) that); + if(that instanceof selectKeysCclTime_result) + return this.equals((selectKeysCclTime_result) that); return false; } - public boolean equals(selectRecord_result that) { + public boolean equals(selectKeysCclTime_result that) { if(that == null) return false; @@ -197838,6 +335596,15 @@ public boolean equals(selectRecord_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -197865,11 +335632,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(selectRecord_result other) { + public int compareTo(selectKeysCclTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -197925,6 +335697,18 @@ public int compareTo(selectRecord_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -197944,7 +335728,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecord_result("); + StringBuilder sb = new StringBuilder("selectKeysCclTime_result("); boolean first = true; sb.append("success:"); @@ -197985,6 +335769,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -198018,18 +335812,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecord_resultStandardSchemeFactory + private static class selectKeysCclTime_resultStandardSchemeFactory implements SchemeFactory { - public selectRecord_resultStandardScheme getScheme() { - return new selectRecord_resultStandardScheme(); + public selectKeysCclTime_resultStandardScheme getScheme() { + return new selectKeysCclTime_resultStandardScheme(); } } - private static class selectRecord_resultStandardScheme - extends StandardScheme { + private static class selectKeysCclTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecord_result struct) + selectKeysCclTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -198042,28 +335836,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map908 = iprot + org.apache.thrift.protocol.TMap _map2548 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map908.size); - String _key909; - Set _val910; - for (int _i911 = 0; _i911 < _map908.size; ++_i911) { - _key909 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map2548.size); + long _key2549; + Map> _val2550; + for (int _i2551 = 0; _i2551 < _map2548.size; ++_i2551) { + _key2549 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set912 = iprot - .readSetBegin(); - _val910 = new LinkedHashSet( - 2 * _set912.size); - com.cinchapi.concourse.thrift.TObject _elem913; - for (int _i914 = 0; _i914 < _set912.size; ++_i914) { - _elem913 = new com.cinchapi.concourse.thrift.TObject(); - _elem913.read(iprot); - _val910.add(_elem913); + org.apache.thrift.protocol.TMap _map2552 = iprot + .readMapBegin(); + _val2550 = new LinkedHashMap>( + 2 * _map2552.size); + String _key2553; + Set _val2554; + for (int _i2555 = 0; _i2555 < _map2552.size; ++_i2555) { + _key2553 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2556 = iprot + .readSetBegin(); + _val2554 = new LinkedHashSet( + 2 * _set2556.size); + com.cinchapi.concourse.thrift.TObject _elem2557; + for (int _i2558 = 0; _i2558 < _set2556.size; ++_i2558) { + _elem2557 = new com.cinchapi.concourse.thrift.TObject(); + _elem2557.read(iprot); + _val2554.add(_elem2557); + } + iprot.readSetEnd(); + } + _val2550.put(_key2553, _val2554); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key909, _val910); + struct.success.put(_key2549, _val2550); } iprot.readMapEnd(); } @@ -198098,7 +335905,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -198107,6 +335914,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -198121,7 +335939,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecord_result struct) + selectKeysCclTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -198130,22 +335948,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter915 : struct.success + for (Map.Entry>> _iter2559 : struct.success .entrySet()) { - oprot.writeString(_iter915.getKey()); + oprot.writeI64(_iter2559.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter915.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter916 : _iter915 - .getValue()) { - _iter916.write(oprot); + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2559.getValue().size())); + for (Map.Entry> _iter2560 : _iter2559 + .getValue().entrySet()) { + oprot.writeString(_iter2560.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2560.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2561 : _iter2560 + .getValue()) { + _iter2561.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -198167,25 +335998,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectRecord_resultTupleSchemeFactory + private static class selectKeysCclTime_resultTupleSchemeFactory implements SchemeFactory { - public selectRecord_resultTupleScheme getScheme() { - return new selectRecord_resultTupleScheme(); + public selectKeysCclTime_resultTupleScheme getScheme() { + return new selectKeysCclTime_resultTupleScheme(); } } - private static class selectRecord_resultTupleScheme - extends TupleScheme { + private static class selectKeysCclTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecord_result struct) + selectKeysCclTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -198201,18 +336037,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter917 : struct.success + for (Map.Entry>> _iter2562 : struct.success .entrySet()) { - oprot.writeString(_iter917.getKey()); + oprot.writeI64(_iter2562.getKey()); { - oprot.writeI32(_iter917.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter918 : _iter917 - .getValue()) { - _iter918.write(oprot); + oprot.writeI32(_iter2562.getValue().size()); + for (Map.Entry> _iter2563 : _iter2562 + .getValue().entrySet()) { + oprot.writeString(_iter2563.getKey()); + { + oprot.writeI32( + _iter2563.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2564 : _iter2563 + .getValue()) { + _iter2564.write(oprot); + } + } } } } @@ -198227,40 +336074,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecord_result struct) + selectKeysCclTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map919 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TMap _map2565 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map919.size); - String _key920; - Set _val921; - for (int _i922 = 0; _i922 < _map919.size; ++_i922) { - _key920 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map2565.size); + long _key2566; + Map> _val2567; + for (int _i2568 = 0; _i2568 < _map2565.size; ++_i2568) { + _key2566 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set923 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TMap _map2569 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val921 = new LinkedHashSet( - 2 * _set923.size); - com.cinchapi.concourse.thrift.TObject _elem924; - for (int _i925 = 0; _i925 < _set923.size; ++_i925) { - _elem924 = new com.cinchapi.concourse.thrift.TObject(); - _elem924.read(iprot); - _val921.add(_elem924); + _val2567 = new LinkedHashMap>( + 2 * _map2569.size); + String _key2570; + Set _val2571; + for (int _i2572 = 0; _i2572 < _map2569.size; ++_i2572) { + _key2570 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2573 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2571 = new LinkedHashSet( + 2 * _set2573.size); + com.cinchapi.concourse.thrift.TObject _elem2574; + for (int _i2575 = 0; _i2575 < _set2573.size; ++_i2575) { + _elem2574 = new com.cinchapi.concourse.thrift.TObject(); + _elem2574.read(iprot); + _val2571.add(_elem2574); + } + } + _val2567.put(_key2570, _val2571); } } - struct.success.put(_key920, _val921); + struct.success.put(_key2566, _val2567); } } struct.setSuccessIsSet(true); @@ -198276,43 +336140,57 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectRecords_args implements - org.apache.thrift.TBase, + public static class selectKeysCclTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecords_args"); + "selectKeysCclTimeOrder_args"); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecords_argsStandardSchemeFactory()); + new selectKeysCclTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecords_argsTupleSchemeFactory()); + new selectKeysCclTimeOrder_argsTupleSchemeFactory()); } - public List records; // required + public List keys; // required + public String ccl; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -198322,10 +336200,13 @@ public static class selectRecords_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORDS((short) 1, "records"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -198341,13 +336222,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORDS - return RECORDS; - case 2: // CREDS + case 1: // KEYS + return KEYS; + case 2: // CCL + return CCL; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 3: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -198393,17 +336280,35 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -198423,17 +336328,22 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecords_args.class, metaDataMap); + selectKeysCclTimeOrder_args.class, metaDataMap); } - public selectRecords_args() {} + public selectKeysCclTimeOrder_args() {} - public selectRecords_args(List records, + public selectKeysCclTimeOrder_args(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.records = records; + this.keys = keys; + this.ccl = ccl; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -198442,10 +336352,19 @@ public selectRecords_args(List records, /** * Performs a deep copy on other. */ - public selectRecords_args(selectRecords_args other) { - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + public selectKeysCclTimeOrder_args(selectKeysCclTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -198460,57 +336379,145 @@ public selectRecords_args(selectRecords_args other) { } } - public selectRecords_args deepCopy() { - return new selectRecords_args(this); + public selectKeysCclTimeOrder_args deepCopy() { + return new selectKeysCclTimeOrder_args(this); } @Override public void clear() { - this.records = null; + this.keys = null; + this.ccl = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); } - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); } - this.records.add(elem); + this.keys.add(elem); } - public List getRecords() { - return this.records; + public List getKeys() { + return this.keys; } - public selectRecords_args setRecords(List records) { - this.records = records; + public selectKeysCclTimeOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetRecords() { - this.records = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setRecordsIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.records = null; + this.keys = null; + } + } + + public String getCcl() { + return this.ccl; + } + + public selectKeysCclTimeOrder_args setCcl(String ccl) { + this.ccl = ccl; + return this; + } + + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public selectKeysCclTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeysCclTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; } } @@ -198518,7 +336525,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectRecords_args setCreds( + public selectKeysCclTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -198546,7 +336553,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectRecords_args setTransaction( + public selectKeysCclTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -198574,7 +336581,7 @@ public String getEnvironment() { return this.environment; } - public selectRecords_args setEnvironment(String environment) { + public selectKeysCclTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -198599,12 +336606,39 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORDS: + case KEYS: if(value == null) { - unsetRecords(); + unsetKeys(); } else { - setRecords((List) value); + setKeys((List) value); + } + break; + + case CCL: + if(value == null) { + unsetCcl(); + } + else { + setCcl((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -198641,8 +336675,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORDS: - return getRecords(); + case KEYS: + return getKeys(); + + case CCL: + return getCcl(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -198667,8 +336710,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORDS: - return isSetRecords(); + case KEYS: + return isSetKeys(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -198683,21 +336732,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecords_args) - return this.equals((selectRecords_args) that); + if(that instanceof selectKeysCclTimeOrder_args) + return this.equals((selectKeysCclTimeOrder_args) that); return false; } - public boolean equals(selectRecords_args that) { + public boolean equals(selectKeysCclTimeOrder_args that) { if(that == null) return false; - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.records.equals(that.records)) + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) + return false; + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -198735,10 +336811,25 @@ public boolean equals(selectRecords_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -198759,7 +336850,7 @@ public int hashCode() { } @Override - public int compareTo(selectRecords_args other) { + public int compareTo(selectKeysCclTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -198767,14 +336858,50 @@ public int compareTo(selectRecords_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCcl()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -198834,15 +336961,41 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecords_args("); + StringBuilder sb = new StringBuilder( + "selectKeysCclTimeOrder_args("); boolean first = true; - sb.append("records:"); - if(this.records == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -198882,6 +337035,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -198905,6 +337061,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -198914,18 +337074,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecords_argsStandardSchemeFactory + private static class selectKeysCclTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectRecords_argsStandardScheme getScheme() { - return new selectRecords_argsStandardScheme(); + public selectKeysCclTimeOrder_argsStandardScheme getScheme() { + return new selectKeysCclTimeOrder_argsStandardScheme(); } } - private static class selectRecords_argsStandardScheme - extends StandardScheme { + private static class selectKeysCclTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecords_args struct) + selectKeysCclTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -198935,28 +337095,59 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORDS + case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list926 = iprot + org.apache.thrift.protocol.TList _list2576 = iprot .readListBegin(); - struct.records = new ArrayList( - _list926.size); - long _elem927; - for (int _i928 = 0; _i928 < _list926.size; ++_i928) { - _elem927 = iprot.readI64(); - struct.records.add(_elem927); + struct.keys = new ArrayList( + _list2576.size); + String _elem2577; + for (int _i2578 = 0; _i2578 < _list2576.size; ++_i2578) { + _elem2577 = iprot.readString(); + struct.keys.add(_elem2577); } iprot.readListEnd(); } - struct.setRecordsIsSet(true); + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -198967,7 +337158,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -198978,7 +337169,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -199002,25 +337193,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecords_args struct) + selectKeysCclTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter929 : struct.records) { - oprot.writeI64(_iter929); + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2579 : struct.keys) { + oprot.writeString(_iter2579); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -199042,43 +337246,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectRecords_argsTupleSchemeFactory + private static class selectKeysCclTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectRecords_argsTupleScheme getScheme() { - return new selectRecords_argsTupleScheme(); + public selectKeysCclTimeOrder_argsTupleScheme getScheme() { + return new selectKeysCclTimeOrder_argsTupleScheme(); } } - private static class selectRecords_argsTupleScheme - extends TupleScheme { + private static class selectKeysCclTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecords_args struct) + selectKeysCclTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecords()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetOrder()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetRecords()) { + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { { - oprot.writeI32(struct.records.size()); - for (long _iter930 : struct.records) { - oprot.writeI64(_iter930); + oprot.writeI32(struct.keys.size()); + for (String _iter2580 : struct.keys) { + oprot.writeString(_iter2580); } } } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -199092,35 +337314,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecords_args struct) + selectKeysCclTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TList _list2581 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.records = new ArrayList(_list931.size); - long _elem932; - for (int _i933 = 0; _i933 < _list931.size; ++_i933) { - _elem932 = iprot.readI64(); - struct.records.add(_elem932); + struct.keys = new ArrayList(_list2581.size); + String _elem2582; + for (int _i2583 = 0; _i2583 < _list2581.size; ++_i2583) { + _elem2582 = iprot.readString(); + struct.keys.add(_elem2582); } } - struct.setRecordsIsSet(true); + struct.setKeysIsSet(true); } if(incoming.get(1)) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -199129,13 +337364,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectRecords_result implements - org.apache.thrift.TBase, + public static class selectKeysCclTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecords_result"); + "selectKeysCclTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -199145,19 +337380,22 @@ public static class selectRecords_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecords_resultStandardSchemeFactory()); + new selectKeysCclTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecords_resultTupleSchemeFactory()); + new selectKeysCclTimeOrder_resultTupleSchemeFactory()); } public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -199167,7 +337405,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -199191,6 +337430,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -199270,29 +337511,37 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecords_result.class, metaDataMap); + selectKeysCclTimeOrder_result.class, metaDataMap); } - public selectRecords_result() {} + public selectKeysCclTimeOrder_result() {} - public selectRecords_result( + public selectKeysCclTimeOrder_result( Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectRecords_result(selectRecords_result other) { + public selectKeysCclTimeOrder_result( + selectKeysCclTimeOrder_result other) { if(other.isSetSuccess()) { Map>> __this__success = new LinkedHashMap>>( other.success.size()); @@ -199344,13 +337593,17 @@ public selectRecords_result(selectRecords_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public selectRecords_result deepCopy() { - return new selectRecords_result(this); + public selectKeysCclTimeOrder_result deepCopy() { + return new selectKeysCclTimeOrder_result(this); } @Override @@ -199359,6 +337612,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -199377,7 +337631,7 @@ public Map>> getSuc return this.success; } - public selectRecords_result setSuccess( + public selectKeysCclTimeOrder_result setSuccess( Map>> success) { this.success = success; return this; @@ -199405,7 +337659,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectRecords_result setEx( + public selectKeysCclTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -199433,7 +337687,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectRecords_result setEx2( + public selectKeysCclTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -199457,12 +337711,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectRecords_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectKeysCclTimeOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -199485,6 +337739,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeysCclTimeOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -199520,7 +337802,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -199541,6 +337832,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -199563,6 +337857,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -199571,12 +337867,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecords_result) - return this.equals((selectRecords_result) that); + if(that instanceof selectKeysCclTimeOrder_result) + return this.equals((selectKeysCclTimeOrder_result) that); return false; } - public boolean equals(selectRecords_result that) { + public boolean equals(selectKeysCclTimeOrder_result that) { if(that == null) return false; @@ -199616,6 +337912,15 @@ public boolean equals(selectRecords_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -199643,11 +337948,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(selectRecords_result other) { + public int compareTo(selectKeysCclTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -199703,6 +338013,18 @@ public int compareTo(selectRecords_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -199722,7 +338044,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecords_result("); + StringBuilder sb = new StringBuilder( + "selectKeysCclTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -199763,6 +338086,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -199796,18 +338129,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecords_resultStandardSchemeFactory + private static class selectKeysCclTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectRecords_resultStandardScheme getScheme() { - return new selectRecords_resultStandardScheme(); + public selectKeysCclTimeOrder_resultStandardScheme getScheme() { + return new selectKeysCclTimeOrder_resultStandardScheme(); } } - private static class selectRecords_resultStandardScheme - extends StandardScheme { + private static class selectKeysCclTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecords_result struct) + selectKeysCclTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -199820,41 +338153,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map934 = iprot + org.apache.thrift.protocol.TMap _map2584 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map934.size); - long _key935; - Map> _val936; - for (int _i937 = 0; _i937 < _map934.size; ++_i937) { - _key935 = iprot.readI64(); + 2 * _map2584.size); + long _key2585; + Map> _val2586; + for (int _i2587 = 0; _i2587 < _map2584.size; ++_i2587) { + _key2585 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map938 = iprot + org.apache.thrift.protocol.TMap _map2588 = iprot .readMapBegin(); - _val936 = new LinkedHashMap>( - 2 * _map938.size); - String _key939; - Set _val940; - for (int _i941 = 0; _i941 < _map938.size; ++_i941) { - _key939 = iprot.readString(); + _val2586 = new LinkedHashMap>( + 2 * _map2588.size); + String _key2589; + Set _val2590; + for (int _i2591 = 0; _i2591 < _map2588.size; ++_i2591) { + _key2589 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set942 = iprot + org.apache.thrift.protocol.TSet _set2592 = iprot .readSetBegin(); - _val940 = new LinkedHashSet( - 2 * _set942.size); - com.cinchapi.concourse.thrift.TObject _elem943; - for (int _i944 = 0; _i944 < _set942.size; ++_i944) { - _elem943 = new com.cinchapi.concourse.thrift.TObject(); - _elem943.read(iprot); - _val940.add(_elem943); + _val2590 = new LinkedHashSet( + 2 * _set2592.size); + com.cinchapi.concourse.thrift.TObject _elem2593; + for (int _i2594 = 0; _i2594 < _set2592.size; ++_i2594) { + _elem2593 = new com.cinchapi.concourse.thrift.TObject(); + _elem2593.read(iprot); + _val2590.add(_elem2593); } iprot.readSetEnd(); } - _val936.put(_key939, _val940); + _val2586.put(_key2589, _val2590); } iprot.readMapEnd(); } - struct.success.put(_key935, _val936); + struct.success.put(_key2585, _val2586); } iprot.readMapEnd(); } @@ -199889,7 +338222,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -199898,6 +338231,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -199912,7 +338256,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecords_result struct) + selectKeysCclTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -199924,27 +338268,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter945 : struct.success + for (Map.Entry>> _iter2595 : struct.success .entrySet()) { - oprot.writeI64(_iter945.getKey()); + oprot.writeI64(_iter2595.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter945.getValue().size())); - for (Map.Entry> _iter946 : _iter945 + _iter2595.getValue().size())); + for (Map.Entry> _iter2596 : _iter2595 .getValue().entrySet()) { - oprot.writeString(_iter946.getKey()); + oprot.writeString(_iter2596.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter946.getValue() + _iter2596.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter947 : _iter946 + for (com.cinchapi.concourse.thrift.TObject _iter2597 : _iter2596 .getValue()) { - _iter947.write(oprot); + _iter2597.write(oprot); } oprot.writeSetEnd(); } @@ -199971,25 +338315,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectRecords_resultTupleSchemeFactory + private static class selectKeysCclTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectRecords_resultTupleScheme getScheme() { - return new selectRecords_resultTupleScheme(); + public selectKeysCclTimeOrder_resultTupleScheme getScheme() { + return new selectKeysCclTimeOrder_resultTupleScheme(); } } - private static class selectRecords_resultTupleScheme - extends TupleScheme { + private static class selectKeysCclTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecords_result struct) + selectKeysCclTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -200005,24 +338354,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter948 : struct.success + for (Map.Entry>> _iter2598 : struct.success .entrySet()) { - oprot.writeI64(_iter948.getKey()); + oprot.writeI64(_iter2598.getKey()); { - oprot.writeI32(_iter948.getValue().size()); - for (Map.Entry> _iter949 : _iter948 + oprot.writeI32(_iter2598.getValue().size()); + for (Map.Entry> _iter2599 : _iter2598 .getValue().entrySet()) { - oprot.writeString(_iter949.getKey()); + oprot.writeString(_iter2599.getKey()); { oprot.writeI32( - _iter949.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter950 : _iter949 + _iter2599.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2600 : _iter2599 .getValue()) { - _iter950.write(oprot); + _iter2600.write(oprot); } } } @@ -200039,54 +338391,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecords_result struct) + selectKeysCclTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map951 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2601 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map951.size); - long _key952; - Map> _val953; - for (int _i954 = 0; _i954 < _map951.size; ++_i954) { - _key952 = iprot.readI64(); + 2 * _map2601.size); + long _key2602; + Map> _val2603; + for (int _i2604 = 0; _i2604 < _map2601.size; ++_i2604) { + _key2602 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map955 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2605 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val953 = new LinkedHashMap>( - 2 * _map955.size); - String _key956; - Set _val957; - for (int _i958 = 0; _i958 < _map955.size; ++_i958) { - _key956 = iprot.readString(); + _val2603 = new LinkedHashMap>( + 2 * _map2605.size); + String _key2606; + Set _val2607; + for (int _i2608 = 0; _i2608 < _map2605.size; ++_i2608) { + _key2606 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set959 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set2609 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val957 = new LinkedHashSet( - 2 * _set959.size); - com.cinchapi.concourse.thrift.TObject _elem960; - for (int _i961 = 0; _i961 < _set959.size; ++_i961) { - _elem960 = new com.cinchapi.concourse.thrift.TObject(); - _elem960.read(iprot); - _val957.add(_elem960); + _val2607 = new LinkedHashSet( + 2 * _set2609.size); + com.cinchapi.concourse.thrift.TObject _elem2610; + for (int _i2611 = 0; _i2611 < _set2609.size; ++_i2611) { + _elem2610 = new com.cinchapi.concourse.thrift.TObject(); + _elem2610.read(iprot); + _val2607.add(_elem2610); } } - _val953.put(_key956, _val957); + _val2603.put(_key2606, _val2607); } } - struct.success.put(_key952, _val953); + struct.success.put(_key2602, _val2603); } } struct.setSuccessIsSet(true); @@ -200102,46 +338457,55 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectRecordTime_args implements - org.apache.thrift.TBase, + public static class selectKeysCclTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecordTime_args"); + "selectKeysCclTimestr_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecordTime_argsStandardSchemeFactory()); + new selectKeysCclTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecordTime_argsTupleSchemeFactory()); + new selectKeysCclTimestr_argsTupleSchemeFactory()); } - public long record; // required - public long timestamp; // required + public List keys; // required + public String ccl; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -200151,11 +338515,12 @@ public static class selectRecordTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -200171,15 +338536,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // TIMESTAMP + case 1: // KEYS + return KEYS; + case 2: // CCL + return CCL; + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -200225,23 +338592,27 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __TIMESTAMP_ISSET_ID = 1; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -200261,20 +338632,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecordTime_args.class, metaDataMap); + selectKeysCclTimestr_args.class, metaDataMap); } - public selectRecordTime_args() {} + public selectKeysCclTimestr_args() {} - public selectRecordTime_args(long record, long timestamp, + public selectKeysCclTimestr_args(List keys, String ccl, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); + this.keys = keys; + this.ccl = ccl; this.timestamp = timestamp; - setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -200283,10 +338654,17 @@ public selectRecordTime_args(long record, long timestamp, /** * Performs a deep copy on other. */ - public selectRecordTime_args(selectRecordTime_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; - this.timestamp = other.timestamp; + public selectKeysCclTimestr_args(selectKeysCclTimestr_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -200300,62 +338678,100 @@ public selectRecordTime_args(selectRecordTime_args other) { } } - public selectRecordTime_args deepCopy() { - return new selectRecordTime_args(this); + public selectKeysCclTimestr_args deepCopy() { + return new selectKeysCclTimestr_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; - setTimestampIsSet(false); - this.timestamp = 0; + this.keys = null; + this.ccl = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public selectRecordTime_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysCclTimestr_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetKeys() { + return this.keys != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } } - public long getTimestamp() { + public String getCcl() { + return this.ccl; + } + + public selectKeysCclTimestr_args setCcl(String ccl) { + this.ccl = ccl; + return this; + } + + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } + } + + public String getTimestamp() { return this.timestamp; } - public selectRecordTime_args setTimestamp(long timestamp) { + public selectKeysCclTimestr_args setTimestamp(String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -200363,20 +338779,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectRecordTime_args setCreds( + public selectKeysCclTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -200404,7 +338820,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectRecordTime_args setTransaction( + public selectKeysCclTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -200432,7 +338848,7 @@ public String getEnvironment() { return this.environment; } - public selectRecordTime_args setEnvironment(String environment) { + public selectKeysCclTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -200457,12 +338873,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case KEYS: if(value == null) { - unsetRecord(); + unsetKeys(); } else { - setRecord((Long) value); + setKeys((List) value); + } + break; + + case CCL: + if(value == null) { + unsetCcl(); + } + else { + setCcl((String) value); } break; @@ -200471,7 +338896,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); } break; @@ -200508,8 +338933,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case KEYS: + return getKeys(); + + case CCL: + return getCcl(); case TIMESTAMP: return getTimestamp(); @@ -200537,8 +338965,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); + case KEYS: + return isSetKeys(); + case CCL: + return isSetCcl(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -200555,30 +338985,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecordTime_args) - return this.equals((selectRecordTime_args) that); + if(that instanceof selectKeysCclTimestr_args) + return this.equals((selectKeysCclTimestr_args) that); return false; } - public boolean equals(selectRecordTime_args that) { + public boolean equals(selectKeysCclTimestr_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(this.record != that.record) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) + return false; + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -200616,12 +339055,17 @@ public boolean equals(selectRecordTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_timestamp = true; + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -200645,7 +339089,7 @@ public int hashCode() { } @Override - public int compareTo(selectRecordTime_args other) { + public int compareTo(selectKeysCclTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -200653,14 +339097,26 @@ public int compareTo(selectRecordTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCcl()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -200732,16 +339188,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecordTime_args("); + StringBuilder sb = new StringBuilder("selectKeysCclTimestr_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } first = false; if(!first) sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -200803,10 +339279,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -200816,18 +339288,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecordTime_argsStandardSchemeFactory + private static class selectKeysCclTimestr_argsStandardSchemeFactory implements SchemeFactory { - public selectRecordTime_argsStandardScheme getScheme() { - return new selectRecordTime_argsStandardScheme(); + public selectKeysCclTimestr_argsStandardScheme getScheme() { + return new selectKeysCclTimestr_argsStandardScheme(); } } - private static class selectRecordTime_argsStandardScheme - extends StandardScheme { + private static class selectKeysCclTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecordTime_args struct) + selectKeysCclTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -200837,19 +339309,40 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2612 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2612.size); + String _elem2613; + for (int _i2614 = 0; _i2614 < _list2612.size; ++_i2614) { + _elem2613 = iprot.readString(); + struct.keys.add(_elem2613); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -200857,7 +339350,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -200868,7 +339361,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -200879,7 +339372,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -200903,17 +339396,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecordTime_args struct) + selectKeysCclTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2615 : struct.keys) { + oprot.writeString(_iter2615); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -200935,43 +339446,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectRecordTime_argsTupleSchemeFactory + private static class selectKeysCclTimestr_argsTupleSchemeFactory implements SchemeFactory { - public selectRecordTime_argsTupleScheme getScheme() { - return new selectRecordTime_argsTupleScheme(); + public selectKeysCclTimestr_argsTupleScheme getScheme() { + return new selectKeysCclTimestr_argsTupleScheme(); } } - private static class selectRecordTime_argsTupleScheme - extends TupleScheme { + private static class selectKeysCclTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecordTime_args struct) + selectKeysCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2616 : struct.keys) { + oprot.writeString(_iter2616); + } + } + } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -200986,29 +339508,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecordTime_args struct) + selectKeysCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + { + org.apache.thrift.protocol.TList _list2617 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2617.size); + String _elem2618; + for (int _i2619 = 0; _i2619 < _list2617.size; ++_i2619) { + _elem2618 = iprot.readString(); + struct.keys.add(_elem2618); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -201017,13 +339553,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectRecordTime_result implements - org.apache.thrift.TBase, + public static class selectKeysCclTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecordTime_result"); + "selectKeysCclTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -201033,19 +339569,22 @@ public static class selectRecordTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecordTime_resultStandardSchemeFactory()); + new selectKeysCclTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecordTime_resultTupleSchemeFactory()); + new selectKeysCclTimestr_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -201055,7 +339594,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -201079,6 +339619,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -201133,12 +339675,16 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -201154,47 +339700,71 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecordTime_result.class, metaDataMap); + selectKeysCclTimestr_result.class, metaDataMap); } - public selectRecordTime_result() {} + public selectKeysCclTimestr_result() {} - public selectRecordTime_result( - Map> success, + public selectKeysCclTimestr_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectRecordTime_result(selectRecordTime_result other) { + public selectKeysCclTimestr_result(selectKeysCclTimestr_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); - Set other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -201211,13 +339781,17 @@ public selectRecordTime_result(selectRecordTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public selectRecordTime_result deepCopy() { - return new selectRecordTime_result(this); + public selectKeysCclTimestr_result deepCopy() { + return new selectKeysCclTimestr_result(this); } @Override @@ -201226,26 +339800,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Set val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public selectRecordTime_result setSuccess( - Map> success) { + public selectKeysCclTimestr_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -201272,7 +339847,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectRecordTime_result setEx( + public selectKeysCclTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -201300,7 +339875,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectRecordTime_result setEx2( + public selectKeysCclTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -201324,12 +339899,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectRecordTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public selectKeysCclTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -201352,6 +339927,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public selectKeysCclTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -201360,7 +339963,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>>) value); } break; @@ -201387,7 +339990,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -201408,6 +340020,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -201430,6 +340045,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -201438,12 +340055,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecordTime_result) - return this.equals((selectRecordTime_result) that); + if(that instanceof selectKeysCclTimestr_result) + return this.equals((selectKeysCclTimestr_result) that); return false; } - public boolean equals(selectRecordTime_result that) { + public boolean equals(selectKeysCclTimestr_result that) { if(that == null) return false; @@ -201483,6 +340100,15 @@ public boolean equals(selectRecordTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -201510,11 +340136,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(selectRecordTime_result other) { + public int compareTo(selectKeysCclTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -201570,6 +340201,18 @@ public int compareTo(selectRecordTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -201589,7 +340232,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecordTime_result("); + StringBuilder sb = new StringBuilder( + "selectKeysCclTimestr_result("); boolean first = true; sb.append("success:"); @@ -201630,6 +340274,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -201663,18 +340317,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecordTime_resultStandardSchemeFactory + private static class selectKeysCclTimestr_resultStandardSchemeFactory implements SchemeFactory { - public selectRecordTime_resultStandardScheme getScheme() { - return new selectRecordTime_resultStandardScheme(); + public selectKeysCclTimestr_resultStandardScheme getScheme() { + return new selectKeysCclTimestr_resultStandardScheme(); } } - private static class selectRecordTime_resultStandardScheme - extends StandardScheme { + private static class selectKeysCclTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecordTime_result struct) + selectKeysCclTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -201687,28 +340341,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map962 = iprot + org.apache.thrift.protocol.TMap _map2620 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map962.size); - String _key963; - Set _val964; - for (int _i965 = 0; _i965 < _map962.size; ++_i965) { - _key963 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map2620.size); + long _key2621; + Map> _val2622; + for (int _i2623 = 0; _i2623 < _map2620.size; ++_i2623) { + _key2621 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set966 = iprot - .readSetBegin(); - _val964 = new LinkedHashSet( - 2 * _set966.size); - com.cinchapi.concourse.thrift.TObject _elem967; - for (int _i968 = 0; _i968 < _set966.size; ++_i968) { - _elem967 = new com.cinchapi.concourse.thrift.TObject(); - _elem967.read(iprot); - _val964.add(_elem967); + org.apache.thrift.protocol.TMap _map2624 = iprot + .readMapBegin(); + _val2622 = new LinkedHashMap>( + 2 * _map2624.size); + String _key2625; + Set _val2626; + for (int _i2627 = 0; _i2627 < _map2624.size; ++_i2627) { + _key2625 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2628 = iprot + .readSetBegin(); + _val2626 = new LinkedHashSet( + 2 * _set2628.size); + com.cinchapi.concourse.thrift.TObject _elem2629; + for (int _i2630 = 0; _i2630 < _set2628.size; ++_i2630) { + _elem2629 = new com.cinchapi.concourse.thrift.TObject(); + _elem2629.read(iprot); + _val2626.add(_elem2629); + } + iprot.readSetEnd(); + } + _val2622.put(_key2625, _val2626); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key963, _val964); + struct.success.put(_key2621, _val2622); } iprot.readMapEnd(); } @@ -201743,7 +340410,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -201752,6 +340419,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -201766,7 +340444,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecordTime_result struct) + selectKeysCclTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -201775,22 +340453,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter969 : struct.success + for (Map.Entry>> _iter2631 : struct.success .entrySet()) { - oprot.writeString(_iter969.getKey()); + oprot.writeI64(_iter2631.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter969.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter970 : _iter969 - .getValue()) { - _iter970.write(oprot); + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2631.getValue().size())); + for (Map.Entry> _iter2632 : _iter2631 + .getValue().entrySet()) { + oprot.writeString(_iter2632.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2632.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2633 : _iter2632 + .getValue()) { + _iter2633.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -201812,25 +340503,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectRecordTime_resultTupleSchemeFactory + private static class selectKeysCclTimestr_resultTupleSchemeFactory implements SchemeFactory { - public selectRecordTime_resultTupleScheme getScheme() { - return new selectRecordTime_resultTupleScheme(); + public selectKeysCclTimestr_resultTupleScheme getScheme() { + return new selectKeysCclTimestr_resultTupleScheme(); } } - private static class selectRecordTime_resultTupleScheme - extends TupleScheme { + private static class selectKeysCclTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecordTime_result struct) + selectKeysCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -201846,18 +340542,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter971 : struct.success + for (Map.Entry>> _iter2634 : struct.success .entrySet()) { - oprot.writeString(_iter971.getKey()); + oprot.writeI64(_iter2634.getKey()); { - oprot.writeI32(_iter971.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter972 : _iter971 - .getValue()) { - _iter972.write(oprot); + oprot.writeI32(_iter2634.getValue().size()); + for (Map.Entry> _iter2635 : _iter2634 + .getValue().entrySet()) { + oprot.writeString(_iter2635.getKey()); + { + oprot.writeI32( + _iter2635.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2636 : _iter2635 + .getValue()) { + _iter2636.write(oprot); + } + } } } } @@ -201872,40 +340579,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecordTime_result struct) + selectKeysCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map973 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TMap _map2637 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map973.size); - String _key974; - Set _val975; - for (int _i976 = 0; _i976 < _map973.size; ++_i976) { - _key974 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map2637.size); + long _key2638; + Map> _val2639; + for (int _i2640 = 0; _i2640 < _map2637.size; ++_i2640) { + _key2638 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set977 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TMap _map2641 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val975 = new LinkedHashSet( - 2 * _set977.size); - com.cinchapi.concourse.thrift.TObject _elem978; - for (int _i979 = 0; _i979 < _set977.size; ++_i979) { - _elem978 = new com.cinchapi.concourse.thrift.TObject(); - _elem978.read(iprot); - _val975.add(_elem978); + _val2639 = new LinkedHashMap>( + 2 * _map2641.size); + String _key2642; + Set _val2643; + for (int _i2644 = 0; _i2644 < _map2641.size; ++_i2644) { + _key2642 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2645 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2643 = new LinkedHashSet( + 2 * _set2645.size); + com.cinchapi.concourse.thrift.TObject _elem2646; + for (int _i2647 = 0; _i2647 < _set2645.size; ++_i2647) { + _elem2646 = new com.cinchapi.concourse.thrift.TObject(); + _elem2646.read(iprot); + _val2643.add(_elem2646); + } + } + _val2639.put(_key2642, _val2643); } } - struct.success.put(_key974, _val975); + struct.success.put(_key2638, _val2639); } } struct.setSuccessIsSet(true); @@ -201921,47 +340645,58 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectRecordTimestr_args implements - org.apache.thrift.TBase, + public static class selectKeysCclTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecordTimestr_args"); + "selectKeysCclTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); + (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecordTimestr_argsStandardSchemeFactory()); + new selectKeysCclTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecordTimestr_argsTupleSchemeFactory()); + new selectKeysCclTimestrOrder_argsTupleSchemeFactory()); } - public long record; // required + public List keys; // required + public String ccl; // required public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -201971,11 +340706,13 @@ public static class selectRecordTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORD((short) 1, "record"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -201991,15 +340728,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORD - return RECORD; - case 2: // TIMESTAMP + case 1: // KEYS + return KEYS; + case 2: // CCL + return CCL; + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -202045,22 +340786,33 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -202080,19 +340832,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecordTimestr_args.class, metaDataMap); + selectKeysCclTimestrOrder_args.class, metaDataMap); } - public selectRecordTimestr_args() {} + public selectKeysCclTimestrOrder_args() {} - public selectRecordTimestr_args(long record, String timestamp, + public selectKeysCclTimestrOrder_args(List keys, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.record = record; - setRecordIsSet(true); + this.keys = keys; + this.ccl = ccl; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -202101,12 +340855,22 @@ public selectRecordTimestr_args(long record, String timestamp, /** * Performs a deep copy on other. */ - public selectRecordTimestr_args(selectRecordTimestr_args other) { - __isset_bitfield = other.__isset_bitfield; - this.record = other.record; + public selectKeysCclTimestrOrder_args( + selectKeysCclTimestrOrder_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetCcl()) { + this.ccl = other.ccl; + } if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -202120,53 +340884,95 @@ public selectRecordTimestr_args(selectRecordTimestr_args other) { } } - public selectRecordTimestr_args deepCopy() { - return new selectRecordTimestr_args(this); + public selectKeysCclTimestrOrder_args deepCopy() { + return new selectKeysCclTimestrOrder_args(this); } @Override public void clear() { - setRecordIsSet(false); - this.record = 0; + this.keys = null; + this.ccl = null; this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public long getRecord() { - return this.record; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public selectRecordTimestr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public selectKeysCclTimestrOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetKeys() { + return this.keys != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + + public String getCcl() { + return this.ccl; + } + + public selectKeysCclTimestrOrder_args setCcl(String ccl) { + this.ccl = ccl; + return this; + } + + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } } public String getTimestamp() { return this.timestamp; } - public selectRecordTimestr_args setTimestamp(String timestamp) { + public selectKeysCclTimestrOrder_args setTimestamp(String timestamp) { this.timestamp = timestamp; return this; } @@ -202189,11 +340995,39 @@ public void setTimestampIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public selectKeysCclTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectRecordTimestr_args setCreds( + public selectKeysCclTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -202221,7 +341055,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectRecordTimestr_args setTransaction( + public selectKeysCclTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -202249,7 +341083,8 @@ public String getEnvironment() { return this.environment; } - public selectRecordTimestr_args setEnvironment(String environment) { + public selectKeysCclTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -202274,12 +341109,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORD: + case KEYS: if(value == null) { - unsetRecord(); + unsetKeys(); } else { - setRecord((Long) value); + setKeys((List) value); + } + break; + + case CCL: + if(value == null) { + unsetCcl(); + } + else { + setCcl((String) value); } break; @@ -202292,6 +341136,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -202325,12 +341178,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORD: - return getRecord(); + case KEYS: + return getKeys(); + + case CCL: + return getCcl(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -202354,10 +341213,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORD: - return isSetRecord(); + case KEYS: + return isSetKeys(); + case CCL: + return isSetCcl(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -202372,21 +341235,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecordTimestr_args) - return this.equals((selectRecordTimestr_args) that); + if(that instanceof selectKeysCclTimestrOrder_args) + return this.equals((selectKeysCclTimestrOrder_args) that); return false; } - public boolean equals(selectRecordTimestr_args that) { + public boolean equals(selectKeysCclTimestrOrder_args that) { if(that == null) return false; - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(this.record != that.record) + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) + return false; + if(!this.ccl.equals(that.ccl)) return false; } @@ -202399,6 +341271,15 @@ public boolean equals(selectRecordTimestr_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -202433,16 +341314,26 @@ public boolean equals(selectRecordTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -202462,7 +341353,7 @@ public int hashCode() { } @Override - public int compareTo(selectRecordTimestr_args other) { + public int compareTo(selectKeysCclTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -202470,14 +341361,26 @@ public int compareTo(selectRecordTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCcl()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -202494,6 +341397,18 @@ public int compareTo(selectRecordTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -202549,11 +341464,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecordTimestr_args("); + StringBuilder sb = new StringBuilder( + "selectKeysCclTimestrOrder_args("); boolean first = true; - sb.append("record:"); - sb.append(this.record); + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } first = false; if(!first) sb.append(", "); @@ -202565,6 +341496,16 @@ public String toString() { sb.append(this.timestamp); } first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -202602,6 +341543,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -202625,10 +341569,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -202638,18 +341578,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecordTimestr_argsStandardSchemeFactory + private static class selectKeysCclTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectRecordTimestr_argsStandardScheme getScheme() { - return new selectRecordTimestr_argsStandardScheme(); + public selectKeysCclTimestrOrder_argsStandardScheme getScheme() { + return new selectKeysCclTimestrOrder_argsStandardScheme(); } } - private static class selectRecordTimestr_argsStandardScheme - extends StandardScheme { + private static class selectKeysCclTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecordTimestr_args struct) + selectKeysCclTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -202659,17 +341599,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2648 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2648.size); + String _elem2649; + for (int _i2650 = 0; _i2650 < _list2648.size; ++_i2650) { + _elem2649 = iprot.readString(); + struct.keys.add(_elem2649); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); @@ -202679,7 +341640,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -202690,7 +341662,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -202701,7 +341673,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -202725,19 +341697,40 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecordTimestr_args struct) + selectKeysCclTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2651 : struct.keys) { + oprot.writeString(_iter2651); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } if(struct.timestamp != null) { oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -202759,44 +341752,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectRecordTimestr_argsTupleSchemeFactory + private static class selectKeysCclTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectRecordTimestr_argsTupleScheme getScheme() { - return new selectRecordTimestr_argsTupleScheme(); + public selectKeysCclTimestrOrder_argsTupleScheme getScheme() { + return new selectKeysCclTimestrOrder_argsTupleScheme(); } } - private static class selectRecordTimestr_argsTupleScheme - extends TupleScheme { + private static class selectKeysCclTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecordTimestr_args struct) + selectKeysCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecord()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2652 : struct.keys) { + oprot.writeString(_iter2652); + } + } + } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -202810,29 +341820,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecordTimestr_args struct) + selectKeysCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + { + org.apache.thrift.protocol.TList _list2653 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2653.size); + String _elem2654; + for (int _i2655 = 0; _i2655 < _list2653.size; ++_i2655) { + _elem2654 = iprot.readString(); + struct.keys.add(_elem2654); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + if(incoming.get(2)) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -202841,13 +341870,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectRecordTimestr_result implements - org.apache.thrift.TBase, + public static class selectKeysCclTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecordTimestr_result"); + "selectKeysCclTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -202863,12 +341892,12 @@ public static class selectRecordTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecordTimestr_resultStandardSchemeFactory()); + new selectKeysCclTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecordTimestr_resultTupleSchemeFactory()); + new selectKeysCclTimestrOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map>> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -202963,12 +341992,16 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -202991,13 +342024,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecordTimestr_result.class, metaDataMap); + selectKeysCclTimestrOrder_result.class, metaDataMap); } - public selectRecordTimestr_result() {} + public selectKeysCclTimestrOrder_result() {} - public selectRecordTimestr_result( - Map> success, + public selectKeysCclTimestrOrder_result( + Map>> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -203013,25 +342046,43 @@ public selectRecordTimestr_result( /** * Performs a deep copy on other. */ - public selectRecordTimestr_result(selectRecordTimestr_result other) { + public selectKeysCclTimestrOrder_result( + selectKeysCclTimestrOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map>> __this__success = new LinkedHashMap>>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry>> other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); - Set other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map> other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map> __this__success_copy_value = new LinkedHashMap>( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry> other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + Set other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + Set __this__success_copy_value_copy_value = new LinkedHashSet( + other_element_value_element_value.size()); + for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { + __this__success_copy_value_copy_value + .add(new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value_element)); + } + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -203057,8 +342108,8 @@ public selectRecordTimestr_result(selectRecordTimestr_result other) { } } - public selectRecordTimestr_result deepCopy() { - return new selectRecordTimestr_result(this); + public selectKeysCclTimestrOrder_result deepCopy() { + return new selectKeysCclTimestrOrder_result(this); } @Override @@ -203074,20 +342125,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Set val) { + public void putToSuccess(long key, + Map> val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map>> getSuccess() { return this.success; } - public selectRecordTimestr_result setSuccess( - Map> success) { + public selectKeysCclTimestrOrder_result setSuccess( + Map>> success) { this.success = success; return this; } @@ -203114,7 +342165,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectRecordTimestr_result setEx( + public selectKeysCclTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -203142,7 +342193,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectRecordTimestr_result setEx2( + public selectKeysCclTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -203170,7 +342221,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectRecordTimestr_result setEx3( + public selectKeysCclTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -203198,7 +342249,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public selectRecordTimestr_result setEx4( + public selectKeysCclTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -203230,7 +342281,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>>) value); } break; @@ -203322,12 +342373,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecordTimestr_result) - return this.equals((selectRecordTimestr_result) that); + if(that instanceof selectKeysCclTimestrOrder_result) + return this.equals((selectKeysCclTimestrOrder_result) that); return false; } - public boolean equals(selectRecordTimestr_result that) { + public boolean equals(selectKeysCclTimestrOrder_result that) { if(that == null) return false; @@ -203412,7 +342463,7 @@ public int hashCode() { } @Override - public int compareTo(selectRecordTimestr_result other) { + public int compareTo(selectKeysCclTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -203499,7 +342550,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecordTimestr_result("); + StringBuilder sb = new StringBuilder( + "selectKeysCclTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -203583,18 +342635,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecordTimestr_resultStandardSchemeFactory + private static class selectKeysCclTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectRecordTimestr_resultStandardScheme getScheme() { - return new selectRecordTimestr_resultStandardScheme(); + public selectKeysCclTimestrOrder_resultStandardScheme getScheme() { + return new selectKeysCclTimestrOrder_resultStandardScheme(); } } - private static class selectRecordTimestr_resultStandardScheme - extends StandardScheme { + private static class selectKeysCclTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecordTimestr_result struct) + selectKeysCclTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -203607,28 +342659,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map980 = iprot + org.apache.thrift.protocol.TMap _map2656 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map980.size); - String _key981; - Set _val982; - for (int _i983 = 0; _i983 < _map980.size; ++_i983) { - _key981 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map2656.size); + long _key2657; + Map> _val2658; + for (int _i2659 = 0; _i2659 < _map2656.size; ++_i2659) { + _key2657 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set984 = iprot - .readSetBegin(); - _val982 = new LinkedHashSet( - 2 * _set984.size); - com.cinchapi.concourse.thrift.TObject _elem985; - for (int _i986 = 0; _i986 < _set984.size; ++_i986) { - _elem985 = new com.cinchapi.concourse.thrift.TObject(); - _elem985.read(iprot); - _val982.add(_elem985); + org.apache.thrift.protocol.TMap _map2660 = iprot + .readMapBegin(); + _val2658 = new LinkedHashMap>( + 2 * _map2660.size); + String _key2661; + Set _val2662; + for (int _i2663 = 0; _i2663 < _map2660.size; ++_i2663) { + _key2661 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2664 = iprot + .readSetBegin(); + _val2662 = new LinkedHashSet( + 2 * _set2664.size); + com.cinchapi.concourse.thrift.TObject _elem2665; + for (int _i2666 = 0; _i2666 < _set2664.size; ++_i2666) { + _elem2665 = new com.cinchapi.concourse.thrift.TObject(); + _elem2665.read(iprot); + _val2662.add(_elem2665); + } + iprot.readSetEnd(); + } + _val2658.put(_key2661, _val2662); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key981, _val982); + struct.success.put(_key2657, _val2658); } iprot.readMapEnd(); } @@ -203697,7 +342762,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecordTimestr_result struct) + selectKeysCclTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -203706,22 +342771,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter987 : struct.success + for (Map.Entry>> _iter2667 : struct.success .entrySet()) { - oprot.writeString(_iter987.getKey()); + oprot.writeI64(_iter2667.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter987.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter988 : _iter987 - .getValue()) { - _iter988.write(oprot); + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, + _iter2667.getValue().size())); + for (Map.Entry> _iter2668 : _iter2667 + .getValue().entrySet()) { + oprot.writeString(_iter2668.getKey()); + { + oprot.writeSetBegin( + new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + _iter2668.getValue() + .size())); + for (com.cinchapi.concourse.thrift.TObject _iter2669 : _iter2668 + .getValue()) { + _iter2669.write(oprot); + } + oprot.writeSetEnd(); + } } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -203754,19 +342832,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectRecordTimestr_resultTupleSchemeFactory + private static class selectKeysCclTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectRecordTimestr_resultTupleScheme getScheme() { - return new selectRecordTimestr_resultTupleScheme(); + public selectKeysCclTimestrOrder_resultTupleScheme getScheme() { + return new selectKeysCclTimestrOrder_resultTupleScheme(); } } - private static class selectRecordTimestr_resultTupleScheme - extends TupleScheme { + private static class selectKeysCclTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecordTimestr_result struct) + selectKeysCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -203789,14 +342867,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter989 : struct.success + for (Map.Entry>> _iter2670 : struct.success .entrySet()) { - oprot.writeString(_iter989.getKey()); + oprot.writeI64(_iter2670.getKey()); { - oprot.writeI32(_iter989.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter990 : _iter989 - .getValue()) { - _iter990.write(oprot); + oprot.writeI32(_iter2670.getValue().size()); + for (Map.Entry> _iter2671 : _iter2670 + .getValue().entrySet()) { + oprot.writeString(_iter2671.getKey()); + { + oprot.writeI32( + _iter2671.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter2672 : _iter2671 + .getValue()) { + _iter2672.write(oprot); + } + } } } } @@ -203818,36 +342904,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecordTimestr_result struct) + selectKeysCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map991 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TMap _map2673 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map991.size); - String _key992; - Set _val993; - for (int _i994 = 0; _i994 < _map991.size; ++_i994) { - _key992 = iprot.readString(); + struct.success = new LinkedHashMap>>( + 2 * _map2673.size); + long _key2674; + Map> _val2675; + for (int _i2676 = 0; _i2676 < _map2673.size; ++_i2676) { + _key2674 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set995 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TMap _map2677 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val993 = new LinkedHashSet( - 2 * _set995.size); - com.cinchapi.concourse.thrift.TObject _elem996; - for (int _i997 = 0; _i997 < _set995.size; ++_i997) { - _elem996 = new com.cinchapi.concourse.thrift.TObject(); - _elem996.read(iprot); - _val993.add(_elem996); + _val2675 = new LinkedHashMap>( + 2 * _map2677.size); + String _key2678; + Set _val2679; + for (int _i2680 = 0; _i2680 < _map2677.size; ++_i2680) { + _key2678 = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set2681 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val2679 = new LinkedHashSet( + 2 * _set2681.size); + com.cinchapi.concourse.thrift.TObject _elem2682; + for (int _i2683 = 0; _i2683 < _set2681.size; ++_i2683) { + _elem2682 = new com.cinchapi.concourse.thrift.TObject(); + _elem2682.read(iprot); + _val2679.add(_elem2682); + } + } + _val2675.put(_key2678, _val2679); } } - struct.success.put(_key992, _val993); + struct.success.put(_key2674, _val2675); } } struct.setSuccessIsSet(true); @@ -203877,18 +342977,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectRecordsTime_args implements - org.apache.thrift.TBase, + public static class getKeyRecord_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecordsTime_args"); + "getKeyRecord_args"); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -203901,13 +343001,13 @@ public static class selectRecordsTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecordsTime_argsStandardSchemeFactory()); + new getKeyRecord_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecordsTime_argsTupleSchemeFactory()); + new getKeyRecord_argsTupleSchemeFactory()); } - public List records; // required - public long timestamp; // required + public String key; // required + public long record; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -203917,8 +343017,8 @@ public static class selectRecordsTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORDS((short) 1, "records"), - TIMESTAMP((short) 2, "timestamp"), + KEY((short) 1, "key"), + RECORD((short) 2, "record"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -203937,10 +343037,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORDS - return RECORDS; - case 2: // TIMESTAMP - return TIMESTAMP; + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -203991,21 +343091,19 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; + private static final int __RECORD_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); @@ -204027,20 +343125,20 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecordsTime_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(getKeyRecord_args.class, metaDataMap); } - public selectRecordsTime_args() {} + public getKeyRecord_args() {} - public selectRecordsTime_args(List records, long timestamp, + public getKeyRecord_args(String key, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.records = records; - this.timestamp = timestamp; - setTimestampIsSet(true); + this.key = key; + this.record = record; + setRecordIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -204049,13 +343147,12 @@ public selectRecordsTime_args(List records, long timestamp, /** * Performs a deep copy on other. */ - public selectRecordsTime_args(selectRecordsTime_args other) { + public getKeyRecord_args(getKeyRecord_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetKey()) { + this.key = other.key; } - this.timestamp = other.timestamp; + this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -204069,96 +343166,80 @@ public selectRecordsTime_args(selectRecordsTime_args other) { } } - public selectRecordsTime_args deepCopy() { - return new selectRecordsTime_args(this); + public getKeyRecord_args deepCopy() { + return new getKeyRecord_args(this); } @Override public void clear() { - this.records = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.key = null; + setRecordIsSet(false); + this.record = 0; this.creds = null; this.transaction = null; this.environment = null; } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); - } - - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); - } - - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); - } - this.records.add(elem); - } - - public List getRecords() { - return this.records; + public String getKey() { + return this.key; } - public selectRecordsTime_args setRecords(List records) { - this.records = records; + public getKeyRecord_args setKey(String key) { + this.key = key; return this; } - public void unsetRecords() { - this.records = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetKey() { + return this.key != null; } - public void setRecordsIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.records = null; + this.key = null; } } - public long getTimestamp() { - return this.timestamp; + public long getRecord() { + return this.record; } - public selectRecordsTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); + public getKeyRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); return this; } - public void unsetTimestamp() { + public void unsetRecord() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + __RECORD_ISSET_ID); } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field record is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); } - public void setTimestampIsSet(boolean value) { + public void setRecordIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + __RECORD_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectRecordsTime_args setCreds( + public getKeyRecord_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -204186,7 +343267,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectRecordsTime_args setTransaction( + public getKeyRecord_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -204214,7 +343295,7 @@ public String getEnvironment() { return this.environment; } - public selectRecordsTime_args setEnvironment(String environment) { + public getKeyRecord_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -204239,21 +343320,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORDS: + case KEY: if(value == null) { - unsetRecords(); + unsetKey(); } else { - setRecords((List) value); + setKey((String) value); } break; - case TIMESTAMP: + case RECORD: if(value == null) { - unsetTimestamp(); + unsetRecord(); } else { - setTimestamp((Long) value); + setRecord((Long) value); } break; @@ -204290,11 +343371,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORDS: - return getRecords(); + case KEY: + return getKey(); - case TIMESTAMP: - return getTimestamp(); + case RECORD: + return getRecord(); case CREDS: return getCreds(); @@ -204319,10 +343400,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORDS: - return isSetRecords(); - case TIMESTAMP: - return isSetTimestamp(); + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -204337,30 +343418,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecordsTime_args) - return this.equals((selectRecordsTime_args) that); + if(that instanceof getKeyRecord_args) + return this.equals((getKeyRecord_args) that); return false; } - public boolean equals(selectRecordsTime_args that) { + public boolean equals(getKeyRecord_args that) { if(that == null) return false; - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.records.equals(that.records)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) return false; - if(this.timestamp != that.timestamp) + if(this.record != that.record) return false; } @@ -204398,15 +343479,15 @@ public boolean equals(selectRecordsTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -204427,7 +343508,7 @@ public int hashCode() { } @Override - public int compareTo(selectRecordsTime_args other) { + public int compareTo(getKeyRecord_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -204435,26 +343516,26 @@ public int compareTo(selectRecordsTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetRecord()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.record, other.record); if(lastComparison != 0) { return lastComparison; } @@ -204514,21 +343595,21 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecordsTime_args("); + StringBuilder sb = new StringBuilder("getKeyRecord_args("); boolean first = true; - sb.append("records:"); - if(this.records == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); + sb.append("record:"); + sb.append(this.record); first = false; if(!first) sb.append(", "); @@ -204603,18 +343684,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecordsTime_argsStandardSchemeFactory + private static class getKeyRecord_argsStandardSchemeFactory implements SchemeFactory { - public selectRecordsTime_argsStandardScheme getScheme() { - return new selectRecordsTime_argsStandardScheme(); + public getKeyRecord_argsStandardScheme getScheme() { + return new getKeyRecord_argsStandardScheme(); } } - private static class selectRecordsTime_argsStandardScheme - extends StandardScheme { + private static class getKeyRecord_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecordsTime_args struct) + getKeyRecord_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -204624,31 +343705,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list998 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list998.size); - long _elem999; - for (int _i1000 = 0; _i1000 < _list998.size; ++_i1000) { - _elem999 = iprot.readI64(); - struct.records.add(_elem999); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP + case 2: // RECORD if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -204701,27 +343771,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecordsTime_args struct) + getKeyRecord_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter1001 : struct.records) { - oprot.writeI64(_iter1001); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); @@ -204744,26 +343805,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectRecordsTime_argsTupleSchemeFactory + private static class getKeyRecord_argsTupleSchemeFactory implements SchemeFactory { - public selectRecordsTime_argsTupleScheme getScheme() { - return new selectRecordsTime_argsTupleScheme(); + public getKeyRecord_argsTupleScheme getScheme() { + return new getKeyRecord_argsTupleScheme(); } } - private static class selectRecordsTime_argsTupleScheme - extends TupleScheme { + private static class getKeyRecord_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecordsTime_args struct) + getKeyRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecords()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetRecord()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -204776,16 +343837,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter1002 : struct.records) { - oprot.writeI64(_iter1002); - } - } + if(struct.isSetKey()) { + oprot.writeString(struct.key); } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -204800,27 +343856,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecordsTime_args struct) + getKeyRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1003 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list1003.size); - long _elem1004; - for (int _i1005 = 0; _i1005 < _list1003.size; ++_i1005) { - _elem1004 = iprot.readI64(); - struct.records.add(_elem1004); - } - } - struct.setRecordsIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -204841,16 +343887,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectRecordsTime_result implements - org.apache.thrift.TBase, + public static class getKeyRecord_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecordsTime_result"); + "getKeyRecord_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -204861,12 +343907,12 @@ public static class selectRecordsTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecordsTime_resultStandardSchemeFactory()); + new getKeyRecord_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecordsTime_resultTupleSchemeFactory()); + new getKeyRecord_resultTupleSchemeFactory()); } - public Map>> success; // required + public com.cinchapi.concourse.thrift.TObject success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -204954,19 +344000,9 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -204984,13 +344020,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecordsTime_result.class, metaDataMap); + getKeyRecord_result.class, metaDataMap); } - public selectRecordsTime_result() {} + public getKeyRecord_result() {} - public selectRecordsTime_result( - Map>> success, + public getKeyRecord_result( + com.cinchapi.concourse.thrift.TObject success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -205004,48 +344040,10 @@ public selectRecordsTime_result( /** * Performs a deep copy on other. */ - public selectRecordsTime_result(selectRecordsTime_result other) { + public getKeyRecord_result(getKeyRecord_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( - other.success.size()); - for (Map.Entry>> other_element : other.success - .entrySet()) { - - Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element - .getValue(); - - Long __this__success_copy_key = other_element_key; - - Map> __this__success_copy_value = new LinkedHashMap>( - other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); - } - this.success = __this__success; + this.success = new com.cinchapi.concourse.thrift.TObject( + other.success); } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -205061,8 +344059,8 @@ public selectRecordsTime_result(selectRecordsTime_result other) { } } - public selectRecordsTime_result deepCopy() { - return new selectRecordsTime_result(this); + public getKeyRecord_result deepCopy() { + return new getKeyRecord_result(this); } @Override @@ -205073,24 +344071,12 @@ public void clear() { this.ex3 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, - Map> val) { - if(this.success == null) { - this.success = new LinkedHashMap>>(); - } - this.success.put(key, val); - } - - public Map>> getSuccess() { + public com.cinchapi.concourse.thrift.TObject getSuccess() { return this.success; } - public selectRecordsTime_result setSuccess( - Map>> success) { + public getKeyRecord_result setSuccess( + com.cinchapi.concourse.thrift.TObject success) { this.success = success; return this; } @@ -205117,7 +344103,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectRecordsTime_result setEx( + public getKeyRecord_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -205145,7 +344131,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectRecordsTime_result setEx2( + public getKeyRecord_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -205173,7 +344159,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectRecordsTime_result setEx3( + public getKeyRecord_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -205204,8 +344190,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Map>>) value); + setSuccess((com.cinchapi.concourse.thrift.TObject) value); } break; @@ -205283,12 +344268,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecordsTime_result) - return this.equals((selectRecordsTime_result) that); + if(that instanceof getKeyRecord_result) + return this.equals((getKeyRecord_result) that); return false; } - public boolean equals(selectRecordsTime_result that) { + public boolean equals(getKeyRecord_result that) { if(that == null) return false; @@ -205359,7 +344344,7 @@ public int hashCode() { } @Override - public int compareTo(selectRecordsTime_result other) { + public int compareTo(getKeyRecord_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -205434,7 +344419,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecordsTime_result("); + StringBuilder sb = new StringBuilder("getKeyRecord_result("); boolean first = true; sb.append("success:"); @@ -205482,6 +344467,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(success != null) { + success.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) @@ -205508,18 +344496,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecordsTime_resultStandardSchemeFactory + private static class getKeyRecord_resultStandardSchemeFactory implements SchemeFactory { - public selectRecordsTime_resultStandardScheme getScheme() { - return new selectRecordsTime_resultStandardScheme(); + public getKeyRecord_resultStandardScheme getScheme() { + return new getKeyRecord_resultStandardScheme(); } } - private static class selectRecordsTime_resultStandardScheme - extends StandardScheme { + private static class getKeyRecord_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecordsTime_result struct) + getKeyRecord_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -205530,46 +344518,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map1006 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1006.size); - long _key1007; - Map> _val1008; - for (int _i1009 = 0; _i1009 < _map1006.size; ++_i1009) { - _key1007 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1010 = iprot - .readMapBegin(); - _val1008 = new LinkedHashMap>( - 2 * _map1010.size); - String _key1011; - Set _val1012; - for (int _i1013 = 0; _i1013 < _map1010.size; ++_i1013) { - _key1011 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1014 = iprot - .readSetBegin(); - _val1012 = new LinkedHashSet( - 2 * _set1014.size); - com.cinchapi.concourse.thrift.TObject _elem1015; - for (int _i1016 = 0; _i1016 < _set1014.size; ++_i1016) { - _elem1015 = new com.cinchapi.concourse.thrift.TObject(); - _elem1015.read(iprot); - _val1012.add(_elem1015); - } - iprot.readSetEnd(); - } - _val1008.put(_key1011, _val1012); - } - iprot.readMapEnd(); - } - struct.success.put(_key1007, _val1008); - } - iprot.readMapEnd(); - } + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new com.cinchapi.concourse.thrift.TObject(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -205624,48 +344575,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecordsTime_result struct) + getKeyRecord_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - struct.success.size())); - for (Map.Entry>> _iter1017 : struct.success - .entrySet()) { - oprot.writeI64(_iter1017.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1017.getValue().size())); - for (Map.Entry> _iter1018 : _iter1017 - .getValue().entrySet()) { - oprot.writeString(_iter1018.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1018.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1019 : _iter1018 - .getValue()) { - _iter1019.write(oprot); - } - oprot.writeSetEnd(); - } - } - oprot.writeMapEnd(); - } - } - oprot.writeMapEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -205689,19 +344606,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectRecordsTime_resultTupleSchemeFactory + private static class getKeyRecord_resultTupleSchemeFactory implements SchemeFactory { - public selectRecordsTime_resultTupleScheme getScheme() { - return new selectRecordsTime_resultTupleScheme(); + public getKeyRecord_resultTupleScheme getScheme() { + return new getKeyRecord_resultTupleScheme(); } } - private static class selectRecordsTime_resultTupleScheme - extends TupleScheme { + private static class getKeyRecord_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecordsTime_result struct) + getKeyRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -205719,28 +344636,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, } oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1020 : struct.success - .entrySet()) { - oprot.writeI64(_iter1020.getKey()); - { - oprot.writeI32(_iter1020.getValue().size()); - for (Map.Entry> _iter1021 : _iter1020 - .getValue().entrySet()) { - oprot.writeString(_iter1021.getKey()); - { - oprot.writeI32( - _iter1021.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1022 : _iter1021 - .getValue()) { - _iter1022.write(oprot); - } - } - } - } - } - } + struct.success.write(oprot); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -205755,52 +344651,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecordsTime_result struct) + getKeyRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map1023 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1023.size); - long _key1024; - Map> _val1025; - for (int _i1026 = 0; _i1026 < _map1023.size; ++_i1026) { - _key1024 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1027 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - iprot.readI32()); - _val1025 = new LinkedHashMap>( - 2 * _map1027.size); - String _key1028; - Set _val1029; - for (int _i1030 = 0; _i1030 < _map1027.size; ++_i1030) { - _key1028 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1031 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1029 = new LinkedHashSet( - 2 * _set1031.size); - com.cinchapi.concourse.thrift.TObject _elem1032; - for (int _i1033 = 0; _i1033 < _set1031.size; ++_i1033) { - _elem1032 = new com.cinchapi.concourse.thrift.TObject(); - _elem1032.read(iprot); - _val1029.add(_elem1032); - } - } - _val1025.put(_key1028, _val1029); - } - } - struct.success.put(_key1024, _val1025); - } - } + struct.success = new com.cinchapi.concourse.thrift.TObject(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -205823,38 +344680,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectRecordsTimestr_args implements - org.apache.thrift.TBase, + public static class getKeyRecordTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecordsTimestr_args"); + "getKeyRecordTime_args"); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecordsTimestr_argsStandardSchemeFactory()); + new getKeyRecordTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecordsTimestr_argsTupleSchemeFactory()); + new getKeyRecordTime_argsTupleSchemeFactory()); } - public List records; // required - public String timestamp; // required + public String key; // required + public long record; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -205864,11 +344723,12 @@ public static class selectRecordsTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORDS((short) 1, "records"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + RECORD((short) 2, "record"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -205884,15 +344744,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORDS - return RECORDS; - case 2: // TIMESTAMP + case 1: // KEY + return KEY; + case 2: // RECORD + return RECORD; + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -205938,22 +344800,28 @@ public String getFieldName() { } // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 1; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -205973,18 +344841,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecordsTimestr_args.class, metaDataMap); + getKeyRecordTime_args.class, metaDataMap); } - public selectRecordsTimestr_args() {} + public getKeyRecordTime_args() {} - public selectRecordsTimestr_args(List records, String timestamp, + public getKeyRecordTime_args(String key, long record, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.records = records; + this.key = key; + this.record = record; + setRecordIsSet(true); this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -205993,14 +344864,13 @@ public selectRecordsTimestr_args(List records, String timestamp, /** * Performs a deep copy on other. */ - public selectRecordsTimestr_args(selectRecordsTimestr_args other) { - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; - } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + public getKeyRecordTime_args(getKeyRecordTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; } + this.record = other.record; + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -206014,72 +344884,90 @@ public selectRecordsTimestr_args(selectRecordsTimestr_args other) { } } - public selectRecordsTimestr_args deepCopy() { - return new selectRecordsTimestr_args(this); + public getKeyRecordTime_args deepCopy() { + return new getKeyRecordTime_args(this); } @Override public void clear() { - this.records = null; - this.timestamp = null; + this.key = null; + setRecordIsSet(false); + this.record = 0; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); + public String getKey() { + return this.key; } - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); + public getKeyRecordTime_args setKey(String key) { + this.key = key; + return this; } - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; } - this.records.add(elem); } - public List getRecords() { - return this.records; + public long getRecord() { + return this.record; } - public selectRecordsTimestr_args setRecords(List records) { - this.records = records; + public getKeyRecordTime_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); return this; } - public void unsetRecords() { - this.records = null; + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field record is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); } - public void setRecordsIsSet(boolean value) { - if(!value) { - this.records = null; - } + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); } - public String getTimestamp() { + public long getTimestamp() { return this.timestamp; } - public selectRecordsTimestr_args setTimestamp(String timestamp) { + public getKeyRecordTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; + setTimestampIsSet(true); return this; } public void unsetTimestamp() { - this.timestamp = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** @@ -206087,20 +344975,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return this.timestamp != null; + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - if(!value) { - this.timestamp = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectRecordsTimestr_args setCreds( + public getKeyRecordTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -206128,7 +345016,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectRecordsTimestr_args setTransaction( + public getKeyRecordTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -206156,7 +345044,7 @@ public String getEnvironment() { return this.environment; } - public selectRecordsTimestr_args setEnvironment(String environment) { + public getKeyRecordTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -206181,12 +345069,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORDS: + case KEY: if(value == null) { - unsetRecords(); + unsetKey(); } else { - setRecords((List) value); + setKey((String) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); } break; @@ -206195,7 +345092,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((String) value); + setTimestamp((Long) value); } break; @@ -206232,8 +345129,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORDS: - return getRecords(); + case KEY: + return getKey(); + + case RECORD: + return getRecord(); case TIMESTAMP: return getTimestamp(); @@ -206261,8 +345161,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORDS: - return isSetRecords(); + case KEY: + return isSetKey(); + case RECORD: + return isSetRecord(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -206279,30 +345181,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecordsTimestr_args) - return this.equals((selectRecordsTimestr_args) that); + if(that instanceof getKeyRecordTime_args) + return this.equals((getKeyRecordTime_args) that); return false; } - public boolean equals(selectRecordsTimestr_args that) { + public boolean equals(getKeyRecordTime_args that) { if(that == null) return false; - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.records.equals(that.records)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(this.timestamp != that.timestamp) return false; } @@ -206340,12 +345251,17 @@ public boolean equals(selectRecordsTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -206369,7 +345285,7 @@ public int hashCode() { } @Override - public int compareTo(selectRecordsTimestr_args other) { + public int compareTo(getKeyRecordTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -206377,14 +345293,26 @@ public int compareTo(selectRecordsTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); if(lastComparison != 0) { return lastComparison; } @@ -206456,26 +345384,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectRecordsTimestr_args("); + StringBuilder sb = new StringBuilder("getKeyRecordTime_args("); boolean first = true; - sb.append("records:"); - if(this.records == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.key); } first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; if(!first) sb.append(", "); sb.append("timestamp:"); - if(this.timestamp == null) { - sb.append("null"); - } - else { - sb.append(this.timestamp); - } + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -206537,6 +345465,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -206546,18 +345478,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecordsTimestr_argsStandardSchemeFactory + private static class getKeyRecordTime_argsStandardSchemeFactory implements SchemeFactory { - public selectRecordsTimestr_argsStandardScheme getScheme() { - return new selectRecordsTimestr_argsStandardScheme(); + public getKeyRecordTime_argsStandardScheme getScheme() { + return new getKeyRecordTime_argsStandardScheme(); } } - private static class selectRecordsTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeyRecordTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecordsTimestr_args struct) + getKeyRecordTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -206567,30 +345499,29 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1034 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list1034.size); - long _elem1035; - for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1035 = iprot.readI64(); - struct.records.add(_elem1035); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); + case 2: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { @@ -206598,7 +345529,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -206609,7 +345540,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -206620,7 +345551,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -206644,30 +345575,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecordsTimestr_args struct) + getKeyRecordTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter1037 : struct.records) { - oprot.writeI64(_iter1037); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -206689,48 +345612,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectRecordsTimestr_argsTupleSchemeFactory + private static class getKeyRecordTime_argsTupleSchemeFactory implements SchemeFactory { - public selectRecordsTimestr_argsTupleScheme getScheme() { - return new selectRecordsTimestr_argsTupleScheme(); + public getKeyRecordTime_argsTupleScheme getScheme() { + return new getKeyRecordTime_argsTupleScheme(); } } - private static class selectRecordsTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeyRecordTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecordsTimestr_args struct) + getKeyRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecords()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetRecord()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter1038 : struct.records) { - oprot.writeI64(_iter1038); - } - } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -206745,39 +345669,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecordsTimestr_args struct) + getKeyRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list1039.size); - long _elem1040; - for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) { - _elem1040 = iprot.readI64(); - struct.records.add(_elem1040); - } - } - struct.setRecordsIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -206786,38 +345704,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectRecordsTimestr_result implements - org.apache.thrift.TBase, + public static class getKeyRecordTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectRecordsTimestr_result"); + "getKeyRecordTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectRecordsTimestr_resultStandardSchemeFactory()); + new getKeyRecordTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectRecordsTimestr_resultTupleSchemeFactory()); + new getKeyRecordTime_resultTupleSchemeFactory()); } - public Map>> success; // required + public com.cinchapi.concourse.thrift.TObject success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -206827,8 +345742,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -206852,8 +345766,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -206905,19 +345817,9 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -206933,77 +345835,32 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectRecordsTimestr_result.class, metaDataMap); + getKeyRecordTime_result.class, metaDataMap); } - public selectRecordsTimestr_result() {} + public getKeyRecordTime_result() {} - public selectRecordsTimestr_result( - Map>> success, + public getKeyRecordTime_result( + com.cinchapi.concourse.thrift.TObject success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectRecordsTimestr_result(selectRecordsTimestr_result other) { + public getKeyRecordTime_result(getKeyRecordTime_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( - other.success.size()); - for (Map.Entry>> other_element : other.success - .entrySet()) { - - Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element - .getValue(); - - Long __this__success_copy_key = other_element_key; - - Map> __this__success_copy_value = new LinkedHashMap>( - other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); - } - this.success = __this__success; + this.success = new com.cinchapi.concourse.thrift.TObject( + other.success); } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -207014,17 +345871,13 @@ public selectRecordsTimestr_result(selectRecordsTimestr_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public selectRecordsTimestr_result deepCopy() { - return new selectRecordsTimestr_result(this); + public getKeyRecordTime_result deepCopy() { + return new getKeyRecordTime_result(this); } @Override @@ -207033,27 +345886,14 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, - Map> val) { - if(this.success == null) { - this.success = new LinkedHashMap>>(); - } - this.success.put(key, val); - } - - public Map>> getSuccess() { + public com.cinchapi.concourse.thrift.TObject getSuccess() { return this.success; } - public selectRecordsTimestr_result setSuccess( - Map>> success) { + public getKeyRecordTime_result setSuccess( + com.cinchapi.concourse.thrift.TObject success) { this.success = success; return this; } @@ -207080,7 +345920,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectRecordsTimestr_result setEx( + public getKeyRecordTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -207108,7 +345948,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectRecordsTimestr_result setEx2( + public getKeyRecordTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -207132,12 +345972,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectRecordsTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getKeyRecordTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -207160,34 +346000,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public selectRecordsTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -207195,8 +346007,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Map>>) value); + setSuccess((com.cinchapi.concourse.thrift.TObject) value); } break; @@ -207223,16 +346034,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -207253,9 +346055,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -207278,8 +346077,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -207288,12 +346085,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectRecordsTimestr_result) - return this.equals((selectRecordsTimestr_result) that); + if(that instanceof getKeyRecordTime_result) + return this.equals((getKeyRecordTime_result) that); return false; } - public boolean equals(selectRecordsTimestr_result that) { + public boolean equals(getKeyRecordTime_result that) { if(that == null) return false; @@ -207333,15 +346130,6 @@ public boolean equals(selectRecordsTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -207369,16 +346157,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(selectRecordsTimestr_result other) { + public int compareTo(getKeyRecordTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -207434,18 +346217,6 @@ public int compareTo(selectRecordsTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -207465,8 +346236,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectRecordsTimestr_result("); + StringBuilder sb = new StringBuilder("getKeyRecordTime_result("); boolean first = true; sb.append("success:"); @@ -207507,16 +346277,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -207524,6 +346284,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(success != null) { + success.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) @@ -207550,18 +346313,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectRecordsTimestr_resultStandardSchemeFactory + private static class getKeyRecordTime_resultStandardSchemeFactory implements SchemeFactory { - public selectRecordsTimestr_resultStandardScheme getScheme() { - return new selectRecordsTimestr_resultStandardScheme(); + public getKeyRecordTime_resultStandardScheme getScheme() { + return new getKeyRecordTime_resultStandardScheme(); } } - private static class selectRecordsTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeyRecordTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectRecordsTimestr_result struct) + getKeyRecordTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -207572,46 +346335,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map1042 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1042.size); - long _key1043; - Map> _val1044; - for (int _i1045 = 0; _i1045 < _map1042.size; ++_i1045) { - _key1043 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1046 = iprot - .readMapBegin(); - _val1044 = new LinkedHashMap>( - 2 * _map1046.size); - String _key1047; - Set _val1048; - for (int _i1049 = 0; _i1049 < _map1046.size; ++_i1049) { - _key1047 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1050 = iprot - .readSetBegin(); - _val1048 = new LinkedHashSet( - 2 * _set1050.size); - com.cinchapi.concourse.thrift.TObject _elem1051; - for (int _i1052 = 0; _i1052 < _set1050.size; ++_i1052) { - _elem1051 = new com.cinchapi.concourse.thrift.TObject(); - _elem1051.read(iprot); - _val1048.add(_elem1051); - } - iprot.readSetEnd(); - } - _val1044.put(_key1047, _val1048); - } - iprot.readMapEnd(); - } - struct.success.put(_key1043, _val1044); - } - iprot.readMapEnd(); - } + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new com.cinchapi.concourse.thrift.TObject(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -207643,7 +346369,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -207652,17 +346378,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -207677,48 +346392,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectRecordsTimestr_result struct) + getKeyRecordTime_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - struct.success.size())); - for (Map.Entry>> _iter1053 : struct.success - .entrySet()) { - oprot.writeI64(_iter1053.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1053.getValue().size())); - for (Map.Entry> _iter1054 : _iter1053 - .getValue().entrySet()) { - oprot.writeString(_iter1054.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1054.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1055 : _iter1054 - .getValue()) { - _iter1055.write(oprot); - } - oprot.writeSetEnd(); - } - } - oprot.writeMapEnd(); - } - } - oprot.writeMapEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -207736,30 +346417,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectRecordsTimestr_resultTupleSchemeFactory + private static class getKeyRecordTime_resultTupleSchemeFactory implements SchemeFactory { - public selectRecordsTimestr_resultTupleScheme getScheme() { - return new selectRecordsTimestr_resultTupleScheme(); + public getKeyRecordTime_resultTupleScheme getScheme() { + return new getKeyRecordTime_resultTupleScheme(); } } - private static class selectRecordsTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeyRecordTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectRecordsTimestr_result struct) + getKeyRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -207775,33 +346451,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1056 : struct.success - .entrySet()) { - oprot.writeI64(_iter1056.getKey()); - { - oprot.writeI32(_iter1056.getValue().size()); - for (Map.Entry> _iter1057 : _iter1056 - .getValue().entrySet()) { - oprot.writeString(_iter1057.getKey()); - { - oprot.writeI32( - _iter1057.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1058 : _iter1057 - .getValue()) { - _iter1058.write(oprot); - } - } - } - } - } - } + struct.success.write(oprot); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -207812,59 +346464,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectRecordsTimestr_result struct) + getKeyRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map1059 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1059.size); - long _key1060; - Map> _val1061; - for (int _i1062 = 0; _i1062 < _map1059.size; ++_i1062) { - _key1060 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1063 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - iprot.readI32()); - _val1061 = new LinkedHashMap>( - 2 * _map1063.size); - String _key1064; - Set _val1065; - for (int _i1066 = 0; _i1066 < _map1063.size; ++_i1066) { - _key1064 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1067 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1065 = new LinkedHashSet( - 2 * _set1067.size); - com.cinchapi.concourse.thrift.TObject _elem1068; - for (int _i1069 = 0; _i1069 < _set1067.size; ++_i1069) { - _elem1068 = new com.cinchapi.concourse.thrift.TObject(); - _elem1068.read(iprot); - _val1065.add(_elem1068); - } - } - _val1061.put(_key1064, _val1065); - } - } - struct.success.put(_key1060, _val1061); - } - } + struct.success = new com.cinchapi.concourse.thrift.TObject(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -207878,51 +346488,50 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class selectKeyRecord_args implements - org.apache.thrift.TBase, + public static class getKeyRecordTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecord_args"); + "getKeyRecordTimestr_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecord_argsStandardSchemeFactory()); + new getKeyRecordTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecord_argsTupleSchemeFactory()); + new getKeyRecordTimestr_argsTupleSchemeFactory()); } public String key; // required public long record; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -207934,9 +346543,10 @@ public static class selectKeyRecord_args implements public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), RECORD((short) 2, "record"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -207956,11 +346566,13 @@ public static _Fields findByThriftId(int fieldId) { return KEY; case 2: // RECORD return RECORD; - case 3: // CREDS + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -208022,6 +346634,11 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -208041,12 +346658,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecord_args.class, metaDataMap); + getKeyRecordTimestr_args.class, metaDataMap); } - public selectKeyRecord_args() {} + public getKeyRecordTimestr_args() {} - public selectKeyRecord_args(String key, long record, + public getKeyRecordTimestr_args(String key, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { @@ -208054,6 +346672,7 @@ public selectKeyRecord_args(String key, long record, this.key = key; this.record = record; setRecordIsSet(true); + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -208062,12 +346681,15 @@ public selectKeyRecord_args(String key, long record, /** * Performs a deep copy on other. */ - public selectKeyRecord_args(selectKeyRecord_args other) { + public getKeyRecordTimestr_args(getKeyRecordTimestr_args other) { __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } this.record = other.record; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -208081,8 +346703,8 @@ public selectKeyRecord_args(selectKeyRecord_args other) { } } - public selectKeyRecord_args deepCopy() { - return new selectKeyRecord_args(this); + public getKeyRecordTimestr_args deepCopy() { + return new getKeyRecordTimestr_args(this); } @Override @@ -208090,6 +346712,7 @@ public void clear() { this.key = null; setRecordIsSet(false); this.record = 0; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; @@ -208099,7 +346722,7 @@ public String getKey() { return this.key; } - public selectKeyRecord_args setKey(String key) { + public getKeyRecordTimestr_args setKey(String key) { this.key = key; return this; } @@ -208126,7 +346749,7 @@ public long getRecord() { return this.record; } - public selectKeyRecord_args setRecord(long record) { + public getKeyRecordTimestr_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -208150,11 +346773,38 @@ public void setRecordIsSet(boolean value) { __RECORD_ISSET_ID, value); } + public String getTimestamp() { + return this.timestamp; + } + + public getKeyRecordTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyRecord_args setCreds( + public getKeyRecordTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -208182,7 +346832,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyRecord_args setTransaction( + public getKeyRecordTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -208210,7 +346860,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyRecord_args setEnvironment(String environment) { + public getKeyRecordTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -208253,6 +346903,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -208292,6 +346951,9 @@ public Object getFieldValue(_Fields field) { case RECORD: return getRecord(); + case TIMESTAMP: + return getTimestamp(); + case CREDS: return getCreds(); @@ -208319,6 +346981,8 @@ public boolean isSet(_Fields field) { return isSetKey(); case RECORD: return isSetRecord(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -208333,12 +346997,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecord_args) - return this.equals((selectKeyRecord_args) that); + if(that instanceof getKeyRecordTimestr_args) + return this.equals((getKeyRecordTimestr_args) that); return false; } - public boolean equals(selectKeyRecord_args that) { + public boolean equals(getKeyRecordTimestr_args that) { if(that == null) return false; @@ -208360,6 +347024,15 @@ public boolean equals(selectKeyRecord_args that) { return false; } + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -208404,6 +347077,11 @@ public int hashCode() { if(present_record) list.add(record); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -208423,7 +347101,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyRecord_args other) { + public int compareTo(getKeyRecordTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -208455,6 +347133,18 @@ public int compareTo(selectKeyRecord_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -208510,7 +347200,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyRecord_args("); + StringBuilder sb = new StringBuilder("getKeyRecordTimestr_args("); boolean first = true; sb.append("key:"); @@ -208526,6 +347216,16 @@ public String toString() { sb.append("record:"); sb.append(this.record); first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -208599,18 +347299,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecord_argsStandardSchemeFactory + private static class getKeyRecordTimestr_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyRecord_argsStandardScheme getScheme() { - return new selectKeyRecord_argsStandardScheme(); + public getKeyRecordTimestr_argsStandardScheme getScheme() { + return new getKeyRecordTimestr_argsStandardScheme(); } } - private static class selectKeyRecord_argsStandardScheme - extends StandardScheme { + private static class getKeyRecordTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecord_args struct) + getKeyRecordTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -208640,7 +347340,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -208651,7 +347361,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -208662,7 +347372,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -208686,7 +347396,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecord_args struct) + getKeyRecordTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -208699,6 +347409,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(RECORD_FIELD_DESC); oprot.writeI64(struct.record); oprot.writeFieldEnd(); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -208720,19 +347435,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyRecord_argsTupleSchemeFactory + private static class getKeyRecordTimestr_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyRecord_argsTupleScheme getScheme() { - return new selectKeyRecord_argsTupleScheme(); + public getKeyRecordTimestr_argsTupleScheme getScheme() { + return new getKeyRecordTimestr_argsTupleScheme(); } } - private static class selectKeyRecord_argsTupleScheme - extends TupleScheme { + private static class getKeyRecordTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecord_args struct) + getKeyRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -208742,22 +347457,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecord()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); if(struct.isSetKey()) { oprot.writeString(struct.key); } if(struct.isSetRecord()) { oprot.writeI64(struct.record); } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -208771,10 +347492,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecord_args struct) + getKeyRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); @@ -208784,16 +347505,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setRecordIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -208802,35 +347527,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyRecord_result implements - org.apache.thrift.TBase, + public static class getKeyRecordTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecord_result"); + "getKeyRecordTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecord_resultStandardSchemeFactory()); + new getKeyRecordTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecord_resultTupleSchemeFactory()); + new getKeyRecordTimestr_resultTupleSchemeFactory()); } - public Set success; // required + public com.cinchapi.concourse.thrift.TObject success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -208840,7 +347568,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -208864,6 +347593,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -208915,11 +347646,9 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -208935,38 +347664,39 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecord_result.class, metaDataMap); + getKeyRecordTimestr_result.class, metaDataMap); } - public selectKeyRecord_result() {} + public getKeyRecordTimestr_result() {} - public selectKeyRecord_result( - Set success, + public getKeyRecordTimestr_result( + com.cinchapi.concourse.thrift.TObject success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeyRecord_result(selectKeyRecord_result other) { + public getKeyRecordTimestr_result(getKeyRecordTimestr_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( - other.success.size()); - for (com.cinchapi.concourse.thrift.TObject other_element : other.success) { - __this__success - .add(new com.cinchapi.concourse.thrift.TObject( - other_element)); - } - this.success = __this__success; + this.success = new com.cinchapi.concourse.thrift.TObject( + other.success); } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -208977,13 +347707,17 @@ public selectKeyRecord_result(selectKeyRecord_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public selectKeyRecord_result deepCopy() { - return new selectKeyRecord_result(this); + public getKeyRecordTimestr_result deepCopy() { + return new getKeyRecordTimestr_result(this); } @Override @@ -208992,29 +347726,15 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(com.cinchapi.concourse.thrift.TObject elem) { - if(this.success == null) { - this.success = new LinkedHashSet(); - } - this.success.add(elem); - } - - public Set getSuccess() { + public com.cinchapi.concourse.thrift.TObject getSuccess() { return this.success; } - public selectKeyRecord_result setSuccess( - Set success) { + public getKeyRecordTimestr_result setSuccess( + com.cinchapi.concourse.thrift.TObject success) { this.success = success; return this; } @@ -209041,7 +347761,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyRecord_result setEx( + public getKeyRecordTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -209069,7 +347789,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyRecord_result setEx2( + public getKeyRecordTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -209093,12 +347813,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeyRecord_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeyRecordTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -209121,6 +347841,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeyRecordTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -209128,8 +347876,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Set) value); + setSuccess((com.cinchapi.concourse.thrift.TObject) value); } break; @@ -209156,7 +347903,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -209177,6 +347933,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -209199,6 +347958,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -209207,12 +347968,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecord_result) - return this.equals((selectKeyRecord_result) that); + if(that instanceof getKeyRecordTimestr_result) + return this.equals((getKeyRecordTimestr_result) that); return false; } - public boolean equals(selectKeyRecord_result that) { + public boolean equals(getKeyRecordTimestr_result that) { if(that == null) return false; @@ -209252,6 +348013,15 @@ public boolean equals(selectKeyRecord_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -209279,11 +348049,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(selectKeyRecord_result other) { + public int compareTo(getKeyRecordTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -209339,6 +348114,18 @@ public int compareTo(selectKeyRecord_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -209358,7 +348145,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyRecord_result("); + StringBuilder sb = new StringBuilder("getKeyRecordTimestr_result("); boolean first = true; sb.append("success:"); @@ -209399,6 +348186,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -209406,6 +348203,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(success != null) { + success.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) @@ -209432,18 +348232,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecord_resultStandardSchemeFactory + private static class getKeyRecordTimestr_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyRecord_resultStandardScheme getScheme() { - return new selectKeyRecord_resultStandardScheme(); + public getKeyRecordTimestr_resultStandardScheme getScheme() { + return new getKeyRecordTimestr_resultStandardScheme(); } } - private static class selectKeyRecord_resultStandardScheme - extends StandardScheme { + private static class getKeyRecordTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecord_result struct) + getKeyRecordTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -209454,20 +348254,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { - { - org.apache.thrift.protocol.TSet _set1070 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set1070.size); - com.cinchapi.concourse.thrift.TObject _elem1071; - for (int _i1072 = 0; _i1072 < _set1070.size; ++_i1072) { - _elem1071 = new com.cinchapi.concourse.thrift.TObject(); - _elem1071.read(iprot); - struct.success.add(_elem1071); - } - iprot.readSetEnd(); - } + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new com.cinchapi.concourse.thrift.TObject(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -209499,7 +348288,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -209508,6 +348297,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -209522,22 +348322,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecord_result struct) + getKeyRecordTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - struct.success.size())); - for (com.cinchapi.concourse.thrift.TObject _iter1073 : struct.success) { - _iter1073.write(oprot); - } - oprot.writeSetEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -209555,25 +348347,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeyRecord_resultTupleSchemeFactory + private static class getKeyRecordTimestr_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyRecord_resultTupleScheme getScheme() { - return new selectKeyRecord_resultTupleScheme(); + public getKeyRecordTimestr_resultTupleScheme getScheme() { + return new getKeyRecordTimestr_resultTupleScheme(); } } - private static class selectKeyRecord_resultTupleScheme - extends TupleScheme { + private static class getKeyRecordTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecord_result struct) + getKeyRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -209589,14 +348386,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (com.cinchapi.concourse.thrift.TObject _iter1074 : struct.success) { - _iter1074.write(oprot); - } - } + struct.success.write(oprot); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -209607,28 +348402,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecord_result struct) + getKeyRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TSet _set1075 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set1075.size); - com.cinchapi.concourse.thrift.TObject _elem1076; - for (int _i1077 = 0; _i1077 < _set1075.size; ++_i1077) { - _elem1076 = new com.cinchapi.concourse.thrift.TObject(); - _elem1076.read(iprot); - struct.success.add(_elem1076); - } - } + struct.success = new com.cinchapi.concourse.thrift.TObject(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -209642,49 +348429,51 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectKeyRecordTime_args implements - org.apache.thrift.TBase, + public static class getKeysRecord_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecordTime_args"); + "getKeysRecord_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecordTime_argsStandardSchemeFactory()); + new getKeysRecord_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecordTime_argsTupleSchemeFactory()); + new getKeysRecord_argsTupleSchemeFactory()); } - public String key; // required + public List keys; // required public long record; // required - public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -209694,12 +348483,11 @@ public static class selectKeyRecordTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), + KEYS((short) 1, "keys"), RECORD((short) 2, "record"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -209715,17 +348503,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; + case 1: // KEYS + return KEYS; case 2: // RECORD return RECORD; - case 3: // TIMESTAMP - return TIMESTAMP; - case 4: // CREDS + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -209772,27 +348558,23 @@ public String getFieldName() { // isset id assignments private static final int __RECORD_ISSET_ID = 0; - private static final int __TIMESTAMP_ISSET_ID = 1; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.RECORD, new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -209812,21 +348594,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecordTime_args.class, metaDataMap); + getKeysRecord_args.class, metaDataMap); } - public selectKeyRecordTime_args() {} + public getKeysRecord_args() {} - public selectKeyRecordTime_args(String key, long record, long timestamp, + public getKeysRecord_args(List keys, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; + this.keys = keys; this.record = record; setRecordIsSet(true); - this.timestamp = timestamp; - setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -209835,13 +348615,13 @@ public selectKeyRecordTime_args(String key, long record, long timestamp, /** * Performs a deep copy on other. */ - public selectKeyRecordTime_args(selectKeyRecordTime_args other) { + public getKeysRecord_args(getKeysRecord_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } this.record = other.record; - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -209855,46 +348635,59 @@ public selectKeyRecordTime_args(selectKeyRecordTime_args other) { } } - public selectKeyRecordTime_args deepCopy() { - return new selectKeyRecordTime_args(this); + public getKeysRecord_args deepCopy() { + return new getKeysRecord_args(this); } @Override public void clear() { - this.key = null; + this.keys = null; setRecordIsSet(false); this.record = 0; - setTimestampIsSet(false); - this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public selectKeyRecordTime_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysRecord_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } @@ -209902,7 +348695,7 @@ public long getRecord() { return this.record; } - public selectKeyRecordTime_args setRecord(long record) { + public getKeysRecord_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -209926,40 +348719,11 @@ public void setRecordIsSet(boolean value) { __RECORD_ISSET_ID, value); } - public long getTimestamp() { - return this.timestamp; - } - - public selectKeyRecordTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); - return this; - } - - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); - } - - /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise - */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); - } - - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); - } - public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyRecordTime_args setCreds( + public getKeysRecord_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -209987,7 +348751,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyRecordTime_args setTransaction( + public getKeysRecord_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -210015,7 +348779,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyRecordTime_args setEnvironment(String environment) { + public getKeysRecord_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -210040,12 +348804,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; @@ -210058,15 +348822,6 @@ public void setFieldValue(_Fields field, Object value) { } break; - case TIMESTAMP: - if(value == null) { - unsetTimestamp(); - } - else { - setTimestamp((Long) value); - } - break; - case CREDS: if(value == null) { unsetCreds(); @@ -210100,15 +348855,12 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); case RECORD: return getRecord(); - case TIMESTAMP: - return getTimestamp(); - case CREDS: return getCreds(); @@ -210132,12 +348884,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); + case KEYS: + return isSetKeys(); case RECORD: return isSetRecord(); - case TIMESTAMP: - return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -210152,21 +348902,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecordTime_args) - return this.equals((selectKeyRecordTime_args) that); + if(that instanceof getKeysRecord_args) + return this.equals((getKeysRecord_args) that); return false; } - public boolean equals(selectKeyRecordTime_args that) { + public boolean equals(getKeysRecord_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } @@ -210179,15 +348929,6 @@ public boolean equals(selectKeyRecordTime_args that) { return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) - return false; - if(this.timestamp != that.timestamp) - return false; - } - boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -210222,21 +348963,16 @@ public boolean equals(selectKeyRecordTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); boolean present_record = true; list.add(present_record); if(present_record) list.add(record); - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); - boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -210256,7 +348992,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyRecordTime_args other) { + public int compareTo(getKeysRecord_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -210264,14 +349000,14 @@ public int compareTo(selectKeyRecordTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } @@ -210288,18 +349024,6 @@ public int compareTo(selectKeyRecordTime_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -210355,15 +349079,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyRecordTime_args("); + StringBuilder sb = new StringBuilder("getKeysRecord_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) @@ -210371,11 +349095,6 @@ public String toString() { sb.append("record:"); sb.append(this.record); first = false; - if(!first) - sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); - first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -210449,18 +349168,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecordTime_argsStandardSchemeFactory + private static class getKeysRecord_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyRecordTime_argsStandardScheme getScheme() { - return new selectKeyRecordTime_argsStandardScheme(); + public getKeysRecord_argsStandardScheme getScheme() { + return new getKeysRecord_argsStandardScheme(); } } - private static class selectKeyRecordTime_argsStandardScheme - extends StandardScheme { + private static class getKeysRecord_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecordTime_args struct) + getKeysRecord_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -210470,10 +349189,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2684 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2684.size); + String _elem2685; + for (int _i2686 = 0; _i2686 < _list2684.size; ++_i2686) { + _elem2685 = iprot.readString(); + struct.keys.add(_elem2685); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -210490,17 +349220,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -210511,7 +349231,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -210522,7 +349242,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -210546,22 +349266,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecordTime_args struct) + getKeysRecord_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2687 : struct.keys) { + oprot.writeString(_iter2687); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldBegin(RECORD_FIELD_DESC); oprot.writeI64(struct.record); oprot.writeFieldEnd(); - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -210583,50 +349309,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyRecordTime_argsTupleSchemeFactory + private static class getKeysRecord_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyRecordTime_argsTupleScheme getScheme() { - return new selectKeyRecordTime_argsTupleScheme(); + public getKeysRecord_argsTupleScheme getScheme() { + return new getKeysRecord_argsTupleScheme(); } } - private static class selectKeyRecordTime_argsTupleScheme - extends TupleScheme { + private static class getKeysRecord_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordTime_args struct) + getKeysRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } if(struct.isSetRecord()) { optionals.set(1); } - if(struct.isSetTimestamp()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); + optionals.set(4); } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + oprot.writeBitSet(optionals, 5); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2688 : struct.keys) { + oprot.writeString(_iter2688); + } + } } if(struct.isSetRecord()) { oprot.writeI64(struct.record); } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); - } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -210640,33 +349365,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordTime_args struct) + getKeysRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list2689 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2689.size); + String _elem2690; + for (int _i2691 = 0; _i2691 < _list2689.size; ++_i2691) { + _elem2690 = iprot.readString(); + struct.keys.add(_elem2690); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { struct.record = iprot.readI64(); struct.setRecordIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -210675,16 +349406,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyRecordTime_result implements - org.apache.thrift.TBase, + public static class getKeysRecord_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecordTime_result"); + "getKeysRecord_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -210695,12 +349426,12 @@ public static class selectKeyRecordTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecordTime_resultStandardSchemeFactory()); + new getKeysRecord_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecordTime_resultTupleSchemeFactory()); + new getKeysRecord_resultTupleSchemeFactory()); } - public Set success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -210788,8 +349519,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class)))); @@ -210810,13 +349543,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecordTime_result.class, metaDataMap); + getKeysRecord_result.class, metaDataMap); } - public selectKeyRecordTime_result() {} + public getKeysRecord_result() {} - public selectKeyRecordTime_result( - Set success, + public getKeysRecord_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -210830,14 +349563,24 @@ public selectKeyRecordTime_result( /** * Performs a deep copy on other. */ - public selectKeyRecordTime_result(selectKeyRecordTime_result other) { + public getKeysRecord_result(getKeysRecord_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( + Map __this__success = new LinkedHashMap( other.success.size()); - for (com.cinchapi.concourse.thrift.TObject other_element : other.success) { - __this__success - .add(new com.cinchapi.concourse.thrift.TObject( - other_element)); + for (Map.Entry other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); } this.success = __this__success; } @@ -210855,8 +349598,8 @@ public selectKeyRecordTime_result(selectKeyRecordTime_result other) { } } - public selectKeyRecordTime_result deepCopy() { - return new selectKeyRecordTime_result(this); + public getKeysRecord_result deepCopy() { + return new getKeysRecord_result(this); } @Override @@ -210871,23 +349614,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(com.cinchapi.concourse.thrift.TObject elem) { + public void putToSuccess(String key, + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashSet(); + this.success = new LinkedHashMap(); } - this.success.add(elem); + this.success.put(key, val); } - public Set getSuccess() { + public Map getSuccess() { return this.success; } - public selectKeyRecordTime_result setSuccess( - Set success) { + public getKeysRecord_result setSuccess( + Map success) { this.success = success; return this; } @@ -210914,7 +349654,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyRecordTime_result setEx( + public getKeysRecord_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -210942,7 +349682,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyRecordTime_result setEx2( + public getKeysRecord_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -210970,7 +349710,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeyRecordTime_result setEx3( + public getKeysRecord_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -211002,7 +349742,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Set) value); + (Map) value); } break; @@ -211080,12 +349820,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecordTime_result) - return this.equals((selectKeyRecordTime_result) that); + if(that instanceof getKeysRecord_result) + return this.equals((getKeysRecord_result) that); return false; } - public boolean equals(selectKeyRecordTime_result that) { + public boolean equals(getKeysRecord_result that) { if(that == null) return false; @@ -211156,7 +349896,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyRecordTime_result other) { + public int compareTo(getKeysRecord_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -211231,7 +349971,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyRecordTime_result("); + StringBuilder sb = new StringBuilder("getKeysRecord_result("); boolean first = true; sb.append("success:"); @@ -211305,18 +350045,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecordTime_resultStandardSchemeFactory + private static class getKeysRecord_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyRecordTime_resultStandardScheme getScheme() { - return new selectKeyRecordTime_resultStandardScheme(); + public getKeysRecord_resultStandardScheme getScheme() { + return new getKeysRecord_resultStandardScheme(); } } - private static class selectKeyRecordTime_resultStandardScheme - extends StandardScheme { + private static class getKeysRecord_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecordTime_result struct) + getKeysRecord_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -211327,19 +350067,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TSet _set1078 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set1078.size); - com.cinchapi.concourse.thrift.TObject _elem1079; - for (int _i1080 = 0; _i1080 < _set1078.size; ++_i1080) { - _elem1079 = new com.cinchapi.concourse.thrift.TObject(); - _elem1079.read(iprot); - struct.success.add(_elem1079); + org.apache.thrift.protocol.TMap _map2692 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map2692.size); + String _key2693; + com.cinchapi.concourse.thrift.TObject _val2694; + for (int _i2695 = 0; _i2695 < _map2692.size; ++_i2695) { + _key2693 = iprot.readString(); + _val2694 = new com.cinchapi.concourse.thrift.TObject(); + _val2694.read(iprot); + struct.success.put(_key2693, _val2694); } - iprot.readSetEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } @@ -211395,7 +350137,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecordTime_result struct) + getKeysRecord_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -211403,13 +350145,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (com.cinchapi.concourse.thrift.TObject _iter1081 : struct.success) { - _iter1081.write(oprot); + for (Map.Entry _iter2696 : struct.success + .entrySet()) { + oprot.writeString(_iter2696.getKey()); + _iter2696.getValue().write(oprot); } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -211434,19 +350179,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyRecordTime_resultTupleSchemeFactory + private static class getKeysRecord_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyRecordTime_resultTupleScheme getScheme() { - return new selectKeyRecordTime_resultTupleScheme(); + public getKeysRecord_resultTupleScheme getScheme() { + return new getKeysRecord_resultTupleScheme(); } } - private static class selectKeyRecordTime_resultTupleScheme - extends TupleScheme { + private static class getKeysRecord_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordTime_result struct) + getKeysRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -211466,8 +350211,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (com.cinchapi.concourse.thrift.TObject _iter1082 : struct.success) { - _iter1082.write(oprot); + for (Map.Entry _iter2697 : struct.success + .entrySet()) { + oprot.writeString(_iter2697.getKey()); + _iter2697.getValue().write(oprot); } } } @@ -211484,22 +350231,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordTime_result struct) + getKeysRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set1083 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map2698 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set1083.size); - com.cinchapi.concourse.thrift.TObject _elem1084; - for (int _i1085 = 0; _i1085 < _set1083.size; ++_i1085) { - _elem1084 = new com.cinchapi.concourse.thrift.TObject(); - _elem1084.read(iprot); - struct.success.add(_elem1084); + struct.success = new LinkedHashMap( + 2 * _map2698.size); + String _key2699; + com.cinchapi.concourse.thrift.TObject _val2700; + for (int _i2701 = 0; _i2701 < _map2698.size; ++_i2701) { + _key2699 = iprot.readString(); + _val2700 = new com.cinchapi.concourse.thrift.TObject(); + _val2700.read(iprot); + struct.success.put(_key2699, _val2700); } } struct.setSuccessIsSet(true); @@ -211524,21 +350274,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyRecordTimestr_args implements - org.apache.thrift.TBase, + public static class getKeysRecordTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecordTimestr_args"); + "getKeysRecordTime_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( "record", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -211551,14 +350300,14 @@ public static class selectKeyRecordTimestr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecordTimestr_argsStandardSchemeFactory()); + new getKeysRecordTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecordTimestr_argsTupleSchemeFactory()); + new getKeysRecordTime_argsTupleSchemeFactory()); } - public String key; // required + public List keys; // required public long record; // required - public String timestamp; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -211568,7 +350317,7 @@ public static class selectKeyRecordTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), + KEYS((short) 1, "keys"), RECORD((short) 2, "record"), TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), @@ -211589,8 +350338,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; + case 1: // KEYS + return KEYS; case 2: // RECORD return RECORD; case 3: // TIMESTAMP @@ -211646,16 +350395,19 @@ public String getFieldName() { // isset id assignments private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 1; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.RECORD, new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -211665,7 +350417,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -211685,21 +350437,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecordTimestr_args.class, metaDataMap); + getKeysRecordTime_args.class, metaDataMap); } - public selectKeyRecordTimestr_args() {} + public getKeysRecordTime_args() {} - public selectKeyRecordTimestr_args(String key, long record, - String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public getKeysRecordTime_args(List keys, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; + this.keys = keys; this.record = record; setRecordIsSet(true); this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -211708,15 +350460,14 @@ public selectKeyRecordTimestr_args(String key, long record, /** * Performs a deep copy on other. */ - public selectKeyRecordTimestr_args(selectKeyRecordTimestr_args other) { + public getKeysRecordTime_args(getKeysRecordTime_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } this.record = other.record; - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; - } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -211730,45 +350481,61 @@ public selectKeyRecordTimestr_args(selectKeyRecordTimestr_args other) { } } - public selectKeyRecordTimestr_args deepCopy() { - return new selectKeyRecordTimestr_args(this); + public getKeysRecordTime_args deepCopy() { + return new getKeysRecordTime_args(this); } @Override public void clear() { - this.key = null; + this.keys = null; setRecordIsSet(false); this.record = 0; - this.timestamp = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public selectKeyRecordTimestr_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysRecordTime_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } @@ -211776,7 +350543,7 @@ public long getRecord() { return this.record; } - public selectKeyRecordTimestr_args setRecord(long record) { + public getKeysRecordTime_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -211800,17 +350567,19 @@ public void setRecordIsSet(boolean value) { __RECORD_ISSET_ID, value); } - public String getTimestamp() { + public long getTimestamp() { return this.timestamp; } - public selectKeyRecordTimestr_args setTimestamp(String timestamp) { + public getKeysRecordTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; + setTimestampIsSet(true); return this; } public void unsetTimestamp() { - this.timestamp = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** @@ -211818,20 +350587,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return this.timestamp != null; + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - if(!value) { - this.timestamp = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyRecordTimestr_args setCreds( + public getKeysRecordTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -211859,7 +350628,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyRecordTimestr_args setTransaction( + public getKeysRecordTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -211887,7 +350656,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyRecordTimestr_args setEnvironment(String environment) { + public getKeysRecordTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -211912,12 +350681,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; @@ -211935,7 +350704,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((String) value); + setTimestamp((Long) value); } break; @@ -211972,8 +350741,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); case RECORD: return getRecord(); @@ -212004,8 +350773,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); + case KEYS: + return isSetKeys(); case RECORD: return isSetRecord(); case TIMESTAMP: @@ -212024,21 +350793,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecordTimestr_args) - return this.equals((selectKeyRecordTimestr_args) that); + if(that instanceof getKeysRecordTime_args) + return this.equals((getKeysRecordTime_args) that); return false; } - public boolean equals(selectKeyRecordTimestr_args that) { + public boolean equals(getKeysRecordTime_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } @@ -212051,12 +350820,12 @@ public boolean equals(selectKeyRecordTimestr_args that) { return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(this.timestamp != that.timestamp) return false; } @@ -212094,17 +350863,17 @@ public boolean equals(selectKeyRecordTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); boolean present_record = true; list.add(present_record); if(present_record) list.add(record); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -212128,7 +350897,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyRecordTimestr_args other) { + public int compareTo(getKeysRecordTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -212136,14 +350905,14 @@ public int compareTo(selectKeyRecordTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } @@ -212227,16 +350996,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeyRecordTimestr_args("); + StringBuilder sb = new StringBuilder("getKeysRecordTime_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) @@ -212247,12 +351015,7 @@ public String toString() { if(!first) sb.append(", "); sb.append("timestamp:"); - if(this.timestamp == null) { - sb.append("null"); - } - else { - sb.append(this.timestamp); - } + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -212327,18 +351090,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecordTimestr_argsStandardSchemeFactory + private static class getKeysRecordTime_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyRecordTimestr_argsStandardScheme getScheme() { - return new selectKeyRecordTimestr_argsStandardScheme(); + public getKeysRecordTime_argsStandardScheme getScheme() { + return new getKeysRecordTime_argsStandardScheme(); } } - private static class selectKeyRecordTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeysRecordTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecordTimestr_args struct) + getKeysRecordTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -212348,10 +351111,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2702 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2702.size); + String _elem2703; + for (int _i2704 = 0; _i2704 < _list2702.size; ++_i2704) { + _elem2703 = iprot.readString(); + struct.keys.add(_elem2703); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -212369,8 +351143,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { @@ -212424,24 +351198,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecordTimestr_args struct) + getKeysRecordTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2705 : struct.keys) { + oprot.writeString(_iter2705); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldBegin(RECORD_FIELD_DESC); oprot.writeI64(struct.record); oprot.writeFieldEnd(); - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -212463,23 +351244,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyRecordTimestr_argsTupleSchemeFactory + private static class getKeysRecordTime_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyRecordTimestr_argsTupleScheme getScheme() { - return new selectKeyRecordTimestr_argsTupleScheme(); + public getKeysRecordTime_argsTupleScheme getScheme() { + return new getKeysRecordTime_argsTupleScheme(); } } - private static class selectKeyRecordTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeysRecordTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordTimestr_args struct) + getKeysRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } if(struct.isSetRecord()) { @@ -212498,14 +351279,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2706 : struct.keys) { + oprot.writeString(_iter2706); + } + } } if(struct.isSetRecord()) { oprot.writeI64(struct.record); } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -212520,20 +351306,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordTimestr_args struct) + getKeysRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list2707 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2707.size); + String _elem2708; + for (int _i2709 = 0; _i2709 < _list2707.size; ++_i2709) { + _elem2708 = iprot.readString(); + struct.keys.add(_elem2708); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { struct.record = iprot.readI64(); struct.setRecordIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readString(); + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if(incoming.get(3)) { @@ -212555,38 +351351,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyRecordTimestr_result implements - org.apache.thrift.TBase, + public static class getKeysRecordTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecordTimestr_result"); + "getKeysRecordTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.SET, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecordTimestr_resultStandardSchemeFactory()); + new getKeysRecordTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecordTimestr_resultTupleSchemeFactory()); + new getKeysRecordTime_resultTupleSchemeFactory()); } - public Set success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -212596,8 +351389,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -212621,8 +351413,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -212674,8 +351464,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class)))); @@ -212694,44 +351486,46 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecordTimestr_result.class, metaDataMap); + getKeysRecordTime_result.class, metaDataMap); } - public selectKeyRecordTimestr_result() {} + public getKeysRecordTime_result() {} - public selectKeyRecordTimestr_result( - Set success, + public getKeysRecordTime_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeyRecordTimestr_result( - selectKeyRecordTimestr_result other) { + public getKeysRecordTime_result(getKeysRecordTime_result other) { if(other.isSetSuccess()) { - Set __this__success = new LinkedHashSet( + Map __this__success = new LinkedHashMap( other.success.size()); - for (com.cinchapi.concourse.thrift.TObject other_element : other.success) { - __this__success - .add(new com.cinchapi.concourse.thrift.TObject( - other_element)); + for (Map.Entry other_element : other.success + .entrySet()) { + + String other_element_key = other_element.getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value = other_element + .getValue(); + + String __this__success_copy_key = other_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); } this.success = __this__success; } @@ -212744,17 +351538,13 @@ public selectKeyRecordTimestr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public selectKeyRecordTimestr_result deepCopy() { - return new selectKeyRecordTimestr_result(this); + public getKeysRecordTime_result deepCopy() { + return new getKeysRecordTime_result(this); } @Override @@ -212763,30 +351553,26 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(com.cinchapi.concourse.thrift.TObject elem) { + public void putToSuccess(String key, + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashSet(); + this.success = new LinkedHashMap(); } - this.success.add(elem); + this.success.put(key, val); } - public Set getSuccess() { + public Map getSuccess() { return this.success; } - public selectKeyRecordTimestr_result setSuccess( - Set success) { + public getKeysRecordTime_result setSuccess( + Map success) { this.success = success; return this; } @@ -212813,7 +351599,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyRecordTimestr_result setEx( + public getKeysRecordTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -212841,7 +351627,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyRecordTimestr_result setEx2( + public getKeysRecordTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -212865,12 +351651,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeyRecordTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getKeysRecordTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -212893,34 +351679,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public selectKeyRecordTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -212929,7 +351687,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Set) value); + (Map) value); } break; @@ -212956,16 +351714,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -212986,9 +351735,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -213011,8 +351757,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -213021,12 +351765,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecordTimestr_result) - return this.equals((selectKeyRecordTimestr_result) that); + if(that instanceof getKeysRecordTime_result) + return this.equals((getKeysRecordTime_result) that); return false; } - public boolean equals(selectKeyRecordTimestr_result that) { + public boolean equals(getKeysRecordTime_result that) { if(that == null) return false; @@ -213066,15 +351810,6 @@ public boolean equals(selectKeyRecordTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -213102,16 +351837,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(selectKeyRecordTimestr_result other) { + public int compareTo(getKeysRecordTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -213167,18 +351897,6 @@ public int compareTo(selectKeyRecordTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -213198,8 +351916,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeyRecordTimestr_result("); + StringBuilder sb = new StringBuilder("getKeysRecordTime_result("); boolean first = true; sb.append("success:"); @@ -213240,16 +351957,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -213283,18 +351990,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecordTimestr_resultStandardSchemeFactory + private static class getKeysRecordTime_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyRecordTimestr_resultStandardScheme getScheme() { - return new selectKeyRecordTimestr_resultStandardScheme(); + public getKeysRecordTime_resultStandardScheme getScheme() { + return new getKeysRecordTime_resultStandardScheme(); } } - private static class selectKeyRecordTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeysRecordTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecordTimestr_result struct) + getKeysRecordTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -213305,19 +352012,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TSet _set1086 = iprot - .readSetBegin(); - struct.success = new LinkedHashSet( - 2 * _set1086.size); - com.cinchapi.concourse.thrift.TObject _elem1087; - for (int _i1088 = 0; _i1088 < _set1086.size; ++_i1088) { - _elem1087 = new com.cinchapi.concourse.thrift.TObject(); - _elem1087.read(iprot); - struct.success.add(_elem1087); + org.apache.thrift.protocol.TMap _map2710 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map2710.size); + String _key2711; + com.cinchapi.concourse.thrift.TObject _val2712; + for (int _i2713 = 0; _i2713 < _map2710.size; ++_i2713) { + _key2711 = iprot.readString(); + _val2712 = new com.cinchapi.concourse.thrift.TObject(); + _val2712.read(iprot); + struct.success.put(_key2711, _val2712); } - iprot.readSetEnd(); + iprot.readMapEnd(); } struct.setSuccessIsSet(true); } @@ -213350,7 +352059,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -213359,17 +352068,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -213384,7 +352082,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecordTimestr_result struct) + getKeysRecordTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -213392,13 +352090,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (com.cinchapi.concourse.thrift.TObject _iter1089 : struct.success) { - _iter1089.write(oprot); + for (Map.Entry _iter2714 : struct.success + .entrySet()) { + oprot.writeString(_iter2714.getKey()); + _iter2714.getValue().write(oprot); } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } oprot.writeFieldEnd(); } @@ -213417,30 +352118,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeyRecordTimestr_resultTupleSchemeFactory + private static class getKeysRecordTime_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyRecordTimestr_resultTupleScheme getScheme() { - return new selectKeyRecordTimestr_resultTupleScheme(); + public getKeysRecordTime_resultTupleScheme getScheme() { + return new getKeysRecordTime_resultTupleScheme(); } } - private static class selectKeyRecordTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeysRecordTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordTimestr_result struct) + getKeysRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -213456,15 +352152,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (com.cinchapi.concourse.thrift.TObject _iter1090 : struct.success) { - _iter1090.write(oprot); + for (Map.Entry _iter2715 : struct.success + .entrySet()) { + oprot.writeString(_iter2715.getKey()); + _iter2715.getValue().write(oprot); } } } @@ -213477,29 +352172,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordTimestr_result struct) + getKeysRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set1091 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map2716 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashSet( - 2 * _set1091.size); - com.cinchapi.concourse.thrift.TObject _elem1092; - for (int _i1093 = 0; _i1093 < _set1091.size; ++_i1093) { - _elem1092 = new com.cinchapi.concourse.thrift.TObject(); - _elem1092.read(iprot); - struct.success.add(_elem1092); + struct.success = new LinkedHashMap( + 2 * _map2716.size); + String _key2717; + com.cinchapi.concourse.thrift.TObject _val2718; + for (int _i2719 = 0; _i2719 < _map2716.size; ++_i2719) { + _key2717 = iprot.readString(); + _val2718 = new com.cinchapi.concourse.thrift.TObject(); + _val2718.read(iprot); + struct.success.put(_key2717, _val2718); } } struct.setSuccessIsSet(true); @@ -213515,51 +352210,50 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class selectKeysRecord_args implements - org.apache.thrift.TBase, + public static class getKeysRecordTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecord_args"); + "getKeysRecordTimestr_args"); private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecord_argsStandardSchemeFactory()); + new getKeysRecordTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecord_argsTupleSchemeFactory()); + new getKeysRecordTimestr_argsTupleSchemeFactory()); } public List keys; // required public long record; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -213571,9 +352265,10 @@ public static class selectKeysRecord_args implements public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEYS((short) 1, "keys"), RECORD((short) 2, "record"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -213593,11 +352288,13 @@ public static _Fields findByThriftId(int fieldId) { return KEYS; case 2: // RECORD return RECORD; - case 3: // CREDS + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -213661,6 +352358,11 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -213680,12 +352382,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecord_args.class, metaDataMap); + getKeysRecordTimestr_args.class, metaDataMap); } - public selectKeysRecord_args() {} + public getKeysRecordTimestr_args() {} - public selectKeysRecord_args(List keys, long record, + public getKeysRecordTimestr_args(List keys, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { @@ -213693,6 +352396,7 @@ public selectKeysRecord_args(List keys, long record, this.keys = keys; this.record = record; setRecordIsSet(true); + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -213701,13 +352405,16 @@ public selectKeysRecord_args(List keys, long record, /** * Performs a deep copy on other. */ - public selectKeysRecord_args(selectKeysRecord_args other) { + public getKeysRecordTimestr_args(getKeysRecordTimestr_args other) { __isset_bitfield = other.__isset_bitfield; if(other.isSetKeys()) { List __this__keys = new ArrayList(other.keys); this.keys = __this__keys; } this.record = other.record; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -213721,8 +352428,8 @@ public selectKeysRecord_args(selectKeysRecord_args other) { } } - public selectKeysRecord_args deepCopy() { - return new selectKeysRecord_args(this); + public getKeysRecordTimestr_args deepCopy() { + return new getKeysRecordTimestr_args(this); } @Override @@ -213730,6 +352437,7 @@ public void clear() { this.keys = null; setRecordIsSet(false); this.record = 0; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; @@ -213754,7 +352462,7 @@ public List getKeys() { return this.keys; } - public selectKeysRecord_args setKeys(List keys) { + public getKeysRecordTimestr_args setKeys(List keys) { this.keys = keys; return this; } @@ -213781,7 +352489,7 @@ public long getRecord() { return this.record; } - public selectKeysRecord_args setRecord(long record) { + public getKeysRecordTimestr_args setRecord(long record) { this.record = record; setRecordIsSet(true); return this; @@ -213805,11 +352513,38 @@ public void setRecordIsSet(boolean value) { __RECORD_ISSET_ID, value); } + public String getTimestamp() { + return this.timestamp; + } + + public getKeysRecordTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysRecord_args setCreds( + public getKeysRecordTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -213837,7 +352572,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysRecord_args setTransaction( + public getKeysRecordTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -213865,7 +352600,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysRecord_args setEnvironment(String environment) { + public getKeysRecordTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -213908,6 +352643,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -213947,6 +352691,9 @@ public Object getFieldValue(_Fields field) { case RECORD: return getRecord(); + case TIMESTAMP: + return getTimestamp(); + case CREDS: return getCreds(); @@ -213974,6 +352721,8 @@ public boolean isSet(_Fields field) { return isSetKeys(); case RECORD: return isSetRecord(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -213988,12 +352737,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecord_args) - return this.equals((selectKeysRecord_args) that); + if(that instanceof getKeysRecordTimestr_args) + return this.equals((getKeysRecordTimestr_args) that); return false; } - public boolean equals(selectKeysRecord_args that) { + public boolean equals(getKeysRecordTimestr_args that) { if(that == null) return false; @@ -214015,6 +352764,15 @@ public boolean equals(selectKeysRecord_args that) { return false; } + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -214059,6 +352817,11 @@ public int hashCode() { if(present_record) list.add(record); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -214078,7 +352841,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysRecord_args other) { + public int compareTo(getKeysRecordTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -214110,6 +352873,18 @@ public int compareTo(selectKeysRecord_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -214165,7 +352940,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysRecord_args("); + StringBuilder sb = new StringBuilder("getKeysRecordTimestr_args("); boolean first = true; sb.append("keys:"); @@ -214181,6 +352956,16 @@ public String toString() { sb.append("record:"); sb.append(this.record); first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -214254,18 +353039,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecord_argsStandardSchemeFactory + private static class getKeysRecordTimestr_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysRecord_argsStandardScheme getScheme() { - return new selectKeysRecord_argsStandardScheme(); + public getKeysRecordTimestr_argsStandardScheme getScheme() { + return new getKeysRecordTimestr_argsStandardScheme(); } } - private static class selectKeysRecord_argsStandardScheme - extends StandardScheme { + private static class getKeysRecordTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecord_args struct) + getKeysRecordTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -214278,14 +353063,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1094 = iprot + org.apache.thrift.protocol.TList _list2720 = iprot .readListBegin(); struct.keys = new ArrayList( - _list1094.size); - String _elem1095; - for (int _i1096 = 0; _i1096 < _list1094.size; ++_i1096) { - _elem1095 = iprot.readString(); - struct.keys.add(_elem1095); + _list2720.size); + String _elem2721; + for (int _i2722 = 0; _i2722 < _list2720.size; ++_i2722) { + _elem2721 = iprot.readString(); + struct.keys.add(_elem2721); } iprot.readListEnd(); } @@ -214306,7 +353091,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -214317,7 +353112,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -214328,7 +353123,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -214352,7 +353147,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecord_args struct) + getKeysRecordTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -214364,8 +353159,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter1097 : struct.keys) { - oprot.writeString(_iter1097); + for (String _iter2723 : struct.keys) { + oprot.writeString(_iter2723); } oprot.writeListEnd(); } @@ -214374,6 +353169,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(RECORD_FIELD_DESC); oprot.writeI64(struct.record); oprot.writeFieldEnd(); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -214395,19 +353195,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysRecord_argsTupleSchemeFactory + private static class getKeysRecordTimestr_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysRecord_argsTupleScheme getScheme() { - return new selectKeysRecord_argsTupleScheme(); + public getKeysRecordTimestr_argsTupleScheme getScheme() { + return new getKeysRecordTimestr_argsTupleScheme(); } } - private static class selectKeysRecord_argsTupleScheme - extends TupleScheme { + private static class getKeysRecordTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecord_args struct) + getKeysRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -214417,27 +353217,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecord()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter1098 : struct.keys) { - oprot.writeString(_iter1098); + for (String _iter2724 : struct.keys) { + oprot.writeString(_iter2724); } } } if(struct.isSetRecord()) { oprot.writeI64(struct.record); } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -214451,20 +353257,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecord_args struct) + getKeysRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1099 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list2725 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list1099.size); - String _elem1100; - for (int _i1101 = 0; _i1101 < _list1099.size; ++_i1101) { - _elem1100 = iprot.readString(); - struct.keys.add(_elem1100); + struct.keys = new ArrayList(_list2725.size); + String _elem2726; + for (int _i2727 = 0; _i2727 < _list2725.size; ++_i2727) { + _elem2726 = iprot.readString(); + struct.keys.add(_elem2726); } } struct.setKeysIsSet(true); @@ -214474,16 +353280,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setRecordIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -214492,13 +353302,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysRecord_result implements - org.apache.thrift.TBase, + public static class getKeysRecordTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecord_result"); + "getKeysRecordTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -214508,19 +353318,22 @@ public static class selectKeysRecord_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecord_resultStandardSchemeFactory()); + new getKeysRecordTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecord_resultTupleSchemeFactory()); + new getKeysRecordTimestr_resultTupleSchemeFactory()); } - public Map> success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -214530,7 +353343,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -214554,6 +353368,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -214609,11 +353425,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -214629,48 +353443,50 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecord_result.class, metaDataMap); + getKeysRecordTimestr_result.class, metaDataMap); } - public selectKeysRecord_result() {} + public getKeysRecordTimestr_result() {} - public selectKeysRecord_result( - Map> success, + public getKeysRecordTimestr_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeysRecord_result(selectKeysRecord_result other) { + public getKeysRecordTimestr_result(getKeysRecordTimestr_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { String other_element_key = other_element.getKey(); - Set other_element_value = other_element + com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); String __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( - other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -214686,13 +353502,17 @@ public selectKeysRecord_result(selectKeysRecord_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public selectKeysRecord_result deepCopy() { - return new selectKeysRecord_result(this); + public getKeysRecordTimestr_result deepCopy() { + return new getKeysRecordTimestr_result(this); } @Override @@ -214701,6 +353521,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -214708,19 +353529,19 @@ public int getSuccessSize() { } public void putToSuccess(String key, - Set val) { + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map getSuccess() { return this.success; } - public selectKeysRecord_result setSuccess( - Map> success) { + public getKeysRecordTimestr_result setSuccess( + Map success) { this.success = success; return this; } @@ -214747,7 +353568,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysRecord_result setEx( + public getKeysRecordTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -214775,7 +353596,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysRecord_result setEx2( + public getKeysRecordTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -214799,12 +353620,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeysRecord_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeysRecordTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -214827,6 +353648,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeysRecordTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -214835,7 +353684,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map) value); } break; @@ -214862,7 +353711,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -214883,6 +353741,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -214905,6 +353766,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -214913,12 +353776,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecord_result) - return this.equals((selectKeysRecord_result) that); + if(that instanceof getKeysRecordTimestr_result) + return this.equals((getKeysRecordTimestr_result) that); return false; } - public boolean equals(selectKeysRecord_result that) { + public boolean equals(getKeysRecordTimestr_result that) { if(that == null) return false; @@ -214958,6 +353821,15 @@ public boolean equals(selectKeysRecord_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -214985,11 +353857,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(selectKeysRecord_result other) { + public int compareTo(getKeysRecordTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -215045,6 +353922,18 @@ public int compareTo(selectKeysRecord_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -215064,7 +353953,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysRecord_result("); + StringBuilder sb = new StringBuilder( + "getKeysRecordTimestr_result("); boolean first = true; sb.append("success:"); @@ -215105,6 +353995,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -215138,18 +354038,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecord_resultStandardSchemeFactory + private static class getKeysRecordTimestr_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysRecord_resultStandardScheme getScheme() { - return new selectKeysRecord_resultStandardScheme(); + public getKeysRecordTimestr_resultStandardScheme getScheme() { + return new getKeysRecordTimestr_resultStandardScheme(); } } - private static class selectKeysRecord_resultStandardScheme - extends StandardScheme { + private static class getKeysRecordTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecord_result struct) + getKeysRecordTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -215162,28 +354062,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1102 = iprot + org.apache.thrift.protocol.TMap _map2728 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1102.size); - String _key1103; - Set _val1104; - for (int _i1105 = 0; _i1105 < _map1102.size; ++_i1105) { - _key1103 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1106 = iprot - .readSetBegin(); - _val1104 = new LinkedHashSet( - 2 * _set1106.size); - com.cinchapi.concourse.thrift.TObject _elem1107; - for (int _i1108 = 0; _i1108 < _set1106.size; ++_i1108) { - _elem1107 = new com.cinchapi.concourse.thrift.TObject(); - _elem1107.read(iprot); - _val1104.add(_elem1107); - } - iprot.readSetEnd(); - } - struct.success.put(_key1103, _val1104); + struct.success = new LinkedHashMap( + 2 * _map2728.size); + String _key2729; + com.cinchapi.concourse.thrift.TObject _val2730; + for (int _i2731 = 0; _i2731 < _map2728.size; ++_i2731) { + _key2729 = iprot.readString(); + _val2730 = new com.cinchapi.concourse.thrift.TObject(); + _val2730.read(iprot); + struct.success.put(_key2729, _val2730); } iprot.readMapEnd(); } @@ -215218,7 +354107,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -215227,6 +354116,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -215241,7 +354141,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecord_result struct) + getKeysRecordTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -215251,22 +354151,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry> _iter1109 : struct.success + for (Map.Entry _iter2732 : struct.success .entrySet()) { - oprot.writeString(_iter1109.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1109.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1110 : _iter1109 - .getValue()) { - _iter1110.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter2732.getKey()); + _iter2732.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -215287,25 +354177,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeysRecord_resultTupleSchemeFactory + private static class getKeysRecordTimestr_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysRecord_resultTupleScheme getScheme() { - return new selectKeysRecord_resultTupleScheme(); + public getKeysRecordTimestr_resultTupleScheme getScheme() { + return new getKeysRecordTimestr_resultTupleScheme(); } } - private static class selectKeysRecord_resultTupleScheme - extends TupleScheme { + private static class getKeysRecordTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecord_result struct) + getKeysRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -215321,20 +354216,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1111 : struct.success + for (Map.Entry _iter2733 : struct.success .entrySet()) { - oprot.writeString(_iter1111.getKey()); - { - oprot.writeI32(_iter1111.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1112 : _iter1111 - .getValue()) { - _iter1112.write(oprot); - } - } + oprot.writeString(_iter2733.getKey()); + _iter2733.getValue().write(oprot); } } } @@ -215347,40 +354239,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecord_result struct) + getKeysRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1113 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2734 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1113.size); - String _key1114; - Set _val1115; - for (int _i1116 = 0; _i1116 < _map1113.size; ++_i1116) { - _key1114 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1117 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1115 = new LinkedHashSet( - 2 * _set1117.size); - com.cinchapi.concourse.thrift.TObject _elem1118; - for (int _i1119 = 0; _i1119 < _set1117.size; ++_i1119) { - _elem1118 = new com.cinchapi.concourse.thrift.TObject(); - _elem1118.read(iprot); - _val1115.add(_elem1118); - } - } - struct.success.put(_key1114, _val1115); + struct.success = new LinkedHashMap( + 2 * _map2734.size); + String _key2735; + com.cinchapi.concourse.thrift.TObject _val2736; + for (int _i2737 = 0; _i2737 < _map2734.size; ++_i2737) { + _key2735 = iprot.readString(); + _val2736 = new com.cinchapi.concourse.thrift.TObject(); + _val2736.read(iprot); + struct.success.put(_key2735, _val2736); } } struct.setSuccessIsSet(true); @@ -215396,49 +354280,51 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectKeysRecordTime_args implements - org.apache.thrift.TBase, + public static class getKeysRecords_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecordTime_args"); + "getKeysRecords_args"); private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecordTime_argsStandardSchemeFactory()); + new getKeysRecords_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecordTime_argsTupleSchemeFactory()); + new getKeysRecords_argsTupleSchemeFactory()); } public List keys; // required - public long record; // required - public long timestamp; // required + public List records; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -215449,11 +354335,10 @@ public static class selectKeysRecordTime_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEYS((short) 1, "keys"), - RECORD((short) 2, "record"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + RECORDS((short) 2, "records"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -215471,15 +354356,13 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEYS return KEYS; - case 2: // RECORD - return RECORD; - case 3: // TIMESTAMP - return TIMESTAMP; - case 4: // CREDS + case 2: // RECORDS + return RECORDS; + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -215525,9 +354408,6 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __TIMESTAMP_ISSET_ID = 1; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -215539,16 +354419,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -215568,21 +354445,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecordTime_args.class, metaDataMap); + getKeysRecords_args.class, metaDataMap); } - public selectKeysRecordTime_args() {} + public getKeysRecords_args() {} - public selectKeysRecordTime_args(List keys, long record, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public getKeysRecords_args(List keys, List records, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.keys = keys; - this.record = record; - setRecordIsSet(true); - this.timestamp = timestamp; - setTimestampIsSet(true); + this.records = records; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -215591,14 +354465,15 @@ public selectKeysRecordTime_args(List keys, long record, /** * Performs a deep copy on other. */ - public selectKeysRecordTime_args(selectKeysRecordTime_args other) { - __isset_bitfield = other.__isset_bitfield; + public getKeysRecords_args(getKeysRecords_args other) { if(other.isSetKeys()) { List __this__keys = new ArrayList(other.keys); this.keys = __this__keys; } - this.record = other.record; - this.timestamp = other.timestamp; + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -215612,17 +354487,14 @@ public selectKeysRecordTime_args(selectKeysRecordTime_args other) { } } - public selectKeysRecordTime_args deepCopy() { - return new selectKeysRecordTime_args(this); + public getKeysRecords_args deepCopy() { + return new getKeysRecords_args(this); } @Override public void clear() { this.keys = null; - setRecordIsSet(false); - this.record = 0; - setTimestampIsSet(false); - this.timestamp = 0; + this.records = null; this.creds = null; this.transaction = null; this.environment = null; @@ -215647,7 +354519,7 @@ public List getKeys() { return this.keys; } - public selectKeysRecordTime_args setKeys(List keys) { + public getKeysRecords_args setKeys(List keys) { this.keys = keys; return this; } @@ -215670,68 +354542,53 @@ public void setKeysIsSet(boolean value) { } } - public long getRecord() { - return this.record; - } - - public selectKeysRecordTime_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); } - public long getTimestamp() { - return this.timestamp; + public List getRecords() { + return this.records; } - public selectKeysRecordTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); + public getKeysRecords_args setRecords(List records) { + this.records = records; return this; } - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public void unsetRecords() { + this.records = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field records is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public boolean isSetRecords() { + return this.records != null; } - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysRecordTime_args setCreds( + public getKeysRecords_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -215759,7 +354616,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysRecordTime_args setTransaction( + public getKeysRecords_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -215787,7 +354644,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysRecordTime_args setEnvironment(String environment) { + public getKeysRecords_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -215821,21 +354678,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORD: - if(value == null) { - unsetRecord(); - } - else { - setRecord((Long) value); - } - break; - - case TIMESTAMP: + case RECORDS: if(value == null) { - unsetTimestamp(); + unsetRecords(); } else { - setTimestamp((Long) value); + setRecords((List) value); } break; @@ -215875,11 +354723,8 @@ public Object getFieldValue(_Fields field) { case KEYS: return getKeys(); - case RECORD: - return getRecord(); - - case TIMESTAMP: - return getTimestamp(); + case RECORDS: + return getRecords(); case CREDS: return getCreds(); @@ -215906,10 +354751,8 @@ public boolean isSet(_Fields field) { switch (field) { case KEYS: return isSetKeys(); - case RECORD: - return isSetRecord(); - case TIMESTAMP: - return isSetTimestamp(); + case RECORDS: + return isSetRecords(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -215924,12 +354767,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecordTime_args) - return this.equals((selectKeysRecordTime_args) that); + if(that instanceof getKeysRecords_args) + return this.equals((getKeysRecords_args) that); return false; } - public boolean equals(selectKeysRecordTime_args that) { + public boolean equals(getKeysRecords_args that) { if(that == null) return false; @@ -215942,21 +354785,12 @@ public boolean equals(selectKeysRecordTime_args that) { return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) - return false; - if(this.record != that.record) - return false; - } - - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(this.timestamp != that.timestamp) + if(!this.records.equals(that.records)) return false; } @@ -215999,15 +354833,10 @@ public int hashCode() { if(present_keys) list.add(keys); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); - - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -216028,7 +354857,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysRecordTime_args other) { + public int compareTo(getKeysRecords_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -216048,26 +354877,14 @@ public int compareTo(selectKeysRecordTime_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetRecord()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } @@ -216127,7 +354944,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysRecordTime_args("); + StringBuilder sb = new StringBuilder("getKeysRecords_args("); boolean first = true; sb.append("keys:"); @@ -216140,13 +354957,13 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } first = false; if(!first) sb.append(", "); @@ -216208,10 +355025,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -216221,18 +355034,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecordTime_argsStandardSchemeFactory + private static class getKeysRecords_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysRecordTime_argsStandardScheme getScheme() { - return new selectKeysRecordTime_argsStandardScheme(); + public getKeysRecords_argsStandardScheme getScheme() { + return new getKeysRecords_argsStandardScheme(); } } - private static class selectKeysRecordTime_argsStandardScheme - extends StandardScheme { + private static class getKeysRecords_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecordTime_args struct) + getKeysRecords_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -216245,14 +355058,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1120 = iprot + org.apache.thrift.protocol.TList _list2738 = iprot .readListBegin(); struct.keys = new ArrayList( - _list1120.size); - String _elem1121; - for (int _i1122 = 0; _i1122 < _list1120.size; ++_i1122) { - _elem1121 = iprot.readString(); - struct.keys.add(_elem1121); + _list2738.size); + String _elem2739; + for (int _i2740 = 0; _i2740 < _list2738.size; ++_i2740) { + _elem2739 = iprot.readString(); + struct.keys.add(_elem2739); } iprot.readListEnd(); } @@ -216263,27 +355076,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2741 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list2741.size); + long _elem2742; + for (int _i2743 = 0; _i2743 < _list2741.size; ++_i2743) { + _elem2742 = iprot.readI64(); + struct.records.add(_elem2742); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -216294,7 +355108,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -216305,7 +355119,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -216329,7 +355143,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecordTime_args struct) + getKeysRecords_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -216341,19 +355155,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter1123 : struct.keys) { - oprot.writeString(_iter1123); + for (String _iter2744 : struct.keys) { + oprot.writeString(_iter2744); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter2745 : struct.records) { + oprot.writeI64(_iter2745); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -216375,54 +355197,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysRecordTime_argsTupleSchemeFactory + private static class getKeysRecords_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysRecordTime_argsTupleScheme getScheme() { - return new selectKeysRecordTime_argsTupleScheme(); + public getKeysRecords_argsTupleScheme getScheme() { + return new getKeysRecords_argsTupleScheme(); } } - private static class selectKeysRecordTime_argsTupleScheme - extends TupleScheme { + private static class getKeysRecords_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordTime_args struct) + getKeysRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetTimestamp()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); + optionals.set(4); } - oprot.writeBitSet(optionals, 6); + oprot.writeBitSet(optionals, 5); if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter1124 : struct.keys) { - oprot.writeString(_iter1124); + for (String _iter2746 : struct.keys) { + oprot.writeString(_iter2746); } } } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); - } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter2747 : struct.records) { + oprot.writeI64(_iter2747); + } + } } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -216437,43 +355258,49 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordTime_args struct) + getKeysRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1125 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list2748 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list1125.size); - String _elem1126; - for (int _i1127 = 0; _i1127 < _list1125.size; ++_i1127) { - _elem1126 = iprot.readString(); - struct.keys.add(_elem1126); + struct.keys = new ArrayList(_list2748.size); + String _elem2749; + for (int _i2750 = 0; _i2750 < _list2748.size; ++_i2750) { + _elem2749 = iprot.readString(); + struct.keys.add(_elem2749); } } struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + { + org.apache.thrift.protocol.TList _list2751 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list2751.size); + long _elem2752; + for (int _i2753 = 0; _i2753 < _list2751.size; ++_i2753) { + _elem2752 = iprot.readI64(); + struct.records.add(_elem2752); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -216482,13 +355309,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysRecordTime_result implements - org.apache.thrift.TBase, + public static class getKeysRecords_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecordTime_result"); + "getKeysRecords_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -216502,12 +355329,12 @@ public static class selectKeysRecordTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecordTime_resultStandardSchemeFactory()); + new getKeysRecords_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecordTime_resultTupleSchemeFactory()); + new getKeysRecords_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -216598,9 +355425,11 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))))); @@ -216621,13 +355450,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecordTime_result.class, metaDataMap); + getKeysRecords_result.class, metaDataMap); } - public selectKeysRecordTime_result() {} + public getKeysRecords_result() {} - public selectKeysRecordTime_result( - Map> success, + public getKeysRecords_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -216641,25 +355470,37 @@ public selectKeysRecordTime_result( /** * Performs a deep copy on other. */ - public selectKeysRecordTime_result(selectKeysRecordTime_result other) { + public getKeysRecords_result(getKeysRecords_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); - Set other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -216681,8 +355522,8 @@ public selectKeysRecordTime_result(selectKeysRecordTime_result other) { } } - public selectKeysRecordTime_result deepCopy() { - return new selectKeysRecordTime_result(this); + public getKeysRecords_result deepCopy() { + return new getKeysRecords_result(this); } @Override @@ -216697,20 +355538,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Set val) { + public void putToSuccess(long key, + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeysRecordTime_result setSuccess( - Map> success) { + public getKeysRecords_result setSuccess( + Map> success) { this.success = success; return this; } @@ -216737,7 +355578,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysRecordTime_result setEx( + public getKeysRecords_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -216765,7 +355606,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysRecordTime_result setEx2( + public getKeysRecords_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -216793,7 +355634,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeysRecordTime_result setEx3( + public getKeysRecords_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -216825,7 +355666,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -216903,12 +355744,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecordTime_result) - return this.equals((selectKeysRecordTime_result) that); + if(that instanceof getKeysRecords_result) + return this.equals((getKeysRecords_result) that); return false; } - public boolean equals(selectKeysRecordTime_result that) { + public boolean equals(getKeysRecords_result that) { if(that == null) return false; @@ -216979,7 +355820,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysRecordTime_result other) { + public int compareTo(getKeysRecords_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -217054,8 +355895,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeysRecordTime_result("); + StringBuilder sb = new StringBuilder("getKeysRecords_result("); boolean first = true; sb.append("success:"); @@ -217129,18 +355969,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecordTime_resultStandardSchemeFactory + private static class getKeysRecords_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysRecordTime_resultStandardScheme getScheme() { - return new selectKeysRecordTime_resultStandardScheme(); + public getKeysRecords_resultStandardScheme getScheme() { + return new getKeysRecords_resultStandardScheme(); } } - private static class selectKeysRecordTime_resultStandardScheme - extends StandardScheme { + private static class getKeysRecords_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecordTime_result struct) + getKeysRecords_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -217153,28 +355993,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1128 = iprot + org.apache.thrift.protocol.TMap _map2754 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1128.size); - String _key1129; - Set _val1130; - for (int _i1131 = 0; _i1131 < _map1128.size; ++_i1131) { - _key1129 = iprot.readString(); + struct.success = new LinkedHashMap>( + 2 * _map2754.size); + long _key2755; + Map _val2756; + for (int _i2757 = 0; _i2757 < _map2754.size; ++_i2757) { + _key2755 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1132 = iprot - .readSetBegin(); - _val1130 = new LinkedHashSet( - 2 * _set1132.size); - com.cinchapi.concourse.thrift.TObject _elem1133; - for (int _i1134 = 0; _i1134 < _set1132.size; ++_i1134) { - _elem1133 = new com.cinchapi.concourse.thrift.TObject(); - _elem1133.read(iprot); - _val1130.add(_elem1133); + org.apache.thrift.protocol.TMap _map2758 = iprot + .readMapBegin(); + _val2756 = new LinkedHashMap( + 2 * _map2758.size); + String _key2759; + com.cinchapi.concourse.thrift.TObject _val2760; + for (int _i2761 = 0; _i2761 < _map2758.size; ++_i2761) { + _key2759 = iprot.readString(); + _val2760 = new com.cinchapi.concourse.thrift.TObject(); + _val2760.read(iprot); + _val2756.put(_key2759, _val2760); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key1129, _val1130); + struct.success.put(_key2755, _val2756); } iprot.readMapEnd(); } @@ -217232,7 +356074,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecordTime_result struct) + getKeysRecords_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -217241,22 +356083,24 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter1135 : struct.success + for (Map.Entry> _iter2762 : struct.success .entrySet()) { - oprot.writeString(_iter1135.getKey()); + oprot.writeI64(_iter2762.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter1135.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1136 : _iter1135 - .getValue()) { - _iter1136.write(oprot); + _iter2762.getValue().size())); + for (Map.Entry _iter2763 : _iter2762 + .getValue().entrySet()) { + oprot.writeString(_iter2763.getKey()); + _iter2763.getValue().write(oprot); } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -217284,19 +356128,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysRecordTime_resultTupleSchemeFactory + private static class getKeysRecords_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysRecordTime_resultTupleScheme getScheme() { - return new selectKeysRecordTime_resultTupleScheme(); + public getKeysRecords_resultTupleScheme getScheme() { + return new getKeysRecords_resultTupleScheme(); } } - private static class selectKeysRecordTime_resultTupleScheme - extends TupleScheme { + private static class getKeysRecords_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordTime_result struct) + getKeysRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -217316,14 +356160,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1137 : struct.success + for (Map.Entry> _iter2764 : struct.success .entrySet()) { - oprot.writeString(_iter1137.getKey()); + oprot.writeI64(_iter2764.getKey()); { - oprot.writeI32(_iter1137.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1138 : _iter1137 - .getValue()) { - _iter1138.write(oprot); + oprot.writeI32(_iter2764.getValue().size()); + for (Map.Entry _iter2765 : _iter2764 + .getValue().entrySet()) { + oprot.writeString(_iter2765.getKey()); + _iter2765.getValue().write(oprot); } } } @@ -217342,36 +356187,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordTime_result struct) + getKeysRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1139 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TMap _map2766 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1139.size); - String _key1140; - Set _val1141; - for (int _i1142 = 0; _i1142 < _map1139.size; ++_i1142) { - _key1140 = iprot.readString(); + struct.success = new LinkedHashMap>( + 2 * _map2766.size); + long _key2767; + Map _val2768; + for (int _i2769 = 0; _i2769 < _map2766.size; ++_i2769) { + _key2767 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1143 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map2770 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1141 = new LinkedHashSet( - 2 * _set1143.size); - com.cinchapi.concourse.thrift.TObject _elem1144; - for (int _i1145 = 0; _i1145 < _set1143.size; ++_i1145) { - _elem1144 = new com.cinchapi.concourse.thrift.TObject(); - _elem1144.read(iprot); - _val1141.add(_elem1144); + _val2768 = new LinkedHashMap( + 2 * _map2770.size); + String _key2771; + com.cinchapi.concourse.thrift.TObject _val2772; + for (int _i2773 = 0; _i2773 < _map2770.size; ++_i2773) { + _key2771 = iprot.readString(); + _val2772 = new com.cinchapi.concourse.thrift.TObject(); + _val2772.read(iprot); + _val2768.put(_key2771, _val2772); } } - struct.success.put(_key1140, _val1141); + struct.success.put(_key2767, _val2768); } } struct.setSuccessIsSet(true); @@ -217396,21 +356244,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysRecordTimestr_args implements - org.apache.thrift.TBase, + public static class getKeysRecordsOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecordTimestr_args"); + "getKeysRecordsOrder_args"); private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -217423,14 +356270,14 @@ public static class selectKeysRecordTimestr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecordTimestr_argsStandardSchemeFactory()); + new getKeysRecordsOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecordTimestr_argsTupleSchemeFactory()); + new getKeysRecordsOrder_argsTupleSchemeFactory()); } public List keys; // required - public long record; // required - public String timestamp; // required + public List records; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -217441,8 +356288,8 @@ public static class selectKeysRecordTimestr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEYS((short) 1, "keys"), - RECORD((short) 2, "record"), - TIMESTAMP((short) 3, "timestamp"), + RECORDS((short) 2, "records"), + ORDER((short) 3, "order"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -217463,10 +356310,10 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEYS return KEYS; - case 2: // RECORD - return RECORD; - case 3: // TIMESTAMP - return TIMESTAMP; + case 2: // RECORDS + return RECORDS; + case 3: // ORDER + return ORDER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -217517,8 +356364,6 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -217530,16 +356375,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -217559,21 +356407,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecordTimestr_args.class, metaDataMap); + getKeysRecordsOrder_args.class, metaDataMap); } - public selectKeysRecordTimestr_args() {} + public getKeysRecordsOrder_args() {} - public selectKeysRecordTimestr_args(List keys, long record, - String timestamp, + public getKeysRecordsOrder_args(List keys, List records, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.keys = keys; - this.record = record; - setRecordIsSet(true); - this.timestamp = timestamp; + this.records = records; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -217582,16 +356429,18 @@ public selectKeysRecordTimestr_args(List keys, long record, /** * Performs a deep copy on other. */ - public selectKeysRecordTimestr_args( - selectKeysRecordTimestr_args other) { - __isset_bitfield = other.__isset_bitfield; + public getKeysRecordsOrder_args(getKeysRecordsOrder_args other) { if(other.isSetKeys()) { List __this__keys = new ArrayList(other.keys); this.keys = __this__keys; } - this.record = other.record; - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -217606,16 +356455,15 @@ public selectKeysRecordTimestr_args( } } - public selectKeysRecordTimestr_args deepCopy() { - return new selectKeysRecordTimestr_args(this); + public getKeysRecordsOrder_args deepCopy() { + return new getKeysRecordsOrder_args(this); } @Override public void clear() { this.keys = null; - setRecordIsSet(false); - this.record = 0; - this.timestamp = null; + this.records = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -217640,7 +356488,7 @@ public List getKeys() { return this.keys; } - public selectKeysRecordTimestr_args setKeys(List keys) { + public getKeysRecordsOrder_args setKeys(List keys) { this.keys = keys; return this; } @@ -217663,58 +356511,73 @@ public void setKeysIsSet(boolean value) { } } - public long getRecord() { - return this.record; + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - public selectKeysRecordTimestr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public getKeysRecordsOrder_args setRecords(List records) { + this.records = records; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetRecords() { + this.records = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetRecords() { + return this.records != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } } - public String getTimestamp() { - return this.timestamp; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public selectKeysRecordTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; + public getKeysRecordsOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetTimestamp() { - this.timestamp = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field order is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return this.timestamp != null; + public boolean isSetOrder() { + return this.order != null; } - public void setTimestampIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.timestamp = null; + this.order = null; } } @@ -217722,7 +356585,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysRecordTimestr_args setCreds( + public getKeysRecordsOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -217750,7 +356613,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysRecordTimestr_args setTransaction( + public getKeysRecordsOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -217778,7 +356641,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysRecordTimestr_args setEnvironment(String environment) { + public getKeysRecordsOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -217812,21 +356675,21 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORD: + case RECORDS: if(value == null) { - unsetRecord(); + unsetRecords(); } else { - setRecord((Long) value); + setRecords((List) value); } break; - case TIMESTAMP: + case ORDER: if(value == null) { - unsetTimestamp(); + unsetOrder(); } else { - setTimestamp((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -217866,11 +356729,11 @@ public Object getFieldValue(_Fields field) { case KEYS: return getKeys(); - case RECORD: - return getRecord(); + case RECORDS: + return getRecords(); - case TIMESTAMP: - return getTimestamp(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -217897,10 +356760,10 @@ public boolean isSet(_Fields field) { switch (field) { case KEYS: return isSetKeys(); - case RECORD: - return isSetRecord(); - case TIMESTAMP: - return isSetTimestamp(); + case RECORDS: + return isSetRecords(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -217915,12 +356778,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecordTimestr_args) - return this.equals((selectKeysRecordTimestr_args) that); + if(that instanceof getKeysRecordsOrder_args) + return this.equals((getKeysRecordsOrder_args) that); return false; } - public boolean equals(selectKeysRecordTimestr_args that) { + public boolean equals(getKeysRecordsOrder_args that) { if(that == null) return false; @@ -217933,21 +356796,21 @@ public boolean equals(selectKeysRecordTimestr_args that) { return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(this.record != that.record) + if(!this.records.equals(that.records)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(!this.order.equals(that.order)) return false; } @@ -217990,15 +356853,15 @@ public int hashCode() { if(present_keys) list.add(keys); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); - boolean present_timestamp = true && (isSetTimestamp()); - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -218019,7 +356882,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysRecordTimestr_args other) { + public int compareTo(getKeysRecordsOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -218039,26 +356902,26 @@ public int compareTo(selectKeysRecordTimestr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -218118,8 +356981,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeysRecordTimestr_args("); + StringBuilder sb = new StringBuilder("getKeysRecordsOrder_args("); boolean first = true; sb.append("keys:"); @@ -218132,17 +356994,22 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.order); } first = false; if(!first) @@ -218182,6 +357049,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -218205,10 +357075,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -218218,18 +357084,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecordTimestr_argsStandardSchemeFactory + private static class getKeysRecordsOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysRecordTimestr_argsStandardScheme getScheme() { - return new selectKeysRecordTimestr_argsStandardScheme(); + public getKeysRecordsOrder_argsStandardScheme getScheme() { + return new getKeysRecordsOrder_argsStandardScheme(); } } - private static class selectKeysRecordTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeysRecordsOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecordTimestr_args struct) + getKeysRecordsOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -218242,14 +357108,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1146 = iprot + org.apache.thrift.protocol.TList _list2774 = iprot .readListBegin(); struct.keys = new ArrayList( - _list1146.size); - String _elem1147; - for (int _i1148 = 0; _i1148 < _list1146.size; ++_i1148) { - _elem1147 = iprot.readString(); - struct.keys.add(_elem1147); + _list2774.size); + String _elem2775; + for (int _i2776 = 0; _i2776 < _list2774.size; ++_i2776) { + _elem2775 = iprot.readString(); + struct.keys.add(_elem2775); } iprot.readListEnd(); } @@ -218260,20 +357126,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2777 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list2777.size); + long _elem2778; + for (int _i2779 = 0; _i2779 < _list2777.size; ++_i2779) { + _elem2778 = iprot.readI64(); + struct.records.add(_elem2778); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -218326,7 +357204,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecordTimestr_args struct) + getKeysRecordsOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -218338,19 +357216,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter1149 : struct.keys) { - oprot.writeString(_iter1149); + for (String _iter2780 : struct.keys) { + oprot.writeString(_iter2780); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter2781 : struct.records) { + oprot.writeI64(_iter2781); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -218374,29 +357263,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysRecordTimestr_argsTupleSchemeFactory + private static class getKeysRecordsOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysRecordTimestr_argsTupleScheme getScheme() { - return new selectKeysRecordTimestr_argsTupleScheme(); + public getKeysRecordsOrder_argsTupleScheme getScheme() { + return new getKeysRecordsOrder_argsTupleScheme(); } } - private static class selectKeysRecordTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeysRecordsOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordTimestr_args struct) + getKeysRecordsOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetTimestamp()) { + if(struct.isSetOrder()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -218412,16 +357301,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter1150 : struct.keys) { - oprot.writeString(_iter1150); + for (String _iter2782 : struct.keys) { + oprot.writeString(_iter2782); } } } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter2783 : struct.records) { + oprot.writeI64(_iter2783); + } + } } - if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -218436,31 +357330,42 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordTimestr_args struct) + getKeysRecordsOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1151 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list2784 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list1151.size); - String _elem1152; - for (int _i1153 = 0; _i1153 < _list1151.size; ++_i1153) { - _elem1152 = iprot.readString(); - struct.keys.add(_elem1152); + struct.keys = new ArrayList(_list2784.size); + String _elem2785; + for (int _i2786 = 0; _i2786 < _list2784.size; ++_i2786) { + _elem2785 = iprot.readString(); + struct.keys.add(_elem2785); } } struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + { + org.apache.thrift.protocol.TList _list2787 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list2787.size); + long _elem2788; + for (int _i2789 = 0; _i2789 < _list2787.size; ++_i2789) { + _elem2788 = iprot.readI64(); + struct.records.add(_elem2788); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -218481,13 +357386,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysRecordTimestr_result implements - org.apache.thrift.TBase, + public static class getKeysRecordsOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecordTimestr_result"); + "getKeysRecordsOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -218497,22 +357402,19 @@ public static class selectKeysRecordTimestr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecordTimestr_resultStandardSchemeFactory()); + new getKeysRecordsOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecordTimestr_resultTupleSchemeFactory()); + new getKeysRecordsOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -218522,8 +357424,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -218547,8 +357448,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -218603,9 +357502,11 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))))); @@ -218624,55 +357525,59 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecordTimestr_result.class, metaDataMap); + getKeysRecordsOrder_result.class, metaDataMap); } - public selectKeysRecordTimestr_result() {} + public getKeysRecordsOrder_result() {} - public selectKeysRecordTimestr_result( - Map> success, + public getKeysRecordsOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeysRecordTimestr_result( - selectKeysRecordTimestr_result other) { + public getKeysRecordsOrder_result(getKeysRecordsOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); - Set other_element_value = other_element + Long other_element_key = other_element.getKey(); + Map other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -218689,17 +357594,13 @@ public selectKeysRecordTimestr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public selectKeysRecordTimestr_result deepCopy() { - return new selectKeysRecordTimestr_result(this); + public getKeysRecordsOrder_result deepCopy() { + return new getKeysRecordsOrder_result(this); } @Override @@ -218708,27 +357609,26 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, - Set val) { + public void putToSuccess(long key, + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeysRecordTimestr_result setSuccess( - Map> success) { + public getKeysRecordsOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -218755,7 +357655,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysRecordTimestr_result setEx( + public getKeysRecordsOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -218783,7 +357683,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysRecordTimestr_result setEx2( + public getKeysRecordsOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -218807,12 +357707,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeysRecordTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getKeysRecordsOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -218835,34 +357735,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public selectKeysRecordTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -218871,7 +357743,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -218898,16 +357770,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -218928,9 +357791,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -218953,8 +357813,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -218963,12 +357821,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecordTimestr_result) - return this.equals((selectKeysRecordTimestr_result) that); + if(that instanceof getKeysRecordsOrder_result) + return this.equals((getKeysRecordsOrder_result) that); return false; } - public boolean equals(selectKeysRecordTimestr_result that) { + public boolean equals(getKeysRecordsOrder_result that) { if(that == null) return false; @@ -219008,15 +357866,6 @@ public boolean equals(selectKeysRecordTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -219044,16 +357893,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(selectKeysRecordTimestr_result other) { + public int compareTo(getKeysRecordsOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -219109,18 +357953,6 @@ public int compareTo(selectKeysRecordTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -219140,8 +357972,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeysRecordTimestr_result("); + StringBuilder sb = new StringBuilder("getKeysRecordsOrder_result("); boolean first = true; sb.append("success:"); @@ -219182,16 +358013,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -219225,18 +358046,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecordTimestr_resultStandardSchemeFactory + private static class getKeysRecordsOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysRecordTimestr_resultStandardScheme getScheme() { - return new selectKeysRecordTimestr_resultStandardScheme(); + public getKeysRecordsOrder_resultStandardScheme getScheme() { + return new getKeysRecordsOrder_resultStandardScheme(); } } - private static class selectKeysRecordTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeysRecordsOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecordTimestr_result struct) + getKeysRecordsOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -219249,28 +358070,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1154 = iprot + org.apache.thrift.protocol.TMap _map2790 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1154.size); - String _key1155; - Set _val1156; - for (int _i1157 = 0; _i1157 < _map1154.size; ++_i1157) { - _key1155 = iprot.readString(); + struct.success = new LinkedHashMap>( + 2 * _map2790.size); + long _key2791; + Map _val2792; + for (int _i2793 = 0; _i2793 < _map2790.size; ++_i2793) { + _key2791 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1158 = iprot - .readSetBegin(); - _val1156 = new LinkedHashSet( - 2 * _set1158.size); - com.cinchapi.concourse.thrift.TObject _elem1159; - for (int _i1160 = 0; _i1160 < _set1158.size; ++_i1160) { - _elem1159 = new com.cinchapi.concourse.thrift.TObject(); - _elem1159.read(iprot); - _val1156.add(_elem1159); + org.apache.thrift.protocol.TMap _map2794 = iprot + .readMapBegin(); + _val2792 = new LinkedHashMap( + 2 * _map2794.size); + String _key2795; + com.cinchapi.concourse.thrift.TObject _val2796; + for (int _i2797 = 0; _i2797 < _map2794.size; ++_i2797) { + _key2795 = iprot.readString(); + _val2796 = new com.cinchapi.concourse.thrift.TObject(); + _val2796.read(iprot); + _val2792.put(_key2795, _val2796); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key1155, _val1156); + struct.success.put(_key2791, _val2792); } iprot.readMapEnd(); } @@ -219305,7 +358128,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -219314,17 +358137,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -219339,7 +358151,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecordTimestr_result struct) + getKeysRecordsOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -219348,22 +358160,24 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter1161 : struct.success + for (Map.Entry> _iter2798 : struct.success .entrySet()) { - oprot.writeString(_iter1161.getKey()); + oprot.writeI64(_iter2798.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter1161.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1162 : _iter1161 - .getValue()) { - _iter1162.write(oprot); + _iter2798.getValue().size())); + for (Map.Entry _iter2799 : _iter2798 + .getValue().entrySet()) { + oprot.writeString(_iter2799.getKey()); + _iter2799.getValue().write(oprot); } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -219385,30 +358199,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeysRecordTimestr_resultTupleSchemeFactory + private static class getKeysRecordsOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysRecordTimestr_resultTupleScheme getScheme() { - return new selectKeysRecordTimestr_resultTupleScheme(); + public getKeysRecordsOrder_resultTupleScheme getScheme() { + return new getKeysRecordsOrder_resultTupleScheme(); } } - private static class selectKeysRecordTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeysRecordsOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordTimestr_result struct) + getKeysRecordsOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -219424,21 +358233,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1163 : struct.success + for (Map.Entry> _iter2800 : struct.success .entrySet()) { - oprot.writeString(_iter1163.getKey()); + oprot.writeI64(_iter2800.getKey()); { - oprot.writeI32(_iter1163.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1164 : _iter1163 - .getValue()) { - _iter1164.write(oprot); + oprot.writeI32(_iter2800.getValue().size()); + for (Map.Entry _iter2801 : _iter2800 + .getValue().entrySet()) { + oprot.writeString(_iter2801.getKey()); + _iter2801.getValue().write(oprot); } } } @@ -219453,43 +358260,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordTimestr_result struct) + getKeysRecordsOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1165 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TMap _map2802 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1165.size); - String _key1166; - Set _val1167; - for (int _i1168 = 0; _i1168 < _map1165.size; ++_i1168) { - _key1166 = iprot.readString(); + struct.success = new LinkedHashMap>( + 2 * _map2802.size); + long _key2803; + Map _val2804; + for (int _i2805 = 0; _i2805 < _map2802.size; ++_i2805) { + _key2803 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1169 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map2806 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1167 = new LinkedHashSet( - 2 * _set1169.size); - com.cinchapi.concourse.thrift.TObject _elem1170; - for (int _i1171 = 0; _i1171 < _set1169.size; ++_i1171) { - _elem1170 = new com.cinchapi.concourse.thrift.TObject(); - _elem1170.read(iprot); - _val1167.add(_elem1170); + _val2804 = new LinkedHashMap( + 2 * _map2806.size); + String _key2807; + com.cinchapi.concourse.thrift.TObject _val2808; + for (int _i2809 = 0; _i2809 < _map2806.size; ++_i2809) { + _key2807 = iprot.readString(); + _val2808 = new com.cinchapi.concourse.thrift.TObject(); + _val2808.read(iprot); + _val2804.put(_key2807, _val2808); } } - struct.success.put(_key1166, _val1167); + struct.success.put(_key2803, _val2804); } } struct.setSuccessIsSet(true); @@ -219505,30 +358312,25 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class selectKeysRecords_args implements - org.apache.thrift.TBase, + public static class getKeyRecords_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecords_args"); + "getKeyRecords_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -219543,12 +358345,12 @@ public static class selectKeysRecords_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecords_argsStandardSchemeFactory()); + new getKeyRecords_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecords_argsTupleSchemeFactory()); + new getKeyRecords_argsTupleSchemeFactory()); } - public List keys; // required + public String key; // required public List records; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required @@ -219559,7 +358361,7 @@ public static class selectKeysRecords_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), + KEY((short) 1, "key"), RECORDS((short) 2, "records"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), @@ -219579,8 +358381,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; + case 1: // KEY + return KEY; case 2: // RECORDS return RECORDS; case 3: // CREDS @@ -219637,13 +358439,11 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.RECORDS, new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -219670,17 +358470,17 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecords_args.class, metaDataMap); + getKeyRecords_args.class, metaDataMap); } - public selectKeysRecords_args() {} + public getKeyRecords_args() {} - public selectKeysRecords_args(List keys, List records, + public getKeyRecords_args(String key, List records, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; + this.key = key; this.records = records; this.creds = creds; this.transaction = transaction; @@ -219690,10 +358490,9 @@ public selectKeysRecords_args(List keys, List records, /** * Performs a deep copy on other. */ - public selectKeysRecords_args(selectKeysRecords_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public getKeyRecords_args(getKeyRecords_args other) { + if(other.isSetKey()) { + this.key = other.key; } if(other.isSetRecords()) { List __this__records = new ArrayList(other.records); @@ -219712,58 +358511,43 @@ public selectKeysRecords_args(selectKeysRecords_args other) { } } - public selectKeysRecords_args deepCopy() { - return new selectKeysRecords_args(this); + public getKeyRecords_args deepCopy() { + return new getKeyRecords_args(this); } @Override public void clear() { - this.keys = null; + this.key = null; this.records = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; + public String getKey() { + return this.key; } - public selectKeysRecords_args setKeys(List keys) { - this.keys = keys; + public getKeyRecords_args setKey(String key) { + this.key = key; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetKey() { + return this.key != null; } - public void setKeysIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.keys = null; + this.key = null; } } @@ -219786,7 +358570,7 @@ public List getRecords() { return this.records; } - public selectKeysRecords_args setRecords(List records) { + public getKeyRecords_args setRecords(List records) { this.records = records; return this; } @@ -219813,7 +358597,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysRecords_args setCreds( + public getKeyRecords_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -219841,7 +358625,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysRecords_args setTransaction( + public getKeyRecords_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -219869,7 +358653,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysRecords_args setEnvironment(String environment) { + public getKeyRecords_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -219894,12 +358678,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); } break; @@ -219945,8 +358729,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); case RECORDS: return getRecords(); @@ -219974,8 +358758,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); + case KEY: + return isSetKey(); case RECORDS: return isSetRecords(); case CREDS: @@ -219992,21 +358776,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecords_args) - return this.equals((selectKeysRecords_args) that); + if(that instanceof getKeyRecords_args) + return this.equals((getKeyRecords_args) that); return false; } - public boolean equals(selectKeysRecords_args that) { + public boolean equals(getKeyRecords_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) return false; } @@ -220053,10 +358837,10 @@ public boolean equals(selectKeysRecords_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); boolean present_records = true && (isSetRecords()); list.add(present_records); @@ -220082,7 +358866,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysRecords_args other) { + public int compareTo(getKeyRecords_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -220090,14 +358874,14 @@ public int compareTo(selectKeysRecords_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } @@ -220169,15 +358953,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysRecords_args("); + StringBuilder sb = new StringBuilder("getKeyRecords_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; if(!first) @@ -220259,18 +359043,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecords_argsStandardSchemeFactory + private static class getKeyRecords_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysRecords_argsStandardScheme getScheme() { - return new selectKeysRecords_argsStandardScheme(); + public getKeyRecords_argsStandardScheme getScheme() { + return new getKeyRecords_argsStandardScheme(); } } - private static class selectKeysRecords_argsStandardScheme - extends StandardScheme { + private static class getKeyRecords_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecords_args struct) + getKeyRecords_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -220280,21 +359064,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1172 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1172.size); - String _elem1173; - for (int _i1174 = 0; _i1174 < _list1172.size; ++_i1174) { - _elem1173 = iprot.readString(); - struct.keys.add(_elem1173); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -220304,14 +359077,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1175 = iprot + org.apache.thrift.protocol.TList _list2810 = iprot .readListBegin(); struct.records = new ArrayList( - _list1175.size); - long _elem1176; - for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) { - _elem1176 = iprot.readI64(); - struct.records.add(_elem1176); + _list2810.size); + long _elem2811; + for (int _i2812 = 0; _i2812 < _list2810.size; ++_i2812) { + _elem2811 = iprot.readI64(); + struct.records.add(_elem2811); } iprot.readListEnd(); } @@ -220368,23 +359141,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecords_args struct) + getKeyRecords_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1178 : struct.keys) { - oprot.writeString(_iter1178); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } if(struct.records != null) { @@ -220394,8 +359158,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter1179 : struct.records) { - oprot.writeI64(_iter1179); + for (long _iter2813 : struct.records) { + oprot.writeI64(_iter2813); } oprot.writeListEnd(); } @@ -220422,23 +359186,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysRecords_argsTupleSchemeFactory + private static class getKeyRecords_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysRecords_argsTupleScheme getScheme() { - return new selectKeysRecords_argsTupleScheme(); + public getKeyRecords_argsTupleScheme getScheme() { + return new getKeyRecords_argsTupleScheme(); } } - private static class selectKeysRecords_argsTupleScheme - extends TupleScheme { + private static class getKeyRecords_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecords_args struct) + getKeyRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } if(struct.isSetRecords()) { @@ -220454,19 +359218,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1180 : struct.keys) { - oprot.writeString(_iter1180); - } - } + if(struct.isSetKey()) { + oprot.writeString(struct.key); } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter1181 : struct.records) { - oprot.writeI64(_iter1181); + for (long _iter2814 : struct.records) { + oprot.writeI64(_iter2814); } } } @@ -220483,34 +359242,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecords_args struct) + getKeyRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1182 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1182.size); - String _elem1183; - for (int _i1184 = 0; _i1184 < _list1182.size; ++_i1184) { - _elem1183 = iprot.readString(); - struct.keys.add(_elem1183); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1185 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list2815 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list1185.size); - long _elem1186; - for (int _i1187 = 0; _i1187 < _list1185.size; ++_i1187) { - _elem1186 = iprot.readI64(); - struct.records.add(_elem1186); + struct.records = new ArrayList(_list2815.size); + long _elem2816; + for (int _i2817 = 0; _i2817 < _list2815.size; ++_i2817) { + _elem2816 = iprot.readI64(); + struct.records.add(_elem2816); } } struct.setRecordsIsSet(true); @@ -220534,13 +359283,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysRecords_result implements - org.apache.thrift.TBase, + public static class getKeyRecords_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecords_result"); + "getKeyRecords_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -220554,12 +359303,12 @@ public static class selectKeysRecords_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecords_resultStandardSchemeFactory()); + new getKeyRecords_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecords_resultTupleSchemeFactory()); + new getKeyRecords_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -220651,15 +359400,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -220677,13 +359420,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecords_result.class, metaDataMap); + getKeyRecords_result.class, metaDataMap); } - public selectKeysRecords_result() {} + public getKeyRecords_result() {} - public selectKeysRecords_result( - Map>> success, + public getKeyRecords_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -220697,43 +359440,21 @@ public selectKeysRecords_result( /** * Performs a deep copy on other. */ - public selectKeysRecords_result(selectKeysRecords_result other) { + public getKeyRecords_result(getKeyRecords_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( - other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -220754,8 +359475,8 @@ public selectKeysRecords_result(selectKeysRecords_result other) { } } - public selectKeysRecords_result deepCopy() { - return new selectKeysRecords_result(this); + public getKeyRecords_result deepCopy() { + return new getKeyRecords_result(this); } @Override @@ -220771,19 +359492,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map getSuccess() { return this.success; } - public selectKeysRecords_result setSuccess( - Map>> success) { + public getKeyRecords_result setSuccess( + Map success) { this.success = success; return this; } @@ -220810,7 +359531,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysRecords_result setEx( + public getKeyRecords_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -220838,7 +359559,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysRecords_result setEx2( + public getKeyRecords_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -220866,7 +359587,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeysRecords_result setEx3( + public getKeyRecords_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -220898,7 +359619,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map) value); } break; @@ -220976,12 +359697,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecords_result) - return this.equals((selectKeysRecords_result) that); + if(that instanceof getKeyRecords_result) + return this.equals((getKeyRecords_result) that); return false; } - public boolean equals(selectKeysRecords_result that) { + public boolean equals(getKeyRecords_result that) { if(that == null) return false; @@ -221052,7 +359773,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysRecords_result other) { + public int compareTo(getKeyRecords_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -221127,7 +359848,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysRecords_result("); + StringBuilder sb = new StringBuilder("getKeyRecords_result("); boolean first = true; sb.append("success:"); @@ -221201,18 +359922,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecords_resultStandardSchemeFactory + private static class getKeyRecords_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysRecords_resultStandardScheme getScheme() { - return new selectKeysRecords_resultStandardScheme(); + public getKeyRecords_resultStandardScheme getScheme() { + return new getKeyRecords_resultStandardScheme(); } } - private static class selectKeysRecords_resultStandardScheme - extends StandardScheme { + private static class getKeyRecords_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecords_result struct) + getKeyRecords_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -221225,41 +359946,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1188 = iprot + org.apache.thrift.protocol.TMap _map2818 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1188.size); - long _key1189; - Map> _val1190; - for (int _i1191 = 0; _i1191 < _map1188.size; ++_i1191) { - _key1189 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1192 = iprot - .readMapBegin(); - _val1190 = new LinkedHashMap>( - 2 * _map1192.size); - String _key1193; - Set _val1194; - for (int _i1195 = 0; _i1195 < _map1192.size; ++_i1195) { - _key1193 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1196 = iprot - .readSetBegin(); - _val1194 = new LinkedHashSet( - 2 * _set1196.size); - com.cinchapi.concourse.thrift.TObject _elem1197; - for (int _i1198 = 0; _i1198 < _set1196.size; ++_i1198) { - _elem1197 = new com.cinchapi.concourse.thrift.TObject(); - _elem1197.read(iprot); - _val1194.add(_elem1197); - } - iprot.readSetEnd(); - } - _val1190.put(_key1193, _val1194); - } - iprot.readMapEnd(); - } - struct.success.put(_key1189, _val1190); + struct.success = new LinkedHashMap( + 2 * _map2818.size); + long _key2819; + com.cinchapi.concourse.thrift.TObject _val2820; + for (int _i2821 = 0; _i2821 < _map2818.size; ++_i2821) { + _key2819 = iprot.readI64(); + _val2820 = new com.cinchapi.concourse.thrift.TObject(); + _val2820.read(iprot); + struct.success.put(_key2819, _val2820); } iprot.readMapEnd(); } @@ -221317,7 +360014,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecords_result struct) + getKeyRecords_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -221327,35 +360024,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry>> _iter1199 : struct.success + for (Map.Entry _iter2822 : struct.success .entrySet()) { - oprot.writeI64(_iter1199.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1199.getValue().size())); - for (Map.Entry> _iter1200 : _iter1199 - .getValue().entrySet()) { - oprot.writeString(_iter1200.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1200.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1201 : _iter1200 - .getValue()) { - _iter1201.write(oprot); - } - oprot.writeSetEnd(); - } - } - oprot.writeMapEnd(); - } + oprot.writeI64(_iter2822.getKey()); + _iter2822.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -221382,19 +360056,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysRecords_resultTupleSchemeFactory + private static class getKeyRecords_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysRecords_resultTupleScheme getScheme() { - return new selectKeysRecords_resultTupleScheme(); + public getKeyRecords_resultTupleScheme getScheme() { + return new getKeyRecords_resultTupleScheme(); } } - private static class selectKeysRecords_resultTupleScheme - extends TupleScheme { + private static class getKeyRecords_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecords_result struct) + getKeyRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -221414,24 +360088,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1202 : struct.success + for (Map.Entry _iter2823 : struct.success .entrySet()) { - oprot.writeI64(_iter1202.getKey()); - { - oprot.writeI32(_iter1202.getValue().size()); - for (Map.Entry> _iter1203 : _iter1202 - .getValue().entrySet()) { - oprot.writeString(_iter1203.getKey()); - { - oprot.writeI32( - _iter1203.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1204 : _iter1203 - .getValue()) { - _iter1204.write(oprot); - } - } - } - } + oprot.writeI64(_iter2823.getKey()); + _iter2823.getValue().write(oprot); } } } @@ -221448,50 +360108,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecords_result struct) + getKeyRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1205 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2824 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1205.size); - long _key1206; - Map> _val1207; - for (int _i1208 = 0; _i1208 < _map1205.size; ++_i1208) { - _key1206 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1209 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - iprot.readI32()); - _val1207 = new LinkedHashMap>( - 2 * _map1209.size); - String _key1210; - Set _val1211; - for (int _i1212 = 0; _i1212 < _map1209.size; ++_i1212) { - _key1210 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1213 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1211 = new LinkedHashSet( - 2 * _set1213.size); - com.cinchapi.concourse.thrift.TObject _elem1214; - for (int _i1215 = 0; _i1215 < _set1213.size; ++_i1215) { - _elem1214 = new com.cinchapi.concourse.thrift.TObject(); - _elem1214.read(iprot); - _val1211.add(_elem1214); - } - } - _val1207.put(_key1210, _val1211); - } - } - struct.success.put(_key1206, _val1207); + struct.success = new LinkedHashMap( + 2 * _map2824.size); + long _key2825; + com.cinchapi.concourse.thrift.TObject _val2826; + for (int _i2827 = 0; _i2827 < _map2824.size; ++_i2827) { + _key2825 = iprot.readI64(); + _val2826 = new com.cinchapi.concourse.thrift.TObject(); + _val2826.read(iprot); + struct.success.put(_key2825, _val2826); } } struct.setSuccessIsSet(true); @@ -221516,37 +360151,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyRecords_args implements - org.apache.thrift.TBase, + public static class getKeyRecordsOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecords_args"); + "getKeyRecordsOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecords_argsStandardSchemeFactory()); + new getKeyRecordsOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecords_argsTupleSchemeFactory()); + new getKeyRecordsOrder_argsTupleSchemeFactory()); } public String key; // required public List records; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -221558,9 +360196,10 @@ public static class selectKeyRecords_args implements public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), RECORDS((short) 2, "records"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -221580,11 +360219,13 @@ public static _Fields findByThriftId(int fieldId) { return KEY; case 2: // RECORDS return RECORDS; - case 3: // CREDS + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -221646,6 +360287,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -221665,18 +360312,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecords_args.class, metaDataMap); + getKeyRecordsOrder_args.class, metaDataMap); } - public selectKeyRecords_args() {} + public getKeyRecordsOrder_args() {} - public selectKeyRecords_args(String key, List records, + public getKeyRecordsOrder_args(String key, List records, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; this.records = records; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -221685,7 +360334,7 @@ public selectKeyRecords_args(String key, List records, /** * Performs a deep copy on other. */ - public selectKeyRecords_args(selectKeyRecords_args other) { + public getKeyRecordsOrder_args(getKeyRecordsOrder_args other) { if(other.isSetKey()) { this.key = other.key; } @@ -221693,6 +360342,10 @@ public selectKeyRecords_args(selectKeyRecords_args other) { List __this__records = new ArrayList(other.records); this.records = __this__records; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -221706,14 +360359,15 @@ public selectKeyRecords_args(selectKeyRecords_args other) { } } - public selectKeyRecords_args deepCopy() { - return new selectKeyRecords_args(this); + public getKeyRecordsOrder_args deepCopy() { + return new getKeyRecordsOrder_args(this); } @Override public void clear() { this.key = null; this.records = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -221723,7 +360377,7 @@ public String getKey() { return this.key; } - public selectKeyRecords_args setKey(String key) { + public getKeyRecordsOrder_args setKey(String key) { this.key = key; return this; } @@ -221765,7 +360419,7 @@ public List getRecords() { return this.records; } - public selectKeyRecords_args setRecords(List records) { + public getKeyRecordsOrder_args setRecords(List records) { this.records = records; return this; } @@ -221788,11 +360442,39 @@ public void setRecordsIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeyRecordsOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyRecords_args setCreds( + public getKeyRecordsOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -221820,7 +360502,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyRecords_args setTransaction( + public getKeyRecordsOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -221848,7 +360530,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyRecords_args setEnvironment(String environment) { + public getKeyRecordsOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -221891,6 +360573,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -221930,6 +360621,9 @@ public Object getFieldValue(_Fields field) { case RECORDS: return getRecords(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -221957,6 +360651,8 @@ public boolean isSet(_Fields field) { return isSetKey(); case RECORDS: return isSetRecords(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -221971,12 +360667,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecords_args) - return this.equals((selectKeyRecords_args) that); + if(that instanceof getKeyRecordsOrder_args) + return this.equals((getKeyRecordsOrder_args) that); return false; } - public boolean equals(selectKeyRecords_args that) { + public boolean equals(getKeyRecordsOrder_args that) { if(that == null) return false; @@ -221998,6 +360694,15 @@ public boolean equals(selectKeyRecords_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -222042,6 +360747,11 @@ public int hashCode() { if(present_records) list.add(records); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -222061,7 +360771,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyRecords_args other) { + public int compareTo(getKeyRecordsOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -222093,6 +360803,18 @@ public int compareTo(selectKeyRecords_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -222148,7 +360870,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyRecords_args("); + StringBuilder sb = new StringBuilder("getKeyRecordsOrder_args("); boolean first = true; sb.append("key:"); @@ -222169,6 +360891,16 @@ public String toString() { sb.append(this.records); } first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -222206,6 +360938,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -222238,18 +360973,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecords_argsStandardSchemeFactory + private static class getKeyRecordsOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyRecords_argsStandardScheme getScheme() { - return new selectKeyRecords_argsStandardScheme(); + public getKeyRecordsOrder_argsStandardScheme getScheme() { + return new getKeyRecordsOrder_argsStandardScheme(); } } - private static class selectKeyRecords_argsStandardScheme - extends StandardScheme { + private static class getKeyRecordsOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecords_args struct) + getKeyRecordsOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -222272,14 +361007,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1216 = iprot + org.apache.thrift.protocol.TList _list2828 = iprot .readListBegin(); struct.records = new ArrayList( - _list1216.size); - long _elem1217; - for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) { - _elem1217 = iprot.readI64(); - struct.records.add(_elem1217); + _list2828.size); + long _elem2829; + for (int _i2830 = 0; _i2830 < _list2828.size; ++_i2830) { + _elem2829 = iprot.readI64(); + struct.records.add(_elem2829); } iprot.readListEnd(); } @@ -222290,7 +361025,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -222301,7 +361047,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -222312,7 +361058,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -222336,7 +361082,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecords_args struct) + getKeyRecordsOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -222353,13 +361099,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter1219 : struct.records) { - oprot.writeI64(_iter1219); + for (long _iter2831 : struct.records) { + oprot.writeI64(_iter2831); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -222381,19 +361132,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyRecords_argsTupleSchemeFactory + private static class getKeyRecordsOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyRecords_argsTupleScheme getScheme() { - return new selectKeyRecords_argsTupleScheme(); + public getKeyRecordsOrder_argsTupleScheme getScheme() { + return new getKeyRecordsOrder_argsTupleScheme(); } } - private static class selectKeyRecords_argsTupleScheme - extends TupleScheme { + private static class getKeyRecordsOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecords_args struct) + getKeyRecordsOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -222403,27 +361154,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); if(struct.isSetKey()) { oprot.writeString(struct.key); } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter1220 : struct.records) { - oprot.writeI64(_iter1220); + for (long _iter2832 : struct.records) { + oprot.writeI64(_iter2832); } } } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -222437,39 +361194,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecords_args struct) + getKeyRecordsOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1221 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list2833 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list1221.size); - long _elem1222; - for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) { - _elem1222 = iprot.readI64(); - struct.records.add(_elem1222); + struct.records = new ArrayList(_list2833.size); + long _elem2834; + for (int _i2835 = 0; _i2835 < _list2833.size; ++_i2835) { + _elem2834 = iprot.readI64(); + struct.records.add(_elem2834); } } struct.setRecordsIsSet(true); } if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -222478,13 +361240,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyRecords_result implements - org.apache.thrift.TBase, + public static class getKeyRecordsOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecords_result"); + "getKeyRecordsOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -222498,12 +361260,12 @@ public static class selectKeyRecords_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecords_resultStandardSchemeFactory()); + new getKeyRecordsOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecords_resultTupleSchemeFactory()); + new getKeyRecordsOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -222595,11 +361357,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -222617,13 +361377,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecords_result.class, metaDataMap); + getKeyRecordsOrder_result.class, metaDataMap); } - public selectKeyRecords_result() {} + public getKeyRecordsOrder_result() {} - public selectKeyRecords_result( - Map> success, + public getKeyRecordsOrder_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -222637,26 +361397,21 @@ public selectKeyRecords_result( /** * Performs a deep copy on other. */ - public selectKeyRecords_result(selectKeyRecords_result other) { + public getKeyRecordsOrder_result(getKeyRecordsOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( - other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -222677,8 +361432,8 @@ public selectKeyRecords_result(selectKeyRecords_result other) { } } - public selectKeyRecords_result deepCopy() { - return new selectKeyRecords_result(this); + public getKeyRecordsOrder_result deepCopy() { + return new getKeyRecordsOrder_result(this); } @Override @@ -222694,19 +361449,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map getSuccess() { return this.success; } - public selectKeyRecords_result setSuccess( - Map> success) { + public getKeyRecordsOrder_result setSuccess( + Map success) { this.success = success; return this; } @@ -222733,7 +361488,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyRecords_result setEx( + public getKeyRecordsOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -222761,7 +361516,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyRecords_result setEx2( + public getKeyRecordsOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -222789,7 +361544,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeyRecords_result setEx3( + public getKeyRecordsOrder_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -222821,7 +361576,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map) value); } break; @@ -222899,12 +361654,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecords_result) - return this.equals((selectKeyRecords_result) that); + if(that instanceof getKeyRecordsOrder_result) + return this.equals((getKeyRecordsOrder_result) that); return false; } - public boolean equals(selectKeyRecords_result that) { + public boolean equals(getKeyRecordsOrder_result that) { if(that == null) return false; @@ -222975,7 +361730,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyRecords_result other) { + public int compareTo(getKeyRecordsOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -223050,7 +361805,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyRecords_result("); + StringBuilder sb = new StringBuilder("getKeyRecordsOrder_result("); boolean first = true; sb.append("success:"); @@ -223124,18 +361879,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecords_resultStandardSchemeFactory + private static class getKeyRecordsOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyRecords_resultStandardScheme getScheme() { - return new selectKeyRecords_resultStandardScheme(); + public getKeyRecordsOrder_resultStandardScheme getScheme() { + return new getKeyRecordsOrder_resultStandardScheme(); } } - private static class selectKeyRecords_resultStandardScheme - extends StandardScheme { + private static class getKeyRecordsOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecords_result struct) + getKeyRecordsOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -223148,28 +361903,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1224 = iprot + org.apache.thrift.protocol.TMap _map2836 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1224.size); - long _key1225; - Set _val1226; - for (int _i1227 = 0; _i1227 < _map1224.size; ++_i1227) { - _key1225 = iprot.readI64(); - { - org.apache.thrift.protocol.TSet _set1228 = iprot - .readSetBegin(); - _val1226 = new LinkedHashSet( - 2 * _set1228.size); - com.cinchapi.concourse.thrift.TObject _elem1229; - for (int _i1230 = 0; _i1230 < _set1228.size; ++_i1230) { - _elem1229 = new com.cinchapi.concourse.thrift.TObject(); - _elem1229.read(iprot); - _val1226.add(_elem1229); - } - iprot.readSetEnd(); - } - struct.success.put(_key1225, _val1226); + struct.success = new LinkedHashMap( + 2 * _map2836.size); + long _key2837; + com.cinchapi.concourse.thrift.TObject _val2838; + for (int _i2839 = 0; _i2839 < _map2836.size; ++_i2839) { + _key2837 = iprot.readI64(); + _val2838 = new com.cinchapi.concourse.thrift.TObject(); + _val2838.read(iprot); + struct.success.put(_key2837, _val2838); } iprot.readMapEnd(); } @@ -223227,7 +361971,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecords_result struct) + getKeyRecordsOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -223237,22 +361981,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry> _iter1231 : struct.success + for (Map.Entry _iter2840 : struct.success .entrySet()) { - oprot.writeI64(_iter1231.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1231.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1232 : _iter1231 - .getValue()) { - _iter1232.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeI64(_iter2840.getKey()); + _iter2840.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -223279,19 +362013,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyRecords_resultTupleSchemeFactory + private static class getKeyRecordsOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyRecords_resultTupleScheme getScheme() { - return new selectKeyRecords_resultTupleScheme(); + public getKeyRecordsOrder_resultTupleScheme getScheme() { + return new getKeyRecordsOrder_resultTupleScheme(); } } - private static class selectKeyRecords_resultTupleScheme - extends TupleScheme { + private static class getKeyRecordsOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecords_result struct) + getKeyRecordsOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -223311,16 +362045,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1233 : struct.success + for (Map.Entry _iter2841 : struct.success .entrySet()) { - oprot.writeI64(_iter1233.getKey()); - { - oprot.writeI32(_iter1233.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1234 : _iter1233 - .getValue()) { - _iter1234.write(oprot); - } - } + oprot.writeI64(_iter2841.getKey()); + _iter2841.getValue().write(oprot); } } } @@ -223337,36 +362065,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecords_result struct) + getKeyRecordsOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1235 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2842 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1235.size); - long _key1236; - Set _val1237; - for (int _i1238 = 0; _i1238 < _map1235.size; ++_i1238) { - _key1236 = iprot.readI64(); - { - org.apache.thrift.protocol.TSet _set1239 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1237 = new LinkedHashSet( - 2 * _set1239.size); - com.cinchapi.concourse.thrift.TObject _elem1240; - for (int _i1241 = 0; _i1241 < _set1239.size; ++_i1241) { - _elem1240 = new com.cinchapi.concourse.thrift.TObject(); - _elem1240.read(iprot); - _val1237.add(_elem1240); - } - } - struct.success.put(_key1236, _val1237); + struct.success = new LinkedHashMap( + 2 * _map2842.size); + long _key2843; + com.cinchapi.concourse.thrift.TObject _val2844; + for (int _i2845 = 0; _i2845 < _map2842.size; ++_i2845) { + _key2843 = iprot.readI64(); + _val2844 = new com.cinchapi.concourse.thrift.TObject(); + _val2844.read(iprot); + struct.success.put(_key2843, _val2844); } } struct.setSuccessIsSet(true); @@ -223391,13 +362108,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyRecordsTime_args implements - org.apache.thrift.TBase, + public static class getKeyRecordsTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecordsTime_args"); + "getKeyRecordsTime_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); @@ -223417,9 +362134,9 @@ public static class selectKeyRecordsTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecordsTime_argsStandardSchemeFactory()); + new getKeyRecordsTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecordsTime_argsTupleSchemeFactory()); + new getKeyRecordsTime_argsTupleSchemeFactory()); } public String key; // required @@ -223553,12 +362270,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecordsTime_args.class, metaDataMap); + getKeyRecordsTime_args.class, metaDataMap); } - public selectKeyRecordsTime_args() {} + public getKeyRecordsTime_args() {} - public selectKeyRecordsTime_args(String key, List records, + public getKeyRecordsTime_args(String key, List records, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { @@ -223575,7 +362292,7 @@ public selectKeyRecordsTime_args(String key, List records, /** * Performs a deep copy on other. */ - public selectKeyRecordsTime_args(selectKeyRecordsTime_args other) { + public getKeyRecordsTime_args(getKeyRecordsTime_args other) { __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; @@ -223598,8 +362315,8 @@ public selectKeyRecordsTime_args(selectKeyRecordsTime_args other) { } } - public selectKeyRecordsTime_args deepCopy() { - return new selectKeyRecordsTime_args(this); + public getKeyRecordsTime_args deepCopy() { + return new getKeyRecordsTime_args(this); } @Override @@ -223617,7 +362334,7 @@ public String getKey() { return this.key; } - public selectKeyRecordsTime_args setKey(String key) { + public getKeyRecordsTime_args setKey(String key) { this.key = key; return this; } @@ -223659,7 +362376,7 @@ public List getRecords() { return this.records; } - public selectKeyRecordsTime_args setRecords(List records) { + public getKeyRecordsTime_args setRecords(List records) { this.records = records; return this; } @@ -223686,7 +362403,7 @@ public long getTimestamp() { return this.timestamp; } - public selectKeyRecordsTime_args setTimestamp(long timestamp) { + public getKeyRecordsTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; @@ -223715,7 +362432,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyRecordsTime_args setCreds( + public getKeyRecordsTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -223743,7 +362460,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyRecordsTime_args setTransaction( + public getKeyRecordsTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -223771,7 +362488,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyRecordsTime_args setEnvironment(String environment) { + public getKeyRecordsTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -223908,12 +362625,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecordsTime_args) - return this.equals((selectKeyRecordsTime_args) that); + if(that instanceof getKeyRecordsTime_args) + return this.equals((getKeyRecordsTime_args) that); return false; } - public boolean equals(selectKeyRecordsTime_args that) { + public boolean equals(getKeyRecordsTime_args that) { if(that == null) return false; @@ -224012,7 +362729,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyRecordsTime_args other) { + public int compareTo(getKeyRecordsTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -224111,7 +362828,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyRecordsTime_args("); + StringBuilder sb = new StringBuilder("getKeyRecordsTime_args("); boolean first = true; sb.append("key:"); @@ -224210,18 +362927,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecordsTime_argsStandardSchemeFactory + private static class getKeyRecordsTime_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyRecordsTime_argsStandardScheme getScheme() { - return new selectKeyRecordsTime_argsStandardScheme(); + public getKeyRecordsTime_argsStandardScheme getScheme() { + return new getKeyRecordsTime_argsStandardScheme(); } } - private static class selectKeyRecordsTime_argsStandardScheme - extends StandardScheme { + private static class getKeyRecordsTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecordsTime_args struct) + getKeyRecordsTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -224244,14 +362961,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1242 = iprot + org.apache.thrift.protocol.TList _list2846 = iprot .readListBegin(); struct.records = new ArrayList( - _list1242.size); - long _elem1243; - for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) { - _elem1243 = iprot.readI64(); - struct.records.add(_elem1243); + _list2846.size); + long _elem2847; + for (int _i2848 = 0; _i2848 < _list2846.size; ++_i2848) { + _elem2847 = iprot.readI64(); + struct.records.add(_elem2847); } iprot.readListEnd(); } @@ -224318,7 +363035,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecordsTime_args struct) + getKeyRecordsTime_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -224335,8 +363052,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter1245 : struct.records) { - oprot.writeI64(_iter1245); + for (long _iter2849 : struct.records) { + oprot.writeI64(_iter2849); } oprot.writeListEnd(); } @@ -224366,19 +363083,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyRecordsTime_argsTupleSchemeFactory + private static class getKeyRecordsTime_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyRecordsTime_argsTupleScheme getScheme() { - return new selectKeyRecordsTime_argsTupleScheme(); + public getKeyRecordsTime_argsTupleScheme getScheme() { + return new getKeyRecordsTime_argsTupleScheme(); } } - private static class selectKeyRecordsTime_argsTupleScheme - extends TupleScheme { + private static class getKeyRecordsTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordsTime_args struct) + getKeyRecordsTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -224407,8 +363124,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter1246 : struct.records) { - oprot.writeI64(_iter1246); + for (long _iter2850 : struct.records) { + oprot.writeI64(_iter2850); } } } @@ -224428,7 +363145,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordsTime_args struct) + getKeyRecordsTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); @@ -224438,14 +363155,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1247 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list2851 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list1247.size); - long _elem1248; - for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) { - _elem1248 = iprot.readI64(); - struct.records.add(_elem1248); + struct.records = new ArrayList(_list2851.size); + long _elem2852; + for (int _i2853 = 0; _i2853 < _list2851.size; ++_i2853) { + _elem2852 = iprot.readI64(); + struct.records.add(_elem2852); } } struct.setRecordsIsSet(true); @@ -224473,13 +363190,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyRecordsTime_result implements - org.apache.thrift.TBase, + public static class getKeyRecordsTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecordsTime_result"); + "getKeyRecordsTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -224493,12 +363210,12 @@ public static class selectKeyRecordsTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecordsTime_resultStandardSchemeFactory()); + new getKeyRecordsTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecordsTime_resultTupleSchemeFactory()); + new getKeyRecordsTime_resultTupleSchemeFactory()); } - public Map> success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -224590,11 +363307,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -224612,13 +363327,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecordsTime_result.class, metaDataMap); + getKeyRecordsTime_result.class, metaDataMap); } - public selectKeyRecordsTime_result() {} + public getKeyRecordsTime_result() {} - public selectKeyRecordsTime_result( - Map> success, + public getKeyRecordsTime_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -224632,26 +363347,21 @@ public selectKeyRecordsTime_result( /** * Performs a deep copy on other. */ - public selectKeyRecordsTime_result(selectKeyRecordsTime_result other) { + public getKeyRecordsTime_result(getKeyRecordsTime_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( - other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -224672,8 +363382,8 @@ public selectKeyRecordsTime_result(selectKeyRecordsTime_result other) { } } - public selectKeyRecordsTime_result deepCopy() { - return new selectKeyRecordsTime_result(this); + public getKeyRecordsTime_result deepCopy() { + return new getKeyRecordsTime_result(this); } @Override @@ -224689,19 +363399,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map getSuccess() { return this.success; } - public selectKeyRecordsTime_result setSuccess( - Map> success) { + public getKeyRecordsTime_result setSuccess( + Map success) { this.success = success; return this; } @@ -224728,7 +363438,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyRecordsTime_result setEx( + public getKeyRecordsTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -224756,7 +363466,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyRecordsTime_result setEx2( + public getKeyRecordsTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -224784,7 +363494,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeyRecordsTime_result setEx3( + public getKeyRecordsTime_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -224816,7 +363526,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map) value); } break; @@ -224894,12 +363604,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecordsTime_result) - return this.equals((selectKeyRecordsTime_result) that); + if(that instanceof getKeyRecordsTime_result) + return this.equals((getKeyRecordsTime_result) that); return false; } - public boolean equals(selectKeyRecordsTime_result that) { + public boolean equals(getKeyRecordsTime_result that) { if(that == null) return false; @@ -224970,7 +363680,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyRecordsTime_result other) { + public int compareTo(getKeyRecordsTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -225045,8 +363755,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeyRecordsTime_result("); + StringBuilder sb = new StringBuilder("getKeyRecordsTime_result("); boolean first = true; sb.append("success:"); @@ -225120,18 +363829,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecordsTime_resultStandardSchemeFactory + private static class getKeyRecordsTime_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyRecordsTime_resultStandardScheme getScheme() { - return new selectKeyRecordsTime_resultStandardScheme(); + public getKeyRecordsTime_resultStandardScheme getScheme() { + return new getKeyRecordsTime_resultStandardScheme(); } } - private static class selectKeyRecordsTime_resultStandardScheme - extends StandardScheme { + private static class getKeyRecordsTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecordsTime_result struct) + getKeyRecordsTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -225144,28 +363853,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1250 = iprot + org.apache.thrift.protocol.TMap _map2854 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1250.size); - long _key1251; - Set _val1252; - for (int _i1253 = 0; _i1253 < _map1250.size; ++_i1253) { - _key1251 = iprot.readI64(); - { - org.apache.thrift.protocol.TSet _set1254 = iprot - .readSetBegin(); - _val1252 = new LinkedHashSet( - 2 * _set1254.size); - com.cinchapi.concourse.thrift.TObject _elem1255; - for (int _i1256 = 0; _i1256 < _set1254.size; ++_i1256) { - _elem1255 = new com.cinchapi.concourse.thrift.TObject(); - _elem1255.read(iprot); - _val1252.add(_elem1255); - } - iprot.readSetEnd(); - } - struct.success.put(_key1251, _val1252); + struct.success = new LinkedHashMap( + 2 * _map2854.size); + long _key2855; + com.cinchapi.concourse.thrift.TObject _val2856; + for (int _i2857 = 0; _i2857 < _map2854.size; ++_i2857) { + _key2855 = iprot.readI64(); + _val2856 = new com.cinchapi.concourse.thrift.TObject(); + _val2856.read(iprot); + struct.success.put(_key2855, _val2856); } iprot.readMapEnd(); } @@ -225223,7 +363921,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecordsTime_result struct) + getKeyRecordsTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -225233,22 +363931,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry> _iter1257 : struct.success + for (Map.Entry _iter2858 : struct.success .entrySet()) { - oprot.writeI64(_iter1257.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1257.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1258 : _iter1257 - .getValue()) { - _iter1258.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeI64(_iter2858.getKey()); + _iter2858.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -225275,19 +363963,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyRecordsTime_resultTupleSchemeFactory + private static class getKeyRecordsTime_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyRecordsTime_resultTupleScheme getScheme() { - return new selectKeyRecordsTime_resultTupleScheme(); + public getKeyRecordsTime_resultTupleScheme getScheme() { + return new getKeyRecordsTime_resultTupleScheme(); } } - private static class selectKeyRecordsTime_resultTupleScheme - extends TupleScheme { + private static class getKeyRecordsTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordsTime_result struct) + getKeyRecordsTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -225307,16 +363995,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1259 : struct.success + for (Map.Entry _iter2859 : struct.success .entrySet()) { - oprot.writeI64(_iter1259.getKey()); - { - oprot.writeI32(_iter1259.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1260 : _iter1259 - .getValue()) { - _iter1260.write(oprot); - } - } + oprot.writeI64(_iter2859.getKey()); + _iter2859.getValue().write(oprot); } } } @@ -225333,36 +364015,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordsTime_result struct) + getKeyRecordsTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1261 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2860 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1261.size); - long _key1262; - Set _val1263; - for (int _i1264 = 0; _i1264 < _map1261.size; ++_i1264) { - _key1262 = iprot.readI64(); - { - org.apache.thrift.protocol.TSet _set1265 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1263 = new LinkedHashSet( - 2 * _set1265.size); - com.cinchapi.concourse.thrift.TObject _elem1266; - for (int _i1267 = 0; _i1267 < _set1265.size; ++_i1267) { - _elem1266 = new com.cinchapi.concourse.thrift.TObject(); - _elem1266.read(iprot); - _val1263.add(_elem1266); - } - } - struct.success.put(_key1262, _val1263); + struct.success = new LinkedHashMap( + 2 * _map2860.size); + long _key2861; + com.cinchapi.concourse.thrift.TObject _val2862; + for (int _i2863 = 0; _i2863 < _map2860.size; ++_i2863) { + _key2861 = iprot.readI64(); + _val2862 = new com.cinchapi.concourse.thrift.TObject(); + _val2862.read(iprot); + struct.success.put(_key2861, _val2862); } } struct.setSuccessIsSet(true); @@ -225387,41 +364058,43 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyRecordsTimestr_args implements - org.apache.thrift.TBase, + public static class getKeyRecordsTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecordsTimestr_args"); + "getKeyRecordsTimeOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecordsTimestr_argsStandardSchemeFactory()); + new getKeyRecordsTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecordsTimestr_argsTupleSchemeFactory()); + new getKeyRecordsTimeOrder_argsTupleSchemeFactory()); } public String key; // required public List records; // required - public String timestamp; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -225434,9 +364107,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), RECORDS((short) 2, "records"), TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -225458,11 +364132,13 @@ public static _Fields findByThriftId(int fieldId) { return RECORDS; case 3: // TIMESTAMP return TIMESTAMP; - case 4: // CREDS + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 5: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -225508,6 +364184,8 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -225528,7 +364206,13 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -225548,13 +364232,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecordsTimestr_args.class, metaDataMap); + getKeyRecordsTimeOrder_args.class, metaDataMap); } - public selectKeyRecordsTimestr_args() {} + public getKeyRecordsTimeOrder_args() {} - public selectKeyRecordsTimestr_args(String key, List records, - String timestamp, + public getKeyRecordsTimeOrder_args(String key, List records, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { @@ -225562,6 +364246,8 @@ public selectKeyRecordsTimestr_args(String key, List records, this.key = key; this.records = records; this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -225570,8 +364256,8 @@ public selectKeyRecordsTimestr_args(String key, List records, /** * Performs a deep copy on other. */ - public selectKeyRecordsTimestr_args( - selectKeyRecordsTimestr_args other) { + public getKeyRecordsTimeOrder_args(getKeyRecordsTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } @@ -225579,8 +364265,10 @@ public selectKeyRecordsTimestr_args( List __this__records = new ArrayList(other.records); this.records = __this__records; } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -225595,15 +364283,17 @@ public selectKeyRecordsTimestr_args( } } - public selectKeyRecordsTimestr_args deepCopy() { - return new selectKeyRecordsTimestr_args(this); + public getKeyRecordsTimeOrder_args deepCopy() { + return new getKeyRecordsTimeOrder_args(this); } @Override public void clear() { this.key = null; this.records = null; - this.timestamp = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -225613,7 +364303,7 @@ public String getKey() { return this.key; } - public selectKeyRecordsTimestr_args setKey(String key) { + public getKeyRecordsTimeOrder_args setKey(String key) { this.key = key; return this; } @@ -225655,7 +364345,7 @@ public List getRecords() { return this.records; } - public selectKeyRecordsTimestr_args setRecords(List records) { + public getKeyRecordsTimeOrder_args setRecords(List records) { this.records = records; return this; } @@ -225678,17 +364368,19 @@ public void setRecordsIsSet(boolean value) { } } - public String getTimestamp() { + public long getTimestamp() { return this.timestamp; } - public selectKeyRecordsTimestr_args setTimestamp(String timestamp) { + public getKeyRecordsTimeOrder_args setTimestamp(long timestamp) { this.timestamp = timestamp; + setTimestampIsSet(true); return this; } public void unsetTimestamp() { - this.timestamp = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** @@ -225696,12 +364388,40 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return this.timestamp != null; + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeyRecordsTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { if(!value) { - this.timestamp = null; + this.order = null; } } @@ -225709,7 +364429,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyRecordsTimestr_args setCreds( + public getKeyRecordsTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -225737,7 +364457,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyRecordsTimestr_args setTransaction( + public getKeyRecordsTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -225765,7 +364485,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyRecordsTimestr_args setEnvironment(String environment) { + public getKeyRecordsTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -225813,7 +364533,16 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((String) value); + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -225859,6 +364588,9 @@ public Object getFieldValue(_Fields field) { case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -225888,6 +364620,8 @@ public boolean isSet(_Fields field) { return isSetRecords(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -225902,12 +364636,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecordsTimestr_args) - return this.equals((selectKeyRecordsTimestr_args) that); + if(that instanceof getKeyRecordsTimeOrder_args) + return this.equals((getKeyRecordsTimeOrder_args) that); return false; } - public boolean equals(selectKeyRecordsTimestr_args that) { + public boolean equals(getKeyRecordsTimeOrder_args that) { if(that == null) return false; @@ -225929,12 +364663,21 @@ public boolean equals(selectKeyRecordsTimestr_args that) { return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -225982,11 +364725,16 @@ public int hashCode() { if(present_records) list.add(records); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -226006,7 +364754,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyRecordsTimestr_args other) { + public int compareTo(getKeyRecordsTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -226050,6 +364798,18 @@ public int compareTo(selectKeyRecordsTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -226106,7 +364866,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "selectKeyRecordsTimestr_args("); + "getKeyRecordsTimeOrder_args("); boolean first = true; sb.append("key:"); @@ -226130,11 +364890,16 @@ public String toString() { if(!first) sb.append(", "); sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.order); } first = false; if(!first) @@ -226174,6 +364939,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -226197,6 +364965,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -226206,18 +364978,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecordsTimestr_argsStandardSchemeFactory + private static class getKeyRecordsTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyRecordsTimestr_argsStandardScheme getScheme() { - return new selectKeyRecordsTimestr_argsStandardScheme(); + public getKeyRecordsTimeOrder_argsStandardScheme getScheme() { + return new getKeyRecordsTimeOrder_argsStandardScheme(); } } - private static class selectKeyRecordsTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeyRecordsTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecordsTimestr_args struct) + getKeyRecordsTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -226240,14 +365012,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1268 = iprot + org.apache.thrift.protocol.TList _list2864 = iprot .readListBegin(); struct.records = new ArrayList( - _list1268.size); - long _elem1269; - for (int _i1270 = 0; _i1270 < _list1268.size; ++_i1270) { - _elem1269 = iprot.readI64(); - struct.records.add(_elem1269); + _list2864.size); + long _elem2865; + for (int _i2866 = 0; _i2866 < _list2864.size; ++_i2866) { + _elem2865 = iprot.readI64(); + struct.records.add(_elem2865); } iprot.readListEnd(); } @@ -226259,8 +365031,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { @@ -226268,7 +365040,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -226279,7 +365062,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -226290,7 +365073,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -226314,7 +365097,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecordsTimestr_args struct) + getKeyRecordsTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -226331,16 +365114,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter1271 : struct.records) { - oprot.writeI64(_iter1271); + for (long _iter2867 : struct.records) { + oprot.writeI64(_iter2867); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -226364,19 +365150,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyRecordsTimestr_argsTupleSchemeFactory + private static class getKeyRecordsTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyRecordsTimestr_argsTupleScheme getScheme() { - return new selectKeyRecordsTimestr_argsTupleScheme(); + public getKeyRecordsTimeOrder_argsTupleScheme getScheme() { + return new getKeyRecordsTimeOrder_argsTupleScheme(); } } - private static class selectKeyRecordsTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeyRecordsTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordsTimestr_args struct) + getKeyRecordsTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -226389,29 +365175,35 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); if(struct.isSetKey()) { oprot.writeString(struct.key); } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter1272 : struct.records) { - oprot.writeI64(_iter1272); + for (long _iter2868 : struct.records) { + oprot.writeI64(_iter2868); } } } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -226426,43 +365218,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordsTimestr_args struct) + getKeyRecordsTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1273 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list2869 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list1273.size); - long _elem1274; - for (int _i1275 = 0; _i1275 < _list1273.size; ++_i1275) { - _elem1274 = iprot.readI64(); - struct.records.add(_elem1274); + struct.records = new ArrayList(_list2869.size); + long _elem2870; + for (int _i2871 = 0; _i2871 < _list2869.size; ++_i2871) { + _elem2870 = iprot.readI64(); + struct.records.add(_elem2870); } } struct.setRecordsIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readString(); + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -226471,13 +365268,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyRecordsTimestr_result implements - org.apache.thrift.TBase, + public static class getKeyRecordsTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyRecordsTimestr_result"); + "getKeyRecordsTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -226487,22 +365284,19 @@ public static class selectKeyRecordsTimestr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyRecordsTimestr_resultStandardSchemeFactory()); + new getKeyRecordsTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyRecordsTimestr_resultTupleSchemeFactory()); + new getKeyRecordsTimeOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -226512,8 +365306,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -226537,8 +365330,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -226594,11 +365385,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -226614,56 +365403,44 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyRecordsTimestr_result.class, metaDataMap); + getKeyRecordsTimeOrder_result.class, metaDataMap); } - public selectKeyRecordsTimestr_result() {} + public getKeyRecordsTimeOrder_result() {} - public selectKeyRecordsTimestr_result( - Map> success, + public getKeyRecordsTimeOrder_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeyRecordsTimestr_result( - selectKeyRecordsTimestr_result other) { + public getKeyRecordsTimeOrder_result( + getKeyRecordsTimeOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( - other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -226679,17 +365456,13 @@ public selectKeyRecordsTimestr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public selectKeyRecordsTimestr_result deepCopy() { - return new selectKeyRecordsTimestr_result(this); + public getKeyRecordsTimeOrder_result deepCopy() { + return new getKeyRecordsTimeOrder_result(this); } @Override @@ -226698,7 +365471,6 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { @@ -226706,19 +365478,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map getSuccess() { return this.success; } - public selectKeyRecordsTimestr_result setSuccess( - Map> success) { + public getKeyRecordsTimeOrder_result setSuccess( + Map success) { this.success = success; return this; } @@ -226745,7 +365517,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyRecordsTimestr_result setEx( + public getKeyRecordsTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -226773,7 +365545,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyRecordsTimestr_result setEx2( + public getKeyRecordsTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -226797,12 +365569,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeyRecordsTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getKeyRecordsTimeOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -226825,34 +365597,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public selectKeyRecordsTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -226861,7 +365605,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map) value); } break; @@ -226888,16 +365632,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -226918,9 +365653,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -226943,8 +365675,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -226953,12 +365683,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyRecordsTimestr_result) - return this.equals((selectKeyRecordsTimestr_result) that); + if(that instanceof getKeyRecordsTimeOrder_result) + return this.equals((getKeyRecordsTimeOrder_result) that); return false; } - public boolean equals(selectKeyRecordsTimestr_result that) { + public boolean equals(getKeyRecordsTimeOrder_result that) { if(that == null) return false; @@ -226998,15 +365728,6 @@ public boolean equals(selectKeyRecordsTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -227034,16 +365755,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(selectKeyRecordsTimestr_result other) { + public int compareTo(getKeyRecordsTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -227099,18 +365815,6 @@ public int compareTo(selectKeyRecordsTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -227131,7 +365835,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "selectKeyRecordsTimestr_result("); + "getKeyRecordsTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -227172,16 +365876,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -227215,18 +365909,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyRecordsTimestr_resultStandardSchemeFactory + private static class getKeyRecordsTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyRecordsTimestr_resultStandardScheme getScheme() { - return new selectKeyRecordsTimestr_resultStandardScheme(); + public getKeyRecordsTimeOrder_resultStandardScheme getScheme() { + return new getKeyRecordsTimeOrder_resultStandardScheme(); } } - private static class selectKeyRecordsTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeyRecordsTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyRecordsTimestr_result struct) + getKeyRecordsTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -227239,28 +365933,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1276 = iprot + org.apache.thrift.protocol.TMap _map2872 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1276.size); - long _key1277; - Set _val1278; - for (int _i1279 = 0; _i1279 < _map1276.size; ++_i1279) { - _key1277 = iprot.readI64(); - { - org.apache.thrift.protocol.TSet _set1280 = iprot - .readSetBegin(); - _val1278 = new LinkedHashSet( - 2 * _set1280.size); - com.cinchapi.concourse.thrift.TObject _elem1281; - for (int _i1282 = 0; _i1282 < _set1280.size; ++_i1282) { - _elem1281 = new com.cinchapi.concourse.thrift.TObject(); - _elem1281.read(iprot); - _val1278.add(_elem1281); - } - iprot.readSetEnd(); - } - struct.success.put(_key1277, _val1278); + struct.success = new LinkedHashMap( + 2 * _map2872.size); + long _key2873; + com.cinchapi.concourse.thrift.TObject _val2874; + for (int _i2875 = 0; _i2875 < _map2872.size; ++_i2875) { + _key2873 = iprot.readI64(); + _val2874 = new com.cinchapi.concourse.thrift.TObject(); + _val2874.read(iprot); + struct.success.put(_key2873, _val2874); } iprot.readMapEnd(); } @@ -227295,7 +365978,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -227304,17 +365987,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -227329,7 +366001,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyRecordsTimestr_result struct) + getKeyRecordsTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -227339,22 +366011,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry> _iter1283 : struct.success + for (Map.Entry _iter2876 : struct.success .entrySet()) { - oprot.writeI64(_iter1283.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1283.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1284 : _iter1283 - .getValue()) { - _iter1284.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeI64(_iter2876.getKey()); + _iter2876.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -227375,30 +366037,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeyRecordsTimestr_resultTupleSchemeFactory + private static class getKeyRecordsTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyRecordsTimestr_resultTupleScheme getScheme() { - return new selectKeyRecordsTimestr_resultTupleScheme(); + public getKeyRecordsTimeOrder_resultTupleScheme getScheme() { + return new getKeyRecordsTimeOrder_resultTupleScheme(); } } - private static class selectKeyRecordsTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeyRecordsTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordsTimestr_result struct) + getKeyRecordsTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -227414,23 +366071,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1285 : struct.success + for (Map.Entry _iter2877 : struct.success .entrySet()) { - oprot.writeI64(_iter1285.getKey()); - { - oprot.writeI32(_iter1285.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1286 : _iter1285 - .getValue()) { - _iter1286.write(oprot); - } - } + oprot.writeI64(_iter2877.getKey()); + _iter2877.getValue().write(oprot); } } } @@ -227443,43 +366091,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyRecordsTimestr_result struct) + getKeyRecordsTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1287 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2878 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1287.size); - long _key1288; - Set _val1289; - for (int _i1290 = 0; _i1290 < _map1287.size; ++_i1290) { - _key1288 = iprot.readI64(); - { - org.apache.thrift.protocol.TSet _set1291 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1289 = new LinkedHashSet( - 2 * _set1291.size); - com.cinchapi.concourse.thrift.TObject _elem1292; - for (int _i1293 = 0; _i1293 < _set1291.size; ++_i1293) { - _elem1292 = new com.cinchapi.concourse.thrift.TObject(); - _elem1292.read(iprot); - _val1289.add(_elem1292); - } - } - struct.success.put(_key1288, _val1289); + struct.success = new LinkedHashMap( + 2 * _map2878.size); + long _key2879; + com.cinchapi.concourse.thrift.TObject _val2880; + for (int _i2881 = 0; _i2881 < _map2878.size; ++_i2881) { + _key2879 = iprot.readI64(); + _val2880 = new com.cinchapi.concourse.thrift.TObject(); + _val2880.read(iprot); + struct.success.put(_key2879, _val2880); } } struct.setSuccessIsSet(true); @@ -227495,34 +366129,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class selectKeysRecordsTime_args implements - org.apache.thrift.TBase, + public static class getKeyRecordsTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecordsTime_args"); + "getKeyRecordsTimestr_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -227535,14 +366165,14 @@ public static class selectKeysRecordsTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecordsTime_argsStandardSchemeFactory()); + new getKeyRecordsTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecordsTime_argsTupleSchemeFactory()); + new getKeyRecordsTimestr_argsTupleSchemeFactory()); } - public List keys; // required + public String key; // required public List records; // required - public long timestamp; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -227552,7 +366182,7 @@ public static class selectKeysRecordsTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), + KEY((short) 1, "key"), RECORDS((short) 2, "records"), TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), @@ -227573,8 +366203,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; + case 1: // KEY + return KEY; case 2: // RECORDS return RECORDS; case 3: // TIMESTAMP @@ -227629,19 +366259,15 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.RECORDS, new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -227653,7 +366279,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -227673,20 +366299,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecordsTime_args.class, metaDataMap); + getKeyRecordsTimestr_args.class, metaDataMap); } - public selectKeysRecordsTime_args() {} + public getKeyRecordsTimestr_args() {} - public selectKeysRecordsTime_args(List keys, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public getKeyRecordsTimestr_args(String key, List records, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; + this.key = key; this.records = records; this.timestamp = timestamp; - setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -227695,17 +366321,17 @@ public selectKeysRecordsTime_args(List keys, List records, /** * Performs a deep copy on other. */ - public selectKeysRecordsTime_args(selectKeysRecordsTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public getKeyRecordsTimestr_args(getKeyRecordsTimestr_args other) { + if(other.isSetKey()) { + this.key = other.key; } if(other.isSetRecords()) { List __this__records = new ArrayList(other.records); this.records = __this__records; } - this.timestamp = other.timestamp; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -227719,60 +366345,44 @@ public selectKeysRecordsTime_args(selectKeysRecordsTime_args other) { } } - public selectKeysRecordsTime_args deepCopy() { - return new selectKeysRecordsTime_args(this); + public getKeyRecordsTimestr_args deepCopy() { + return new getKeyRecordsTimestr_args(this); } @Override public void clear() { - this.keys = null; + this.key = null; this.records = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; + public String getKey() { + return this.key; } - public selectKeysRecordsTime_args setKeys(List keys) { - this.keys = keys; + public getKeyRecordsTimestr_args setKey(String key) { + this.key = key; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetKey() { + return this.key != null; } - public void setKeysIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.keys = null; + this.key = null; } } @@ -227795,7 +366405,7 @@ public List getRecords() { return this.records; } - public selectKeysRecordsTime_args setRecords(List records) { + public getKeyRecordsTimestr_args setRecords(List records) { this.records = records; return this; } @@ -227818,19 +366428,17 @@ public void setRecordsIsSet(boolean value) { } } - public long getTimestamp() { + public String getTimestamp() { return this.timestamp; } - public selectKeysRecordsTime_args setTimestamp(long timestamp) { + public getKeyRecordsTimestr_args setTimestamp(String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -227838,20 +366446,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysRecordsTime_args setCreds( + public getKeyRecordsTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -227879,7 +366487,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysRecordsTime_args setTransaction( + public getKeyRecordsTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -227907,7 +366515,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysRecordsTime_args setEnvironment(String environment) { + public getKeyRecordsTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -227932,12 +366540,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); } break; @@ -227955,7 +366563,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); } break; @@ -227992,8 +366600,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); case RECORDS: return getRecords(); @@ -228024,8 +366632,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); + case KEY: + return isSetKey(); case RECORDS: return isSetRecords(); case TIMESTAMP: @@ -228044,21 +366652,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecordsTime_args) - return this.equals((selectKeysRecordsTime_args) that); + if(that instanceof getKeyRecordsTimestr_args) + return this.equals((getKeyRecordsTimestr_args) that); return false; } - public boolean equals(selectKeysRecordsTime_args that) { + public boolean equals(getKeyRecordsTimestr_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) return false; } @@ -228071,12 +366679,12 @@ public boolean equals(selectKeysRecordsTime_args that) { return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -228114,17 +366722,17 @@ public boolean equals(selectKeysRecordsTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); boolean present_records = true && (isSetRecords()); list.add(present_records); if(present_records) list.add(records); - boolean present_timestamp = true; + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -228148,7 +366756,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysRecordsTime_args other) { + public int compareTo(getKeyRecordsTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -228156,14 +366764,14 @@ public int compareTo(selectKeysRecordsTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } @@ -228247,15 +366855,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysRecordsTime_args("); + StringBuilder sb = new StringBuilder("getKeyRecordsTimestr_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; if(!first) @@ -228271,7 +366879,12 @@ public String toString() { if(!first) sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -228333,10 +366946,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -228346,18 +366955,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecordsTime_argsStandardSchemeFactory + private static class getKeyRecordsTimestr_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysRecordsTime_argsStandardScheme getScheme() { - return new selectKeysRecordsTime_argsStandardScheme(); + public getKeyRecordsTimestr_argsStandardScheme getScheme() { + return new getKeyRecordsTimestr_argsStandardScheme(); } } - private static class selectKeysRecordsTime_argsStandardScheme - extends StandardScheme { + private static class getKeyRecordsTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecordsTime_args struct) + getKeyRecordsTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -228367,21 +366976,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1294 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1294.size); - String _elem1295; - for (int _i1296 = 0; _i1296 < _list1294.size; ++_i1296) { - _elem1295 = iprot.readString(); - struct.keys.add(_elem1295); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -228391,14 +366989,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1297 = iprot + org.apache.thrift.protocol.TList _list2882 = iprot .readListBegin(); struct.records = new ArrayList( - _list1297.size); - long _elem1298; - for (int _i1299 = 0; _i1299 < _list1297.size; ++_i1299) { - _elem1298 = iprot.readI64(); - struct.records.add(_elem1298); + _list2882.size); + long _elem2883; + for (int _i2884 = 0; _i2884 < _list2882.size; ++_i2884) { + _elem2883 = iprot.readI64(); + struct.records.add(_elem2883); } iprot.readListEnd(); } @@ -228410,8 +367008,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -228465,23 +367063,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecordsTime_args struct) + getKeyRecordsTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1300 : struct.keys) { - oprot.writeString(_iter1300); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } if(struct.records != null) { @@ -228491,16 +367080,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter1301 : struct.records) { - oprot.writeI64(_iter1301); + for (long _iter2885 : struct.records) { + oprot.writeI64(_iter2885); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -228522,23 +367113,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysRecordsTime_argsTupleSchemeFactory + private static class getKeyRecordsTimestr_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysRecordsTime_argsTupleScheme getScheme() { - return new selectKeysRecordsTime_argsTupleScheme(); + public getKeyRecordsTimestr_argsTupleScheme getScheme() { + return new getKeyRecordsTimestr_argsTupleScheme(); } } - private static class selectKeysRecordsTime_argsTupleScheme - extends TupleScheme { + private static class getKeyRecordsTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordsTime_args struct) + getKeyRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } if(struct.isSetRecords()) { @@ -228557,24 +367148,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1302 : struct.keys) { - oprot.writeString(_iter1302); - } - } + if(struct.isSetKey()) { + oprot.writeString(struct.key); } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter1303 : struct.records) { - oprot.writeI64(_iter1303); + for (long _iter2886 : struct.records) { + oprot.writeI64(_iter2886); } } } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -228589,40 +367175,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordsTime_args struct) + getKeyRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1304 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1304.size); - String _elem1305; - for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) { - _elem1305 = iprot.readString(); - struct.keys.add(_elem1305); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1307 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list2887 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list1307.size); - long _elem1308; - for (int _i1309 = 0; _i1309 < _list1307.size; ++_i1309) { - _elem1308 = iprot.readI64(); - struct.records.add(_elem1308); + struct.records = new ArrayList(_list2887.size); + long _elem2888; + for (int _i2889 = 0; _i2889 < _list2887.size; ++_i2889) { + _elem2888 = iprot.readI64(); + struct.records.add(_elem2888); } } struct.setRecordsIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } if(incoming.get(3)) { @@ -228644,13 +367220,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysRecordsTime_result implements - org.apache.thrift.TBase, + public static class getKeyRecordsTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecordsTime_result"); + "getKeyRecordsTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -228660,19 +367236,22 @@ public static class selectKeysRecordsTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecordsTime_resultStandardSchemeFactory()); + new getKeyRecordsTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecordsTime_resultTupleSchemeFactory()); + new getKeyRecordsTimestr_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -228682,7 +367261,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -228706,6 +367286,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -228761,15 +367343,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -228785,66 +367361,50 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecordsTime_result.class, metaDataMap); + getKeyRecordsTimestr_result.class, metaDataMap); } - public selectKeysRecordsTime_result() {} + public getKeyRecordsTimestr_result() {} - public selectKeysRecordsTime_result( - Map>> success, + public getKeyRecordsTimestr_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeysRecordsTime_result( - selectKeysRecordsTime_result other) { + public getKeyRecordsTimestr_result(getKeyRecordsTimestr_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( - other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -228860,13 +367420,17 @@ public selectKeysRecordsTime_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public selectKeysRecordsTime_result deepCopy() { - return new selectKeysRecordsTime_result(this); + public getKeyRecordsTimestr_result deepCopy() { + return new getKeyRecordsTimestr_result(this); } @Override @@ -228875,6 +367439,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -228882,19 +367447,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map getSuccess() { return this.success; } - public selectKeysRecordsTime_result setSuccess( - Map>> success) { + public getKeyRecordsTimestr_result setSuccess( + Map success) { this.success = success; return this; } @@ -228921,7 +367486,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysRecordsTime_result setEx( + public getKeyRecordsTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -228949,7 +367514,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysRecordsTime_result setEx2( + public getKeyRecordsTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -228973,12 +367538,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeysRecordsTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeyRecordsTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -229001,6 +367566,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeyRecordsTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -229009,7 +367602,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map) value); } break; @@ -229036,7 +367629,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -229057,6 +367659,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -229079,6 +367684,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -229087,12 +367694,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecordsTime_result) - return this.equals((selectKeysRecordsTime_result) that); + if(that instanceof getKeyRecordsTimestr_result) + return this.equals((getKeyRecordsTimestr_result) that); return false; } - public boolean equals(selectKeysRecordsTime_result that) { + public boolean equals(getKeyRecordsTimestr_result that) { if(that == null) return false; @@ -229132,6 +367739,15 @@ public boolean equals(selectKeysRecordsTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -229159,11 +367775,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(selectKeysRecordsTime_result other) { + public int compareTo(getKeyRecordsTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -229219,6 +367840,18 @@ public int compareTo(selectKeysRecordsTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -229239,7 +367872,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "selectKeysRecordsTime_result("); + "getKeyRecordsTimestr_result("); boolean first = true; sb.append("success:"); @@ -229280,6 +367913,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -229313,18 +367956,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecordsTime_resultStandardSchemeFactory + private static class getKeyRecordsTimestr_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysRecordsTime_resultStandardScheme getScheme() { - return new selectKeysRecordsTime_resultStandardScheme(); + public getKeyRecordsTimestr_resultStandardScheme getScheme() { + return new getKeyRecordsTimestr_resultStandardScheme(); } } - private static class selectKeysRecordsTime_resultStandardScheme - extends StandardScheme { + private static class getKeyRecordsTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecordsTime_result struct) + getKeyRecordsTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -229337,41 +367980,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1310 = iprot + org.apache.thrift.protocol.TMap _map2890 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1310.size); - long _key1311; - Map> _val1312; - for (int _i1313 = 0; _i1313 < _map1310.size; ++_i1313) { - _key1311 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1314 = iprot - .readMapBegin(); - _val1312 = new LinkedHashMap>( - 2 * _map1314.size); - String _key1315; - Set _val1316; - for (int _i1317 = 0; _i1317 < _map1314.size; ++_i1317) { - _key1315 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1318 = iprot - .readSetBegin(); - _val1316 = new LinkedHashSet( - 2 * _set1318.size); - com.cinchapi.concourse.thrift.TObject _elem1319; - for (int _i1320 = 0; _i1320 < _set1318.size; ++_i1320) { - _elem1319 = new com.cinchapi.concourse.thrift.TObject(); - _elem1319.read(iprot); - _val1316.add(_elem1319); - } - iprot.readSetEnd(); - } - _val1312.put(_key1315, _val1316); - } - iprot.readMapEnd(); - } - struct.success.put(_key1311, _val1312); + struct.success = new LinkedHashMap( + 2 * _map2890.size); + long _key2891; + com.cinchapi.concourse.thrift.TObject _val2892; + for (int _i2893 = 0; _i2893 < _map2890.size; ++_i2893) { + _key2891 = iprot.readI64(); + _val2892 = new com.cinchapi.concourse.thrift.TObject(); + _val2892.read(iprot); + struct.success.put(_key2891, _val2892); } iprot.readMapEnd(); } @@ -229406,7 +368025,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -229415,6 +368034,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -229429,7 +368059,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecordsTime_result struct) + getKeyRecordsTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -229439,35 +368069,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry>> _iter1321 : struct.success + for (Map.Entry _iter2894 : struct.success .entrySet()) { - oprot.writeI64(_iter1321.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1321.getValue().size())); - for (Map.Entry> _iter1322 : _iter1321 - .getValue().entrySet()) { - oprot.writeString(_iter1322.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1322.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1323 : _iter1322 - .getValue()) { - _iter1323.write(oprot); - } - oprot.writeSetEnd(); - } - } - oprot.writeMapEnd(); - } + oprot.writeI64(_iter2894.getKey()); + _iter2894.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -229488,25 +368095,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeysRecordsTime_resultTupleSchemeFactory + private static class getKeyRecordsTimestr_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysRecordsTime_resultTupleScheme getScheme() { - return new selectKeysRecordsTime_resultTupleScheme(); + public getKeyRecordsTimestr_resultTupleScheme getScheme() { + return new getKeyRecordsTimestr_resultTupleScheme(); } } - private static class selectKeysRecordsTime_resultTupleScheme - extends TupleScheme { + private static class getKeyRecordsTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordsTime_result struct) + getKeyRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -229522,28 +368134,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1324 : struct.success + for (Map.Entry _iter2895 : struct.success .entrySet()) { - oprot.writeI64(_iter1324.getKey()); - { - oprot.writeI32(_iter1324.getValue().size()); - for (Map.Entry> _iter1325 : _iter1324 - .getValue().entrySet()) { - oprot.writeString(_iter1325.getKey()); - { - oprot.writeI32( - _iter1325.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1326 : _iter1325 - .getValue()) { - _iter1326.write(oprot); - } - } - } - } + oprot.writeI64(_iter2895.getKey()); + _iter2895.getValue().write(oprot); } } } @@ -229556,54 +368157,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordsTime_result struct) + getKeyRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1327 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2896 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1327.size); - long _key1328; - Map> _val1329; - for (int _i1330 = 0; _i1330 < _map1327.size; ++_i1330) { - _key1328 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1331 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - iprot.readI32()); - _val1329 = new LinkedHashMap>( - 2 * _map1331.size); - String _key1332; - Set _val1333; - for (int _i1334 = 0; _i1334 < _map1331.size; ++_i1334) { - _key1332 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1335 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1333 = new LinkedHashSet( - 2 * _set1335.size); - com.cinchapi.concourse.thrift.TObject _elem1336; - for (int _i1337 = 0; _i1337 < _set1335.size; ++_i1337) { - _elem1336 = new com.cinchapi.concourse.thrift.TObject(); - _elem1336.read(iprot); - _val1333.add(_elem1336); - } - } - _val1329.put(_key1332, _val1333); - } - } - struct.success.put(_key1328, _val1329); + struct.success = new LinkedHashMap( + 2 * _map2896.size); + long _key2897; + com.cinchapi.concourse.thrift.TObject _val2898; + for (int _i2899 = 0; _i2899 < _map2896.size; ++_i2899) { + _key2897 = iprot.readI64(); + _val2898 = new com.cinchapi.concourse.thrift.TObject(); + _val2898.read(iprot); + struct.success.put(_key2897, _val2898); } } struct.setSuccessIsSet(true); @@ -229619,50 +368198,58 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectKeysRecordsTimestr_args implements - org.apache.thrift.TBase, + public static class getKeyRecordsTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecordsTimestr_args"); + "getKeyRecordsTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecordsTimestr_argsStandardSchemeFactory()); + new getKeyRecordsTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecordsTimestr_argsTupleSchemeFactory()); + new getKeyRecordsTimestrOrder_argsTupleSchemeFactory()); } - public List keys; // required + public String key; // required public List records; // required public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -229672,12 +368259,13 @@ public static class selectKeysRecordsTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), + KEY((short) 1, "key"), RECORDS((short) 2, "records"), TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -229693,17 +368281,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; + case 1: // KEY + return KEY; case 2: // RECORDS return RECORDS; case 3: // TIMESTAMP return TIMESTAMP; - case 4: // CREDS + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 5: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -229753,13 +368343,11 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.RECORDS, new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -229772,6 +368360,12 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -229791,20 +368385,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecordsTimestr_args.class, metaDataMap); + getKeyRecordsTimestrOrder_args.class, metaDataMap); } - public selectKeysRecordsTimestr_args() {} + public getKeyRecordsTimestrOrder_args() {} - public selectKeysRecordsTimestr_args(List keys, - List records, String timestamp, + public getKeyRecordsTimestrOrder_args(String key, List records, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; + this.key = key; this.records = records; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -229813,11 +368408,10 @@ public selectKeysRecordsTimestr_args(List keys, /** * Performs a deep copy on other. */ - public selectKeysRecordsTimestr_args( - selectKeysRecordsTimestr_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public getKeyRecordsTimestrOrder_args( + getKeyRecordsTimestrOrder_args other) { + if(other.isSetKey()) { + this.key = other.key; } if(other.isSetRecords()) { List __this__records = new ArrayList(other.records); @@ -229826,6 +368420,10 @@ public selectKeysRecordsTimestr_args( if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -229839,59 +368437,45 @@ public selectKeysRecordsTimestr_args( } } - public selectKeysRecordsTimestr_args deepCopy() { - return new selectKeysRecordsTimestr_args(this); + public getKeyRecordsTimestrOrder_args deepCopy() { + return new getKeyRecordsTimestrOrder_args(this); } @Override public void clear() { - this.keys = null; + this.key = null; this.records = null; this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; + public String getKey() { + return this.key; } - public selectKeysRecordsTimestr_args setKeys(List keys) { - this.keys = keys; + public getKeyRecordsTimestrOrder_args setKey(String key) { + this.key = key; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetKey() { + return this.key != null; } - public void setKeysIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.keys = null; + this.key = null; } } @@ -229914,7 +368498,7 @@ public List getRecords() { return this.records; } - public selectKeysRecordsTimestr_args setRecords(List records) { + public getKeyRecordsTimestrOrder_args setRecords(List records) { this.records = records; return this; } @@ -229941,7 +368525,7 @@ public String getTimestamp() { return this.timestamp; } - public selectKeysRecordsTimestr_args setTimestamp(String timestamp) { + public getKeyRecordsTimestrOrder_args setTimestamp(String timestamp) { this.timestamp = timestamp; return this; } @@ -229964,11 +368548,39 @@ public void setTimestampIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeyRecordsTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysRecordsTimestr_args setCreds( + public getKeyRecordsTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -229996,7 +368608,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysRecordsTimestr_args setTransaction( + public getKeyRecordsTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -230024,7 +368636,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysRecordsTimestr_args setEnvironment( + public getKeyRecordsTimestrOrder_args setEnvironment( String environment) { this.environment = environment; return this; @@ -230050,12 +368662,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); } break; @@ -230077,6 +368689,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -230110,8 +368731,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); case RECORDS: return getRecords(); @@ -230119,6 +368740,9 @@ public Object getFieldValue(_Fields field) { case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -230142,12 +368766,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); + case KEY: + return isSetKey(); case RECORDS: return isSetRecords(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -230162,21 +368788,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecordsTimestr_args) - return this.equals((selectKeysRecordsTimestr_args) that); + if(that instanceof getKeyRecordsTimestrOrder_args) + return this.equals((getKeyRecordsTimestrOrder_args) that); return false; } - public boolean equals(selectKeysRecordsTimestr_args that) { + public boolean equals(getKeyRecordsTimestrOrder_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) return false; } @@ -230198,6 +368824,15 @@ public boolean equals(selectKeysRecordsTimestr_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -230232,10 +368867,10 @@ public boolean equals(selectKeysRecordsTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); boolean present_records = true && (isSetRecords()); list.add(present_records); @@ -230247,6 +368882,11 @@ public int hashCode() { if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -230266,7 +368906,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysRecordsTimestr_args other) { + public int compareTo(getKeyRecordsTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -230274,14 +368914,14 @@ public int compareTo(selectKeysRecordsTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } @@ -230310,6 +368950,18 @@ public int compareTo(selectKeysRecordsTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -230366,15 +369018,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "selectKeysRecordsTimestr_args("); + "getKeyRecordsTimestrOrder_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; if(!first) @@ -230397,6 +369049,16 @@ public String toString() { sb.append(this.timestamp); } first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -230434,6 +369096,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -230466,18 +369131,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecordsTimestr_argsStandardSchemeFactory + private static class getKeyRecordsTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysRecordsTimestr_argsStandardScheme getScheme() { - return new selectKeysRecordsTimestr_argsStandardScheme(); + public getKeyRecordsTimestrOrder_argsStandardScheme getScheme() { + return new getKeyRecordsTimestrOrder_argsStandardScheme(); } } - private static class selectKeysRecordsTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeyRecordsTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecordsTimestr_args struct) + getKeyRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -230487,21 +369152,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1338 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1338.size); - String _elem1339; - for (int _i1340 = 0; _i1340 < _list1338.size; ++_i1340) { - _elem1339 = iprot.readString(); - struct.keys.add(_elem1339); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -230511,14 +369165,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1341 = iprot + org.apache.thrift.protocol.TList _list2900 = iprot .readListBegin(); struct.records = new ArrayList( - _list1341.size); - long _elem1342; - for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) { - _elem1342 = iprot.readI64(); - struct.records.add(_elem1342); + _list2900.size); + long _elem2901; + for (int _i2902 = 0; _i2902 < _list2900.size; ++_i2902) { + _elem2901 = iprot.readI64(); + struct.records.add(_elem2901); } iprot.readListEnd(); } @@ -230539,7 +369193,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -230550,7 +369215,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -230561,7 +369226,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -230585,23 +369250,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecordsTimestr_args struct) + getKeyRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1344 : struct.keys) { - oprot.writeString(_iter1344); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } if(struct.records != null) { @@ -230611,8 +369267,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter1345 : struct.records) { - oprot.writeI64(_iter1345); + for (long _iter2903 : struct.records) { + oprot.writeI64(_iter2903); } oprot.writeListEnd(); } @@ -230623,6 +369279,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -230644,23 +369305,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysRecordsTimestr_argsTupleSchemeFactory + private static class getKeyRecordsTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysRecordsTimestr_argsTupleScheme getScheme() { - return new selectKeysRecordsTimestr_argsTupleScheme(); + public getKeyRecordsTimestrOrder_argsTupleScheme getScheme() { + return new getKeyRecordsTimestrOrder_argsTupleScheme(); } } - private static class selectKeysRecordsTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeyRecordsTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordsTimestr_args struct) + getKeyRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } if(struct.isSetRecords()) { @@ -230669,35 +369330,36 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1346 : struct.keys) { - oprot.writeString(_iter1346); - } - } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter1347 : struct.records) { - oprot.writeI64(_iter1347); + for (long _iter2904 : struct.records) { + oprot.writeI64(_iter2904); } } } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -230711,34 +369373,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordsTimestr_args struct) + getKeyRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1348 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1348.size); - String _elem1349; - for (int _i1350 = 0; _i1350 < _list1348.size; ++_i1350) { - _elem1349 = iprot.readString(); - struct.keys.add(_elem1349); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1351 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list2905 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list1351.size); - long _elem1352; - for (int _i1353 = 0; _i1353 < _list1351.size; ++_i1353) { - _elem1352 = iprot.readI64(); - struct.records.add(_elem1352); + struct.records = new ArrayList(_list2905.size); + long _elem2906; + for (int _i2907 = 0; _i2907 < _list2905.size; ++_i2907) { + _elem2906 = iprot.readI64(); + struct.records.add(_elem2906); } } struct.setRecordsIsSet(true); @@ -230748,16 +369400,21 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setTimestampIsSet(true); } if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -230766,13 +369423,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysRecordsTimestr_result implements - org.apache.thrift.TBase, + public static class getKeyRecordsTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysRecordsTimestr_result"); + "getKeyRecordsTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -230788,12 +369445,12 @@ public static class selectKeysRecordsTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysRecordsTimestr_resultStandardSchemeFactory()); + new getKeyRecordsTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysRecordsTimestr_resultTupleSchemeFactory()); + new getKeyRecordsTimestrOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -230889,15 +369546,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -230920,13 +369571,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysRecordsTimestr_result.class, metaDataMap); + getKeyRecordsTimestrOrder_result.class, metaDataMap); } - public selectKeysRecordsTimestr_result() {} + public getKeyRecordsTimestrOrder_result() {} - public selectKeysRecordsTimestr_result( - Map>> success, + public getKeyRecordsTimestrOrder_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -230942,44 +369593,22 @@ public selectKeysRecordsTimestr_result( /** * Performs a deep copy on other. */ - public selectKeysRecordsTimestr_result( - selectKeysRecordsTimestr_result other) { + public getKeyRecordsTimestrOrder_result( + getKeyRecordsTimestrOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( - other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -231004,8 +369633,8 @@ public selectKeysRecordsTimestr_result( } } - public selectKeysRecordsTimestr_result deepCopy() { - return new selectKeysRecordsTimestr_result(this); + public getKeyRecordsTimestrOrder_result deepCopy() { + return new getKeyRecordsTimestrOrder_result(this); } @Override @@ -231022,19 +369651,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map getSuccess() { return this.success; } - public selectKeysRecordsTimestr_result setSuccess( - Map>> success) { + public getKeyRecordsTimestrOrder_result setSuccess( + Map success) { this.success = success; return this; } @@ -231061,7 +369690,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysRecordsTimestr_result setEx( + public getKeyRecordsTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -231089,7 +369718,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysRecordsTimestr_result setEx2( + public getKeyRecordsTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -231117,7 +369746,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeysRecordsTimestr_result setEx3( + public getKeyRecordsTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -231145,7 +369774,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public selectKeysRecordsTimestr_result setEx4( + public getKeyRecordsTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -231177,7 +369806,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map) value); } break; @@ -231269,12 +369898,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysRecordsTimestr_result) - return this.equals((selectKeysRecordsTimestr_result) that); + if(that instanceof getKeyRecordsTimestrOrder_result) + return this.equals((getKeyRecordsTimestrOrder_result) that); return false; } - public boolean equals(selectKeysRecordsTimestr_result that) { + public boolean equals(getKeyRecordsTimestrOrder_result that) { if(that == null) return false; @@ -231359,7 +369988,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysRecordsTimestr_result other) { + public int compareTo(getKeyRecordsTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -231447,7 +370076,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "selectKeysRecordsTimestr_result("); + "getKeyRecordsTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -231531,18 +370160,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysRecordsTimestr_resultStandardSchemeFactory + private static class getKeyRecordsTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysRecordsTimestr_resultStandardScheme getScheme() { - return new selectKeysRecordsTimestr_resultStandardScheme(); + public getKeyRecordsTimestrOrder_resultStandardScheme getScheme() { + return new getKeyRecordsTimestrOrder_resultStandardScheme(); } } - private static class selectKeysRecordsTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeyRecordsTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysRecordsTimestr_result struct) + getKeyRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -231555,41 +370184,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1354 = iprot + org.apache.thrift.protocol.TMap _map2908 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1354.size); - long _key1355; - Map> _val1356; - for (int _i1357 = 0; _i1357 < _map1354.size; ++_i1357) { - _key1355 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1358 = iprot - .readMapBegin(); - _val1356 = new LinkedHashMap>( - 2 * _map1358.size); - String _key1359; - Set _val1360; - for (int _i1361 = 0; _i1361 < _map1358.size; ++_i1361) { - _key1359 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1362 = iprot - .readSetBegin(); - _val1360 = new LinkedHashSet( - 2 * _set1362.size); - com.cinchapi.concourse.thrift.TObject _elem1363; - for (int _i1364 = 0; _i1364 < _set1362.size; ++_i1364) { - _elem1363 = new com.cinchapi.concourse.thrift.TObject(); - _elem1363.read(iprot); - _val1360.add(_elem1363); - } - iprot.readSetEnd(); - } - _val1356.put(_key1359, _val1360); - } - iprot.readMapEnd(); - } - struct.success.put(_key1355, _val1356); + struct.success = new LinkedHashMap( + 2 * _map2908.size); + long _key2909; + com.cinchapi.concourse.thrift.TObject _val2910; + for (int _i2911 = 0; _i2911 < _map2908.size; ++_i2911) { + _key2909 = iprot.readI64(); + _val2910 = new com.cinchapi.concourse.thrift.TObject(); + _val2910.read(iprot); + struct.success.put(_key2909, _val2910); } iprot.readMapEnd(); } @@ -231658,7 +370263,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysRecordsTimestr_result struct) + getKeyRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -231668,35 +370273,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry>> _iter1365 : struct.success + for (Map.Entry _iter2912 : struct.success .entrySet()) { - oprot.writeI64(_iter1365.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1365.getValue().size())); - for (Map.Entry> _iter1366 : _iter1365 - .getValue().entrySet()) { - oprot.writeString(_iter1366.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1366.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1367 : _iter1366 - .getValue()) { - _iter1367.write(oprot); - } - oprot.writeSetEnd(); - } - } - oprot.writeMapEnd(); - } + oprot.writeI64(_iter2912.getKey()); + _iter2912.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -231728,19 +370310,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysRecordsTimestr_resultTupleSchemeFactory + private static class getKeyRecordsTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysRecordsTimestr_resultTupleScheme getScheme() { - return new selectKeysRecordsTimestr_resultTupleScheme(); + public getKeyRecordsTimestrOrder_resultTupleScheme getScheme() { + return new getKeyRecordsTimestrOrder_resultTupleScheme(); } } - private static class selectKeysRecordsTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeyRecordsTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordsTimestr_result struct) + getKeyRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -231763,24 +370345,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1368 : struct.success + for (Map.Entry _iter2913 : struct.success .entrySet()) { - oprot.writeI64(_iter1368.getKey()); - { - oprot.writeI32(_iter1368.getValue().size()); - for (Map.Entry> _iter1369 : _iter1368 - .getValue().entrySet()) { - oprot.writeString(_iter1369.getKey()); - { - oprot.writeI32( - _iter1369.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1370 : _iter1369 - .getValue()) { - _iter1370.write(oprot); - } - } - } - } + oprot.writeI64(_iter2913.getKey()); + _iter2913.getValue().write(oprot); } } } @@ -231800,50 +370368,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysRecordsTimestr_result struct) + getKeyRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1371 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2914 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1371.size); - long _key1372; - Map> _val1373; - for (int _i1374 = 0; _i1374 < _map1371.size; ++_i1374) { - _key1372 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1375 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - iprot.readI32()); - _val1373 = new LinkedHashMap>( - 2 * _map1375.size); - String _key1376; - Set _val1377; - for (int _i1378 = 0; _i1378 < _map1375.size; ++_i1378) { - _key1376 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1379 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1377 = new LinkedHashSet( - 2 * _set1379.size); - com.cinchapi.concourse.thrift.TObject _elem1380; - for (int _i1381 = 0; _i1381 < _set1379.size; ++_i1381) { - _elem1380 = new com.cinchapi.concourse.thrift.TObject(); - _elem1380.read(iprot); - _val1377.add(_elem1380); - } - } - _val1373.put(_key1376, _val1377); - } - } - struct.success.put(_key1372, _val1373); + struct.success = new LinkedHashMap( + 2 * _map2914.size); + long _key2915; + com.cinchapi.concourse.thrift.TObject _val2916; + for (int _i2917 = 0; _i2917 < _map2914.size; ++_i2917) { + _key2915 = iprot.readI64(); + _val2916 = new com.cinchapi.concourse.thrift.TObject(); + _val2916.read(iprot); + struct.success.put(_key2915, _val2916); } } struct.setSuccessIsSet(true); @@ -231873,34 +370416,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectCriteria_args implements - org.apache.thrift.TBase, + public static class getKeysRecordsTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCriteria_args"); + "getKeysRecordsTime_args"); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCriteria_argsStandardSchemeFactory()); + new getKeysRecordsTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCriteria_argsTupleSchemeFactory()); + new getKeysRecordsTime_argsTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public List keys; // required + public List records; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -231910,10 +370459,12 @@ public static class selectCriteria_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CRITERIA((short) 1, "criteria"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -231929,13 +370480,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CRITERIA - return CRITERIA; - case 2: // CREDS + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 3: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -231981,16 +370536,31 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -232010,18 +370580,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectCriteria_args.class, metaDataMap); + getKeysRecordsTime_args.class, metaDataMap); } - public selectCriteria_args() {} + public getKeysRecordsTime_args() {} - public selectCriteria_args( - com.cinchapi.concourse.thrift.TCriteria criteria, - com.cinchapi.concourse.thrift.AccessToken creds, + public getKeysRecordsTime_args(List keys, List records, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.criteria = criteria; + this.keys = keys; + this.records = records; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -232030,11 +370602,17 @@ public selectCriteria_args( /** * Performs a deep copy on other. */ - public selectCriteria_args(selectCriteria_args other) { - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + public getKeysRecordsTime_args(getKeysRecordsTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -232048,51 +370626,139 @@ public selectCriteria_args(selectCriteria_args other) { } } - public selectCriteria_args deepCopy() { - return new selectCriteria_args(this); + public getKeysRecordsTime_args deepCopy() { + return new getKeysRecordsTime_args(this); } @Override public void clear() { - this.criteria = null; + this.keys = null; + this.records = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public selectCriteria_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysRecordsTime_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setCriteriaIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.criteria = null; + this.keys = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public getKeysRecordsTime_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; } } + public long getTimestamp() { + return this.timestamp; + } + + public getKeysRecordsTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectCriteria_args setCreds( + public getKeysRecordsTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -232120,7 +370786,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectCriteria_args setTransaction( + public getKeysRecordsTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -232148,7 +370814,7 @@ public String getEnvironment() { return this.environment; } - public selectCriteria_args setEnvironment(String environment) { + public getKeysRecordsTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -232173,13 +370839,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CRITERIA: + case KEYS: if(value == null) { - unsetCriteria(); + unsetKeys(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setKeys((List) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); } break; @@ -232216,8 +370899,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CRITERIA: - return getCriteria(); + case KEYS: + return getKeys(); + + case RECORDS: + return getRecords(); + + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -232242,8 +370931,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case CRITERIA: - return isSetCriteria(); + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -232258,21 +370951,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCriteria_args) - return this.equals((selectCriteria_args) that); + if(that instanceof getKeysRecordsTime_args) + return this.equals((getKeysRecordsTime_args) that); return false; } - public boolean equals(selectCriteria_args that) { + public boolean equals(getKeysRecordsTime_args that) { if(that == null) return false; - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) return false; } @@ -232310,10 +371021,20 @@ public boolean equals(selectCriteria_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -232334,7 +371055,7 @@ public int hashCode() { } @Override - public int compareTo(selectCriteria_args other) { + public int compareTo(getKeysRecordsTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -232342,14 +371063,38 @@ public int compareTo(selectCriteria_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -232409,17 +371154,32 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCriteria_args("); + StringBuilder sb = new StringBuilder("getKeysRecordsTime_args("); boolean first = true; - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); } first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -232457,9 +371217,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); - } if(creds != null) { creds.validate(); } @@ -232483,6 +371240,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -232492,18 +371253,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCriteria_argsStandardSchemeFactory + private static class getKeysRecordsTime_argsStandardSchemeFactory implements SchemeFactory { - public selectCriteria_argsStandardScheme getScheme() { - return new selectCriteria_argsStandardScheme(); + public getKeysRecordsTime_argsStandardScheme getScheme() { + return new getKeysRecordsTime_argsStandardScheme(); } } - private static class selectCriteria_argsStandardScheme - extends StandardScheme { + private static class getKeysRecordsTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCriteria_args struct) + getKeysRecordsTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -232513,18 +371274,59 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2918 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2918.size); + String _elem2919; + for (int _i2920 = 0; _i2920 < _list2918.size; ++_i2920) { + _elem2919 = iprot.readString(); + struct.keys.add(_elem2919); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2921 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list2921.size); + long _elem2922; + for (int _i2923 = 0; _i2923 < _list2921.size; ++_i2923) { + _elem2922 = iprot.readI64(); + struct.records.add(_elem2922); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -232535,7 +371337,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -232546,7 +371348,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -232570,16 +371372,42 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCriteria_args struct) + getKeysRecordsTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2924 : struct.keys) { + oprot.writeString(_iter2924); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter2925 : struct.records) { + oprot.writeI64(_iter2925); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -232601,37 +371429,59 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectCriteria_argsTupleSchemeFactory + private static class getKeysRecordsTime_argsTupleSchemeFactory implements SchemeFactory { - public selectCriteria_argsTupleScheme getScheme() { - return new selectCriteria_argsTupleScheme(); + public getKeysRecordsTime_argsTupleScheme getScheme() { + return new getKeysRecordsTime_argsTupleScheme(); } } - private static class selectCriteria_argsTupleScheme - extends TupleScheme { + private static class getKeysRecordsTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCriteria_args struct) + getKeysRecordsTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCriteria()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2926 : struct.keys) { + oprot.writeString(_iter2926); + } + } + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter2927 : struct.records) { + oprot.writeI64(_iter2927); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -232646,26 +371496,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCriteria_args struct) + getKeysRecordsTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + { + org.apache.thrift.protocol.TList _list2928 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2928.size); + String _elem2929; + for (int _i2930 = 0; _i2930 < _list2928.size; ++_i2930) { + _elem2929 = iprot.readString(); + struct.keys.add(_elem2929); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list2931 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list2931.size); + long _elem2932; + for (int _i2933 = 0; _i2933 < _list2931.size; ++_i2933) { + _elem2932 = iprot.readI64(); + struct.records.add(_elem2932); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -232674,13 +371551,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectCriteria_result implements - org.apache.thrift.TBase, + public static class getKeysRecordsTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCriteria_result"); + "getKeysRecordsTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -232694,12 +371571,12 @@ public static class selectCriteria_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCriteria_resultStandardSchemeFactory()); + new getKeysRecordsTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCriteria_resultTupleSchemeFactory()); + new getKeysRecordsTime_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -232795,11 +371672,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -232817,13 +371692,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectCriteria_result.class, metaDataMap); + getKeysRecordsTime_result.class, metaDataMap); } - public selectCriteria_result() {} + public getKeysRecordsTime_result() {} - public selectCriteria_result( - Map>> success, + public getKeysRecordsTime_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -232837,38 +371712,33 @@ public selectCriteria_result( /** * Performs a deep copy on other. */ - public selectCriteria_result(selectCriteria_result other) { + public getKeysRecordsTime_result(getKeysRecordsTime_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry other_element_value_element : other_element_value .entrySet()) { String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element .getValue(); String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -232894,8 +371764,8 @@ public selectCriteria_result(selectCriteria_result other) { } } - public selectCriteria_result deepCopy() { - return new selectCriteria_result(this); + public getKeysRecordsTime_result deepCopy() { + return new getKeysRecordsTime_result(this); } @Override @@ -232911,19 +371781,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectCriteria_result setSuccess( - Map>> success) { + public getKeysRecordsTime_result setSuccess( + Map> success) { this.success = success; return this; } @@ -232950,7 +371820,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectCriteria_result setEx( + public getKeysRecordsTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -232978,7 +371848,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectCriteria_result setEx2( + public getKeysRecordsTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -233006,7 +371876,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectCriteria_result setEx3( + public getKeysRecordsTime_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -233038,7 +371908,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -233116,12 +371986,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCriteria_result) - return this.equals((selectCriteria_result) that); + if(that instanceof getKeysRecordsTime_result) + return this.equals((getKeysRecordsTime_result) that); return false; } - public boolean equals(selectCriteria_result that) { + public boolean equals(getKeysRecordsTime_result that) { if(that == null) return false; @@ -233192,7 +372062,7 @@ public int hashCode() { } @Override - public int compareTo(selectCriteria_result other) { + public int compareTo(getKeysRecordsTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -233267,7 +372137,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCriteria_result("); + StringBuilder sb = new StringBuilder("getKeysRecordsTime_result("); boolean first = true; sb.append("success:"); @@ -233341,18 +372211,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCriteria_resultStandardSchemeFactory + private static class getKeysRecordsTime_resultStandardSchemeFactory implements SchemeFactory { - public selectCriteria_resultStandardScheme getScheme() { - return new selectCriteria_resultStandardScheme(); + public getKeysRecordsTime_resultStandardScheme getScheme() { + return new getKeysRecordsTime_resultStandardScheme(); } } - private static class selectCriteria_resultStandardScheme - extends StandardScheme { + private static class getKeysRecordsTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCriteria_result struct) + getKeysRecordsTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -233365,41 +372235,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1382 = iprot + org.apache.thrift.protocol.TMap _map2934 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1382.size); - long _key1383; - Map> _val1384; - for (int _i1385 = 0; _i1385 < _map1382.size; ++_i1385) { - _key1383 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map2934.size); + long _key2935; + Map _val2936; + for (int _i2937 = 0; _i2937 < _map2934.size; ++_i2937) { + _key2935 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1386 = iprot + org.apache.thrift.protocol.TMap _map2938 = iprot .readMapBegin(); - _val1384 = new LinkedHashMap>( - 2 * _map1386.size); - String _key1387; - Set _val1388; - for (int _i1389 = 0; _i1389 < _map1386.size; ++_i1389) { - _key1387 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1390 = iprot - .readSetBegin(); - _val1388 = new LinkedHashSet( - 2 * _set1390.size); - com.cinchapi.concourse.thrift.TObject _elem1391; - for (int _i1392 = 0; _i1392 < _set1390.size; ++_i1392) { - _elem1391 = new com.cinchapi.concourse.thrift.TObject(); - _elem1391.read(iprot); - _val1388.add(_elem1391); - } - iprot.readSetEnd(); - } - _val1384.put(_key1387, _val1388); + _val2936 = new LinkedHashMap( + 2 * _map2938.size); + String _key2939; + com.cinchapi.concourse.thrift.TObject _val2940; + for (int _i2941 = 0; _i2941 < _map2938.size; ++_i2941) { + _key2939 = iprot.readString(); + _val2940 = new com.cinchapi.concourse.thrift.TObject(); + _val2940.read(iprot); + _val2936.put(_key2939, _val2940); } iprot.readMapEnd(); } - struct.success.put(_key1383, _val1384); + struct.success.put(_key2935, _val2936); } iprot.readMapEnd(); } @@ -233457,7 +372316,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCriteria_result struct) + getKeysRecordsTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -233469,30 +372328,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter1393 : struct.success + for (Map.Entry> _iter2942 : struct.success .entrySet()) { - oprot.writeI64(_iter1393.getKey()); + oprot.writeI64(_iter2942.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1393.getValue().size())); - for (Map.Entry> _iter1394 : _iter1393 + org.apache.thrift.protocol.TType.STRUCT, + _iter2942.getValue().size())); + for (Map.Entry _iter2943 : _iter2942 .getValue().entrySet()) { - oprot.writeString(_iter1394.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1394.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1395 : _iter1394 - .getValue()) { - _iter1395.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter2943.getKey()); + _iter2943.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -233522,19 +372370,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectCriteria_resultTupleSchemeFactory + private static class getKeysRecordsTime_resultTupleSchemeFactory implements SchemeFactory { - public selectCriteria_resultTupleScheme getScheme() { - return new selectCriteria_resultTupleScheme(); + public getKeysRecordsTime_resultTupleScheme getScheme() { + return new getKeysRecordsTime_resultTupleScheme(); } } - private static class selectCriteria_resultTupleScheme - extends TupleScheme { + private static class getKeysRecordsTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCriteria_result struct) + getKeysRecordsTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -233554,22 +372402,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1396 : struct.success + for (Map.Entry> _iter2944 : struct.success .entrySet()) { - oprot.writeI64(_iter1396.getKey()); + oprot.writeI64(_iter2944.getKey()); { - oprot.writeI32(_iter1396.getValue().size()); - for (Map.Entry> _iter1397 : _iter1396 + oprot.writeI32(_iter2944.getValue().size()); + for (Map.Entry _iter2945 : _iter2944 .getValue().entrySet()) { - oprot.writeString(_iter1397.getKey()); - { - oprot.writeI32( - _iter1397.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1398 : _iter1397 - .getValue()) { - _iter1398.write(oprot); - } - } + oprot.writeString(_iter2945.getKey()); + _iter2945.getValue().write(oprot); } } } @@ -233588,50 +372429,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCriteria_result struct) + getKeysRecordsTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1399 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2946 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1399.size); - long _key1400; - Map> _val1401; - for (int _i1402 = 0; _i1402 < _map1399.size; ++_i1402) { - _key1400 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map2946.size); + long _key2947; + Map _val2948; + for (int _i2949 = 0; _i2949 < _map2946.size; ++_i2949) { + _key2947 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1403 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2950 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1401 = new LinkedHashMap>( - 2 * _map1403.size); - String _key1404; - Set _val1405; - for (int _i1406 = 0; _i1406 < _map1403.size; ++_i1406) { - _key1404 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1407 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1405 = new LinkedHashSet( - 2 * _set1407.size); - com.cinchapi.concourse.thrift.TObject _elem1408; - for (int _i1409 = 0; _i1409 < _set1407.size; ++_i1409) { - _elem1408 = new com.cinchapi.concourse.thrift.TObject(); - _elem1408.read(iprot); - _val1405.add(_elem1408); - } - } - _val1401.put(_key1404, _val1405); + _val2948 = new LinkedHashMap( + 2 * _map2950.size); + String _key2951; + com.cinchapi.concourse.thrift.TObject _val2952; + for (int _i2953 = 0; _i2953 < _map2950.size; ++_i2953) { + _key2951 = iprot.readString(); + _val2952 = new com.cinchapi.concourse.thrift.TObject(); + _val2952.read(iprot); + _val2948.put(_key2951, _val2952); } } - struct.success.put(_key1400, _val1401); + struct.success.put(_key2947, _val2948); } } struct.setSuccessIsSet(true); @@ -233656,34 +372486,43 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectCcl_args implements - org.apache.thrift.TBase, + public static class getKeysRecordsTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCcl_args"); + "getKeysRecordsTimeOrder_args"); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCcl_argsStandardSchemeFactory()); + new getKeysRecordsTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCcl_argsTupleSchemeFactory()); + new getKeysRecordsTimeOrder_argsTupleSchemeFactory()); } - public String ccl; // required + public List keys; // required + public List records; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -233693,10 +372532,13 @@ public static class selectCcl_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CCL((short) 1, "ccl"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -233712,13 +372554,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CCL - return CCL; - case 2: // CREDS + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 3: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -233764,15 +372612,37 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -233791,18 +372661,24 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(selectCcl_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + getKeysRecordsTimeOrder_args.class, metaDataMap); } - public selectCcl_args() {} + public getKeysRecordsTimeOrder_args() {} - public selectCcl_args(String ccl, + public getKeysRecordsTimeOrder_args(List keys, + List records, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.ccl = ccl; + this.keys = keys; + this.records = records; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -233811,9 +372687,21 @@ public selectCcl_args(String ccl, /** * Performs a deep copy on other. */ - public selectCcl_args(selectCcl_args other) { - if(other.isSetCcl()) { - this.ccl = other.ccl; + public getKeysRecordsTimeOrder_args( + getKeysRecordsTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -233828,42 +372716,160 @@ public selectCcl_args(selectCcl_args other) { } } - public selectCcl_args deepCopy() { - return new selectCcl_args(this); + public getKeysRecordsTimeOrder_args deepCopy() { + return new getKeysRecordsTimeOrder_args(this); } @Override public void clear() { - this.ccl = null; + this.keys = null; + this.records = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getCcl() { - return this.ccl; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public selectCcl_args setCcl(String ccl) { - this.ccl = ccl; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysRecordsTimeOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setCclIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.ccl = null; + this.keys = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public getKeysRecordsTimeOrder_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public long getTimestamp() { + return this.timestamp; + } + + public getKeysRecordsTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeysRecordsTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; } } @@ -233871,7 +372877,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectCcl_args setCreds( + public getKeysRecordsTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -233899,7 +372905,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectCcl_args setTransaction( + public getKeysRecordsTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -233927,7 +372933,7 @@ public String getEnvironment() { return this.environment; } - public selectCcl_args setEnvironment(String environment) { + public getKeysRecordsTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -233952,12 +372958,39 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CCL: + case KEYS: if(value == null) { - unsetCcl(); + unsetKeys(); } else { - setCcl((String) value); + setKeys((List) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -233994,8 +373027,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CCL: - return getCcl(); + case KEYS: + return getKeys(); + + case RECORDS: + return getRecords(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -234020,8 +373062,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case CCL: - return isSetCcl(); + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -234036,21 +373084,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCcl_args) - return this.equals((selectCcl_args) that); + if(that instanceof getKeysRecordsTimeOrder_args) + return this.equals((getKeysRecordsTimeOrder_args) that); return false; } - public boolean equals(selectCcl_args that) { + public boolean equals(getKeysRecordsTimeOrder_args that) { if(that == null) return false; - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -234088,10 +373163,25 @@ public boolean equals(selectCcl_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -234112,7 +373202,7 @@ public int hashCode() { } @Override - public int compareTo(selectCcl_args other) { + public int compareTo(getKeysRecordsTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -234120,14 +373210,50 @@ public int compareTo(selectCcl_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -234187,15 +373313,41 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCcl_args("); + StringBuilder sb = new StringBuilder( + "getKeysRecordsTimeOrder_args("); boolean first = true; - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -234235,6 +373387,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -234258,6 +373413,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -234267,18 +373426,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCcl_argsStandardSchemeFactory + private static class getKeysRecordsTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectCcl_argsStandardScheme getScheme() { - return new selectCcl_argsStandardScheme(); + public getKeysRecordsTimeOrder_argsStandardScheme getScheme() { + return new getKeysRecordsTimeOrder_argsStandardScheme(); } } - private static class selectCcl_argsStandardScheme - extends StandardScheme { + private static class getKeysRecordsTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCcl_args struct) throws org.apache.thrift.TException { + getKeysRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -234287,17 +373447,70 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2954 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2954.size); + String _elem2955; + for (int _i2956 = 0; _i2956 < _list2954.size; ++_i2956) { + _elem2955 = iprot.readString(); + struct.keys.add(_elem2955); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2957 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list2957.size); + long _elem2958; + for (int _i2959 = 0; _i2959 < _list2957.size; ++_i2959) { + _elem2958 = iprot.readI64(); + struct.records.add(_elem2958); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -234308,7 +373521,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -234319,7 +373532,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -234343,13 +373556,45 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCcl_args struct) throws org.apache.thrift.TException { + getKeysRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2960 : struct.keys) { + oprot.writeString(_iter2960); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter2961 : struct.records) { + oprot.writeI64(_iter2961); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -234373,36 +373618,65 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectCcl_argsTupleSchemeFactory + private static class getKeysRecordsTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectCcl_argsTupleScheme getScheme() { - return new selectCcl_argsTupleScheme(); + public getKeysRecordsTimeOrder_argsTupleScheme getScheme() { + return new getKeysRecordsTimeOrder_argsTupleScheme(); } } - private static class selectCcl_argsTupleScheme - extends TupleScheme { + private static class getKeysRecordsTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCcl_args struct) throws org.apache.thrift.TException { + getKeysRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCcl()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetOrder()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2962 : struct.keys) { + oprot.writeString(_iter2962); + } + } + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter2963 : struct.records) { + oprot.writeI64(_iter2963); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -234417,24 +373691,58 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCcl_args struct) throws org.apache.thrift.TException { + getKeysRecordsTimeOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + { + org.apache.thrift.protocol.TList _list2964 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list2964.size); + String _elem2965; + for (int _i2966 = 0; _i2966 < _list2964.size; ++_i2966) { + _elem2965 = iprot.readString(); + struct.keys.add(_elem2965); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list2967 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list2967.size); + long _elem2968; + for (int _i2969 = 0; _i2969 < _list2967.size; ++_i2969) { + _elem2968 = iprot.readI64(); + struct.records.add(_elem2968); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -234443,13 +373751,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectCcl_result implements - org.apache.thrift.TBase, + public static class getKeysRecordsTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCcl_result"); + "getKeysRecordsTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -234459,22 +373767,19 @@ public static class selectCcl_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCcl_resultStandardSchemeFactory()); + new getKeysRecordsTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCcl_resultTupleSchemeFactory()); + new getKeysRecordsTimeOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -234484,8 +373789,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -234509,8 +373813,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -234570,11 +373872,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -234590,67 +373890,56 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(selectCcl_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + getKeysRecordsTimeOrder_result.class, metaDataMap); } - public selectCcl_result() {} + public getKeysRecordsTimeOrder_result() {} - public selectCcl_result( - Map>> success, + public getKeysRecordsTimeOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectCcl_result(selectCcl_result other) { + public getKeysRecordsTimeOrder_result( + getKeysRecordsTimeOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry other_element_value_element : other_element_value .entrySet()) { String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element .getValue(); String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -234671,17 +373960,13 @@ public selectCcl_result(selectCcl_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public selectCcl_result deepCopy() { - return new selectCcl_result(this); + public getKeysRecordsTimeOrder_result deepCopy() { + return new getKeysRecordsTimeOrder_result(this); } @Override @@ -234690,7 +373975,6 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { @@ -234698,19 +373982,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectCcl_result setSuccess( - Map>> success) { + public getKeysRecordsTimeOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -234737,7 +374021,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectCcl_result setEx( + public getKeysRecordsTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -234765,7 +374049,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectCcl_result setEx2( + public getKeysRecordsTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -234789,12 +374073,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectCcl_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getKeysRecordsTimeOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -234817,34 +374101,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public selectCcl_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -234853,7 +374109,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -234880,16 +374136,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -234910,9 +374157,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -234935,8 +374179,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -234945,12 +374187,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCcl_result) - return this.equals((selectCcl_result) that); + if(that instanceof getKeysRecordsTimeOrder_result) + return this.equals((getKeysRecordsTimeOrder_result) that); return false; } - public boolean equals(selectCcl_result that) { + public boolean equals(getKeysRecordsTimeOrder_result that) { if(that == null) return false; @@ -234990,15 +374232,6 @@ public boolean equals(selectCcl_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -235026,16 +374259,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(selectCcl_result other) { + public int compareTo(getKeysRecordsTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -235091,18 +374319,6 @@ public int compareTo(selectCcl_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -235122,7 +374338,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCcl_result("); + StringBuilder sb = new StringBuilder( + "getKeysRecordsTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -235163,16 +374380,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -235206,18 +374413,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCcl_resultStandardSchemeFactory + private static class getKeysRecordsTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectCcl_resultStandardScheme getScheme() { - return new selectCcl_resultStandardScheme(); + public getKeysRecordsTimeOrder_resultStandardScheme getScheme() { + return new getKeysRecordsTimeOrder_resultStandardScheme(); } } - private static class selectCcl_resultStandardScheme - extends StandardScheme { + private static class getKeysRecordsTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCcl_result struct) + getKeysRecordsTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -235230,41 +374437,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1410 = iprot + org.apache.thrift.protocol.TMap _map2970 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1410.size); - long _key1411; - Map> _val1412; - for (int _i1413 = 0; _i1413 < _map1410.size; ++_i1413) { - _key1411 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map2970.size); + long _key2971; + Map _val2972; + for (int _i2973 = 0; _i2973 < _map2970.size; ++_i2973) { + _key2971 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1414 = iprot + org.apache.thrift.protocol.TMap _map2974 = iprot .readMapBegin(); - _val1412 = new LinkedHashMap>( - 2 * _map1414.size); - String _key1415; - Set _val1416; - for (int _i1417 = 0; _i1417 < _map1414.size; ++_i1417) { - _key1415 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1418 = iprot - .readSetBegin(); - _val1416 = new LinkedHashSet( - 2 * _set1418.size); - com.cinchapi.concourse.thrift.TObject _elem1419; - for (int _i1420 = 0; _i1420 < _set1418.size; ++_i1420) { - _elem1419 = new com.cinchapi.concourse.thrift.TObject(); - _elem1419.read(iprot); - _val1416.add(_elem1419); - } - iprot.readSetEnd(); - } - _val1412.put(_key1415, _val1416); + _val2972 = new LinkedHashMap( + 2 * _map2974.size); + String _key2975; + com.cinchapi.concourse.thrift.TObject _val2976; + for (int _i2977 = 0; _i2977 < _map2974.size; ++_i2977) { + _key2975 = iprot.readString(); + _val2976 = new com.cinchapi.concourse.thrift.TObject(); + _val2976.read(iprot); + _val2972.put(_key2975, _val2976); } iprot.readMapEnd(); } - struct.success.put(_key1411, _val1412); + struct.success.put(_key2971, _val2972); } iprot.readMapEnd(); } @@ -235299,7 +374495,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -235308,17 +374504,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -235333,7 +374518,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCcl_result struct) + getKeysRecordsTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -235345,30 +374530,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter1421 : struct.success + for (Map.Entry> _iter2978 : struct.success .entrySet()) { - oprot.writeI64(_iter1421.getKey()); + oprot.writeI64(_iter2978.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1421.getValue().size())); - for (Map.Entry> _iter1422 : _iter1421 + org.apache.thrift.protocol.TType.STRUCT, + _iter2978.getValue().size())); + for (Map.Entry _iter2979 : _iter2978 .getValue().entrySet()) { - oprot.writeString(_iter1422.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1422.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1423 : _iter1422 - .getValue()) { - _iter1423.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter2979.getKey()); + _iter2979.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -235392,30 +374566,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectCcl_resultTupleSchemeFactory + private static class getKeysRecordsTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectCcl_resultTupleScheme getScheme() { - return new selectCcl_resultTupleScheme(); + public getKeysRecordsTimeOrder_resultTupleScheme getScheme() { + return new getKeysRecordsTimeOrder_resultTupleScheme(); } } - private static class selectCcl_resultTupleScheme - extends TupleScheme { + private static class getKeysRecordsTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCcl_result struct) + getKeysRecordsTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -235431,29 +374600,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1424 : struct.success + for (Map.Entry> _iter2980 : struct.success .entrySet()) { - oprot.writeI64(_iter1424.getKey()); + oprot.writeI64(_iter2980.getKey()); { - oprot.writeI32(_iter1424.getValue().size()); - for (Map.Entry> _iter1425 : _iter1424 + oprot.writeI32(_iter2980.getValue().size()); + for (Map.Entry _iter2981 : _iter2980 .getValue().entrySet()) { - oprot.writeString(_iter1425.getKey()); - { - oprot.writeI32( - _iter1425.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1426 : _iter1425 - .getValue()) { - _iter1426.write(oprot); - } - } + oprot.writeString(_iter2981.getKey()); + _iter2981.getValue().write(oprot); } } } @@ -235468,57 +374627,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCcl_result struct) + getKeysRecordsTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1427 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2982 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1427.size); - long _key1428; - Map> _val1429; - for (int _i1430 = 0; _i1430 < _map1427.size; ++_i1430) { - _key1428 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map2982.size); + long _key2983; + Map _val2984; + for (int _i2985 = 0; _i2985 < _map2982.size; ++_i2985) { + _key2983 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1431 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map2986 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1429 = new LinkedHashMap>( - 2 * _map1431.size); - String _key1432; - Set _val1433; - for (int _i1434 = 0; _i1434 < _map1431.size; ++_i1434) { - _key1432 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1435 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1433 = new LinkedHashSet( - 2 * _set1435.size); - com.cinchapi.concourse.thrift.TObject _elem1436; - for (int _i1437 = 0; _i1437 < _set1435.size; ++_i1437) { - _elem1436 = new com.cinchapi.concourse.thrift.TObject(); - _elem1436.read(iprot); - _val1433.add(_elem1436); - } - } - _val1429.put(_key1432, _val1433); + _val2984 = new LinkedHashMap( + 2 * _map2986.size); + String _key2987; + com.cinchapi.concourse.thrift.TObject _val2988; + for (int _i2989 = 0; _i2989 < _map2986.size; ++_i2989) { + _key2987 = iprot.readString(); + _val2988 = new com.cinchapi.concourse.thrift.TObject(); + _val2988.read(iprot); + _val2984.put(_key2987, _val2988); } } - struct.success.put(_key1428, _val1429); + struct.success.put(_key2983, _val2984); } } struct.setSuccessIsSet(true); @@ -235534,51 +374679,50 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class selectCriteriaTime_args implements - org.apache.thrift.TBase, + public static class getKeysRecordsTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCriteriaTime_args"); + "getKeysRecordsTimestr_args"); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCriteriaTime_argsStandardSchemeFactory()); + new getKeysRecordsTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCriteriaTime_argsTupleSchemeFactory()); + new getKeysRecordsTimestr_argsTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.TCriteria criteria; // required - public long timestamp; // required + public List keys; // required + public List records; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -235588,11 +374732,12 @@ public static class selectCriteriaTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CRITERIA((short) 1, "criteria"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -235608,15 +374753,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CRITERIA - return CRITERIA; - case 2: // TIMESTAMP + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -235662,23 +374809,29 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -235698,20 +374851,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectCriteriaTime_args.class, metaDataMap); + getKeysRecordsTimestr_args.class, metaDataMap); } - public selectCriteriaTime_args() {} + public getKeysRecordsTimestr_args() {} - public selectCriteriaTime_args( - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public getKeysRecordsTimestr_args(List keys, List records, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.criteria = criteria; + this.keys = keys; + this.records = records; this.timestamp = timestamp; - setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -235720,13 +374873,18 @@ public selectCriteriaTime_args( /** * Performs a deep copy on other. */ - public selectCriteriaTime_args(selectCriteriaTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + public getKeysRecordsTimestr_args(getKeysRecordsTimestr_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -235740,61 +374898,115 @@ public selectCriteriaTime_args(selectCriteriaTime_args other) { } } - public selectCriteriaTime_args deepCopy() { - return new selectCriteriaTime_args(this); + public getKeysRecordsTimestr_args deepCopy() { + return new getKeysRecordsTimestr_args(this); } @Override public void clear() { - this.criteria = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.keys = null; + this.records = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public selectCriteriaTime_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysRecordsTimestr_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setCriteriaIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.criteria = null; + this.keys = null; } } - public long getTimestamp() { + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public getKeysRecordsTimestr_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; + } + } + + public String getTimestamp() { return this.timestamp; } - public selectCriteriaTime_args setTimestamp(long timestamp) { + public getKeysRecordsTimestr_args setTimestamp(String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -235802,20 +375014,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectCriteriaTime_args setCreds( + public getKeysRecordsTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -235843,7 +375055,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectCriteriaTime_args setTransaction( + public getKeysRecordsTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -235871,7 +375083,7 @@ public String getEnvironment() { return this.environment; } - public selectCriteriaTime_args setEnvironment(String environment) { + public getKeysRecordsTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -235896,13 +375108,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CRITERIA: + case KEYS: if(value == null) { - unsetCriteria(); + unsetKeys(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setKeys((List) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); } break; @@ -235911,7 +375131,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); } break; @@ -235948,8 +375168,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CRITERIA: - return getCriteria(); + case KEYS: + return getKeys(); + + case RECORDS: + return getRecords(); case TIMESTAMP: return getTimestamp(); @@ -235977,8 +375200,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case CRITERIA: - return isSetCriteria(); + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -235995,30 +375220,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCriteriaTime_args) - return this.equals((selectCriteriaTime_args) that); + if(that instanceof getKeysRecordsTimestr_args) + return this.equals((getKeysRecordsTimestr_args) that); return false; } - public boolean equals(selectCriteriaTime_args that) { + public boolean equals(getKeysRecordsTimestr_args that) { if(that == null) return false; - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -236056,12 +375290,17 @@ public boolean equals(selectCriteriaTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_timestamp = true; + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); + + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -236085,7 +375324,7 @@ public int hashCode() { } @Override - public int compareTo(selectCriteriaTime_args other) { + public int compareTo(getKeysRecordsTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -236093,14 +375332,26 @@ public int compareTo(selectCriteriaTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } @@ -236172,21 +375423,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCriteriaTime_args("); + StringBuilder sb = new StringBuilder("getKeysRecordsTimestr_args("); boolean first = true; - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); } first = false; if(!first) sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -236225,9 +375491,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); - } if(creds != null) { creds.validate(); } @@ -236251,10 +375514,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -236264,18 +375523,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCriteriaTime_argsStandardSchemeFactory + private static class getKeysRecordsTimestr_argsStandardSchemeFactory implements SchemeFactory { - public selectCriteriaTime_argsStandardScheme getScheme() { - return new selectCriteriaTime_argsStandardScheme(); + public getKeysRecordsTimestr_argsStandardScheme getScheme() { + return new getKeysRecordsTimestr_argsStandardScheme(); } } - private static class selectCriteriaTime_argsStandardScheme - extends StandardScheme { + private static class getKeysRecordsTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCriteriaTime_args struct) + getKeysRecordsTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -236285,20 +375544,51 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2990 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list2990.size); + String _elem2991; + for (int _i2992 = 0; _i2992 < _list2990.size; ++_i2992) { + _elem2991 = iprot.readString(); + struct.keys.add(_elem2991); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list2993 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list2993.size); + long _elem2994; + for (int _i2995 = 0; _i2995 < _list2993.size; ++_i2995) { + _elem2994 = iprot.readI64(); + struct.records.add(_elem2994); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -236306,7 +375596,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -236317,7 +375607,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -236328,7 +375618,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -236352,19 +375642,44 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCriteriaTime_args struct) + getKeysRecordsTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter2996 : struct.keys) { + oprot.writeString(_iter2996); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter2997 : struct.records) { + oprot.writeI64(_iter2997); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -236386,43 +375701,59 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectCriteriaTime_argsTupleSchemeFactory + private static class getKeysRecordsTimestr_argsTupleSchemeFactory implements SchemeFactory { - public selectCriteriaTime_argsTupleScheme getScheme() { - return new selectCriteriaTime_argsTupleScheme(); + public getKeysRecordsTimestr_argsTupleScheme getScheme() { + return new getKeysRecordsTimestr_argsTupleScheme(); } } - private static class selectCriteriaTime_argsTupleScheme - extends TupleScheme { + private static class getKeysRecordsTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCriteriaTime_args struct) + getKeysRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCriteria()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter2998 : struct.keys) { + oprot.writeString(_iter2998); + } + } + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter2999 : struct.records) { + oprot.writeI64(_iter2999); + } + } } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -236437,30 +375768,53 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCriteriaTime_args struct) + getKeysRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + { + org.apache.thrift.protocol.TList _list3000 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3000.size); + String _elem3001; + for (int _i3002 = 0; _i3002 < _list3000.size; ++_i3002) { + _elem3001 = iprot.readString(); + struct.keys.add(_elem3001); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + { + org.apache.thrift.protocol.TList _list3003 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list3003.size); + long _elem3004; + for (int _i3005 = 0; _i3005 < _list3003.size; ++_i3005) { + _elem3004 = iprot.readI64(); + struct.records.add(_elem3004); + } + } + struct.setRecordsIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -236469,13 +375823,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectCriteriaTime_result implements - org.apache.thrift.TBase, + public static class getKeysRecordsTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCriteriaTime_result"); + "getKeysRecordsTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -236485,19 +375839,22 @@ public static class selectCriteriaTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCriteriaTime_resultStandardSchemeFactory()); + new getKeysRecordsTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCriteriaTime_resultTupleSchemeFactory()); + new getKeysRecordsTimestr_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -236507,7 +375864,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -236531,6 +375889,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -236590,11 +375950,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -236610,60 +375968,63 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectCriteriaTime_result.class, metaDataMap); + getKeysRecordsTimestr_result.class, metaDataMap); } - public selectCriteriaTime_result() {} + public getKeysRecordsTimestr_result() {} - public selectCriteriaTime_result( - Map>> success, + public getKeysRecordsTimestr_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectCriteriaTime_result(selectCriteriaTime_result other) { + public getKeysRecordsTimestr_result( + getKeysRecordsTimestr_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry other_element_value_element : other_element_value .entrySet()) { String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element .getValue(); String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -236684,13 +376045,17 @@ public selectCriteriaTime_result(selectCriteriaTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public selectCriteriaTime_result deepCopy() { - return new selectCriteriaTime_result(this); + public getKeysRecordsTimestr_result deepCopy() { + return new getKeysRecordsTimestr_result(this); } @Override @@ -236699,6 +376064,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -236706,19 +376072,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectCriteriaTime_result setSuccess( - Map>> success) { + public getKeysRecordsTimestr_result setSuccess( + Map> success) { this.success = success; return this; } @@ -236745,7 +376111,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectCriteriaTime_result setEx( + public getKeysRecordsTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -236773,7 +376139,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectCriteriaTime_result setEx2( + public getKeysRecordsTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -236797,12 +376163,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectCriteriaTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeysRecordsTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -236825,6 +376191,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeysRecordsTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -236833,7 +376227,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -236860,7 +376254,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -236881,6 +376284,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -236903,6 +376309,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -236911,12 +376319,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCriteriaTime_result) - return this.equals((selectCriteriaTime_result) that); + if(that instanceof getKeysRecordsTimestr_result) + return this.equals((getKeysRecordsTimestr_result) that); return false; } - public boolean equals(selectCriteriaTime_result that) { + public boolean equals(getKeysRecordsTimestr_result that) { if(that == null) return false; @@ -236956,6 +376364,15 @@ public boolean equals(selectCriteriaTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -236983,11 +376400,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(selectCriteriaTime_result other) { + public int compareTo(getKeysRecordsTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -237043,6 +376465,18 @@ public int compareTo(selectCriteriaTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -237062,7 +376496,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCriteriaTime_result("); + StringBuilder sb = new StringBuilder( + "getKeysRecordsTimestr_result("); boolean first = true; sb.append("success:"); @@ -237103,6 +376538,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -237136,18 +376581,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCriteriaTime_resultStandardSchemeFactory + private static class getKeysRecordsTimestr_resultStandardSchemeFactory implements SchemeFactory { - public selectCriteriaTime_resultStandardScheme getScheme() { - return new selectCriteriaTime_resultStandardScheme(); + public getKeysRecordsTimestr_resultStandardScheme getScheme() { + return new getKeysRecordsTimestr_resultStandardScheme(); } } - private static class selectCriteriaTime_resultStandardScheme - extends StandardScheme { + private static class getKeysRecordsTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCriteriaTime_result struct) + getKeysRecordsTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -237160,41 +376605,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1438 = iprot + org.apache.thrift.protocol.TMap _map3006 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1438.size); - long _key1439; - Map> _val1440; - for (int _i1441 = 0; _i1441 < _map1438.size; ++_i1441) { - _key1439 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3006.size); + long _key3007; + Map _val3008; + for (int _i3009 = 0; _i3009 < _map3006.size; ++_i3009) { + _key3007 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1442 = iprot + org.apache.thrift.protocol.TMap _map3010 = iprot .readMapBegin(); - _val1440 = new LinkedHashMap>( - 2 * _map1442.size); - String _key1443; - Set _val1444; - for (int _i1445 = 0; _i1445 < _map1442.size; ++_i1445) { - _key1443 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1446 = iprot - .readSetBegin(); - _val1444 = new LinkedHashSet( - 2 * _set1446.size); - com.cinchapi.concourse.thrift.TObject _elem1447; - for (int _i1448 = 0; _i1448 < _set1446.size; ++_i1448) { - _elem1447 = new com.cinchapi.concourse.thrift.TObject(); - _elem1447.read(iprot); - _val1444.add(_elem1447); - } - iprot.readSetEnd(); - } - _val1440.put(_key1443, _val1444); + _val3008 = new LinkedHashMap( + 2 * _map3010.size); + String _key3011; + com.cinchapi.concourse.thrift.TObject _val3012; + for (int _i3013 = 0; _i3013 < _map3010.size; ++_i3013) { + _key3011 = iprot.readString(); + _val3012 = new com.cinchapi.concourse.thrift.TObject(); + _val3012.read(iprot); + _val3008.put(_key3011, _val3012); } iprot.readMapEnd(); } - struct.success.put(_key1439, _val1440); + struct.success.put(_key3007, _val3008); } iprot.readMapEnd(); } @@ -237229,7 +376663,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -237238,6 +376672,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -237252,7 +376697,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCriteriaTime_result struct) + getKeysRecordsTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -237264,30 +376709,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter1449 : struct.success + for (Map.Entry> _iter3014 : struct.success .entrySet()) { - oprot.writeI64(_iter1449.getKey()); + oprot.writeI64(_iter3014.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1449.getValue().size())); - for (Map.Entry> _iter1450 : _iter1449 + org.apache.thrift.protocol.TType.STRUCT, + _iter3014.getValue().size())); + for (Map.Entry _iter3015 : _iter3014 .getValue().entrySet()) { - oprot.writeString(_iter1450.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1450.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1451 : _iter1450 - .getValue()) { - _iter1451.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter3015.getKey()); + _iter3015.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -237311,25 +376745,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectCriteriaTime_resultTupleSchemeFactory + private static class getKeysRecordsTimestr_resultTupleSchemeFactory implements SchemeFactory { - public selectCriteriaTime_resultTupleScheme getScheme() { - return new selectCriteriaTime_resultTupleScheme(); + public getKeysRecordsTimestr_resultTupleScheme getScheme() { + return new getKeysRecordsTimestr_resultTupleScheme(); } } - private static class selectCriteriaTime_resultTupleScheme - extends TupleScheme { + private static class getKeysRecordsTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCriteriaTime_result struct) + getKeysRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -237345,26 +376784,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1452 : struct.success + for (Map.Entry> _iter3016 : struct.success .entrySet()) { - oprot.writeI64(_iter1452.getKey()); + oprot.writeI64(_iter3016.getKey()); { - oprot.writeI32(_iter1452.getValue().size()); - for (Map.Entry> _iter1453 : _iter1452 + oprot.writeI32(_iter3016.getValue().size()); + for (Map.Entry _iter3017 : _iter3016 .getValue().entrySet()) { - oprot.writeString(_iter1453.getKey()); - { - oprot.writeI32( - _iter1453.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1454 : _iter1453 - .getValue()) { - _iter1454.write(oprot); - } - } + oprot.writeString(_iter3017.getKey()); + _iter3017.getValue().write(oprot); } } } @@ -237379,54 +376814,46 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCriteriaTime_result struct) + getKeysRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1455 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3018 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1455.size); - long _key1456; - Map> _val1457; - for (int _i1458 = 0; _i1458 < _map1455.size; ++_i1458) { - _key1456 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3018.size); + long _key3019; + Map _val3020; + for (int _i3021 = 0; _i3021 < _map3018.size; ++_i3021) { + _key3019 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1459 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3022 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1457 = new LinkedHashMap>( - 2 * _map1459.size); - String _key1460; - Set _val1461; - for (int _i1462 = 0; _i1462 < _map1459.size; ++_i1462) { - _key1460 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1463 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1461 = new LinkedHashSet( - 2 * _set1463.size); - com.cinchapi.concourse.thrift.TObject _elem1464; - for (int _i1465 = 0; _i1465 < _set1463.size; ++_i1465) { - _elem1464 = new com.cinchapi.concourse.thrift.TObject(); - _elem1464.read(iprot); - _val1461.add(_elem1464); - } - } - _val1457.put(_key1460, _val1461); + _val3020 = new LinkedHashMap( + 2 * _map3022.size); + String _key3023; + com.cinchapi.concourse.thrift.TObject _val3024; + for (int _i3025 = 0; _i3025 < _map3022.size; ++_i3025) { + _key3023 = iprot.readString(); + _val3024 = new com.cinchapi.concourse.thrift.TObject(); + _val3024.read(iprot); + _val3020.put(_key3023, _val3024); } } - struct.success.put(_key1456, _val1457); + struct.success.put(_key3019, _val3020); } } struct.setSuccessIsSet(true); @@ -237442,47 +376869,58 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectCriteriaTimestr_args implements - org.apache.thrift.TBase, + public static class getKeysRecordsTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCriteriaTimestr_args"); + "getKeysRecordsTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); + (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCriteriaTimestr_argsStandardSchemeFactory()); + new getKeysRecordsTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCriteriaTimestr_argsTupleSchemeFactory()); + new getKeysRecordsTimestrOrder_argsTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public List keys; // required + public List records; // required public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -237492,11 +376930,13 @@ public static class selectCriteriaTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CRITERIA((short) 1, "criteria"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEYS((short) 1, "keys"), + RECORDS((short) 2, "records"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -237512,15 +376952,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CRITERIA - return CRITERIA; - case 2: // TIMESTAMP + case 1: // KEYS + return KEYS; + case 2: // RECORDS + return RECORDS; + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -237570,17 +377014,31 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -237600,20 +377058,22 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectCriteriaTimestr_args.class, metaDataMap); + getKeysRecordsTimestrOrder_args.class, metaDataMap); } - public selectCriteriaTimestr_args() {} + public getKeysRecordsTimestrOrder_args() {} - public selectCriteriaTimestr_args( - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public getKeysRecordsTimestrOrder_args(List keys, + List records, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.criteria = criteria; + this.keys = keys; + this.records = records; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -237622,14 +377082,23 @@ public selectCriteriaTimestr_args( /** * Performs a deep copy on other. */ - public selectCriteriaTimestr_args(selectCriteriaTimestr_args other) { - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + public getKeysRecordsTimestrOrder_args( + getKeysRecordsTimestrOrder_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; } if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -237643,44 +377112,102 @@ public selectCriteriaTimestr_args(selectCriteriaTimestr_args other) { } } - public selectCriteriaTimestr_args deepCopy() { - return new selectCriteriaTimestr_args(this); + public getKeysRecordsTimestrOrder_args deepCopy() { + return new getKeysRecordsTimestrOrder_args(this); } @Override public void clear() { - this.criteria = null; + this.keys = null; + this.records = null; this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public selectCriteriaTimestr_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysRecordsTimestrOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setCriteriaIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.criteria = null; + this.keys = null; + } + } + + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); + } + + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); + } + + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); + } + this.records.add(elem); + } + + public List getRecords() { + return this.records; + } + + public getKeysRecordsTimestrOrder_args setRecords(List records) { + this.records = records; + return this; + } + + public void unsetRecords() { + this.records = null; + } + + /** + * Returns true if field records is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecords() { + return this.records != null; + } + + public void setRecordsIsSet(boolean value) { + if(!value) { + this.records = null; } } @@ -237688,7 +377215,7 @@ public String getTimestamp() { return this.timestamp; } - public selectCriteriaTimestr_args setTimestamp(String timestamp) { + public getKeysRecordsTimestrOrder_args setTimestamp(String timestamp) { this.timestamp = timestamp; return this; } @@ -237711,11 +377238,39 @@ public void setTimestampIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeysRecordsTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectCriteriaTimestr_args setCreds( + public getKeysRecordsTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -237743,7 +377298,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectCriteriaTimestr_args setTransaction( + public getKeysRecordsTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -237771,7 +377326,8 @@ public String getEnvironment() { return this.environment; } - public selectCriteriaTimestr_args setEnvironment(String environment) { + public getKeysRecordsTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -237796,13 +377352,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CRITERIA: + case KEYS: if(value == null) { - unsetCriteria(); + unsetKeys(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setKeys((List) value); + } + break; + + case RECORDS: + if(value == null) { + unsetRecords(); + } + else { + setRecords((List) value); } break; @@ -237815,6 +377379,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -237848,12 +377421,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CRITERIA: - return getCriteria(); + case KEYS: + return getKeys(); + + case RECORDS: + return getRecords(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -237877,10 +377456,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case CRITERIA: - return isSetCriteria(); + case KEYS: + return isSetKeys(); + case RECORDS: + return isSetRecords(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -237895,21 +377478,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCriteriaTimestr_args) - return this.equals((selectCriteriaTimestr_args) that); + if(that instanceof getKeysRecordsTimestrOrder_args) + return this.equals((getKeysRecordsTimestrOrder_args) that); return false; } - public boolean equals(selectCriteriaTimestr_args that) { + public boolean equals(getKeysRecordsTimestrOrder_args that) { if(that == null) return false; - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) + return false; + if(!this.records.equals(that.records)) return false; } @@ -237922,6 +377514,15 @@ public boolean equals(selectCriteriaTimestr_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -237956,16 +377557,26 @@ public boolean equals(selectCriteriaTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -237985,7 +377596,7 @@ public int hashCode() { } @Override - public int compareTo(selectCriteriaTimestr_args other) { + public int compareTo(getKeysRecordsTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -237993,14 +377604,26 @@ public int compareTo(selectCriteriaTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecords()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } @@ -238017,6 +377640,18 @@ public int compareTo(selectCriteriaTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -238072,15 +377707,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCriteriaTimestr_args("); + StringBuilder sb = new StringBuilder( + "getKeysRecordsTimestrOrder_args("); boolean first = true; - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("records:"); + if(this.records == null) { + sb.append("null"); + } + else { + sb.append(this.records); } first = false; if(!first) @@ -238093,6 +377739,16 @@ public String toString() { sb.append(this.timestamp); } first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -238130,8 +377786,8 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); + if(order != null) { + order.validate(); } if(creds != null) { creds.validate(); @@ -238165,18 +377821,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCriteriaTimestr_argsStandardSchemeFactory + private static class getKeysRecordsTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectCriteriaTimestr_argsStandardScheme getScheme() { - return new selectCriteriaTimestr_argsStandardScheme(); + public getKeysRecordsTimestrOrder_argsStandardScheme getScheme() { + return new getKeysRecordsTimestrOrder_argsStandardScheme(); } } - private static class selectCriteriaTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeysRecordsTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCriteriaTimestr_args struct) + getKeysRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -238186,18 +377842,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3026 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3026.size); + String _elem3027; + for (int _i3028 = 0; _i3028 < _list3026.size; ++_i3028) { + _elem3027 = iprot.readString(); + struct.keys.add(_elem3027); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP + case 2: // RECORDS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3029 = iprot + .readListBegin(); + struct.records = new ArrayList( + _list3029.size); + long _elem3030; + for (int _i3031 = 0; _i3031 < _list3029.size; ++_i3031) { + _elem3030 = iprot.readI64(); + struct.records.add(_elem3030); + } + iprot.readListEnd(); + } + struct.setRecordsIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); @@ -238207,7 +377894,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -238218,7 +377916,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -238229,7 +377927,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -238253,14 +377951,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCriteriaTimestr_args struct) + getKeysRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3032 : struct.keys) { + oprot.writeString(_iter3032); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter3033 : struct.records) { + oprot.writeI64(_iter3033); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } if(struct.timestamp != null) { @@ -238268,6 +377989,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -238289,44 +378015,66 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectCriteriaTimestr_argsTupleSchemeFactory + private static class getKeysRecordsTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectCriteriaTimestr_argsTupleScheme getScheme() { - return new selectCriteriaTimestr_argsTupleScheme(); + public getKeysRecordsTimestrOrder_argsTupleScheme getScheme() { + return new getKeysRecordsTimestrOrder_argsTupleScheme(); } } - private static class selectCriteriaTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeysRecordsTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCriteriaTimestr_args struct) + getKeysRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCriteria()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetRecords()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3034 : struct.keys) { + oprot.writeString(_iter3034); + } + } + } + if(struct.isSetRecords()) { + { + oprot.writeI32(struct.records.size()); + for (long _iter3035 : struct.records) { + oprot.writeI64(_iter3035); + } + } } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -238340,30 +378088,58 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCriteriaTimestr_args struct) + getKeysRecordsTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + { + org.apache.thrift.protocol.TList _list3036 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3036.size); + String _elem3037; + for (int _i3038 = 0; _i3038 < _list3036.size; ++_i3038) { + _elem3037 = iprot.readString(); + struct.keys.add(_elem3037); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list3039 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.records = new ArrayList(_list3039.size); + long _elem3040; + for (int _i3041 = 0; _i3041 < _list3039.size; ++_i3041) { + _elem3040 = iprot.readI64(); + struct.records.add(_elem3040); + } + } + struct.setRecordsIsSet(true); + } + if(incoming.get(2)) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -238372,13 +378148,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectCriteriaTimestr_result implements - org.apache.thrift.TBase, + public static class getKeysRecordsTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCriteriaTimestr_result"); + "getKeysRecordsTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -238394,12 +378170,12 @@ public static class selectCriteriaTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCriteriaTimestr_resultStandardSchemeFactory()); + new getKeysRecordsTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCriteriaTimestr_resultTupleSchemeFactory()); + new getKeysRecordsTimestrOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -238499,11 +378275,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -238526,13 +378300,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectCriteriaTimestr_result.class, metaDataMap); + getKeysRecordsTimestrOrder_result.class, metaDataMap); } - public selectCriteriaTimestr_result() {} + public getKeysRecordsTimestrOrder_result() {} - public selectCriteriaTimestr_result( - Map>> success, + public getKeysRecordsTimestrOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -238548,39 +378322,34 @@ public selectCriteriaTimestr_result( /** * Performs a deep copy on other. */ - public selectCriteriaTimestr_result( - selectCriteriaTimestr_result other) { + public getKeysRecordsTimestrOrder_result( + getKeysRecordsTimestrOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry other_element_value_element : other_element_value .entrySet()) { String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element .getValue(); String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -238610,8 +378379,8 @@ public selectCriteriaTimestr_result( } } - public selectCriteriaTimestr_result deepCopy() { - return new selectCriteriaTimestr_result(this); + public getKeysRecordsTimestrOrder_result deepCopy() { + return new getKeysRecordsTimestrOrder_result(this); } @Override @@ -238628,19 +378397,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectCriteriaTimestr_result setSuccess( - Map>> success) { + public getKeysRecordsTimestrOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -238667,7 +378436,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectCriteriaTimestr_result setEx( + public getKeysRecordsTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -238695,7 +378464,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectCriteriaTimestr_result setEx2( + public getKeysRecordsTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -238723,7 +378492,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectCriteriaTimestr_result setEx3( + public getKeysRecordsTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -238751,7 +378520,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public selectCriteriaTimestr_result setEx4( + public getKeysRecordsTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -238783,7 +378552,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -238875,12 +378644,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCriteriaTimestr_result) - return this.equals((selectCriteriaTimestr_result) that); + if(that instanceof getKeysRecordsTimestrOrder_result) + return this.equals((getKeysRecordsTimestrOrder_result) that); return false; } - public boolean equals(selectCriteriaTimestr_result that) { + public boolean equals(getKeysRecordsTimestrOrder_result that) { if(that == null) return false; @@ -238965,7 +378734,7 @@ public int hashCode() { } @Override - public int compareTo(selectCriteriaTimestr_result other) { + public int compareTo(getKeysRecordsTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -239053,7 +378822,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "selectCriteriaTimestr_result("); + "getKeysRecordsTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -239137,18 +378906,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCriteriaTimestr_resultStandardSchemeFactory + private static class getKeysRecordsTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectCriteriaTimestr_resultStandardScheme getScheme() { - return new selectCriteriaTimestr_resultStandardScheme(); + public getKeysRecordsTimestrOrder_resultStandardScheme getScheme() { + return new getKeysRecordsTimestrOrder_resultStandardScheme(); } } - private static class selectCriteriaTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeysRecordsTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCriteriaTimestr_result struct) + getKeysRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -239161,41 +378930,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1466 = iprot + org.apache.thrift.protocol.TMap _map3042 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1466.size); - long _key1467; - Map> _val1468; - for (int _i1469 = 0; _i1469 < _map1466.size; ++_i1469) { - _key1467 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3042.size); + long _key3043; + Map _val3044; + for (int _i3045 = 0; _i3045 < _map3042.size; ++_i3045) { + _key3043 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1470 = iprot + org.apache.thrift.protocol.TMap _map3046 = iprot .readMapBegin(); - _val1468 = new LinkedHashMap>( - 2 * _map1470.size); - String _key1471; - Set _val1472; - for (int _i1473 = 0; _i1473 < _map1470.size; ++_i1473) { - _key1471 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1474 = iprot - .readSetBegin(); - _val1472 = new LinkedHashSet( - 2 * _set1474.size); - com.cinchapi.concourse.thrift.TObject _elem1475; - for (int _i1476 = 0; _i1476 < _set1474.size; ++_i1476) { - _elem1475 = new com.cinchapi.concourse.thrift.TObject(); - _elem1475.read(iprot); - _val1472.add(_elem1475); - } - iprot.readSetEnd(); - } - _val1468.put(_key1471, _val1472); + _val3044 = new LinkedHashMap( + 2 * _map3046.size); + String _key3047; + com.cinchapi.concourse.thrift.TObject _val3048; + for (int _i3049 = 0; _i3049 < _map3046.size; ++_i3049) { + _key3047 = iprot.readString(); + _val3048 = new com.cinchapi.concourse.thrift.TObject(); + _val3048.read(iprot); + _val3044.put(_key3047, _val3048); } iprot.readMapEnd(); } - struct.success.put(_key1467, _val1468); + struct.success.put(_key3043, _val3044); } iprot.readMapEnd(); } @@ -239264,7 +379022,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCriteriaTimestr_result struct) + getKeysRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -239276,30 +379034,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter1477 : struct.success + for (Map.Entry> _iter3050 : struct.success .entrySet()) { - oprot.writeI64(_iter1477.getKey()); + oprot.writeI64(_iter3050.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1477.getValue().size())); - for (Map.Entry> _iter1478 : _iter1477 + org.apache.thrift.protocol.TType.STRUCT, + _iter3050.getValue().size())); + for (Map.Entry _iter3051 : _iter3050 .getValue().entrySet()) { - oprot.writeString(_iter1478.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1478.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1479 : _iter1478 - .getValue()) { - _iter1479.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter3051.getKey()); + _iter3051.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -239334,19 +379081,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectCriteriaTimestr_resultTupleSchemeFactory + private static class getKeysRecordsTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectCriteriaTimestr_resultTupleScheme getScheme() { - return new selectCriteriaTimestr_resultTupleScheme(); + public getKeysRecordsTimestrOrder_resultTupleScheme getScheme() { + return new getKeysRecordsTimestrOrder_resultTupleScheme(); } } - private static class selectCriteriaTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeysRecordsTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCriteriaTimestr_result struct) + getKeysRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -239369,22 +379116,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1480 : struct.success + for (Map.Entry> _iter3052 : struct.success .entrySet()) { - oprot.writeI64(_iter1480.getKey()); + oprot.writeI64(_iter3052.getKey()); { - oprot.writeI32(_iter1480.getValue().size()); - for (Map.Entry> _iter1481 : _iter1480 + oprot.writeI32(_iter3052.getValue().size()); + for (Map.Entry _iter3053 : _iter3052 .getValue().entrySet()) { - oprot.writeString(_iter1481.getKey()); - { - oprot.writeI32( - _iter1481.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1482 : _iter1481 - .getValue()) { - _iter1482.write(oprot); - } - } + oprot.writeString(_iter3053.getKey()); + _iter3053.getValue().write(oprot); } } } @@ -239406,50 +379146,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCriteriaTimestr_result struct) + getKeysRecordsTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1483 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3054 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1483.size); - long _key1484; - Map> _val1485; - for (int _i1486 = 0; _i1486 < _map1483.size; ++_i1486) { - _key1484 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3054.size); + long _key3055; + Map _val3056; + for (int _i3057 = 0; _i3057 < _map3054.size; ++_i3057) { + _key3055 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1487 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3058 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1485 = new LinkedHashMap>( - 2 * _map1487.size); - String _key1488; - Set _val1489; - for (int _i1490 = 0; _i1490 < _map1487.size; ++_i1490) { - _key1488 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1491 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1489 = new LinkedHashSet( - 2 * _set1491.size); - com.cinchapi.concourse.thrift.TObject _elem1492; - for (int _i1493 = 0; _i1493 < _set1491.size; ++_i1493) { - _elem1492 = new com.cinchapi.concourse.thrift.TObject(); - _elem1492.read(iprot); - _val1489.add(_elem1492); - } - } - _val1485.put(_key1488, _val1489); + _val3056 = new LinkedHashMap( + 2 * _map3058.size); + String _key3059; + com.cinchapi.concourse.thrift.TObject _val3060; + for (int _i3061 = 0; _i3061 < _map3058.size; ++_i3061) { + _key3059 = iprot.readString(); + _val3060 = new com.cinchapi.concourse.thrift.TObject(); + _val3060.read(iprot); + _val3056.put(_key3059, _val3060); } } - struct.success.put(_key1484, _val1485); + struct.success.put(_key3055, _val3056); } } struct.setSuccessIsSet(true); @@ -239479,18 +379208,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectCclTime_args implements - org.apache.thrift.TBase, + public static class getKeyCriteria_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCclTime_args"); + "getKeyCriteria_args"); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -239503,13 +379232,13 @@ public static class selectCclTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCclTime_argsStandardSchemeFactory()); + new getKeyCriteria_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCclTime_argsTupleSchemeFactory()); + new getKeyCriteria_argsTupleSchemeFactory()); } - public String ccl; // required - public long timestamp; // required + public String key; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -239519,8 +379248,8 @@ public static class selectCclTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CCL((short) 1, "ccl"), - TIMESTAMP((short) 2, "timestamp"), + KEY((short) 1, "key"), + CRITERIA((short) 2, "criteria"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -239539,10 +379268,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CCL - return CCL; - case 2: // TIMESTAMP - return TIMESTAMP; + case 1: // KEY + return KEY; + case 2: // CRITERIA + return CRITERIA; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -239593,22 +379322,21 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -239628,19 +379356,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectCclTime_args.class, metaDataMap); + getKeyCriteria_args.class, metaDataMap); } - public selectCclTime_args() {} + public getKeyCriteria_args() {} - public selectCclTime_args(String ccl, long timestamp, + public getKeyCriteria_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.ccl = ccl; - this.timestamp = timestamp; - setTimestampIsSet(true); + this.key = key; + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -239649,12 +379377,14 @@ public selectCclTime_args(String ccl, long timestamp, /** * Performs a deep copy on other. */ - public selectCclTime_args(selectCclTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetCcl()) { - this.ccl = other.ccl; + public getKeyCriteria_args(getKeyCriteria_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -239668,81 +379398,79 @@ public selectCclTime_args(selectCclTime_args other) { } } - public selectCclTime_args deepCopy() { - return new selectCclTime_args(this); + public getKeyCriteria_args deepCopy() { + return new getKeyCriteria_args(this); } @Override public void clear() { - this.ccl = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.key = null; + this.criteria = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getCcl() { - return this.ccl; + public String getKey() { + return this.key; } - public selectCclTime_args setCcl(String ccl) { - this.ccl = ccl; + public getKeyCriteria_args setKey(String key) { + this.key = key; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetKey() { + return this.key != null; } - public void setCclIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.ccl = null; + this.key = null; } } - public long getTimestamp() { - return this.timestamp; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public selectCclTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); + public getKeyCriteria_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field criteria is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public boolean isSetCriteria() { + return this.criteria != null; } - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectCclTime_args setCreds( + public getKeyCriteria_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -239770,7 +379498,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectCclTime_args setTransaction( + public getKeyCriteria_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -239798,7 +379526,7 @@ public String getEnvironment() { return this.environment; } - public selectCclTime_args setEnvironment(String environment) { + public getKeyCriteria_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -239823,21 +379551,22 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CCL: + case KEY: if(value == null) { - unsetCcl(); + unsetKey(); } else { - setCcl((String) value); + setKey((String) value); } break; - case TIMESTAMP: + case CRITERIA: if(value == null) { - unsetTimestamp(); + unsetCriteria(); } else { - setTimestamp((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -239874,11 +379603,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CCL: - return getCcl(); + case KEY: + return getKey(); - case TIMESTAMP: - return getTimestamp(); + case CRITERIA: + return getCriteria(); case CREDS: return getCreds(); @@ -239903,10 +379632,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case CCL: - return isSetCcl(); - case TIMESTAMP: - return isSetTimestamp(); + case KEY: + return isSetKey(); + case CRITERIA: + return isSetCriteria(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -239921,30 +379650,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCclTime_args) - return this.equals((selectCclTime_args) that); + if(that instanceof getKeyCriteria_args) + return this.equals((getKeyCriteria_args) that); return false; } - public boolean equals(selectCclTime_args that) { + public boolean equals(getKeyCriteria_args that) { if(that == null) return false; - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.timestamp != that.timestamp) + if(!this.criteria.equals(that.criteria)) return false; } @@ -239982,15 +379711,15 @@ public boolean equals(selectCclTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -240011,7 +379740,7 @@ public int hashCode() { } @Override - public int compareTo(selectCclTime_args other) { + public int compareTo(getKeyCriteria_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -240019,26 +379748,26 @@ public int compareTo(selectCclTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -240098,21 +379827,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCclTime_args("); + StringBuilder sb = new StringBuilder("getKeyCriteria_args("); boolean first = true; - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } first = false; if(!first) sb.append(", "); @@ -240151,6 +379885,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -240174,10 +379911,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -240187,18 +379920,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCclTime_argsStandardSchemeFactory + private static class getKeyCriteria_argsStandardSchemeFactory implements SchemeFactory { - public selectCclTime_argsStandardScheme getScheme() { - return new selectCclTime_argsStandardScheme(); + public getKeyCriteria_argsStandardScheme getScheme() { + return new getKeyCriteria_argsStandardScheme(); } } - private static class selectCclTime_argsStandardScheme - extends StandardScheme { + private static class getKeyCriteria_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCclTime_args struct) + getKeyCriteria_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -240208,20 +379941,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CCL + case 1: // KEY if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -240274,19 +380008,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCclTime_args struct) + getKeyCriteria_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -240308,26 +380044,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectCclTime_argsTupleSchemeFactory + private static class getKeyCriteria_argsTupleSchemeFactory implements SchemeFactory { - public selectCclTime_argsTupleScheme getScheme() { - return new selectCclTime_argsTupleScheme(); + public getKeyCriteria_argsTupleScheme getScheme() { + return new getKeyCriteria_argsTupleScheme(); } } - private static class selectCclTime_argsTupleScheme - extends TupleScheme { + private static class getKeyCriteria_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCclTime_args struct) + getKeyCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCcl()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetCriteria()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -240340,11 +380076,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetKey()) { + oprot.writeString(struct.key); } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -240359,17 +380095,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCclTime_args struct) + getKeyCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -240390,13 +380127,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectCclTime_result implements - org.apache.thrift.TBase, + public static class getKeyCriteria_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCclTime_result"); + "getKeyCriteria_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -240406,22 +380143,19 @@ public static class selectCclTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCclTime_resultStandardSchemeFactory()); + new getKeyCriteria_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCclTime_resultTupleSchemeFactory()); + new getKeyCriteria_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -240431,8 +380165,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -240456,8 +380189,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -240513,15 +380244,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -240537,72 +380262,43 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectCclTime_result.class, metaDataMap); + getKeyCriteria_result.class, metaDataMap); } - public selectCclTime_result() {} + public getKeyCriteria_result() {} - public selectCclTime_result( - Map>> success, + public getKeyCriteria_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectCclTime_result(selectCclTime_result other) { + public getKeyCriteria_result(getKeyCriteria_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( - other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -240618,17 +380314,13 @@ public selectCclTime_result(selectCclTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public selectCclTime_result deepCopy() { - return new selectCclTime_result(this); + public getKeyCriteria_result deepCopy() { + return new getKeyCriteria_result(this); } @Override @@ -240637,7 +380329,6 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { @@ -240645,19 +380336,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map getSuccess() { return this.success; } - public selectCclTime_result setSuccess( - Map>> success) { + public getKeyCriteria_result setSuccess( + Map success) { this.success = success; return this; } @@ -240684,7 +380375,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectCclTime_result setEx( + public getKeyCriteria_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -240712,7 +380403,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectCclTime_result setEx2( + public getKeyCriteria_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -240736,12 +380427,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectCclTime_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getKeyCriteria_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -240764,34 +380455,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public selectCclTime_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -240800,7 +380463,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map) value); } break; @@ -240827,16 +380490,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -240857,9 +380511,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -240882,8 +380533,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -240892,12 +380541,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCclTime_result) - return this.equals((selectCclTime_result) that); + if(that instanceof getKeyCriteria_result) + return this.equals((getKeyCriteria_result) that); return false; } - public boolean equals(selectCclTime_result that) { + public boolean equals(getKeyCriteria_result that) { if(that == null) return false; @@ -240937,15 +380586,6 @@ public boolean equals(selectCclTime_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -240973,16 +380613,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(selectCclTime_result other) { + public int compareTo(getKeyCriteria_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -241038,18 +380673,6 @@ public int compareTo(selectCclTime_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -241069,7 +380692,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCclTime_result("); + StringBuilder sb = new StringBuilder("getKeyCriteria_result("); boolean first = true; sb.append("success:"); @@ -241110,16 +380733,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -241153,18 +380766,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCclTime_resultStandardSchemeFactory + private static class getKeyCriteria_resultStandardSchemeFactory implements SchemeFactory { - public selectCclTime_resultStandardScheme getScheme() { - return new selectCclTime_resultStandardScheme(); + public getKeyCriteria_resultStandardScheme getScheme() { + return new getKeyCriteria_resultStandardScheme(); } } - private static class selectCclTime_resultStandardScheme - extends StandardScheme { + private static class getKeyCriteria_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCclTime_result struct) + getKeyCriteria_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -241177,41 +380790,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1494 = iprot + org.apache.thrift.protocol.TMap _map3062 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1494.size); - long _key1495; - Map> _val1496; - for (int _i1497 = 0; _i1497 < _map1494.size; ++_i1497) { - _key1495 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1498 = iprot - .readMapBegin(); - _val1496 = new LinkedHashMap>( - 2 * _map1498.size); - String _key1499; - Set _val1500; - for (int _i1501 = 0; _i1501 < _map1498.size; ++_i1501) { - _key1499 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1502 = iprot - .readSetBegin(); - _val1500 = new LinkedHashSet( - 2 * _set1502.size); - com.cinchapi.concourse.thrift.TObject _elem1503; - for (int _i1504 = 0; _i1504 < _set1502.size; ++_i1504) { - _elem1503 = new com.cinchapi.concourse.thrift.TObject(); - _elem1503.read(iprot); - _val1500.add(_elem1503); - } - iprot.readSetEnd(); - } - _val1496.put(_key1499, _val1500); - } - iprot.readMapEnd(); - } - struct.success.put(_key1495, _val1496); + struct.success = new LinkedHashMap( + 2 * _map3062.size); + long _key3063; + com.cinchapi.concourse.thrift.TObject _val3064; + for (int _i3065 = 0; _i3065 < _map3062.size; ++_i3065) { + _key3063 = iprot.readI64(); + _val3064 = new com.cinchapi.concourse.thrift.TObject(); + _val3064.read(iprot); + struct.success.put(_key3063, _val3064); } iprot.readMapEnd(); } @@ -241246,7 +380835,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -241255,17 +380844,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -241280,7 +380858,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCclTime_result struct) + getKeyCriteria_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -241290,35 +380868,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry>> _iter1505 : struct.success + for (Map.Entry _iter3066 : struct.success .entrySet()) { - oprot.writeI64(_iter1505.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1505.getValue().size())); - for (Map.Entry> _iter1506 : _iter1505 - .getValue().entrySet()) { - oprot.writeString(_iter1506.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1506.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1507 : _iter1506 - .getValue()) { - _iter1507.write(oprot); - } - oprot.writeSetEnd(); - } - } - oprot.writeMapEnd(); - } + oprot.writeI64(_iter3066.getKey()); + _iter3066.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -241339,30 +380894,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectCclTime_resultTupleSchemeFactory + private static class getKeyCriteria_resultTupleSchemeFactory implements SchemeFactory { - public selectCclTime_resultTupleScheme getScheme() { - return new selectCclTime_resultTupleScheme(); + public getKeyCriteria_resultTupleScheme getScheme() { + return new getKeyCriteria_resultTupleScheme(); } } - private static class selectCclTime_resultTupleScheme - extends TupleScheme { + private static class getKeyCriteria_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCclTime_result struct) + getKeyCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -241378,31 +380928,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1508 : struct.success + for (Map.Entry _iter3067 : struct.success .entrySet()) { - oprot.writeI64(_iter1508.getKey()); - { - oprot.writeI32(_iter1508.getValue().size()); - for (Map.Entry> _iter1509 : _iter1508 - .getValue().entrySet()) { - oprot.writeString(_iter1509.getKey()); - { - oprot.writeI32( - _iter1509.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1510 : _iter1509 - .getValue()) { - _iter1510.write(oprot); - } - } - } - } + oprot.writeI64(_iter3067.getKey()); + _iter3067.getValue().write(oprot); } } } @@ -241415,57 +380948,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCclTime_result struct) + getKeyCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1511 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3068 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1511.size); - long _key1512; - Map> _val1513; - for (int _i1514 = 0; _i1514 < _map1511.size; ++_i1514) { - _key1512 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1515 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - iprot.readI32()); - _val1513 = new LinkedHashMap>( - 2 * _map1515.size); - String _key1516; - Set _val1517; - for (int _i1518 = 0; _i1518 < _map1515.size; ++_i1518) { - _key1516 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1519 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1517 = new LinkedHashSet( - 2 * _set1519.size); - com.cinchapi.concourse.thrift.TObject _elem1520; - for (int _i1521 = 0; _i1521 < _set1519.size; ++_i1521) { - _elem1520 = new com.cinchapi.concourse.thrift.TObject(); - _elem1520.read(iprot); - _val1517.add(_elem1520); - } - } - _val1513.put(_key1516, _val1517); - } - } - struct.success.put(_key1512, _val1513); + struct.success = new LinkedHashMap( + 2 * _map3068.size); + long _key3069; + com.cinchapi.concourse.thrift.TObject _val3070; + for (int _i3071 = 0; _i3071 < _map3068.size; ++_i3071) { + _key3069 = iprot.readI64(); + _val3070 = new com.cinchapi.concourse.thrift.TObject(); + _val3070.read(iprot); + struct.success.put(_key3069, _val3070); } } struct.setSuccessIsSet(true); @@ -241481,52 +380986,49 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class selectCclTimestr_args implements - org.apache.thrift.TBase, + public static class getKeyCriteriaOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCclTimestr_args"); + "getKeyCriteriaOrder_args"); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCclTimestr_argsStandardSchemeFactory()); + new getKeyCriteriaOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCclTimestr_argsTupleSchemeFactory()); + new getKeyCriteriaOrder_argsTupleSchemeFactory()); } - public String ccl; // required - public String timestamp; // required + public String key; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -241536,11 +381038,12 @@ public static class selectCclTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CCL((short) 1, "ccl"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + CRITERIA((short) 2, "criteria"), + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -241556,15 +381059,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CCL - return CCL; - case 2: // TIMESTAMP - return TIMESTAMP; - case 3: // CREDS + case 1: // KEY + return KEY; + case 2: // CRITERIA + return CRITERIA; + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -241614,16 +381119,23 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -241643,18 +381155,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectCclTimestr_args.class, metaDataMap); + getKeyCriteriaOrder_args.class, metaDataMap); } - public selectCclTimestr_args() {} + public getKeyCriteriaOrder_args() {} - public selectCclTimestr_args(String ccl, String timestamp, + public getKeyCriteriaOrder_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.ccl = ccl; - this.timestamp = timestamp; + this.key = key; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -241663,12 +381178,17 @@ public selectCclTimestr_args(String ccl, String timestamp, /** * Performs a deep copy on other. */ - public selectCclTimestr_args(selectCclTimestr_args other) { - if(other.isSetCcl()) { - this.ccl = other.ccl; + public getKeyCriteriaOrder_args(getKeyCriteriaOrder_args other) { + if(other.isSetKey()) { + this.key = other.key; } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -241683,70 +381203,100 @@ public selectCclTimestr_args(selectCclTimestr_args other) { } } - public selectCclTimestr_args deepCopy() { - return new selectCclTimestr_args(this); + public getKeyCriteriaOrder_args deepCopy() { + return new getKeyCriteriaOrder_args(this); } @Override public void clear() { - this.ccl = null; - this.timestamp = null; + this.key = null; + this.criteria = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getCcl() { - return this.ccl; + public String getKey() { + return this.key; } - public selectCclTimestr_args setCcl(String ccl) { - this.ccl = ccl; + public getKeyCriteriaOrder_args setKey(String key) { + this.key = key; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetKey() { + return this.key != null; } - public void setCclIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.ccl = null; + this.key = null; } } - public String getTimestamp() { - return this.timestamp; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public selectCclTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; + public getKeyCriteriaOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetTimestamp() { - this.timestamp = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field criteria is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return this.timestamp != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setTimestampIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.timestamp = null; + this.criteria = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeyCriteriaOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; } } @@ -241754,7 +381304,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectCclTimestr_args setCreds( + public getKeyCriteriaOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -241782,7 +381332,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectCclTimestr_args setTransaction( + public getKeyCriteriaOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -241810,7 +381360,7 @@ public String getEnvironment() { return this.environment; } - public selectCclTimestr_args setEnvironment(String environment) { + public getKeyCriteriaOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -241835,21 +381385,31 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CCL: + case KEY: if(value == null) { - unsetCcl(); + unsetKey(); } else { - setCcl((String) value); + setKey((String) value); } break; - case TIMESTAMP: + case CRITERIA: if(value == null) { - unsetTimestamp(); + unsetCriteria(); } else { - setTimestamp((String) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -241886,11 +381446,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CCL: - return getCcl(); + case KEY: + return getKey(); - case TIMESTAMP: - return getTimestamp(); + case CRITERIA: + return getCriteria(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -241915,10 +381478,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case CCL: - return isSetCcl(); - case TIMESTAMP: - return isSetTimestamp(); + case KEY: + return isSetKey(); + case CRITERIA: + return isSetCriteria(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -241933,30 +381498,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCclTimestr_args) - return this.equals((selectCclTimestr_args) that); + if(that instanceof getKeyCriteriaOrder_args) + return this.equals((getKeyCriteriaOrder_args) that); return false; } - public boolean equals(selectCclTimestr_args that) { + public boolean equals(getKeyCriteriaOrder_args that) { if(that == null) return false; - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(!this.criteria.equals(that.criteria)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -241994,15 +381568,20 @@ public boolean equals(selectCclTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_timestamp = true && (isSetTimestamp()); - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -242023,7 +381602,7 @@ public int hashCode() { } @Override - public int compareTo(selectCclTimestr_args other) { + public int compareTo(getKeyCriteriaOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -242031,26 +381610,38 @@ public int compareTo(selectCclTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.criteria, other.criteria); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -242110,25 +381701,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCclTimestr_args("); + StringBuilder sb = new StringBuilder("getKeyCriteriaOrder_args("); boolean first = true; - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.criteria); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -242168,6 +381769,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -242200,18 +381807,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCclTimestr_argsStandardSchemeFactory + private static class getKeyCriteriaOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectCclTimestr_argsStandardScheme getScheme() { - return new selectCclTimestr_argsStandardScheme(); + public getKeyCriteriaOrder_argsStandardScheme getScheme() { + return new getKeyCriteriaOrder_argsStandardScheme(); } } - private static class selectCclTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeyCriteriaOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCclTimestr_args struct) + getKeyCriteriaOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -242221,27 +381828,39 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CCL + case 1: // KEY if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -242252,7 +381871,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -242263,7 +381882,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -242287,19 +381906,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCclTimestr_args struct) + getKeyCriteriaOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -242323,43 +381947,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectCclTimestr_argsTupleSchemeFactory + private static class getKeyCriteriaOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectCclTimestr_argsTupleScheme getScheme() { - return new selectCclTimestr_argsTupleScheme(); + public getKeyCriteriaOrder_argsTupleScheme getScheme() { + return new getKeyCriteriaOrder_argsTupleScheme(); } } - private static class selectCclTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeyCriteriaOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCclTimestr_args struct) + getKeyCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCcl()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetEnvironment()) { + optionals.set(5); } - if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -242374,29 +382004,35 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCclTimestr_args struct) + getKeyCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -242405,13 +382041,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectCclTimestr_result implements - org.apache.thrift.TBase, + public static class getKeyCriteriaOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectCclTimestr_result"); + "getKeyCriteriaOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -242421,22 +382057,19 @@ public static class selectCclTimestr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectCclTimestr_resultStandardSchemeFactory()); + new getKeyCriteriaOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectCclTimestr_resultTupleSchemeFactory()); + new getKeyCriteriaOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -242446,8 +382079,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -242471,8 +382103,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -242528,15 +382158,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -242552,72 +382176,43 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectCclTimestr_result.class, metaDataMap); + getKeyCriteriaOrder_result.class, metaDataMap); } - public selectCclTimestr_result() {} + public getKeyCriteriaOrder_result() {} - public selectCclTimestr_result( - Map>> success, + public getKeyCriteriaOrder_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectCclTimestr_result(selectCclTimestr_result other) { + public getKeyCriteriaOrder_result(getKeyCriteriaOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( - other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - Set other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -242633,17 +382228,13 @@ public selectCclTimestr_result(selectCclTimestr_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public selectCclTimestr_result deepCopy() { - return new selectCclTimestr_result(this); + public getKeyCriteriaOrder_result deepCopy() { + return new getKeyCriteriaOrder_result(this); } @Override @@ -242652,7 +382243,6 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { @@ -242660,19 +382250,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map getSuccess() { return this.success; } - public selectCclTimestr_result setSuccess( - Map>> success) { + public getKeyCriteriaOrder_result setSuccess( + Map success) { this.success = success; return this; } @@ -242699,7 +382289,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectCclTimestr_result setEx( + public getKeyCriteriaOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -242727,7 +382317,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectCclTimestr_result setEx2( + public getKeyCriteriaOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -242751,12 +382341,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectCclTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getKeyCriteriaOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -242779,34 +382369,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public selectCclTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -242815,7 +382377,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map) value); } break; @@ -242842,16 +382404,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -242872,9 +382425,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -242897,8 +382447,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -242907,12 +382455,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectCclTimestr_result) - return this.equals((selectCclTimestr_result) that); + if(that instanceof getKeyCriteriaOrder_result) + return this.equals((getKeyCriteriaOrder_result) that); return false; } - public boolean equals(selectCclTimestr_result that) { + public boolean equals(getKeyCriteriaOrder_result that) { if(that == null) return false; @@ -242952,15 +382500,6 @@ public boolean equals(selectCclTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -242988,16 +382527,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(selectCclTimestr_result other) { + public int compareTo(getKeyCriteriaOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -243053,18 +382587,6 @@ public int compareTo(selectCclTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -243084,7 +382606,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectCclTimestr_result("); + StringBuilder sb = new StringBuilder("getKeyCriteriaOrder_result("); boolean first = true; sb.append("success:"); @@ -243125,16 +382647,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -243168,18 +382680,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectCclTimestr_resultStandardSchemeFactory + private static class getKeyCriteriaOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectCclTimestr_resultStandardScheme getScheme() { - return new selectCclTimestr_resultStandardScheme(); + public getKeyCriteriaOrder_resultStandardScheme getScheme() { + return new getKeyCriteriaOrder_resultStandardScheme(); } } - private static class selectCclTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeyCriteriaOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectCclTimestr_result struct) + getKeyCriteriaOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -243192,41 +382704,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1522 = iprot + org.apache.thrift.protocol.TMap _map3072 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1522.size); - long _key1523; - Map> _val1524; - for (int _i1525 = 0; _i1525 < _map1522.size; ++_i1525) { - _key1523 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1526 = iprot - .readMapBegin(); - _val1524 = new LinkedHashMap>( - 2 * _map1526.size); - String _key1527; - Set _val1528; - for (int _i1529 = 0; _i1529 < _map1526.size; ++_i1529) { - _key1527 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1530 = iprot - .readSetBegin(); - _val1528 = new LinkedHashSet( - 2 * _set1530.size); - com.cinchapi.concourse.thrift.TObject _elem1531; - for (int _i1532 = 0; _i1532 < _set1530.size; ++_i1532) { - _elem1531 = new com.cinchapi.concourse.thrift.TObject(); - _elem1531.read(iprot); - _val1528.add(_elem1531); - } - iprot.readSetEnd(); - } - _val1524.put(_key1527, _val1528); - } - iprot.readMapEnd(); - } - struct.success.put(_key1523, _val1524); + struct.success = new LinkedHashMap( + 2 * _map3072.size); + long _key3073; + com.cinchapi.concourse.thrift.TObject _val3074; + for (int _i3075 = 0; _i3075 < _map3072.size; ++_i3075) { + _key3073 = iprot.readI64(); + _val3074 = new com.cinchapi.concourse.thrift.TObject(); + _val3074.read(iprot); + struct.success.put(_key3073, _val3074); } iprot.readMapEnd(); } @@ -243261,7 +382749,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -243270,17 +382758,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -243295,7 +382772,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectCclTimestr_result struct) + getKeyCriteriaOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -243305,35 +382782,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry>> _iter1533 : struct.success + for (Map.Entry _iter3076 : struct.success .entrySet()) { - oprot.writeI64(_iter1533.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1533.getValue().size())); - for (Map.Entry> _iter1534 : _iter1533 - .getValue().entrySet()) { - oprot.writeString(_iter1534.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1534.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1535 : _iter1534 - .getValue()) { - _iter1535.write(oprot); - } - oprot.writeSetEnd(); - } - } - oprot.writeMapEnd(); - } + oprot.writeI64(_iter3076.getKey()); + _iter3076.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -243354,30 +382808,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectCclTimestr_resultTupleSchemeFactory + private static class getKeyCriteriaOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectCclTimestr_resultTupleScheme getScheme() { - return new selectCclTimestr_resultTupleScheme(); + public getKeyCriteriaOrder_resultTupleScheme getScheme() { + return new getKeyCriteriaOrder_resultTupleScheme(); } } - private static class selectCclTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeyCriteriaOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectCclTimestr_result struct) + getKeyCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -243393,31 +382842,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1536 : struct.success + for (Map.Entry _iter3077 : struct.success .entrySet()) { - oprot.writeI64(_iter1536.getKey()); - { - oprot.writeI32(_iter1536.getValue().size()); - for (Map.Entry> _iter1537 : _iter1536 - .getValue().entrySet()) { - oprot.writeString(_iter1537.getKey()); - { - oprot.writeI32( - _iter1537.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1538 : _iter1537 - .getValue()) { - _iter1538.write(oprot); - } - } - } - } + oprot.writeI64(_iter3077.getKey()); + _iter3077.getValue().write(oprot); } } } @@ -243430,57 +382862,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectCclTimestr_result struct) + getKeyCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1539 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3078 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1539.size); - long _key1540; - Map> _val1541; - for (int _i1542 = 0; _i1542 < _map1539.size; ++_i1542) { - _key1540 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1543 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - iprot.readI32()); - _val1541 = new LinkedHashMap>( - 2 * _map1543.size); - String _key1544; - Set _val1545; - for (int _i1546 = 0; _i1546 < _map1543.size; ++_i1546) { - _key1544 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1547 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1545 = new LinkedHashSet( - 2 * _set1547.size); - com.cinchapi.concourse.thrift.TObject _elem1548; - for (int _i1549 = 0; _i1549 < _set1547.size; ++_i1549) { - _elem1548 = new com.cinchapi.concourse.thrift.TObject(); - _elem1548.read(iprot); - _val1545.add(_elem1548); - } - } - _val1541.put(_key1544, _val1545); - } - } - struct.success.put(_key1540, _val1541); + struct.success = new LinkedHashMap( + 2 * _map3078.size); + long _key3079; + com.cinchapi.concourse.thrift.TObject _val3080; + for (int _i3081 = 0; _i3081 < _map3078.size; ++_i3081) { + _key3079 = iprot.readI64(); + _val3080 = new com.cinchapi.concourse.thrift.TObject(); + _val3080.read(iprot); + struct.success.put(_key3079, _val3080); } } struct.setSuccessIsSet(true); @@ -243496,50 +382900,42 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class selectKeyCriteria_args implements - org.apache.thrift.TBase, + public static class getCriteria_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCriteria_args"); + "getCriteria_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 3); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCriteria_argsStandardSchemeFactory()); + new getCriteria_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCriteria_argsTupleSchemeFactory()); + new getCriteria_argsTupleSchemeFactory()); } - public String key; // required public com.cinchapi.concourse.thrift.TCriteria criteria; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required @@ -243550,11 +382946,10 @@ public static class selectKeyCriteria_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - CRITERIA((short) 2, "criteria"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + CRITERIA((short) 1, "criteria"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); private static final Map byName = new LinkedHashMap(); @@ -243570,15 +382965,13 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // CRITERIA + case 1: // CRITERIA return CRITERIA; - case 3: // CREDS + case 2: // CREDS return CREDS; - case 4: // TRANSACTION + case 3: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 4: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -243628,11 +383021,6 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CRITERIA, new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -243657,19 +383045,18 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCriteria_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(getCriteria_args.class, metaDataMap); } - public selectKeyCriteria_args() {} + public getCriteria_args() {} - public selectKeyCriteria_args(String key, + public getCriteria_args( com.cinchapi.concourse.thrift.TCriteria criteria, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; this.criteria = criteria; this.creds = creds; this.transaction = transaction; @@ -243679,10 +383066,7 @@ public selectKeyCriteria_args(String key, /** * Performs a deep copy on other. */ - public selectKeyCriteria_args(selectKeyCriteria_args other) { - if(other.isSetKey()) { - this.key = other.key; - } + public getCriteria_args(getCriteria_args other) { if(other.isSetCriteria()) { this.criteria = new com.cinchapi.concourse.thrift.TCriteria( other.criteria); @@ -243700,51 +383084,23 @@ public selectKeyCriteria_args(selectKeyCriteria_args other) { } } - public selectKeyCriteria_args deepCopy() { - return new selectKeyCriteria_args(this); + public getCriteria_args deepCopy() { + return new getCriteria_args(this); } @Override public void clear() { - this.key = null; this.criteria = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; - } - - public selectKeyCriteria_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; - } - - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; - } - - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; - } - } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { return this.criteria; } - public selectKeyCriteria_args setCriteria( + public getCriteria_args setCriteria( com.cinchapi.concourse.thrift.TCriteria criteria) { this.criteria = criteria; return this; @@ -243772,7 +383128,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyCriteria_args setCreds( + public getCriteria_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -243800,7 +383156,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyCriteria_args setTransaction( + public getCriteria_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -243828,7 +383184,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyCriteria_args setEnvironment(String environment) { + public getCriteria_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -243853,15 +383209,6 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - case CRITERIA: if(value == null) { unsetCriteria(); @@ -243905,9 +383252,6 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - case CRITERIA: return getCriteria(); @@ -243934,8 +383278,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); case CRITERIA: return isSetCriteria(); case CREDS: @@ -243952,24 +383294,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCriteria_args) - return this.equals((selectKeyCriteria_args) that); + if(that instanceof getCriteria_args) + return this.equals((getCriteria_args) that); return false; } - public boolean equals(selectKeyCriteria_args that) { + public boolean equals(getCriteria_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - boolean this_present_criteria = true && this.isSetCriteria(); boolean that_present_criteria = true && that.isSetCriteria(); if(this_present_criteria || that_present_criteria) { @@ -244013,11 +383346,6 @@ public boolean equals(selectKeyCriteria_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - boolean present_criteria = true && (isSetCriteria()); list.add(present_criteria); if(present_criteria) @@ -244042,7 +383370,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyCriteria_args other) { + public int compareTo(getCriteria_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -244050,18 +383378,6 @@ public int compareTo(selectKeyCriteria_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetCriteria()) .compareTo(other.isSetCriteria()); if(lastComparison != 0) { @@ -244129,19 +383445,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyCriteria_args("); + StringBuilder sb = new StringBuilder("getCriteria_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { - sb.append("null"); - } - else { - sb.append(this.key); - } - first = false; - if(!first) - sb.append(", "); sb.append("criteria:"); if(this.criteria == null) { sb.append("null"); @@ -244222,18 +383528,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCriteria_argsStandardSchemeFactory + private static class getCriteria_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyCriteria_argsStandardScheme getScheme() { - return new selectKeyCriteria_argsStandardScheme(); + public getCriteria_argsStandardScheme getScheme() { + return new getCriteria_argsStandardScheme(); } } - private static class selectKeyCriteria_argsStandardScheme - extends StandardScheme { + private static class getCriteria_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCriteria_args struct) + getCriteria_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -244243,17 +383549,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // CRITERIA + case 1: // CRITERIA if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); struct.criteria.read(iprot); @@ -244264,7 +383560,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 2: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -244275,7 +383571,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 3: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -244286,7 +383582,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 4: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -244310,16 +383606,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCriteria_args struct) + getCriteria_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } if(struct.criteria != null) { oprot.writeFieldBegin(CRITERIA_FIELD_DESC); struct.criteria.write(oprot); @@ -244346,41 +383637,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyCriteria_argsTupleSchemeFactory + private static class getCriteria_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyCriteria_argsTupleScheme getScheme() { - return new selectKeyCriteria_argsTupleScheme(); + public getCriteria_argsTupleScheme getScheme() { + return new getCriteria_argsTupleScheme(); } } - private static class selectKeyCriteria_argsTupleScheme - extends TupleScheme { + private static class getCriteria_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteria_args struct) + getCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { - optionals.set(0); - } if(struct.isSetCriteria()) { - optionals.set(1); + optionals.set(0); } if(struct.isSetCreds()) { - optionals.set(2); + optionals.set(1); } if(struct.isSetTransaction()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetEnvironment()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + optionals.set(3); } + oprot.writeBitSet(optionals, 4); if(struct.isSetCriteria()) { struct.criteria.write(oprot); } @@ -244397,30 +383682,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteria_args struct) + getCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - if(incoming.get(1)) { struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); struct.criteria.read(iprot); struct.setCriteriaIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(1)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(2)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -244429,13 +383710,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyCriteria_result implements - org.apache.thrift.TBase, + public static class getCriteria_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCriteria_result"); + "getCriteria_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -244449,12 +383730,12 @@ public static class selectKeyCriteria_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCriteria_resultStandardSchemeFactory()); + new getCriteria_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCriteria_resultTupleSchemeFactory()); + new getCriteria_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -244546,8 +383827,10 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))))); @@ -244568,13 +383851,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCriteria_result.class, metaDataMap); + getCriteria_result.class, metaDataMap); } - public selectKeyCriteria_result() {} + public getCriteria_result() {} - public selectKeyCriteria_result( - Map> success, + public getCriteria_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -244588,25 +383871,37 @@ public selectKeyCriteria_result( /** * Performs a deep copy on other. */ - public selectKeyCriteria_result(selectKeyCriteria_result other) { + public getCriteria_result(getCriteria_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -244628,8 +383923,8 @@ public selectKeyCriteria_result(selectKeyCriteria_result other) { } } - public selectKeyCriteria_result deepCopy() { - return new selectKeyCriteria_result(this); + public getCriteria_result deepCopy() { + return new getCriteria_result(this); } @Override @@ -244645,19 +383940,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeyCriteria_result setSuccess( - Map> success) { + public getCriteria_result setSuccess( + Map> success) { this.success = success; return this; } @@ -244684,7 +383979,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyCriteria_result setEx( + public getCriteria_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -244712,7 +384007,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyCriteria_result setEx2( + public getCriteria_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -244740,7 +384035,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeyCriteria_result setEx3( + public getCriteria_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -244772,7 +384067,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -244850,12 +384145,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCriteria_result) - return this.equals((selectKeyCriteria_result) that); + if(that instanceof getCriteria_result) + return this.equals((getCriteria_result) that); return false; } - public boolean equals(selectKeyCriteria_result that) { + public boolean equals(getCriteria_result that) { if(that == null) return false; @@ -244926,7 +384221,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyCriteria_result other) { + public int compareTo(getCriteria_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -245001,7 +384296,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyCriteria_result("); + StringBuilder sb = new StringBuilder("getCriteria_result("); boolean first = true; sb.append("success:"); @@ -245075,18 +384370,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCriteria_resultStandardSchemeFactory + private static class getCriteria_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyCriteria_resultStandardScheme getScheme() { - return new selectKeyCriteria_resultStandardScheme(); + public getCriteria_resultStandardScheme getScheme() { + return new getCriteria_resultStandardScheme(); } } - private static class selectKeyCriteria_resultStandardScheme - extends StandardScheme { + private static class getCriteria_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCriteria_result struct) + getCriteria_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -245099,28 +384394,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1550 = iprot + org.apache.thrift.protocol.TMap _map3082 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1550.size); - long _key1551; - Set _val1552; - for (int _i1553 = 0; _i1553 < _map1550.size; ++_i1553) { - _key1551 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3082.size); + long _key3083; + Map _val3084; + for (int _i3085 = 0; _i3085 < _map3082.size; ++_i3085) { + _key3083 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1554 = iprot - .readSetBegin(); - _val1552 = new LinkedHashSet( - 2 * _set1554.size); - com.cinchapi.concourse.thrift.TObject _elem1555; - for (int _i1556 = 0; _i1556 < _set1554.size; ++_i1556) { - _elem1555 = new com.cinchapi.concourse.thrift.TObject(); - _elem1555.read(iprot); - _val1552.add(_elem1555); + org.apache.thrift.protocol.TMap _map3086 = iprot + .readMapBegin(); + _val3084 = new LinkedHashMap( + 2 * _map3086.size); + String _key3087; + com.cinchapi.concourse.thrift.TObject _val3088; + for (int _i3089 = 0; _i3089 < _map3086.size; ++_i3089) { + _key3087 = iprot.readString(); + _val3088 = new com.cinchapi.concourse.thrift.TObject(); + _val3088.read(iprot); + _val3084.put(_key3087, _val3088); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key1551, _val1552); + struct.success.put(_key3083, _val3084); } iprot.readMapEnd(); } @@ -245178,7 +384475,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCriteria_result struct) + getCriteria_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -245188,21 +384485,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter1557 : struct.success + for (Map.Entry> _iter3090 : struct.success .entrySet()) { - oprot.writeI64(_iter1557.getKey()); + oprot.writeI64(_iter3090.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter1557.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1558 : _iter1557 - .getValue()) { - _iter1558.write(oprot); + _iter3090.getValue().size())); + for (Map.Entry _iter3091 : _iter3090 + .getValue().entrySet()) { + oprot.writeString(_iter3091.getKey()); + _iter3091.getValue().write(oprot); } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -245230,19 +384529,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyCriteria_resultTupleSchemeFactory + private static class getCriteria_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyCriteria_resultTupleScheme getScheme() { - return new selectKeyCriteria_resultTupleScheme(); + public getCriteria_resultTupleScheme getScheme() { + return new getCriteria_resultTupleScheme(); } } - private static class selectKeyCriteria_resultTupleScheme - extends TupleScheme { + private static class getCriteria_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteria_result struct) + getCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -245262,14 +384561,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1559 : struct.success + for (Map.Entry> _iter3092 : struct.success .entrySet()) { - oprot.writeI64(_iter1559.getKey()); + oprot.writeI64(_iter3092.getKey()); { - oprot.writeI32(_iter1559.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1560 : _iter1559 - .getValue()) { - _iter1560.write(oprot); + oprot.writeI32(_iter3092.getValue().size()); + for (Map.Entry _iter3093 : _iter3092 + .getValue().entrySet()) { + oprot.writeString(_iter3093.getKey()); + _iter3093.getValue().write(oprot); } } } @@ -245288,36 +384588,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteria_result struct) + getCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1561 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3094 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1561.size); - long _key1562; - Set _val1563; - for (int _i1564 = 0; _i1564 < _map1561.size; ++_i1564) { - _key1562 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3094.size); + long _key3095; + Map _val3096; + for (int _i3097 = 0; _i3097 < _map3094.size; ++_i3097) { + _key3095 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1565 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map3098 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1563 = new LinkedHashSet( - 2 * _set1565.size); - com.cinchapi.concourse.thrift.TObject _elem1566; - for (int _i1567 = 0; _i1567 < _set1565.size; ++_i1567) { - _elem1566 = new com.cinchapi.concourse.thrift.TObject(); - _elem1566.read(iprot); - _val1563.add(_elem1566); + _val3096 = new LinkedHashMap( + 2 * _map3098.size); + String _key3099; + com.cinchapi.concourse.thrift.TObject _val3100; + for (int _i3101 = 0; _i3101 < _map3098.size; ++_i3101) { + _key3099 = iprot.readString(); + _val3100 = new com.cinchapi.concourse.thrift.TObject(); + _val3100.read(iprot); + _val3096.put(_key3099, _val3100); } } - struct.success.put(_key1562, _val1563); + struct.success.put(_key3095, _val3096); } } struct.setSuccessIsSet(true); @@ -245342,18 +384645,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyCcl_args implements - org.apache.thrift.TBase, + public static class getCriteriaOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCcl_args"); + "getCriteriaOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -245366,13 +384669,13 @@ public static class selectKeyCcl_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCcl_argsStandardSchemeFactory()); + new getCriteriaOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCcl_argsTupleSchemeFactory()); + new getCriteriaOrder_argsTupleSchemeFactory()); } - public String key; // required - public String ccl; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -245382,8 +384685,8 @@ public static class selectKeyCcl_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - CCL((short) 2, "ccl"), + CRITERIA((short) 1, "criteria"), + ORDER((short) 2, "order"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -245402,10 +384705,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // CCL - return CCL; + case 1: // CRITERIA + return CRITERIA; + case 2: // ORDER + return ORDER; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -245460,16 +384763,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -245488,19 +384793,21 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(selectKeyCcl_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + getCriteriaOrder_args.class, metaDataMap); } - public selectKeyCcl_args() {} + public getCriteriaOrder_args() {} - public selectKeyCcl_args(String key, String ccl, + public getCriteriaOrder_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.ccl = ccl; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -245509,12 +384816,14 @@ public selectKeyCcl_args(String key, String ccl, /** * Performs a deep copy on other. */ - public selectKeyCcl_args(selectKeyCcl_args other) { - if(other.isSetKey()) { - this.key = other.key; + public getCriteriaOrder_args(getCriteriaOrder_args other) { + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - if(other.isSetCcl()) { - this.ccl = other.ccl; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -245529,70 +384838,72 @@ public selectKeyCcl_args(selectKeyCcl_args other) { } } - public selectKeyCcl_args deepCopy() { - return new selectKeyCcl_args(this); + public getCriteriaOrder_args deepCopy() { + return new getCriteriaOrder_args(this); } @Override public void clear() { - this.key = null; - this.ccl = null; + this.criteria = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public selectKeyCcl_args setKey(String key) { - this.key = key; + public getCriteriaOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetKey() { - this.key = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setKeyIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.key = null; + this.criteria = null; } } - public String getCcl() { - return this.ccl; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public selectKeyCcl_args setCcl(String ccl) { - this.ccl = ccl; + public getCriteriaOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetOrder() { + return this.order != null; } - public void setCclIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.ccl = null; + this.order = null; } } @@ -245600,7 +384911,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyCcl_args setCreds( + public getCriteriaOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -245628,7 +384939,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyCcl_args setTransaction( + public getCriteriaOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -245656,7 +384967,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyCcl_args setEnvironment(String environment) { + public getCriteriaOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -245681,21 +384992,22 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case CRITERIA: if(value == null) { - unsetKey(); + unsetCriteria(); } else { - setKey((String) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case CCL: + case ORDER: if(value == null) { - unsetCcl(); + unsetOrder(); } else { - setCcl((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -245732,11 +385044,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case CRITERIA: + return getCriteria(); - case CCL: - return getCcl(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -245761,10 +385073,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case CCL: - return isSetCcl(); + case CRITERIA: + return isSetCriteria(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -245779,30 +385091,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCcl_args) - return this.equals((selectKeyCcl_args) that); + if(that instanceof getCriteriaOrder_args) + return this.equals((getCriteriaOrder_args) that); return false; } - public boolean equals(selectKeyCcl_args that) { + public boolean equals(getCriteriaOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.key.equals(that.key)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.order.equals(that.order)) return false; } @@ -245840,15 +385152,15 @@ public boolean equals(selectKeyCcl_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -245869,7 +385181,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyCcl_args other) { + public int compareTo(getCriteriaOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -245877,26 +385189,26 @@ public int compareTo(selectKeyCcl_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -245956,25 +385268,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyCcl_args("); + StringBuilder sb = new StringBuilder("getCriteriaOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.order); } first = false; if(!first) @@ -246014,6 +385326,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -246046,18 +385364,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCcl_argsStandardSchemeFactory + private static class getCriteriaOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyCcl_argsStandardScheme getScheme() { - return new selectKeyCcl_argsStandardScheme(); + public getCriteriaOrder_argsStandardScheme getScheme() { + return new getCriteriaOrder_argsStandardScheme(); } } - private static class selectKeyCcl_argsStandardScheme - extends StandardScheme { + private static class getCriteriaOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCcl_args struct) + getCriteriaOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -246067,20 +385385,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + case 2: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -246133,19 +385453,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCcl_args struct) + getCriteriaOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -246169,26 +385489,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyCcl_argsTupleSchemeFactory + private static class getCriteriaOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyCcl_argsTupleScheme getScheme() { - return new selectKeyCcl_argsTupleScheme(); + public getCriteriaOrder_argsTupleScheme getScheme() { + return new getCriteriaOrder_argsTupleScheme(); } } - private static class selectKeyCcl_argsTupleScheme - extends TupleScheme { + private static class getCriteriaOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCcl_args struct) + getCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetCriteria()) { optionals.set(0); } - if(struct.isSetCcl()) { + if(struct.isSetOrder()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -246201,11 +385521,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -246220,17 +385540,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCcl_args struct) + getCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -246251,13 +385573,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyCcl_result implements - org.apache.thrift.TBase, + public static class getCriteriaOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCcl_result"); + "getCriteriaOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -246267,22 +385589,19 @@ public static class selectKeyCcl_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCcl_resultStandardSchemeFactory()); + new getCriteriaOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCcl_resultTupleSchemeFactory()); + new getCriteriaOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -246292,8 +385611,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -246317,8 +385635,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -246374,8 +385690,10 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))))); @@ -246394,54 +385712,59 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCcl_result.class, metaDataMap); + getCriteriaOrder_result.class, metaDataMap); } - public selectKeyCcl_result() {} + public getCriteriaOrder_result() {} - public selectKeyCcl_result( - Map> success, + public getCriteriaOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeyCcl_result(selectKeyCcl_result other) { + public getCriteriaOrder_result(getCriteriaOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -246458,17 +385781,13 @@ public selectKeyCcl_result(selectKeyCcl_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public selectKeyCcl_result deepCopy() { - return new selectKeyCcl_result(this); + public getCriteriaOrder_result deepCopy() { + return new getCriteriaOrder_result(this); } @Override @@ -246477,7 +385796,6 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { @@ -246485,19 +385803,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeyCcl_result setSuccess( - Map> success) { + public getCriteriaOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -246524,7 +385842,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyCcl_result setEx( + public getCriteriaOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -246552,7 +385870,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyCcl_result setEx2( + public getCriteriaOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -246576,12 +385894,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeyCcl_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getCriteriaOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -246604,34 +385922,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public selectKeyCcl_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -246640,7 +385930,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -246667,16 +385957,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -246697,9 +385978,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -246722,8 +386000,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -246732,12 +386008,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCcl_result) - return this.equals((selectKeyCcl_result) that); + if(that instanceof getCriteriaOrder_result) + return this.equals((getCriteriaOrder_result) that); return false; } - public boolean equals(selectKeyCcl_result that) { + public boolean equals(getCriteriaOrder_result that) { if(that == null) return false; @@ -246777,15 +386053,6 @@ public boolean equals(selectKeyCcl_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -246813,16 +386080,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(selectKeyCcl_result other) { + public int compareTo(getCriteriaOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -246878,18 +386140,6 @@ public int compareTo(selectKeyCcl_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -246909,7 +386159,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyCcl_result("); + StringBuilder sb = new StringBuilder("getCriteriaOrder_result("); boolean first = true; sb.append("success:"); @@ -246950,16 +386200,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -246993,18 +386233,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCcl_resultStandardSchemeFactory + private static class getCriteriaOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyCcl_resultStandardScheme getScheme() { - return new selectKeyCcl_resultStandardScheme(); + public getCriteriaOrder_resultStandardScheme getScheme() { + return new getCriteriaOrder_resultStandardScheme(); } } - private static class selectKeyCcl_resultStandardScheme - extends StandardScheme { + private static class getCriteriaOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCcl_result struct) + getCriteriaOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -247017,28 +386257,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1568 = iprot + org.apache.thrift.protocol.TMap _map3102 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1568.size); - long _key1569; - Set _val1570; - for (int _i1571 = 0; _i1571 < _map1568.size; ++_i1571) { - _key1569 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3102.size); + long _key3103; + Map _val3104; + for (int _i3105 = 0; _i3105 < _map3102.size; ++_i3105) { + _key3103 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1572 = iprot - .readSetBegin(); - _val1570 = new LinkedHashSet( - 2 * _set1572.size); - com.cinchapi.concourse.thrift.TObject _elem1573; - for (int _i1574 = 0; _i1574 < _set1572.size; ++_i1574) { - _elem1573 = new com.cinchapi.concourse.thrift.TObject(); - _elem1573.read(iprot); - _val1570.add(_elem1573); + org.apache.thrift.protocol.TMap _map3106 = iprot + .readMapBegin(); + _val3104 = new LinkedHashMap( + 2 * _map3106.size); + String _key3107; + com.cinchapi.concourse.thrift.TObject _val3108; + for (int _i3109 = 0; _i3109 < _map3106.size; ++_i3109) { + _key3107 = iprot.readString(); + _val3108 = new com.cinchapi.concourse.thrift.TObject(); + _val3108.read(iprot); + _val3104.put(_key3107, _val3108); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key1569, _val1570); + struct.success.put(_key3103, _val3104); } iprot.readMapEnd(); } @@ -247073,7 +386315,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -247082,17 +386324,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -247107,7 +386338,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCcl_result struct) + getCriteriaOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -247117,21 +386348,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter1575 : struct.success + for (Map.Entry> _iter3110 : struct.success .entrySet()) { - oprot.writeI64(_iter1575.getKey()); + oprot.writeI64(_iter3110.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter1575.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1576 : _iter1575 - .getValue()) { - _iter1576.write(oprot); + _iter3110.getValue().size())); + for (Map.Entry _iter3111 : _iter3110 + .getValue().entrySet()) { + oprot.writeString(_iter3111.getKey()); + _iter3111.getValue().write(oprot); } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -247153,30 +386386,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeyCcl_resultTupleSchemeFactory + private static class getCriteriaOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyCcl_resultTupleScheme getScheme() { - return new selectKeyCcl_resultTupleScheme(); + public getCriteriaOrder_resultTupleScheme getScheme() { + return new getCriteriaOrder_resultTupleScheme(); } } - private static class selectKeyCcl_resultTupleScheme - extends TupleScheme { + private static class getCriteriaOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCcl_result struct) + getCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -247192,21 +386420,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1577 : struct.success + for (Map.Entry> _iter3112 : struct.success .entrySet()) { - oprot.writeI64(_iter1577.getKey()); + oprot.writeI64(_iter3112.getKey()); { - oprot.writeI32(_iter1577.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1578 : _iter1577 - .getValue()) { - _iter1578.write(oprot); + oprot.writeI32(_iter3112.getValue().size()); + for (Map.Entry _iter3113 : _iter3112 + .getValue().entrySet()) { + oprot.writeString(_iter3113.getKey()); + _iter3113.getValue().write(oprot); } } } @@ -247221,43 +386447,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCcl_result struct) + getCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1579 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3114 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1579.size); - long _key1580; - Set _val1581; - for (int _i1582 = 0; _i1582 < _map1579.size; ++_i1582) { - _key1580 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3114.size); + long _key3115; + Map _val3116; + for (int _i3117 = 0; _i3117 < _map3114.size; ++_i3117) { + _key3115 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1583 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map3118 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1581 = new LinkedHashSet( - 2 * _set1583.size); - com.cinchapi.concourse.thrift.TObject _elem1584; - for (int _i1585 = 0; _i1585 < _set1583.size; ++_i1585) { - _elem1584 = new com.cinchapi.concourse.thrift.TObject(); - _elem1584.read(iprot); - _val1581.add(_elem1584); + _val3116 = new LinkedHashMap( + 2 * _map3118.size); + String _key3119; + com.cinchapi.concourse.thrift.TObject _val3120; + for (int _i3121 = 0; _i3121 < _map3118.size; ++_i3121) { + _key3119 = iprot.readString(); + _val3120 = new com.cinchapi.concourse.thrift.TObject(); + _val3120.read(iprot); + _val3116.put(_key3119, _val3120); } } - struct.success.put(_key1580, _val1581); + struct.success.put(_key3115, _val3116); } } struct.setSuccessIsSet(true); @@ -247273,54 +386499,42 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class selectKeyCriteriaTime_args implements - org.apache.thrift.TBase, + public static class getCcl_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCriteriaTime_args"); + "getCcl_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 3); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCriteriaTime_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, - new selectKeyCriteriaTime_argsTupleSchemeFactory()); + new getCcl_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new getCcl_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TCriteria criteria; // required - public long timestamp; // required + public String ccl; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -247330,12 +386544,10 @@ public static class selectKeyCriteriaTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - CRITERIA((short) 2, "criteria"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CCL((short) 1, "ccl"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); private static final Map byName = new LinkedHashMap(); @@ -247351,17 +386563,13 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // CRITERIA - return CRITERIA; - case 3: // TIMESTAMP - return TIMESTAMP; - case 4: // CREDS + case 1: // CCL + return CCL; + case 2: // CREDS return CREDS; - case 5: // TRANSACTION + case 3: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 4: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -247407,28 +386615,15 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -247447,22 +386642,18 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCriteriaTime_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(getCcl_args.class, metaDataMap); } - public selectKeyCriteriaTime_args() {} + public getCcl_args() {} - public selectKeyCriteriaTime_args(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public getCcl_args(String ccl, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.criteria = criteria; - this.timestamp = timestamp; - setTimestampIsSet(true); + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -247471,16 +386662,10 @@ public selectKeyCriteriaTime_args(String key, /** * Performs a deep copy on other. */ - public selectKeyCriteriaTime_args(selectKeyCriteriaTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; - } - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + public getCcl_args(getCcl_args other) { + if(other.isSetCcl()) { + this.ccl = other.ccl; } - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -247494,110 +386679,50 @@ public selectKeyCriteriaTime_args(selectKeyCriteriaTime_args other) { } } - public selectKeyCriteriaTime_args deepCopy() { - return new selectKeyCriteriaTime_args(this); + public getCcl_args deepCopy() { + return new getCcl_args(this); } @Override public void clear() { - this.key = null; - this.criteria = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.ccl = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; - } - - public selectKeyCriteriaTime_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; - } - - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; - } - - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; - } - } - - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public String getCcl() { + return this.ccl; } - public selectKeyCriteriaTime_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public getCcl_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setCriteriaIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.criteria = null; + this.ccl = null; } } - public long getTimestamp() { - return this.timestamp; - } - - public selectKeyCriteriaTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); - return this; - } - - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); - } - - /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise - */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); - } - - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); - } - public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyCriteriaTime_args setCreds( + public getCcl_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -247625,7 +386750,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyCriteriaTime_args setTransaction( + public getCcl_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -247653,7 +386778,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyCriteriaTime_args setEnvironment(String environment) { + public getCcl_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -247678,31 +386803,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case CRITERIA: - if(value == null) { - unsetCriteria(); - } - else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); - } - break; - - case TIMESTAMP: + case CCL: if(value == null) { - unsetTimestamp(); + unsetCcl(); } else { - setTimestamp((Long) value); + setCcl((String) value); } break; @@ -247739,14 +386845,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case CRITERIA: - return getCriteria(); - - case TIMESTAMP: - return getTimestamp(); + case CCL: + return getCcl(); case CREDS: return getCreds(); @@ -247771,12 +386871,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case CRITERIA: - return isSetCriteria(); - case TIMESTAMP: - return isSetTimestamp(); + case CCL: + return isSetCcl(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -247791,39 +386887,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCriteriaTime_args) - return this.equals((selectKeyCriteriaTime_args) that); + if(that instanceof getCcl_args) + return this.equals((getCcl_args) that); return false; } - public boolean equals(selectKeyCriteriaTime_args that) { + public boolean equals(getCcl_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) - return false; - if(!this.criteria.equals(that.criteria)) - return false; - } - - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(this.timestamp != that.timestamp) + if(!this.ccl.equals(that.ccl)) return false; } @@ -247861,20 +386939,10 @@ public boolean equals(selectKeyCriteriaTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); - - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -247895,7 +386963,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyCriteriaTime_args other) { + public int compareTo(getCcl_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -247903,38 +386971,14 @@ public int compareTo(selectKeyCriteriaTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetCriteria()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -247994,32 +387038,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyCriteriaTime_args("); + StringBuilder sb = new StringBuilder("getCcl_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { - sb.append("null"); - } - else { - sb.append(this.key); - } - first = false; - if(!first) - sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.ccl); } first = false; - if(!first) - sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); - first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -248057,9 +387086,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); - } if(creds != null) { creds.validate(); } @@ -248083,10 +387109,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -248096,19 +387118,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCriteriaTime_argsStandardSchemeFactory + private static class getCcl_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyCriteriaTime_argsStandardScheme getScheme() { - return new selectKeyCriteriaTime_argsStandardScheme(); + public getCcl_argsStandardScheme getScheme() { + return new getCcl_argsStandardScheme(); } } - private static class selectKeyCriteriaTime_argsStandardScheme - extends StandardScheme { + private static class getCcl_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCriteriaTime_args struct) - throws org.apache.thrift.TException { + getCcl_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -248117,38 +387138,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY + case 1: // CCL if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 2: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -248159,7 +387159,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 3: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -248170,7 +387170,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 4: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -248194,24 +387194,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCriteriaTime_args struct) - throws org.apache.thrift.TException { + getCcl_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -248233,49 +387224,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyCriteriaTime_argsTupleSchemeFactory + private static class getCcl_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyCriteriaTime_argsTupleScheme getScheme() { - return new selectKeyCriteriaTime_argsTupleScheme(); + public getCcl_argsTupleScheme getScheme() { + return new getCcl_argsTupleScheme(); } } - private static class selectKeyCriteriaTime_argsTupleScheme - extends TupleScheme { + private static class getCcl_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteriaTime_args struct) - throws org.apache.thrift.TException { + getCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetCriteria()) { - optionals.set(1); - } - if(struct.isSetTimestamp()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(1); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(2); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); - } - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + optionals.set(3); } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeBitSet(optionals, 4); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -248290,34 +387268,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteriaTime_args struct) - throws org.apache.thrift.TException { + getCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); - } - if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(2)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(3)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -248326,13 +387294,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyCriteriaTime_result implements - org.apache.thrift.TBase, + public static class getCcl_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCriteriaTime_result"); + "getCcl_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -248342,19 +387310,22 @@ public static class selectKeyCriteriaTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCriteriaTime_resultStandardSchemeFactory()); + new getCcl_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCriteriaTime_resultTupleSchemeFactory()); + new getCcl_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -248364,7 +387335,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -248388,6 +387360,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -248443,8 +387417,10 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))))); @@ -248463,48 +387439,66 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCriteriaTime_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(getCcl_result.class, metaDataMap); } - public selectKeyCriteriaTime_result() {} + public getCcl_result() {} - public selectKeyCriteriaTime_result( - Map> success, + public getCcl_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeyCriteriaTime_result( - selectKeyCriteriaTime_result other) { + public getCcl_result(getCcl_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -248521,13 +387515,17 @@ public selectKeyCriteriaTime_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public selectKeyCriteriaTime_result deepCopy() { - return new selectKeyCriteriaTime_result(this); + public getCcl_result deepCopy() { + return new getCcl_result(this); } @Override @@ -248536,6 +387534,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -248543,19 +387542,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeyCriteriaTime_result setSuccess( - Map> success) { + public getCcl_result setSuccess( + Map> success) { this.success = success; return this; } @@ -248582,7 +387581,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyCriteriaTime_result setEx( + public getCcl_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -248610,7 +387609,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyCriteriaTime_result setEx2( + public getCcl_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -248634,12 +387633,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeyCriteriaTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getCcl_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -248662,6 +387661,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getCcl_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -248670,7 +387697,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -248697,7 +387724,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -248718,6 +387754,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -248740,6 +387779,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -248748,12 +387789,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCriteriaTime_result) - return this.equals((selectKeyCriteriaTime_result) that); + if(that instanceof getCcl_result) + return this.equals((getCcl_result) that); return false; } - public boolean equals(selectKeyCriteriaTime_result that) { + public boolean equals(getCcl_result that) { if(that == null) return false; @@ -248793,6 +387834,15 @@ public boolean equals(selectKeyCriteriaTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -248820,11 +387870,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(selectKeyCriteriaTime_result other) { + public int compareTo(getCcl_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -248880,6 +387935,18 @@ public int compareTo(selectKeyCriteriaTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -248899,8 +387966,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeyCriteriaTime_result("); + StringBuilder sb = new StringBuilder("getCcl_result("); boolean first = true; sb.append("success:"); @@ -248941,6 +388007,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -248974,19 +388050,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCriteriaTime_resultStandardSchemeFactory + private static class getCcl_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyCriteriaTime_resultStandardScheme getScheme() { - return new selectKeyCriteriaTime_resultStandardScheme(); + public getCcl_resultStandardScheme getScheme() { + return new getCcl_resultStandardScheme(); } } - private static class selectKeyCriteriaTime_resultStandardScheme - extends StandardScheme { + private static class getCcl_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCriteriaTime_result struct) - throws org.apache.thrift.TException { + getCcl_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -248998,28 +388073,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1586 = iprot + org.apache.thrift.protocol.TMap _map3122 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1586.size); - long _key1587; - Set _val1588; - for (int _i1589 = 0; _i1589 < _map1586.size; ++_i1589) { - _key1587 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3122.size); + long _key3123; + Map _val3124; + for (int _i3125 = 0; _i3125 < _map3122.size; ++_i3125) { + _key3123 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1590 = iprot - .readSetBegin(); - _val1588 = new LinkedHashSet( - 2 * _set1590.size); - com.cinchapi.concourse.thrift.TObject _elem1591; - for (int _i1592 = 0; _i1592 < _set1590.size; ++_i1592) { - _elem1591 = new com.cinchapi.concourse.thrift.TObject(); - _elem1591.read(iprot); - _val1588.add(_elem1591); + org.apache.thrift.protocol.TMap _map3126 = iprot + .readMapBegin(); + _val3124 = new LinkedHashMap( + 2 * _map3126.size); + String _key3127; + com.cinchapi.concourse.thrift.TObject _val3128; + for (int _i3129 = 0; _i3129 < _map3126.size; ++_i3129) { + _key3127 = iprot.readString(); + _val3128 = new com.cinchapi.concourse.thrift.TObject(); + _val3128.read(iprot); + _val3124.put(_key3127, _val3128); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key1587, _val1588); + struct.success.put(_key3123, _val3124); } iprot.readMapEnd(); } @@ -249054,7 +388131,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -249063,6 +388140,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -249077,8 +388165,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCriteriaTime_result struct) - throws org.apache.thrift.TException { + getCcl_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -249087,21 +388174,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter1593 : struct.success + for (Map.Entry> _iter3130 : struct.success .entrySet()) { - oprot.writeI64(_iter1593.getKey()); + oprot.writeI64(_iter3130.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter1593.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1594 : _iter1593 - .getValue()) { - _iter1594.write(oprot); + _iter3130.getValue().size())); + for (Map.Entry _iter3131 : _iter3130 + .getValue().entrySet()) { + oprot.writeString(_iter3131.getKey()); + _iter3131.getValue().write(oprot); } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -249123,26 +388212,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeyCriteriaTime_resultTupleSchemeFactory + private static class getCcl_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyCriteriaTime_resultTupleScheme getScheme() { - return new selectKeyCriteriaTime_resultTupleScheme(); + public getCcl_resultTupleScheme getScheme() { + return new getCcl_resultTupleScheme(); } } - private static class selectKeyCriteriaTime_resultTupleScheme - extends TupleScheme { + private static class getCcl_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteriaTime_result struct) - throws org.apache.thrift.TException { + getCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetSuccess()) { @@ -249157,18 +388250,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1595 : struct.success + for (Map.Entry> _iter3132 : struct.success .entrySet()) { - oprot.writeI64(_iter1595.getKey()); + oprot.writeI64(_iter3132.getKey()); { - oprot.writeI32(_iter1595.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1596 : _iter1595 - .getValue()) { - _iter1596.write(oprot); + oprot.writeI32(_iter3132.getValue().size()); + for (Map.Entry _iter3133 : _iter3132 + .getValue().entrySet()) { + oprot.writeString(_iter3133.getKey()); + _iter3133.getValue().write(oprot); } } } @@ -249183,40 +388280,45 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteriaTime_result struct) - throws org.apache.thrift.TException { + getCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1597 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3134 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1597.size); - long _key1598; - Set _val1599; - for (int _i1600 = 0; _i1600 < _map1597.size; ++_i1600) { - _key1598 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3134.size); + long _key3135; + Map _val3136; + for (int _i3137 = 0; _i3137 < _map3134.size; ++_i3137) { + _key3135 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1601 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map3138 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1599 = new LinkedHashSet( - 2 * _set1601.size); - com.cinchapi.concourse.thrift.TObject _elem1602; - for (int _i1603 = 0; _i1603 < _set1601.size; ++_i1603) { - _elem1602 = new com.cinchapi.concourse.thrift.TObject(); - _elem1602.read(iprot); - _val1599.add(_elem1602); + _val3136 = new LinkedHashMap( + 2 * _map3138.size); + String _key3139; + com.cinchapi.concourse.thrift.TObject _val3140; + for (int _i3141 = 0; _i3141 < _map3138.size; ++_i3141) { + _key3139 = iprot.readString(); + _val3140 = new com.cinchapi.concourse.thrift.TObject(); + _val3140.read(iprot); + _val3136.put(_key3139, _val3140); } } - struct.success.put(_key1598, _val1599); + struct.success.put(_key3135, _val3136); } } struct.setSuccessIsSet(true); @@ -249232,50 +388334,51 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectKeyCriteriaTimestr_args implements - org.apache.thrift.TBase, + public static class getCclOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCriteriaTimestr_args"); + "getCclOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCriteriaTimestr_argsStandardSchemeFactory()); + new getCclOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCriteriaTimestr_argsTupleSchemeFactory()); + new getCclOrder_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TCriteria criteria; // required - public String timestamp; // required + public String ccl; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -249285,12 +388388,11 @@ public static class selectKeyCriteriaTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - CRITERIA((short) 2, "criteria"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CCL((short) 1, "ccl"), + ORDER((short) 2, "order"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -249306,17 +388408,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // CRITERIA - return CRITERIA; - case 3: // TIMESTAMP - return TIMESTAMP; - case 4: // CREDS + case 1: // CCL + return CCL; + case 2: // ORDER + return ORDER; + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -249366,22 +388466,17 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -249400,22 +388495,20 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCriteriaTimestr_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(getCclOrder_args.class, metaDataMap); } - public selectKeyCriteriaTimestr_args() {} + public getCclOrder_args() {} - public selectKeyCriteriaTimestr_args(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public getCclOrder_args(String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.criteria = criteria; - this.timestamp = timestamp; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -249424,17 +388517,13 @@ public selectKeyCriteriaTimestr_args(String key, /** * Performs a deep copy on other. */ - public selectKeyCriteriaTimestr_args( - selectKeyCriteriaTimestr_args other) { - if(other.isSetKey()) { - this.key = other.key; - } - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + public getCclOrder_args(getCclOrder_args other) { + if(other.isSetCcl()) { + this.ccl = other.ccl; } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -249449,99 +388538,71 @@ public selectKeyCriteriaTimestr_args( } } - public selectKeyCriteriaTimestr_args deepCopy() { - return new selectKeyCriteriaTimestr_args(this); + public getCclOrder_args deepCopy() { + return new getCclOrder_args(this); } @Override public void clear() { - this.key = null; - this.criteria = null; - this.timestamp = null; + this.ccl = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public String getCcl() { + return this.ccl; } - public selectKeyCriteriaTimestr_args setKey(String key) { - this.key = key; + public getCclOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetKey() { - this.key = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setKeyIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.key = null; + this.ccl = null; } } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public selectKeyCriteriaTimestr_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public getCclOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetOrder() { + return this.order != null; } - public void setCriteriaIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.criteria = null; - } - } - - public String getTimestamp() { - return this.timestamp; - } - - public selectKeyCriteriaTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; - return this; - } - - public void unsetTimestamp() { - this.timestamp = null; - } - - /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise - */ - public boolean isSetTimestamp() { - return this.timestamp != null; - } - - public void setTimestampIsSet(boolean value) { - if(!value) { - this.timestamp = null; + this.order = null; } } @@ -249549,7 +388610,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyCriteriaTimestr_args setCreds( + public getCclOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -249577,7 +388638,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyCriteriaTimestr_args setTransaction( + public getCclOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -249605,8 +388666,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyCriteriaTimestr_args setEnvironment( - String environment) { + public getCclOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -249631,31 +388691,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case CRITERIA: + case CCL: if(value == null) { - unsetCriteria(); + unsetCcl(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setCcl((String) value); } break; - case TIMESTAMP: + case ORDER: if(value == null) { - unsetTimestamp(); + unsetOrder(); } else { - setTimestamp((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -249692,14 +388742,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case CRITERIA: - return getCriteria(); + case CCL: + return getCcl(); - case TIMESTAMP: - return getTimestamp(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -249724,12 +388771,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case CRITERIA: - return isSetCriteria(); - case TIMESTAMP: - return isSetTimestamp(); + case CCL: + return isSetCcl(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -249744,39 +388789,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCriteriaTimestr_args) - return this.equals((selectKeyCriteriaTimestr_args) that); + if(that instanceof getCclOrder_args) + return this.equals((getCclOrder_args) that); return false; } - public boolean equals(selectKeyCriteriaTimestr_args that) { + public boolean equals(getCclOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(!this.order.equals(that.order)) return false; } @@ -249814,20 +388850,15 @@ public boolean equals(selectKeyCriteriaTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_timestamp = true && (isSetTimestamp()); - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -249848,7 +388879,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyCriteriaTimestr_args other) { + public int compareTo(getCclOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -249856,38 +388887,26 @@ public int compareTo(selectKeyCriteriaTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -249947,36 +388966,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeyCriteriaTimestr_args("); + StringBuilder sb = new StringBuilder("getCclOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { - sb.append("null"); - } - else { - sb.append(this.key); - } - first = false; - if(!first) - sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.ccl); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.order); } first = false; if(!first) @@ -250016,8 +389024,8 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); + if(order != null) { + order.validate(); } if(creds != null) { creds.validate(); @@ -250051,18 +389059,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCriteriaTimestr_argsStandardSchemeFactory + private static class getCclOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyCriteriaTimestr_argsStandardScheme getScheme() { - return new selectKeyCriteriaTimestr_argsStandardScheme(); + public getCclOrder_argsStandardScheme getScheme() { + return new getCclOrder_argsStandardScheme(); } } - private static class selectKeyCriteriaTimestr_argsStandardScheme - extends StandardScheme { + private static class getCclOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCriteriaTimestr_args struct) + getCclOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -250072,38 +389080,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY + case 1: // CCL if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CRITERIA + case 2: // ORDER if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -250114,7 +389112,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -250125,7 +389123,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -250149,24 +389147,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCriteriaTimestr_args struct) + getCclOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -250190,49 +389183,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyCriteriaTimestr_argsTupleSchemeFactory + private static class getCclOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyCriteriaTimestr_argsTupleScheme getScheme() { - return new selectKeyCriteriaTimestr_argsTupleScheme(); + public getCclOrder_argsTupleScheme getScheme() { + return new getCclOrder_argsTupleScheme(); } } - private static class selectKeyCriteriaTimestr_argsTupleScheme - extends TupleScheme { + private static class getCclOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteriaTimestr_args struct) + getCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetCriteria()) { + if(struct.isSetOrder()) { optionals.set(1); } - if(struct.isSetTimestamp()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + optionals.set(4); } - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + oprot.writeBitSet(optionals, 5); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } - if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -250247,34 +389234,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteriaTimestr_args struct) + getCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -250283,13 +389266,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyCriteriaTimestr_result implements - org.apache.thrift.TBase, + public static class getCclOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCriteriaTimestr_result"); + "getCclOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -250305,12 +389288,12 @@ public static class selectKeyCriteriaTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCriteriaTimestr_resultStandardSchemeFactory()); + new getCclOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCriteriaTimestr_resultTupleSchemeFactory()); + new getCclOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -250406,8 +389389,10 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))))); @@ -250433,13 +389418,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCriteriaTimestr_result.class, metaDataMap); + getCclOrder_result.class, metaDataMap); } - public selectKeyCriteriaTimestr_result() {} + public getCclOrder_result() {} - public selectKeyCriteriaTimestr_result( - Map> success, + public getCclOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -250455,26 +389440,37 @@ public selectKeyCriteriaTimestr_result( /** * Performs a deep copy on other. */ - public selectKeyCriteriaTimestr_result( - selectKeyCriteriaTimestr_result other) { + public getCclOrder_result(getCclOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -250500,8 +389496,8 @@ public selectKeyCriteriaTimestr_result( } } - public selectKeyCriteriaTimestr_result deepCopy() { - return new selectKeyCriteriaTimestr_result(this); + public getCclOrder_result deepCopy() { + return new getCclOrder_result(this); } @Override @@ -250518,19 +389514,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeyCriteriaTimestr_result setSuccess( - Map> success) { + public getCclOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -250557,7 +389553,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyCriteriaTimestr_result setEx( + public getCclOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -250585,7 +389581,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyCriteriaTimestr_result setEx2( + public getCclOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -250613,7 +389609,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeyCriteriaTimestr_result setEx3( + public getCclOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -250641,7 +389637,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public selectKeyCriteriaTimestr_result setEx4( + public getCclOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -250673,7 +389669,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -250765,12 +389761,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCriteriaTimestr_result) - return this.equals((selectKeyCriteriaTimestr_result) that); + if(that instanceof getCclOrder_result) + return this.equals((getCclOrder_result) that); return false; } - public boolean equals(selectKeyCriteriaTimestr_result that) { + public boolean equals(getCclOrder_result that) { if(that == null) return false; @@ -250855,7 +389851,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyCriteriaTimestr_result other) { + public int compareTo(getCclOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -250942,8 +389938,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeyCriteriaTimestr_result("); + StringBuilder sb = new StringBuilder("getCclOrder_result("); boolean first = true; sb.append("success:"); @@ -251027,18 +390022,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCriteriaTimestr_resultStandardSchemeFactory + private static class getCclOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyCriteriaTimestr_resultStandardScheme getScheme() { - return new selectKeyCriteriaTimestr_resultStandardScheme(); + public getCclOrder_resultStandardScheme getScheme() { + return new getCclOrder_resultStandardScheme(); } } - private static class selectKeyCriteriaTimestr_resultStandardScheme - extends StandardScheme { + private static class getCclOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCriteriaTimestr_result struct) + getCclOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -251051,28 +390046,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1604 = iprot + org.apache.thrift.protocol.TMap _map3142 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1604.size); - long _key1605; - Set _val1606; - for (int _i1607 = 0; _i1607 < _map1604.size; ++_i1607) { - _key1605 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3142.size); + long _key3143; + Map _val3144; + for (int _i3145 = 0; _i3145 < _map3142.size; ++_i3145) { + _key3143 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1608 = iprot - .readSetBegin(); - _val1606 = new LinkedHashSet( - 2 * _set1608.size); - com.cinchapi.concourse.thrift.TObject _elem1609; - for (int _i1610 = 0; _i1610 < _set1608.size; ++_i1610) { - _elem1609 = new com.cinchapi.concourse.thrift.TObject(); - _elem1609.read(iprot); - _val1606.add(_elem1609); + org.apache.thrift.protocol.TMap _map3146 = iprot + .readMapBegin(); + _val3144 = new LinkedHashMap( + 2 * _map3146.size); + String _key3147; + com.cinchapi.concourse.thrift.TObject _val3148; + for (int _i3149 = 0; _i3149 < _map3146.size; ++_i3149) { + _key3147 = iprot.readString(); + _val3148 = new com.cinchapi.concourse.thrift.TObject(); + _val3148.read(iprot); + _val3144.put(_key3147, _val3148); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key1605, _val1606); + struct.success.put(_key3143, _val3144); } iprot.readMapEnd(); } @@ -251141,7 +390138,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCriteriaTimestr_result struct) + getCclOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -251151,21 +390148,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter1611 : struct.success + for (Map.Entry> _iter3150 : struct.success .entrySet()) { - oprot.writeI64(_iter1611.getKey()); + oprot.writeI64(_iter3150.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter1611.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1612 : _iter1611 - .getValue()) { - _iter1612.write(oprot); + _iter3150.getValue().size())); + for (Map.Entry _iter3151 : _iter3150 + .getValue().entrySet()) { + oprot.writeString(_iter3151.getKey()); + _iter3151.getValue().write(oprot); } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -251198,19 +390197,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyCriteriaTimestr_resultTupleSchemeFactory + private static class getCclOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyCriteriaTimestr_resultTupleScheme getScheme() { - return new selectKeyCriteriaTimestr_resultTupleScheme(); + public getCclOrder_resultTupleScheme getScheme() { + return new getCclOrder_resultTupleScheme(); } } - private static class selectKeyCriteriaTimestr_resultTupleScheme - extends TupleScheme { + private static class getCclOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteriaTimestr_result struct) + getCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -251233,14 +390232,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1613 : struct.success + for (Map.Entry> _iter3152 : struct.success .entrySet()) { - oprot.writeI64(_iter1613.getKey()); + oprot.writeI64(_iter3152.getKey()); { - oprot.writeI32(_iter1613.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1614 : _iter1613 - .getValue()) { - _iter1614.write(oprot); + oprot.writeI32(_iter3152.getValue().size()); + for (Map.Entry _iter3153 : _iter3152 + .getValue().entrySet()) { + oprot.writeString(_iter3153.getKey()); + _iter3153.getValue().write(oprot); } } } @@ -251262,36 +390262,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCriteriaTimestr_result struct) + getCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1615 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3154 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1615.size); - long _key1616; - Set _val1617; - for (int _i1618 = 0; _i1618 < _map1615.size; ++_i1618) { - _key1616 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3154.size); + long _key3155; + Map _val3156; + for (int _i3157 = 0; _i3157 < _map3154.size; ++_i3157) { + _key3155 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1619 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map3158 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1617 = new LinkedHashSet( - 2 * _set1619.size); - com.cinchapi.concourse.thrift.TObject _elem1620; - for (int _i1621 = 0; _i1621 < _set1619.size; ++_i1621) { - _elem1620 = new com.cinchapi.concourse.thrift.TObject(); - _elem1620.read(iprot); - _val1617.add(_elem1620); + _val3156 = new LinkedHashMap( + 2 * _map3158.size); + String _key3159; + com.cinchapi.concourse.thrift.TObject _val3160; + for (int _i3161 = 0; _i3161 < _map3158.size; ++_i3161) { + _key3159 = iprot.readString(); + _val3160 = new com.cinchapi.concourse.thrift.TObject(); + _val3160.read(iprot); + _val3156.put(_key3159, _val3160); } } - struct.success.put(_key1616, _val1617); + struct.success.put(_key3155, _val3156); } } struct.setSuccessIsSet(true); @@ -251321,39 +390324,36 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyCclTime_args implements - org.apache.thrift.TBase, + public static class getCriteriaTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCclTime_args"); + "getCriteriaTime_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCclTime_argsStandardSchemeFactory()); + new getCriteriaTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCclTime_argsTupleSchemeFactory()); + new getCriteriaTime_argsTupleSchemeFactory()); } - public String key; // required - public String ccl; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required @@ -251364,12 +390364,11 @@ public static class selectKeyCclTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - CCL((short) 2, "ccl"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CRITERIA((short) 1, "criteria"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -251385,17 +390384,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // CCL - return CCL; - case 3: // TIMESTAMP + case 1: // CRITERIA + return CRITERIA; + case 2: // TIMESTAMP return TIMESTAMP; - case 4: // CREDS + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -251447,16 +390444,12 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -251481,18 +390474,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCclTime_args.class, metaDataMap); + getCriteriaTime_args.class, metaDataMap); } - public selectKeyCclTime_args() {} + public getCriteriaTime_args() {} - public selectKeyCclTime_args(String key, String ccl, long timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public getCriteriaTime_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.ccl = ccl; + this.criteria = criteria; this.timestamp = timestamp; setTimestampIsSet(true); this.creds = creds; @@ -251503,13 +390496,11 @@ public selectKeyCclTime_args(String key, String ccl, long timestamp, /** * Performs a deep copy on other. */ - public selectKeyCclTime_args(selectKeyCclTime_args other) { + public getCriteriaTime_args(getCriteriaTime_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; - } - if(other.isSetCcl()) { - this.ccl = other.ccl; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } this.timestamp = other.timestamp; if(other.isSetCreds()) { @@ -251525,14 +390516,13 @@ public selectKeyCclTime_args(selectKeyCclTime_args other) { } } - public selectKeyCclTime_args deepCopy() { - return new selectKeyCclTime_args(this); + public getCriteriaTime_args deepCopy() { + return new getCriteriaTime_args(this); } @Override public void clear() { - this.key = null; - this.ccl = null; + this.criteria = null; setTimestampIsSet(false); this.timestamp = 0; this.creds = null; @@ -251540,57 +390530,31 @@ public void clear() { this.environment = null; } - public String getKey() { - return this.key; - } - - public selectKeyCclTime_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; - } - - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; - } - - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; - } - } - - public String getCcl() { - return this.ccl; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public selectKeyCclTime_args setCcl(String ccl) { - this.ccl = ccl; + public getCriteriaTime_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setCclIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.ccl = null; + this.criteria = null; } } @@ -251598,7 +390562,7 @@ public long getTimestamp() { return this.timestamp; } - public selectKeyCclTime_args setTimestamp(long timestamp) { + public getCriteriaTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; @@ -251627,7 +390591,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyCclTime_args setCreds( + public getCriteriaTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -251655,7 +390619,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyCclTime_args setTransaction( + public getCriteriaTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -251683,7 +390647,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyCclTime_args setEnvironment(String environment) { + public getCriteriaTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -251708,21 +390672,13 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case CCL: + case CRITERIA: if(value == null) { - unsetCcl(); + unsetCriteria(); } else { - setCcl((String) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -251768,11 +390724,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case CCL: - return getCcl(); + case CRITERIA: + return getCriteria(); case TIMESTAMP: return getTimestamp(); @@ -251800,10 +390753,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case CCL: - return isSetCcl(); + case CRITERIA: + return isSetCriteria(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -251820,30 +390771,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCclTime_args) - return this.equals((selectKeyCclTime_args) that); + if(that instanceof getCriteriaTime_args) + return this.equals((getCriteriaTime_args) that); return false; } - public boolean equals(selectKeyCclTime_args that) { + public boolean equals(getCriteriaTime_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.criteria.equals(that.criteria)) return false; } @@ -251890,15 +390832,10 @@ public boolean equals(selectKeyCclTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); boolean present_timestamp = true; list.add(present_timestamp); @@ -251924,7 +390861,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyCclTime_args other) { + public int compareTo(getCriteriaTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -251932,26 +390869,14 @@ public int compareTo(selectKeyCclTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -252023,25 +390948,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyCclTime_args("); + StringBuilder sb = new StringBuilder("getCriteriaTime_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { - sb.append("null"); - } - else { - sb.append(this.key); - } - first = false; - if(!first) - sb.append(", "); - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.criteria); } first = false; if(!first) @@ -252086,6 +391001,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -252122,18 +391040,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCclTime_argsStandardSchemeFactory + private static class getCriteriaTime_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyCclTime_argsStandardScheme getScheme() { - return new selectKeyCclTime_argsStandardScheme(); + public getCriteriaTime_argsStandardScheme getScheme() { + return new getCriteriaTime_argsStandardScheme(); } } - private static class selectKeyCclTime_argsStandardScheme - extends StandardScheme { + private static class getCriteriaTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCclTime_args struct) + getCriteriaTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -252143,27 +391061,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP + case 2: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); @@ -252173,7 +391082,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -252184,7 +391093,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -252195,7 +391104,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -252219,19 +391128,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCclTime_args struct) + getCriteriaTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); @@ -252258,46 +391162,40 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyCclTime_argsTupleSchemeFactory + private static class getCriteriaTime_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyCclTime_argsTupleScheme getScheme() { - return new selectKeyCclTime_argsTupleScheme(); + public getCriteriaTime_argsTupleScheme getScheme() { + return new getCriteriaTime_argsTupleScheme(); } } - private static class selectKeyCclTime_argsTupleScheme - extends TupleScheme { + private static class getCriteriaTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCclTime_args struct) + getCriteriaTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetCriteria()) { optionals.set(0); } - if(struct.isSetCcl()) { - optionals.set(1); - } if(struct.isSetTimestamp()) { - optionals.set(2); + optionals.set(1); } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + optionals.set(4); } - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + oprot.writeBitSet(optionals, 5); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetTimestamp()) { oprot.writeI64(struct.timestamp); @@ -252315,33 +391213,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCclTime_args struct) + getCriteriaTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); - } - if(incoming.get(2)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -252350,13 +391245,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyCclTime_result implements - org.apache.thrift.TBase, + public static class getCriteriaTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCclTime_result"); + "getCriteriaTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -252366,22 +391261,19 @@ public static class selectKeyCclTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCclTime_resultStandardSchemeFactory()); + new getCriteriaTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCclTime_resultTupleSchemeFactory()); + new getCriteriaTime_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -252391,8 +391283,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -252416,8 +391307,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -252473,8 +391362,10 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))))); @@ -252493,54 +391384,59 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCclTime_result.class, metaDataMap); + getCriteriaTime_result.class, metaDataMap); } - public selectKeyCclTime_result() {} + public getCriteriaTime_result() {} - public selectKeyCclTime_result( - Map> success, + public getCriteriaTime_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeyCclTime_result(selectKeyCclTime_result other) { + public getCriteriaTime_result(getCriteriaTime_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -252557,17 +391453,13 @@ public selectKeyCclTime_result(selectKeyCclTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public selectKeyCclTime_result deepCopy() { - return new selectKeyCclTime_result(this); + public getCriteriaTime_result deepCopy() { + return new getCriteriaTime_result(this); } @Override @@ -252576,7 +391468,6 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { @@ -252584,19 +391475,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeyCclTime_result setSuccess( - Map> success) { + public getCriteriaTime_result setSuccess( + Map> success) { this.success = success; return this; } @@ -252623,7 +391514,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyCclTime_result setEx( + public getCriteriaTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -252651,7 +391542,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyCclTime_result setEx2( + public getCriteriaTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -252675,12 +391566,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeyCclTime_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getCriteriaTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -252703,34 +391594,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public selectKeyCclTime_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -252739,7 +391602,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -252766,16 +391629,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -252796,9 +391650,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -252821,8 +391672,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -252831,12 +391680,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCclTime_result) - return this.equals((selectKeyCclTime_result) that); + if(that instanceof getCriteriaTime_result) + return this.equals((getCriteriaTime_result) that); return false; } - public boolean equals(selectKeyCclTime_result that) { + public boolean equals(getCriteriaTime_result that) { if(that == null) return false; @@ -252876,15 +391725,6 @@ public boolean equals(selectKeyCclTime_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -252912,16 +391752,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(selectKeyCclTime_result other) { + public int compareTo(getCriteriaTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -252977,18 +391812,6 @@ public int compareTo(selectKeyCclTime_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -253008,7 +391831,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyCclTime_result("); + StringBuilder sb = new StringBuilder("getCriteriaTime_result("); boolean first = true; sb.append("success:"); @@ -253049,16 +391872,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -253092,18 +391905,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCclTime_resultStandardSchemeFactory + private static class getCriteriaTime_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyCclTime_resultStandardScheme getScheme() { - return new selectKeyCclTime_resultStandardScheme(); + public getCriteriaTime_resultStandardScheme getScheme() { + return new getCriteriaTime_resultStandardScheme(); } } - private static class selectKeyCclTime_resultStandardScheme - extends StandardScheme { + private static class getCriteriaTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCclTime_result struct) + getCriteriaTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -253116,28 +391929,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1622 = iprot + org.apache.thrift.protocol.TMap _map3162 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1622.size); - long _key1623; - Set _val1624; - for (int _i1625 = 0; _i1625 < _map1622.size; ++_i1625) { - _key1623 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3162.size); + long _key3163; + Map _val3164; + for (int _i3165 = 0; _i3165 < _map3162.size; ++_i3165) { + _key3163 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1626 = iprot - .readSetBegin(); - _val1624 = new LinkedHashSet( - 2 * _set1626.size); - com.cinchapi.concourse.thrift.TObject _elem1627; - for (int _i1628 = 0; _i1628 < _set1626.size; ++_i1628) { - _elem1627 = new com.cinchapi.concourse.thrift.TObject(); - _elem1627.read(iprot); - _val1624.add(_elem1627); + org.apache.thrift.protocol.TMap _map3166 = iprot + .readMapBegin(); + _val3164 = new LinkedHashMap( + 2 * _map3166.size); + String _key3167; + com.cinchapi.concourse.thrift.TObject _val3168; + for (int _i3169 = 0; _i3169 < _map3166.size; ++_i3169) { + _key3167 = iprot.readString(); + _val3168 = new com.cinchapi.concourse.thrift.TObject(); + _val3168.read(iprot); + _val3164.put(_key3167, _val3168); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key1623, _val1624); + struct.success.put(_key3163, _val3164); } iprot.readMapEnd(); } @@ -253172,7 +391987,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -253181,17 +391996,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -253206,7 +392010,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCclTime_result struct) + getCriteriaTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -253216,21 +392020,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter1629 : struct.success + for (Map.Entry> _iter3170 : struct.success .entrySet()) { - oprot.writeI64(_iter1629.getKey()); + oprot.writeI64(_iter3170.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter1629.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1630 : _iter1629 - .getValue()) { - _iter1630.write(oprot); + _iter3170.getValue().size())); + for (Map.Entry _iter3171 : _iter3170 + .getValue().entrySet()) { + oprot.writeString(_iter3171.getKey()); + _iter3171.getValue().write(oprot); } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -253252,30 +392058,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeyCclTime_resultTupleSchemeFactory + private static class getCriteriaTime_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyCclTime_resultTupleScheme getScheme() { - return new selectKeyCclTime_resultTupleScheme(); + public getCriteriaTime_resultTupleScheme getScheme() { + return new getCriteriaTime_resultTupleScheme(); } } - private static class selectKeyCclTime_resultTupleScheme - extends TupleScheme { + private static class getCriteriaTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCclTime_result struct) + getCriteriaTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -253291,21 +392092,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1631 : struct.success + for (Map.Entry> _iter3172 : struct.success .entrySet()) { - oprot.writeI64(_iter1631.getKey()); + oprot.writeI64(_iter3172.getKey()); { - oprot.writeI32(_iter1631.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1632 : _iter1631 - .getValue()) { - _iter1632.write(oprot); + oprot.writeI32(_iter3172.getValue().size()); + for (Map.Entry _iter3173 : _iter3172 + .getValue().entrySet()) { + oprot.writeString(_iter3173.getKey()); + _iter3173.getValue().write(oprot); } } } @@ -253320,43 +392119,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCclTime_result struct) + getCriteriaTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1633 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3174 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1633.size); - long _key1634; - Set _val1635; - for (int _i1636 = 0; _i1636 < _map1633.size; ++_i1636) { - _key1634 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3174.size); + long _key3175; + Map _val3176; + for (int _i3177 = 0; _i3177 < _map3174.size; ++_i3177) { + _key3175 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1637 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map3178 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1635 = new LinkedHashSet( - 2 * _set1637.size); - com.cinchapi.concourse.thrift.TObject _elem1638; - for (int _i1639 = 0; _i1639 < _set1637.size; ++_i1639) { - _elem1638 = new com.cinchapi.concourse.thrift.TObject(); - _elem1638.read(iprot); - _val1635.add(_elem1638); + _val3176 = new LinkedHashMap( + 2 * _map3178.size); + String _key3179; + com.cinchapi.concourse.thrift.TObject _val3180; + for (int _i3181 = 0; _i3181 < _map3178.size; ++_i3181) { + _key3179 = iprot.readString(); + _val3180 = new com.cinchapi.concourse.thrift.TObject(); + _val3180.read(iprot); + _val3176.put(_key3179, _val3180); } } - struct.success.put(_key1634, _val1635); + struct.success.put(_key3175, _val3176); } } struct.setSuccessIsSet(true); @@ -253372,35 +392171,29 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class selectKeyCclTimestr_args implements - org.apache.thrift.TBase, + public static class getCriteriaTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCclTimestr_args"); + "getCriteriaTimeOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -253413,14 +392206,14 @@ public static class selectKeyCclTimestr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCclTimestr_argsStandardSchemeFactory()); + new getCriteriaTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCclTimestr_argsTupleSchemeFactory()); + new getCriteriaTimeOrder_argsTupleSchemeFactory()); } - public String key; // required - public String ccl; // required - public String timestamp; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -253430,9 +392223,9 @@ public static class selectKeyCclTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - CCL((short) 2, "ccl"), - TIMESTAMP((short) 3, "timestamp"), + CRITERIA((short) 1, "criteria"), + TIMESTAMP((short) 2, "timestamp"), + ORDER((short) 3, "order"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -253451,12 +392244,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // CCL - return CCL; - case 3: // TIMESTAMP + case 1: // CRITERIA + return CRITERIA; + case 2: // TIMESTAMP return TIMESTAMP; + case 3: // ORDER + return ORDER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -253507,25 +392300,29 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -253545,20 +392342,22 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCclTimestr_args.class, metaDataMap); + getCriteriaTimeOrder_args.class, metaDataMap); } - public selectKeyCclTimestr_args() {} + public getCriteriaTimeOrder_args() {} - public selectKeyCclTimestr_args(String key, String ccl, - String timestamp, + public getCriteriaTimeOrder_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.ccl = ccl; + this.criteria = criteria; this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -253567,15 +392366,16 @@ public selectKeyCclTimestr_args(String key, String ccl, /** * Performs a deep copy on other. */ - public selectKeyCclTimestr_args(selectKeyCclTimestr_args other) { - if(other.isSetKey()) { - this.key = other.key; - } - if(other.isSetCcl()) { - this.ccl = other.ccl; + public getCriteriaTimeOrder_args(getCriteriaTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -253590,98 +392390,103 @@ public selectKeyCclTimestr_args(selectKeyCclTimestr_args other) { } } - public selectKeyCclTimestr_args deepCopy() { - return new selectKeyCclTimestr_args(this); + public getCriteriaTimeOrder_args deepCopy() { + return new getCriteriaTimeOrder_args(this); } @Override public void clear() { - this.key = null; - this.ccl = null; - this.timestamp = null; + this.criteria = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public selectKeyCclTimestr_args setKey(String key) { - this.key = key; + public getCriteriaTimeOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetKey() { - this.key = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setKeyIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.key = null; + this.criteria = null; } } - public String getCcl() { - return this.ccl; + public long getTimestamp() { + return this.timestamp; } - public selectKeyCclTimestr_args setCcl(String ccl) { - this.ccl = ccl; + public getCriteriaTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field ccl is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setCclIsSet(boolean value) { - if(!value) { - this.ccl = null; - } + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } - public String getTimestamp() { - return this.timestamp; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public selectKeyCclTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; + public getCriteriaTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetTimestamp() { - this.timestamp = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field order is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return this.timestamp != null; + public boolean isSetOrder() { + return this.order != null; } - public void setTimestampIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.timestamp = null; + this.order = null; } } @@ -253689,7 +392494,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeyCclTimestr_args setCreds( + public getCriteriaTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -253717,7 +392522,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeyCclTimestr_args setTransaction( + public getCriteriaTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -253745,7 +392550,7 @@ public String getEnvironment() { return this.environment; } - public selectKeyCclTimestr_args setEnvironment(String environment) { + public getCriteriaTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -253770,30 +392575,31 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case CRITERIA: if(value == null) { - unsetKey(); + unsetCriteria(); } else { - setKey((String) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case CCL: + case TIMESTAMP: if(value == null) { - unsetCcl(); + unsetTimestamp(); } else { - setCcl((String) value); + setTimestamp((Long) value); } break; - case TIMESTAMP: + case ORDER: if(value == null) { - unsetTimestamp(); + unsetOrder(); } else { - setTimestamp((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -253830,15 +392636,15 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case CCL: - return getCcl(); + case CRITERIA: + return getCriteria(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -253862,12 +392668,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case CCL: - return isSetCcl(); + case CRITERIA: + return isSetCriteria(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -253882,39 +392688,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCclTimestr_args) - return this.equals((selectKeyCclTimestr_args) that); + if(that instanceof getCriteriaTimeOrder_args) + return this.equals((getCriteriaTimeOrder_args) that); return false; } - public boolean equals(selectKeyCclTimestr_args that) { + public boolean equals(getCriteriaTimeOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.key.equals(that.key)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.ccl.equals(that.ccl)) + if(this.timestamp != that.timestamp) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(!this.order.equals(that.order)) return false; } @@ -253952,21 +392758,21 @@ public boolean equals(selectKeyCclTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -253986,7 +392792,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeyCclTimestr_args other) { + public int compareTo(getCriteriaTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -253994,38 +392800,38 @@ public int compareTo(selectKeyCclTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -254085,35 +392891,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyCclTimestr_args("); + StringBuilder sb = new StringBuilder("getCriteriaTimeOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("ccl:"); - if(this.ccl == null) { - sb.append("null"); - } - else { - sb.append(this.ccl); - } + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.order); } first = false; if(!first) @@ -254153,6 +392954,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -254176,6 +392983,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -254185,18 +392996,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCclTimestr_argsStandardSchemeFactory + private static class getCriteriaTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectKeyCclTimestr_argsStandardScheme getScheme() { - return new selectKeyCclTimestr_argsStandardScheme(); + public getCriteriaTimeOrder_argsStandardScheme getScheme() { + return new getCriteriaTimeOrder_argsStandardScheme(); } } - private static class selectKeyCclTimestr_argsStandardScheme - extends StandardScheme { + private static class getCriteriaTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCclTimestr_args struct) + getCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -254206,30 +393017,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -254282,24 +393095,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCclTimestr_args struct) + getCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -254323,29 +393134,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeyCclTimestr_argsTupleSchemeFactory + private static class getCriteriaTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectKeyCclTimestr_argsTupleScheme getScheme() { - return new selectKeyCclTimestr_argsTupleScheme(); + public getCriteriaTimeOrder_argsTupleScheme getScheme() { + return new getCriteriaTimeOrder_argsTupleScheme(); } } - private static class selectKeyCclTimestr_argsTupleScheme - extends TupleScheme { + private static class getCriteriaTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCclTimestr_args struct) + getCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetCriteria()) { optionals.set(0); } - if(struct.isSetCcl()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetTimestamp()) { + if(struct.isSetOrder()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -254358,14 +393169,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); - } - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -254380,21 +393191,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCclTimestr_args struct) + getCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -254415,13 +393228,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeyCclTimestr_result implements - org.apache.thrift.TBase, + public static class getCriteriaTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeyCclTimestr_result"); + "getCriteriaTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -254431,22 +393244,19 @@ public static class selectKeyCclTimestr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeyCclTimestr_resultStandardSchemeFactory()); + new getCriteriaTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeyCclTimestr_resultTupleSchemeFactory()); + new getCriteriaTimeOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -254456,8 +393266,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -254481,8 +393290,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -254538,8 +393345,10 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class))))); @@ -254558,54 +393367,59 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeyCclTimestr_result.class, metaDataMap); + getCriteriaTimeOrder_result.class, metaDataMap); } - public selectKeyCclTimestr_result() {} + public getCriteriaTimeOrder_result() {} - public selectKeyCclTimestr_result( - Map> success, + public getCriteriaTimeOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeyCclTimestr_result(selectKeyCclTimestr_result other) { + public getCriteriaTimeOrder_result(getCriteriaTimeOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Set other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Set __this__success_copy_value = new LinkedHashSet( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element : other_element_value) { - __this__success_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element)); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); } __this__success.put(__this__success_copy_key, @@ -254622,17 +393436,13 @@ public selectKeyCclTimestr_result(selectKeyCclTimestr_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public selectKeyCclTimestr_result deepCopy() { - return new selectKeyCclTimestr_result(this); + public getCriteriaTimeOrder_result deepCopy() { + return new getCriteriaTimeOrder_result(this); } @Override @@ -254641,7 +393451,6 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { @@ -254649,19 +393458,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Set val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeyCclTimestr_result setSuccess( - Map> success) { + public getCriteriaTimeOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -254688,7 +393497,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeyCclTimestr_result setEx( + public getCriteriaTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -254716,7 +393525,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeyCclTimestr_result setEx2( + public getCriteriaTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -254740,12 +393549,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public selectKeyCclTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getCriteriaTimeOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -254768,34 +393577,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public selectKeyCclTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -254804,7 +393585,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map>) value); } break; @@ -254831,16 +393612,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -254861,9 +393633,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -254886,8 +393655,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -254896,12 +393663,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeyCclTimestr_result) - return this.equals((selectKeyCclTimestr_result) that); + if(that instanceof getCriteriaTimeOrder_result) + return this.equals((getCriteriaTimeOrder_result) that); return false; } - public boolean equals(selectKeyCclTimestr_result that) { + public boolean equals(getCriteriaTimeOrder_result that) { if(that == null) return false; @@ -254941,15 +393708,6 @@ public boolean equals(selectKeyCclTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -254977,16 +393735,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(selectKeyCclTimestr_result other) { + public int compareTo(getCriteriaTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -255042,18 +393795,6 @@ public int compareTo(selectKeyCclTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -255073,7 +393814,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeyCclTimestr_result("); + StringBuilder sb = new StringBuilder( + "getCriteriaTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -255114,16 +393856,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -255157,18 +393889,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeyCclTimestr_resultStandardSchemeFactory + private static class getCriteriaTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectKeyCclTimestr_resultStandardScheme getScheme() { - return new selectKeyCclTimestr_resultStandardScheme(); + public getCriteriaTimeOrder_resultStandardScheme getScheme() { + return new getCriteriaTimeOrder_resultStandardScheme(); } } - private static class selectKeyCclTimestr_resultStandardScheme - extends StandardScheme { + private static class getCriteriaTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeyCclTimestr_result struct) + getCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -255181,28 +393913,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1640 = iprot + org.apache.thrift.protocol.TMap _map3182 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1640.size); - long _key1641; - Set _val1642; - for (int _i1643 = 0; _i1643 < _map1640.size; ++_i1643) { - _key1641 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3182.size); + long _key3183; + Map _val3184; + for (int _i3185 = 0; _i3185 < _map3182.size; ++_i3185) { + _key3183 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1644 = iprot - .readSetBegin(); - _val1642 = new LinkedHashSet( - 2 * _set1644.size); - com.cinchapi.concourse.thrift.TObject _elem1645; - for (int _i1646 = 0; _i1646 < _set1644.size; ++_i1646) { - _elem1645 = new com.cinchapi.concourse.thrift.TObject(); - _elem1645.read(iprot); - _val1642.add(_elem1645); + org.apache.thrift.protocol.TMap _map3186 = iprot + .readMapBegin(); + _val3184 = new LinkedHashMap( + 2 * _map3186.size); + String _key3187; + com.cinchapi.concourse.thrift.TObject _val3188; + for (int _i3189 = 0; _i3189 < _map3186.size; ++_i3189) { + _key3187 = iprot.readString(); + _val3188 = new com.cinchapi.concourse.thrift.TObject(); + _val3188.read(iprot); + _val3184.put(_key3187, _val3188); } - iprot.readSetEnd(); + iprot.readMapEnd(); } - struct.success.put(_key1641, _val1642); + struct.success.put(_key3183, _val3184); } iprot.readMapEnd(); } @@ -255237,7 +393971,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -255246,17 +393980,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -255271,7 +393994,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeyCclTimestr_result struct) + getCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -255281,21 +394004,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter1647 : struct.success + for (Map.Entry> _iter3190 : struct.success .entrySet()) { - oprot.writeI64(_iter1647.getKey()); + oprot.writeI64(_iter3190.getKey()); { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter1647.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter1648 : _iter1647 - .getValue()) { - _iter1648.write(oprot); + _iter3190.getValue().size())); + for (Map.Entry _iter3191 : _iter3190 + .getValue().entrySet()) { + oprot.writeString(_iter3191.getKey()); + _iter3191.getValue().write(oprot); } - oprot.writeSetEnd(); + oprot.writeMapEnd(); } } oprot.writeMapEnd(); @@ -255317,30 +394042,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeyCclTimestr_resultTupleSchemeFactory + private static class getCriteriaTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectKeyCclTimestr_resultTupleScheme getScheme() { - return new selectKeyCclTimestr_resultTupleScheme(); + public getCriteriaTimeOrder_resultTupleScheme getScheme() { + return new getCriteriaTimeOrder_resultTupleScheme(); } } - private static class selectKeyCclTimestr_resultTupleScheme - extends TupleScheme { + private static class getCriteriaTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeyCclTimestr_result struct) + getCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -255356,21 +394076,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1649 : struct.success + for (Map.Entry> _iter3192 : struct.success .entrySet()) { - oprot.writeI64(_iter1649.getKey()); + oprot.writeI64(_iter3192.getKey()); { - oprot.writeI32(_iter1649.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1650 : _iter1649 - .getValue()) { - _iter1650.write(oprot); + oprot.writeI32(_iter3192.getValue().size()); + for (Map.Entry _iter3193 : _iter3192 + .getValue().entrySet()) { + oprot.writeString(_iter3193.getKey()); + _iter3193.getValue().write(oprot); } } } @@ -255385,43 +394103,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeyCclTimestr_result struct) + getCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1651 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3194 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1651.size); - long _key1652; - Set _val1653; - for (int _i1654 = 0; _i1654 < _map1651.size; ++_i1654) { - _key1652 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3194.size); + long _key3195; + Map _val3196; + for (int _i3197 = 0; _i3197 < _map3194.size; ++_i3197) { + _key3195 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set1655 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TMap _map3198 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1653 = new LinkedHashSet( - 2 * _set1655.size); - com.cinchapi.concourse.thrift.TObject _elem1656; - for (int _i1657 = 0; _i1657 < _set1655.size; ++_i1657) { - _elem1656 = new com.cinchapi.concourse.thrift.TObject(); - _elem1656.read(iprot); - _val1653.add(_elem1656); + _val3196 = new LinkedHashMap( + 2 * _map3198.size); + String _key3199; + com.cinchapi.concourse.thrift.TObject _val3200; + for (int _i3201 = 0; _i3201 < _map3198.size; ++_i3201) { + _key3199 = iprot.readString(); + _val3200 = new com.cinchapi.concourse.thrift.TObject(); + _val3200.read(iprot); + _val3196.put(_key3199, _val3200); } } - struct.success.put(_key1652, _val1653); + struct.success.put(_key3195, _val3196); } } struct.setSuccessIsSet(true); @@ -255437,32 +394155,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class selectKeysCriteria_args implements - org.apache.thrift.TBase, + public static class getCriteriaTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCriteria_args"); + "getCriteriaTimestr_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -255475,13 +394189,13 @@ public static class selectKeysCriteria_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCriteria_argsStandardSchemeFactory()); + new getCriteriaTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCriteria_argsTupleSchemeFactory()); + new getCriteriaTimestr_argsTupleSchemeFactory()); } - public List keys; // required public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -255491,8 +394205,8 @@ public static class selectKeysCriteria_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CRITERIA((short) 2, "criteria"), + CRITERIA((short) 1, "criteria"), + TIMESTAMP((short) 2, "timestamp"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -255511,10 +394225,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CRITERIA + case 1: // CRITERIA return CRITERIA; + case 2: // TIMESTAMP + return TIMESTAMP; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -255569,19 +394283,17 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.CRITERIA, new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -255601,19 +394313,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCriteria_args.class, metaDataMap); + getCriteriaTimestr_args.class, metaDataMap); } - public selectKeysCriteria_args() {} + public getCriteriaTimestr_args() {} - public selectKeysCriteria_args(List keys, + public getCriteriaTimestr_args( com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; this.criteria = criteria; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -255622,15 +394335,14 @@ public selectKeysCriteria_args(List keys, /** * Performs a deep copy on other. */ - public selectKeysCriteria_args(selectKeysCriteria_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; - } + public getCriteriaTimestr_args(getCriteriaTimestr_args other) { if(other.isSetCriteria()) { this.criteria = new com.cinchapi.concourse.thrift.TCriteria( other.criteria); } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -255644,86 +394356,71 @@ public selectKeysCriteria_args(selectKeysCriteria_args other) { } } - public selectKeysCriteria_args deepCopy() { - return new selectKeysCriteria_args(this); + public getCriteriaTimestr_args deepCopy() { + return new getCriteriaTimestr_args(this); } @Override public void clear() { - this.keys = null; this.criteria = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public selectKeysCriteria_args setKeys(List keys) { - this.keys = keys; + public getCriteriaTimestr_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setKeysIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.keys = null; + this.criteria = null; } } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public String getTimestamp() { + return this.timestamp; } - public selectKeysCriteria_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public getCriteriaTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field criteria is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetTimestamp() { + return this.timestamp != null; } - public void setCriteriaIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { if(!value) { - this.criteria = null; + this.timestamp = null; } } @@ -255731,7 +394428,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysCriteria_args setCreds( + public getCriteriaTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -255759,7 +394456,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysCriteria_args setTransaction( + public getCriteriaTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -255787,7 +394484,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysCriteria_args setEnvironment(String environment) { + public getCriteriaTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -255812,22 +394509,22 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case CRITERIA: if(value == null) { - unsetKeys(); + unsetCriteria(); } else { - setKeys((List) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case CRITERIA: + case TIMESTAMP: if(value == null) { - unsetCriteria(); + unsetTimestamp(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setTimestamp((String) value); } break; @@ -255864,12 +394561,12 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); - case CRITERIA: return getCriteria(); + case TIMESTAMP: + return getTimestamp(); + case CREDS: return getCreds(); @@ -255893,10 +394590,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); case CRITERIA: return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -255911,24 +394608,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCriteria_args) - return this.equals((selectKeysCriteria_args) that); + if(that instanceof getCriteriaTimestr_args) + return this.equals((getCriteriaTimestr_args) that); return false; } - public boolean equals(selectKeysCriteria_args that) { + public boolean equals(getCriteriaTimestr_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) - return false; - if(!this.keys.equals(that.keys)) - return false; - } - boolean this_present_criteria = true && this.isSetCriteria(); boolean that_present_criteria = true && that.isSetCriteria(); if(this_present_criteria || that_present_criteria) { @@ -255938,6 +394626,15 @@ public boolean equals(selectKeysCriteria_args that) { return false; } + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -255972,16 +394669,16 @@ public boolean equals(selectKeysCriteria_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); - boolean present_criteria = true && (isSetCriteria()); list.add(present_criteria); if(present_criteria) list.add(criteria); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -256001,7 +394698,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysCriteria_args other) { + public int compareTo(getCriteriaTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -256009,26 +394706,26 @@ public int compareTo(selectKeysCriteria_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -256088,25 +394785,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysCriteria_args("); + StringBuilder sb = new StringBuilder("getCriteriaTimestr_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("timestamp:"); + if(this.timestamp == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.timestamp); } first = false; if(!first) @@ -256181,18 +394878,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCriteria_argsStandardSchemeFactory + private static class getCriteriaTimestr_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysCriteria_argsStandardScheme getScheme() { - return new selectKeysCriteria_argsStandardScheme(); + public getCriteriaTimestr_argsStandardScheme getScheme() { + return new getCriteriaTimestr_argsStandardScheme(); } } - private static class selectKeysCriteria_argsStandardScheme - extends StandardScheme { + private static class getCriteriaTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCriteria_args struct) + getCriteriaTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -256202,32 +394899,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1658 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1658.size); - String _elem1659; - for (int _i1660 = 0; _i1660 < _list1658.size; ++_i1660) { - _elem1659 = iprot.readString(); - struct.keys.add(_elem1659); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -256280,30 +394966,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCriteria_args struct) + getCriteriaTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1661 : struct.keys) { - oprot.writeString(_iter1661); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } if(struct.criteria != null) { oprot.writeFieldBegin(CRITERIA_FIELD_DESC); struct.criteria.write(oprot); oprot.writeFieldEnd(); } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -256325,26 +395002,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysCriteria_argsTupleSchemeFactory + private static class getCriteriaTimestr_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysCriteria_argsTupleScheme getScheme() { - return new selectKeysCriteria_argsTupleScheme(); + public getCriteriaTimestr_argsTupleScheme getScheme() { + return new getCriteriaTimestr_argsTupleScheme(); } } - private static class selectKeysCriteria_argsTupleScheme - extends TupleScheme { + private static class getCriteriaTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteria_args struct) + getCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetCriteria()) { optionals.set(0); } - if(struct.isSetCriteria()) { + if(struct.isSetTimestamp()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -256357,17 +395034,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1662 : struct.keys) { - oprot.writeString(_iter1662); - } - } - } if(struct.isSetCriteria()) { struct.criteria.write(oprot); } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -256381,29 +395053,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteria_args struct) + getCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1663 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1663.size); - String _elem1664; - for (int _i1665 = 0; _i1665 < _list1663.size; ++_i1665) { - _elem1664 = iprot.readString(); - struct.keys.add(_elem1664); - } - } - struct.setKeysIsSet(true); - } - if(incoming.get(1)) { struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); struct.criteria.read(iprot); struct.setCriteriaIsSet(true); } + if(incoming.get(1)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -256423,13 +395085,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysCriteria_result implements - org.apache.thrift.TBase, + public static class getCriteriaTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCriteria_result"); + "getCriteriaTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -256439,19 +395101,22 @@ public static class selectKeysCriteria_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCriteria_resultStandardSchemeFactory()); + new getCriteriaTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCriteria_resultTupleSchemeFactory()); + new getCriteriaTimestr_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -256461,7 +395126,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -256485,6 +395151,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -256544,11 +395212,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -256564,60 +395230,62 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCriteria_result.class, metaDataMap); + getCriteriaTimestr_result.class, metaDataMap); } - public selectKeysCriteria_result() {} + public getCriteriaTimestr_result() {} - public selectKeysCriteria_result( - Map>> success, + public getCriteriaTimestr_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeysCriteria_result(selectKeysCriteria_result other) { + public getCriteriaTimestr_result(getCriteriaTimestr_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry other_element_value_element : other_element_value .entrySet()) { String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element .getValue(); String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -256638,13 +395306,17 @@ public selectKeysCriteria_result(selectKeysCriteria_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public selectKeysCriteria_result deepCopy() { - return new selectKeysCriteria_result(this); + public getCriteriaTimestr_result deepCopy() { + return new getCriteriaTimestr_result(this); } @Override @@ -256653,6 +395325,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -256660,19 +395333,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeysCriteria_result setSuccess( - Map>> success) { + public getCriteriaTimestr_result setSuccess( + Map> success) { this.success = success; return this; } @@ -256699,7 +395372,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysCriteria_result setEx( + public getCriteriaTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -256727,7 +395400,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysCriteria_result setEx2( + public getCriteriaTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -256751,12 +395424,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeysCriteria_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getCriteriaTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -256779,6 +395452,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getCriteriaTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -256787,7 +395488,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -256814,7 +395515,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -256835,6 +395545,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -256857,6 +395570,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -256865,12 +395580,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCriteria_result) - return this.equals((selectKeysCriteria_result) that); + if(that instanceof getCriteriaTimestr_result) + return this.equals((getCriteriaTimestr_result) that); return false; } - public boolean equals(selectKeysCriteria_result that) { + public boolean equals(getCriteriaTimestr_result that) { if(that == null) return false; @@ -256910,6 +395625,15 @@ public boolean equals(selectKeysCriteria_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -256937,11 +395661,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(selectKeysCriteria_result other) { + public int compareTo(getCriteriaTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -256997,6 +395726,18 @@ public int compareTo(selectKeysCriteria_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -257016,7 +395757,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysCriteria_result("); + StringBuilder sb = new StringBuilder("getCriteriaTimestr_result("); boolean first = true; sb.append("success:"); @@ -257057,6 +395798,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -257090,18 +395841,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCriteria_resultStandardSchemeFactory + private static class getCriteriaTimestr_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysCriteria_resultStandardScheme getScheme() { - return new selectKeysCriteria_resultStandardScheme(); + public getCriteriaTimestr_resultStandardScheme getScheme() { + return new getCriteriaTimestr_resultStandardScheme(); } } - private static class selectKeysCriteria_resultStandardScheme - extends StandardScheme { + private static class getCriteriaTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCriteria_result struct) + getCriteriaTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -257114,41 +395865,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1666 = iprot + org.apache.thrift.protocol.TMap _map3202 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1666.size); - long _key1667; - Map> _val1668; - for (int _i1669 = 0; _i1669 < _map1666.size; ++_i1669) { - _key1667 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3202.size); + long _key3203; + Map _val3204; + for (int _i3205 = 0; _i3205 < _map3202.size; ++_i3205) { + _key3203 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1670 = iprot + org.apache.thrift.protocol.TMap _map3206 = iprot .readMapBegin(); - _val1668 = new LinkedHashMap>( - 2 * _map1670.size); - String _key1671; - Set _val1672; - for (int _i1673 = 0; _i1673 < _map1670.size; ++_i1673) { - _key1671 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1674 = iprot - .readSetBegin(); - _val1672 = new LinkedHashSet( - 2 * _set1674.size); - com.cinchapi.concourse.thrift.TObject _elem1675; - for (int _i1676 = 0; _i1676 < _set1674.size; ++_i1676) { - _elem1675 = new com.cinchapi.concourse.thrift.TObject(); - _elem1675.read(iprot); - _val1672.add(_elem1675); - } - iprot.readSetEnd(); - } - _val1668.put(_key1671, _val1672); + _val3204 = new LinkedHashMap( + 2 * _map3206.size); + String _key3207; + com.cinchapi.concourse.thrift.TObject _val3208; + for (int _i3209 = 0; _i3209 < _map3206.size; ++_i3209) { + _key3207 = iprot.readString(); + _val3208 = new com.cinchapi.concourse.thrift.TObject(); + _val3208.read(iprot); + _val3204.put(_key3207, _val3208); } iprot.readMapEnd(); } - struct.success.put(_key1667, _val1668); + struct.success.put(_key3203, _val3204); } iprot.readMapEnd(); } @@ -257183,7 +395923,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -257192,6 +395932,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -257206,7 +395957,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCriteria_result struct) + getCriteriaTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -257218,30 +395969,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter1677 : struct.success + for (Map.Entry> _iter3210 : struct.success .entrySet()) { - oprot.writeI64(_iter1677.getKey()); + oprot.writeI64(_iter3210.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1677.getValue().size())); - for (Map.Entry> _iter1678 : _iter1677 + org.apache.thrift.protocol.TType.STRUCT, + _iter3210.getValue().size())); + for (Map.Entry _iter3211 : _iter3210 .getValue().entrySet()) { - oprot.writeString(_iter1678.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1678.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1679 : _iter1678 - .getValue()) { - _iter1679.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter3211.getKey()); + _iter3211.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -257265,25 +396005,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeysCriteria_resultTupleSchemeFactory + private static class getCriteriaTimestr_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysCriteria_resultTupleScheme getScheme() { - return new selectKeysCriteria_resultTupleScheme(); + public getCriteriaTimestr_resultTupleScheme getScheme() { + return new getCriteriaTimestr_resultTupleScheme(); } } - private static class selectKeysCriteria_resultTupleScheme - extends TupleScheme { + private static class getCriteriaTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteria_result struct) + getCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -257299,26 +396044,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1680 : struct.success + for (Map.Entry> _iter3212 : struct.success .entrySet()) { - oprot.writeI64(_iter1680.getKey()); + oprot.writeI64(_iter3212.getKey()); { - oprot.writeI32(_iter1680.getValue().size()); - for (Map.Entry> _iter1681 : _iter1680 + oprot.writeI32(_iter3212.getValue().size()); + for (Map.Entry _iter3213 : _iter3212 .getValue().entrySet()) { - oprot.writeString(_iter1681.getKey()); - { - oprot.writeI32( - _iter1681.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1682 : _iter1681 - .getValue()) { - _iter1682.write(oprot); - } - } + oprot.writeString(_iter3213.getKey()); + _iter3213.getValue().write(oprot); } } } @@ -257333,54 +396074,46 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteria_result struct) + getCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1683 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3214 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1683.size); - long _key1684; - Map> _val1685; - for (int _i1686 = 0; _i1686 < _map1683.size; ++_i1686) { - _key1684 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3214.size); + long _key3215; + Map _val3216; + for (int _i3217 = 0; _i3217 < _map3214.size; ++_i3217) { + _key3215 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1687 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3218 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1685 = new LinkedHashMap>( - 2 * _map1687.size); - String _key1688; - Set _val1689; - for (int _i1690 = 0; _i1690 < _map1687.size; ++_i1690) { - _key1688 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1691 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1689 = new LinkedHashSet( - 2 * _set1691.size); - com.cinchapi.concourse.thrift.TObject _elem1692; - for (int _i1693 = 0; _i1693 < _set1691.size; ++_i1693) { - _elem1692 = new com.cinchapi.concourse.thrift.TObject(); - _elem1692.read(iprot); - _val1689.add(_elem1692); - } - } - _val1685.put(_key1688, _val1689); + _val3216 = new LinkedHashMap( + 2 * _map3218.size); + String _key3219; + com.cinchapi.concourse.thrift.TObject _val3220; + for (int _i3221 = 0; _i3221 < _map3218.size; ++_i3221) { + _key3219 = iprot.readString(); + _val3220 = new com.cinchapi.concourse.thrift.TObject(); + _val3220.read(iprot); + _val3216.put(_key3219, _val3220); } } - struct.success.put(_key1684, _val1685); + struct.success.put(_key3215, _val3216); } } struct.setSuccessIsSet(true); @@ -257396,46 +396129,55 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectKeysCcl_args implements - org.apache.thrift.TBase, + public static class getCriteriaTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCcl_args"); + "getCriteriaTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCcl_argsStandardSchemeFactory()); + new getCriteriaTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCcl_argsTupleSchemeFactory()); + new getCriteriaTimestrOrder_argsTupleSchemeFactory()); } - public List keys; // required - public String ccl; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -257445,11 +396187,12 @@ public static class selectKeysCcl_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CCL((short) 2, "ccl"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + CRITERIA((short) 1, "criteria"), + TIMESTAMP((short) 2, "timestamp"), + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -257465,15 +396208,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CCL - return CCL; - case 3: // CREDS + case 1: // CRITERIA + return CRITERIA; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -257523,18 +396268,23 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -257554,18 +396304,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCcl_args.class, metaDataMap); + getCriteriaTimestrOrder_args.class, metaDataMap); } - public selectKeysCcl_args() {} + public getCriteriaTimestrOrder_args() {} - public selectKeysCcl_args(List keys, String ccl, + public getCriteriaTimestrOrder_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.ccl = ccl; + this.criteria = criteria; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -257574,13 +396327,18 @@ public selectKeysCcl_args(List keys, String ccl, /** * Performs a deep copy on other. */ - public selectKeysCcl_args(selectKeysCcl_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public getCriteriaTimestrOrder_args( + getCriteriaTimestrOrder_args other) { + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - if(other.isSetCcl()) { - this.ccl = other.ccl; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -257595,85 +396353,100 @@ public selectKeysCcl_args(selectKeysCcl_args other) { } } - public selectKeysCcl_args deepCopy() { - return new selectKeysCcl_args(this); + public getCriteriaTimestrOrder_args deepCopy() { + return new getCriteriaTimestrOrder_args(this); } @Override public void clear() { - this.keys = null; - this.ccl = null; + this.criteria = null; + this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); + public getCriteriaTimestrOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; + return this; } - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); + public void unsetCriteria() { + this.criteria = null; + } + + /** + * Returns true if field criteria is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCriteria() { + return this.criteria != null; + } + + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; } - this.keys.add(elem); } - public List getKeys() { - return this.keys; + public String getTimestamp() { + return this.timestamp; } - public selectKeysCcl_args setKeys(List keys) { - this.keys = keys; + public getCriteriaTimestrOrder_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field keys is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetTimestamp() { + return this.timestamp != null; } - public void setKeysIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { if(!value) { - this.keys = null; + this.timestamp = null; } } - public String getCcl() { - return this.ccl; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public selectKeysCcl_args setCcl(String ccl) { - this.ccl = ccl; + public getCriteriaTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetOrder() { + return this.order != null; } - public void setCclIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.ccl = null; + this.order = null; } } @@ -257681,7 +396454,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysCcl_args setCreds( + public getCriteriaTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -257709,7 +396482,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysCcl_args setTransaction( + public getCriteriaTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -257737,7 +396510,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysCcl_args setEnvironment(String environment) { + public getCriteriaTimestrOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -257762,21 +396535,31 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case CRITERIA: if(value == null) { - unsetKeys(); + unsetCriteria(); } else { - setKeys((List) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case CCL: + case TIMESTAMP: if(value == null) { - unsetCcl(); + unsetTimestamp(); } else { - setCcl((String) value); + setTimestamp((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -257813,11 +396596,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case CRITERIA: + return getCriteria(); - case CCL: - return getCcl(); + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -257842,10 +396628,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case CCL: - return isSetCcl(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -257860,30 +396648,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCcl_args) - return this.equals((selectKeysCcl_args) that); + if(that instanceof getCriteriaTimestrOrder_args) + return this.equals((getCriteriaTimestrOrder_args) that); return false; } - public boolean equals(selectKeysCcl_args that) { + public boolean equals(getCriteriaTimestrOrder_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.keys.equals(that.keys)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -257921,15 +396718,20 @@ public boolean equals(selectKeysCcl_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -257950,7 +396752,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysCcl_args other) { + public int compareTo(getCriteriaTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -257958,26 +396760,38 @@ public int compareTo(selectKeysCcl_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -258037,25 +396851,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysCcl_args("); + StringBuilder sb = new StringBuilder( + "getCriteriaTimestrOrder_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("timestamp:"); + if(this.timestamp == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -258095,6 +396920,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -258127,18 +396958,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCcl_argsStandardSchemeFactory + private static class getCriteriaTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysCcl_argsStandardScheme getScheme() { - return new selectKeysCcl_argsStandardScheme(); + public getCriteriaTimestrOrder_argsStandardScheme getScheme() { + return new getCriteriaTimestrOrder_argsStandardScheme(); } } - private static class selectKeysCcl_argsStandardScheme - extends StandardScheme { + private static class getCriteriaTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCcl_args struct) + getCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -258148,38 +396979,39 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1694 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1694.size); - String _elem1695; - for (int _i1696 = 0; _i1696 < _list1694.size; ++_i1696) { - _elem1695 = iprot.readString(); - struct.keys.add(_elem1695); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CCL + case 2: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -258190,7 +397022,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -258201,7 +397033,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -258225,28 +397057,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCcl_args struct) + getCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1697 : struct.keys) { - oprot.writeString(_iter1697); - } - oprot.writeListEnd(); - } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -258270,48 +397098,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysCcl_argsTupleSchemeFactory + private static class getCriteriaTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysCcl_argsTupleScheme getScheme() { - return new selectKeysCcl_argsTupleScheme(); + public getCriteriaTimestrOrder_argsTupleScheme getScheme() { + return new getCriteriaTimestrOrder_argsTupleScheme(); } } - private static class selectKeysCcl_argsTupleScheme - extends TupleScheme { + private static class getCriteriaTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCcl_args struct) + getCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetCriteria()) { optionals.set(0); } - if(struct.isSetCcl()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1698 : struct.keys) { - oprot.writeString(_iter1698); - } - } + if(struct.isSetEnvironment()) { + optionals.set(5); } - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + oprot.writeBitSet(optionals, 6); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -258326,39 +397155,35 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCcl_args struct) + getCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1699 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1699.size); - String _elem1700; - for (int _i1701 = 0; _i1701 < _list1699.size; ++_i1701) { - _elem1700 = iprot.readString(); - struct.keys.add(_elem1700); - } - } - struct.setKeysIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -258367,13 +397192,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysCcl_result implements - org.apache.thrift.TBase, + public static class getCriteriaTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCcl_result"); + "getCriteriaTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -258389,12 +397214,12 @@ public static class selectKeysCcl_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCcl_resultStandardSchemeFactory()); + new getCriteriaTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCcl_resultTupleSchemeFactory()); + new getCriteriaTimestrOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -258494,11 +397319,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -258521,13 +397344,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCcl_result.class, metaDataMap); + getCriteriaTimestrOrder_result.class, metaDataMap); } - public selectKeysCcl_result() {} + public getCriteriaTimestrOrder_result() {} - public selectKeysCcl_result( - Map>> success, + public getCriteriaTimestrOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -258543,38 +397366,34 @@ public selectKeysCcl_result( /** * Performs a deep copy on other. */ - public selectKeysCcl_result(selectKeysCcl_result other) { + public getCriteriaTimestrOrder_result( + getCriteriaTimestrOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry other_element_value_element : other_element_value .entrySet()) { String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element .getValue(); String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -258604,8 +397423,8 @@ public selectKeysCcl_result(selectKeysCcl_result other) { } } - public selectKeysCcl_result deepCopy() { - return new selectKeysCcl_result(this); + public getCriteriaTimestrOrder_result deepCopy() { + return new getCriteriaTimestrOrder_result(this); } @Override @@ -258622,19 +397441,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeysCcl_result setSuccess( - Map>> success) { + public getCriteriaTimestrOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -258661,7 +397480,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysCcl_result setEx( + public getCriteriaTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -258689,7 +397508,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysCcl_result setEx2( + public getCriteriaTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -258717,7 +397536,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeysCcl_result setEx3( + public getCriteriaTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -258745,7 +397564,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public selectKeysCcl_result setEx4( + public getCriteriaTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -258777,7 +397596,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -258869,12 +397688,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCcl_result) - return this.equals((selectKeysCcl_result) that); + if(that instanceof getCriteriaTimestrOrder_result) + return this.equals((getCriteriaTimestrOrder_result) that); return false; } - public boolean equals(selectKeysCcl_result that) { + public boolean equals(getCriteriaTimestrOrder_result that) { if(that == null) return false; @@ -258959,7 +397778,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysCcl_result other) { + public int compareTo(getCriteriaTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -259046,7 +397865,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysCcl_result("); + StringBuilder sb = new StringBuilder( + "getCriteriaTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -259130,18 +397950,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCcl_resultStandardSchemeFactory + private static class getCriteriaTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysCcl_resultStandardScheme getScheme() { - return new selectKeysCcl_resultStandardScheme(); + public getCriteriaTimestrOrder_resultStandardScheme getScheme() { + return new getCriteriaTimestrOrder_resultStandardScheme(); } } - private static class selectKeysCcl_resultStandardScheme - extends StandardScheme { + private static class getCriteriaTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCcl_result struct) + getCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -259154,41 +397974,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1702 = iprot + org.apache.thrift.protocol.TMap _map3222 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1702.size); - long _key1703; - Map> _val1704; - for (int _i1705 = 0; _i1705 < _map1702.size; ++_i1705) { - _key1703 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3222.size); + long _key3223; + Map _val3224; + for (int _i3225 = 0; _i3225 < _map3222.size; ++_i3225) { + _key3223 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1706 = iprot + org.apache.thrift.protocol.TMap _map3226 = iprot .readMapBegin(); - _val1704 = new LinkedHashMap>( - 2 * _map1706.size); - String _key1707; - Set _val1708; - for (int _i1709 = 0; _i1709 < _map1706.size; ++_i1709) { - _key1707 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1710 = iprot - .readSetBegin(); - _val1708 = new LinkedHashSet( - 2 * _set1710.size); - com.cinchapi.concourse.thrift.TObject _elem1711; - for (int _i1712 = 0; _i1712 < _set1710.size; ++_i1712) { - _elem1711 = new com.cinchapi.concourse.thrift.TObject(); - _elem1711.read(iprot); - _val1708.add(_elem1711); - } - iprot.readSetEnd(); - } - _val1704.put(_key1707, _val1708); + _val3224 = new LinkedHashMap( + 2 * _map3226.size); + String _key3227; + com.cinchapi.concourse.thrift.TObject _val3228; + for (int _i3229 = 0; _i3229 < _map3226.size; ++_i3229) { + _key3227 = iprot.readString(); + _val3228 = new com.cinchapi.concourse.thrift.TObject(); + _val3228.read(iprot); + _val3224.put(_key3227, _val3228); } iprot.readMapEnd(); } - struct.success.put(_key1703, _val1704); + struct.success.put(_key3223, _val3224); } iprot.readMapEnd(); } @@ -259257,7 +398066,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCcl_result struct) + getCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -259269,30 +398078,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter1713 : struct.success + for (Map.Entry> _iter3230 : struct.success .entrySet()) { - oprot.writeI64(_iter1713.getKey()); + oprot.writeI64(_iter3230.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1713.getValue().size())); - for (Map.Entry> _iter1714 : _iter1713 + org.apache.thrift.protocol.TType.STRUCT, + _iter3230.getValue().size())); + for (Map.Entry _iter3231 : _iter3230 .getValue().entrySet()) { - oprot.writeString(_iter1714.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1714.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1715 : _iter1714 - .getValue()) { - _iter1715.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter3231.getKey()); + _iter3231.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -259327,19 +398125,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysCcl_resultTupleSchemeFactory + private static class getCriteriaTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysCcl_resultTupleScheme getScheme() { - return new selectKeysCcl_resultTupleScheme(); + public getCriteriaTimestrOrder_resultTupleScheme getScheme() { + return new getCriteriaTimestrOrder_resultTupleScheme(); } } - private static class selectKeysCcl_resultTupleScheme - extends TupleScheme { + private static class getCriteriaTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCcl_result struct) + getCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -259362,22 +398160,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1716 : struct.success + for (Map.Entry> _iter3232 : struct.success .entrySet()) { - oprot.writeI64(_iter1716.getKey()); + oprot.writeI64(_iter3232.getKey()); { - oprot.writeI32(_iter1716.getValue().size()); - for (Map.Entry> _iter1717 : _iter1716 + oprot.writeI32(_iter3232.getValue().size()); + for (Map.Entry _iter3233 : _iter3232 .getValue().entrySet()) { - oprot.writeString(_iter1717.getKey()); - { - oprot.writeI32( - _iter1717.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1718 : _iter1717 - .getValue()) { - _iter1718.write(oprot); - } - } + oprot.writeString(_iter3233.getKey()); + _iter3233.getValue().write(oprot); } } } @@ -259399,50 +398190,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCcl_result struct) + getCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1719 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3234 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1719.size); - long _key1720; - Map> _val1721; - for (int _i1722 = 0; _i1722 < _map1719.size; ++_i1722) { - _key1720 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3234.size); + long _key3235; + Map _val3236; + for (int _i3237 = 0; _i3237 < _map3234.size; ++_i3237) { + _key3235 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1723 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3238 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1721 = new LinkedHashMap>( - 2 * _map1723.size); - String _key1724; - Set _val1725; - for (int _i1726 = 0; _i1726 < _map1723.size; ++_i1726) { - _key1724 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1727 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1725 = new LinkedHashSet( - 2 * _set1727.size); - com.cinchapi.concourse.thrift.TObject _elem1728; - for (int _i1729 = 0; _i1729 < _set1727.size; ++_i1729) { - _elem1728 = new com.cinchapi.concourse.thrift.TObject(); - _elem1728.read(iprot); - _val1725.add(_elem1728); - } - } - _val1721.put(_key1724, _val1725); + _val3236 = new LinkedHashMap( + 2 * _map3238.size); + String _key3239; + com.cinchapi.concourse.thrift.TObject _val3240; + for (int _i3241 = 0; _i3241 < _map3238.size; ++_i3241) { + _key3239 = iprot.readString(); + _val3240 = new com.cinchapi.concourse.thrift.TObject(); + _val3240.read(iprot); + _val3236.put(_key3239, _val3240); } } - struct.success.put(_key1720, _val1721); + struct.success.put(_key3235, _val3236); } } struct.setSuccessIsSet(true); @@ -259472,39 +398252,36 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysCriteriaTime_args implements - org.apache.thrift.TBase, + public static class getCclTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCriteriaTime_args"); + "getCclTime_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCriteriaTime_argsStandardSchemeFactory()); + new getCclTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCriteriaTime_argsTupleSchemeFactory()); + new getCclTime_argsTupleSchemeFactory()); } - public List keys; // required - public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String ccl; // required public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required @@ -259515,12 +398292,11 @@ public static class selectKeysCriteriaTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CRITERIA((short) 2, "criteria"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CCL((short) 1, "ccl"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -259536,17 +398312,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CRITERIA - return CRITERIA; - case 3: // TIMESTAMP + case 1: // CCL + return CCL; + case 2: // TIMESTAMP return TIMESTAMP; - case 4: // CREDS + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -259598,19 +398372,11 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -259634,20 +398400,18 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCriteriaTime_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(getCclTime_args.class, metaDataMap); } - public selectKeysCriteriaTime_args() {} + public getCclTime_args() {} - public selectKeysCriteriaTime_args(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public getCclTime_args(String ccl, long timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.criteria = criteria; + this.ccl = ccl; this.timestamp = timestamp; setTimestampIsSet(true); this.creds = creds; @@ -259658,15 +398422,10 @@ public selectKeysCriteriaTime_args(List keys, /** * Performs a deep copy on other. */ - public selectKeysCriteriaTime_args(selectKeysCriteriaTime_args other) { + public getCclTime_args(getCclTime_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; - } - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + if(other.isSetCcl()) { + this.ccl = other.ccl; } this.timestamp = other.timestamp; if(other.isSetCreds()) { @@ -259682,14 +398441,13 @@ public selectKeysCriteriaTime_args(selectKeysCriteriaTime_args other) { } } - public selectKeysCriteriaTime_args deepCopy() { - return new selectKeysCriteriaTime_args(this); + public getCclTime_args deepCopy() { + return new getCclTime_args(this); } @Override public void clear() { - this.keys = null; - this.criteria = null; + this.ccl = null; setTimestampIsSet(false); this.timestamp = 0; this.creds = null; @@ -259697,73 +398455,30 @@ public void clear() { this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; - } - - public selectKeysCriteriaTime_args setKeys(List keys) { - this.keys = keys; - return this; - } - - public void unsetKeys() { - this.keys = null; - } - - /** - * Returns true if field keys is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKeys() { - return this.keys != null; - } - - public void setKeysIsSet(boolean value) { - if(!value) { - this.keys = null; - } - } - - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public String getCcl() { + return this.ccl; } - public selectKeysCriteriaTime_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public getCclTime_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setCriteriaIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.criteria = null; + this.ccl = null; } } @@ -259771,7 +398486,7 @@ public long getTimestamp() { return this.timestamp; } - public selectKeysCriteriaTime_args setTimestamp(long timestamp) { + public getCclTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; @@ -259800,7 +398515,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysCriteriaTime_args setCreds( + public getCclTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -259828,7 +398543,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysCriteriaTime_args setTransaction( + public getCclTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -259856,7 +398571,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysCriteriaTime_args setEnvironment(String environment) { + public getCclTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -259881,22 +398596,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: - if(value == null) { - unsetKeys(); - } - else { - setKeys((List) value); - } - break; - - case CRITERIA: + case CCL: if(value == null) { - unsetCriteria(); + unsetCcl(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setCcl((String) value); } break; @@ -259942,11 +398647,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); - - case CRITERIA: - return getCriteria(); + case CCL: + return getCcl(); case TIMESTAMP: return getTimestamp(); @@ -259974,10 +398676,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case CRITERIA: - return isSetCriteria(); + case CCL: + return isSetCcl(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -259994,30 +398694,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCriteriaTime_args) - return this.equals((selectKeysCriteriaTime_args) that); + if(that instanceof getCclTime_args) + return this.equals((getCclTime_args) that); return false; } - public boolean equals(selectKeysCriteriaTime_args that) { + public boolean equals(getCclTime_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) - return false; - if(!this.keys.equals(that.keys)) - return false; - } - - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.ccl.equals(that.ccl)) return false; } @@ -260064,15 +398755,10 @@ public boolean equals(selectKeysCriteriaTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); - - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_timestamp = true; list.add(present_timestamp); @@ -260098,7 +398784,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysCriteriaTime_args other) { + public int compareTo(getCclTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -260106,26 +398792,14 @@ public int compareTo(selectKeysCriteriaTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKeys()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -260197,26 +398871,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeysCriteriaTime_args("); + StringBuilder sb = new StringBuilder("getCclTime_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { - sb.append("null"); - } - else { - sb.append(this.keys); - } - first = false; - if(!first) - sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.ccl); } first = false; if(!first) @@ -260261,9 +398924,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); - } if(creds != null) { creds.validate(); } @@ -260300,18 +398960,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCriteriaTime_argsStandardSchemeFactory + private static class getCclTime_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysCriteriaTime_argsStandardScheme getScheme() { - return new selectKeysCriteriaTime_argsStandardScheme(); + public getCclTime_argsStandardScheme getScheme() { + return new getCclTime_argsStandardScheme(); } } - private static class selectKeysCriteriaTime_argsStandardScheme - extends StandardScheme { + private static class getCclTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCriteriaTime_args struct) + getCclTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -260321,39 +398981,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1730 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1730.size); - String _elem1731; - for (int _i1732 = 0; _i1732 < _list1730.size; ++_i1732) { - _elem1731 = iprot.readString(); - struct.keys.add(_elem1731); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 1: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP + case 2: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); @@ -260363,7 +399001,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -260374,7 +399012,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -260385,7 +399023,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -260409,28 +399047,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCriteriaTime_args struct) + getCclTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1733 : struct.keys) { - oprot.writeString(_iter1733); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); @@ -260457,51 +399081,40 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysCriteriaTime_argsTupleSchemeFactory + private static class getCclTime_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysCriteriaTime_argsTupleScheme getScheme() { - return new selectKeysCriteriaTime_argsTupleScheme(); + public getCclTime_argsTupleScheme getScheme() { + return new getCclTime_argsTupleScheme(); } } - private static class selectKeysCriteriaTime_argsTupleScheme - extends TupleScheme { + private static class getCclTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteriaTime_args struct) + getCclTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetCriteria()) { - optionals.set(1); - } if(struct.isSetTimestamp()) { - optionals.set(2); + optionals.set(1); } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1734 : struct.keys) { - oprot.writeString(_iter1734); - } - } + optionals.set(4); } - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + oprot.writeBitSet(optionals, 5); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { oprot.writeI64(struct.timestamp); @@ -260519,44 +399132,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteriaTime_args struct) + getCclTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1735 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1735.size); - String _elem1736; - for (int _i1737 = 0; _i1737 < _list1735.size; ++_i1737) { - _elem1736 = iprot.readString(); - struct.keys.add(_elem1736); - } - } - struct.setKeysIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); - } - if(incoming.get(2)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -260565,13 +399163,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysCriteriaTime_result implements - org.apache.thrift.TBase, + public static class getCclTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCriteriaTime_result"); + "getCclTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -260581,19 +399179,22 @@ public static class selectKeysCriteriaTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCriteriaTime_resultStandardSchemeFactory()); + new getCclTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCriteriaTime_resultTupleSchemeFactory()); + new getCclTime_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -260603,7 +399204,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -260627,6 +399229,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -260686,11 +399290,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -260706,61 +399308,62 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCriteriaTime_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(getCclTime_result.class, metaDataMap); } - public selectKeysCriteriaTime_result() {} + public getCclTime_result() {} - public selectKeysCriteriaTime_result( - Map>> success, + public getCclTime_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public selectKeysCriteriaTime_result( - selectKeysCriteriaTime_result other) { + public getCclTime_result(getCclTime_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry other_element_value_element : other_element_value .entrySet()) { String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element .getValue(); String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -260781,13 +399384,17 @@ public selectKeysCriteriaTime_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public selectKeysCriteriaTime_result deepCopy() { - return new selectKeysCriteriaTime_result(this); + public getCclTime_result deepCopy() { + return new getCclTime_result(this); } @Override @@ -260796,6 +399403,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -260803,19 +399411,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeysCriteriaTime_result setSuccess( - Map>> success) { + public getCclTime_result setSuccess( + Map> success) { this.success = success; return this; } @@ -260842,7 +399450,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysCriteriaTime_result setEx( + public getCclTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -260870,7 +399478,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysCriteriaTime_result setEx2( + public getCclTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -260894,12 +399502,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeysCriteriaTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getCclTime_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -260922,6 +399530,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getCclTime_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -260930,7 +399566,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -260957,7 +399593,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -260978,6 +399623,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -261000,6 +399648,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -261008,12 +399658,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCriteriaTime_result) - return this.equals((selectKeysCriteriaTime_result) that); + if(that instanceof getCclTime_result) + return this.equals((getCclTime_result) that); return false; } - public boolean equals(selectKeysCriteriaTime_result that) { + public boolean equals(getCclTime_result that) { if(that == null) return false; @@ -261053,6 +399703,15 @@ public boolean equals(selectKeysCriteriaTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -261080,11 +399739,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(selectKeysCriteriaTime_result other) { + public int compareTo(getCclTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -261140,6 +399804,18 @@ public int compareTo(selectKeysCriteriaTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -261159,8 +399835,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeysCriteriaTime_result("); + StringBuilder sb = new StringBuilder("getCclTime_result("); boolean first = true; sb.append("success:"); @@ -261201,6 +399876,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -261234,18 +399919,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCriteriaTime_resultStandardSchemeFactory + private static class getCclTime_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysCriteriaTime_resultStandardScheme getScheme() { - return new selectKeysCriteriaTime_resultStandardScheme(); + public getCclTime_resultStandardScheme getScheme() { + return new getCclTime_resultStandardScheme(); } } - private static class selectKeysCriteriaTime_resultStandardScheme - extends StandardScheme { + private static class getCclTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCriteriaTime_result struct) + getCclTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -261258,41 +399943,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1738 = iprot + org.apache.thrift.protocol.TMap _map3242 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1738.size); - long _key1739; - Map> _val1740; - for (int _i1741 = 0; _i1741 < _map1738.size; ++_i1741) { - _key1739 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3242.size); + long _key3243; + Map _val3244; + for (int _i3245 = 0; _i3245 < _map3242.size; ++_i3245) { + _key3243 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1742 = iprot + org.apache.thrift.protocol.TMap _map3246 = iprot .readMapBegin(); - _val1740 = new LinkedHashMap>( - 2 * _map1742.size); - String _key1743; - Set _val1744; - for (int _i1745 = 0; _i1745 < _map1742.size; ++_i1745) { - _key1743 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1746 = iprot - .readSetBegin(); - _val1744 = new LinkedHashSet( - 2 * _set1746.size); - com.cinchapi.concourse.thrift.TObject _elem1747; - for (int _i1748 = 0; _i1748 < _set1746.size; ++_i1748) { - _elem1747 = new com.cinchapi.concourse.thrift.TObject(); - _elem1747.read(iprot); - _val1744.add(_elem1747); - } - iprot.readSetEnd(); - } - _val1740.put(_key1743, _val1744); + _val3244 = new LinkedHashMap( + 2 * _map3246.size); + String _key3247; + com.cinchapi.concourse.thrift.TObject _val3248; + for (int _i3249 = 0; _i3249 < _map3246.size; ++_i3249) { + _key3247 = iprot.readString(); + _val3248 = new com.cinchapi.concourse.thrift.TObject(); + _val3248.read(iprot); + _val3244.put(_key3247, _val3248); } iprot.readMapEnd(); } - struct.success.put(_key1739, _val1740); + struct.success.put(_key3243, _val3244); } iprot.readMapEnd(); } @@ -261327,7 +400001,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -261336,6 +400010,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -261350,7 +400035,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCriteriaTime_result struct) + getCclTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -261362,30 +400047,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter1749 : struct.success + for (Map.Entry> _iter3250 : struct.success .entrySet()) { - oprot.writeI64(_iter1749.getKey()); + oprot.writeI64(_iter3250.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1749.getValue().size())); - for (Map.Entry> _iter1750 : _iter1749 + org.apache.thrift.protocol.TType.STRUCT, + _iter3250.getValue().size())); + for (Map.Entry _iter3251 : _iter3250 .getValue().entrySet()) { - oprot.writeString(_iter1750.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1750.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1751 : _iter1750 - .getValue()) { - _iter1751.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter3251.getKey()); + _iter3251.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -261409,25 +400083,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class selectKeysCriteriaTime_resultTupleSchemeFactory + private static class getCclTime_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysCriteriaTime_resultTupleScheme getScheme() { - return new selectKeysCriteriaTime_resultTupleScheme(); + public getCclTime_resultTupleScheme getScheme() { + return new getCclTime_resultTupleScheme(); } } - private static class selectKeysCriteriaTime_resultTupleScheme - extends TupleScheme { + private static class getCclTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteriaTime_result struct) + getCclTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -261443,26 +400122,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1752 : struct.success + for (Map.Entry> _iter3252 : struct.success .entrySet()) { - oprot.writeI64(_iter1752.getKey()); + oprot.writeI64(_iter3252.getKey()); { - oprot.writeI32(_iter1752.getValue().size()); - for (Map.Entry> _iter1753 : _iter1752 + oprot.writeI32(_iter3252.getValue().size()); + for (Map.Entry _iter3253 : _iter3252 .getValue().entrySet()) { - oprot.writeString(_iter1753.getKey()); - { - oprot.writeI32( - _iter1753.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1754 : _iter1753 - .getValue()) { - _iter1754.write(oprot); - } - } + oprot.writeString(_iter3253.getKey()); + _iter3253.getValue().write(oprot); } } } @@ -261477,54 +400152,46 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteriaTime_result struct) + getCclTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1755 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3254 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1755.size); - long _key1756; - Map> _val1757; - for (int _i1758 = 0; _i1758 < _map1755.size; ++_i1758) { - _key1756 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3254.size); + long _key3255; + Map _val3256; + for (int _i3257 = 0; _i3257 < _map3254.size; ++_i3257) { + _key3255 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1759 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3258 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1757 = new LinkedHashMap>( - 2 * _map1759.size); - String _key1760; - Set _val1761; - for (int _i1762 = 0; _i1762 < _map1759.size; ++_i1762) { - _key1760 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1763 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1761 = new LinkedHashSet( - 2 * _set1763.size); - com.cinchapi.concourse.thrift.TObject _elem1764; - for (int _i1765 = 0; _i1765 < _set1763.size; ++_i1765) { - _elem1764 = new com.cinchapi.concourse.thrift.TObject(); - _elem1764.read(iprot); - _val1761.add(_elem1764); - } - } - _val1757.put(_key1760, _val1761); + _val3256 = new LinkedHashMap( + 2 * _map3258.size); + String _key3259; + com.cinchapi.concourse.thrift.TObject _val3260; + for (int _i3261 = 0; _i3261 < _map3258.size; ++_i3261) { + _key3259 = iprot.readString(); + _val3260 = new com.cinchapi.concourse.thrift.TObject(); + _val3260.read(iprot); + _val3256.put(_key3259, _val3260); } } - struct.success.put(_key1756, _val1757); + struct.success.put(_key3255, _val3256); } } struct.setSuccessIsSet(true); @@ -261540,30 +400207,34 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class selectKeysCriteriaTimestr_args implements - org.apache.thrift.TBase, + public static class getCclTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCriteriaTimestr_args"); + "getCclTimeOrder_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -261576,14 +400247,14 @@ public static class selectKeysCriteriaTimestr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCriteriaTimestr_argsStandardSchemeFactory()); + new getCclTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCriteriaTimestr_argsTupleSchemeFactory()); + new getCclTimeOrder_argsTupleSchemeFactory()); } - public List keys; // required - public com.cinchapi.concourse.thrift.TCriteria criteria; // required - public String timestamp; // required + public String ccl; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -261593,9 +400264,9 @@ public static class selectKeysCriteriaTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CRITERIA((short) 2, "criteria"), - TIMESTAMP((short) 3, "timestamp"), + CCL((short) 1, "ccl"), + TIMESTAMP((short) 2, "timestamp"), + ORDER((short) 3, "order"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -261614,12 +400285,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CRITERIA - return CRITERIA; - case 3: // TIMESTAMP + case 1: // CCL + return CCL; + case 2: // TIMESTAMP return TIMESTAMP; + case 3: // ORDER + return ORDER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -261670,28 +400341,28 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -261711,21 +400382,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCriteriaTimestr_args.class, metaDataMap); + getCclTimeOrder_args.class, metaDataMap); } - public selectKeysCriteriaTimestr_args() {} + public getCclTimeOrder_args() {} - public selectKeysCriteriaTimestr_args(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public getCclTimeOrder_args(String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.criteria = criteria; + this.ccl = ccl; this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -261734,18 +400405,15 @@ public selectKeysCriteriaTimestr_args(List keys, /** * Performs a deep copy on other. */ - public selectKeysCriteriaTimestr_args( - selectKeysCriteriaTimestr_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; - } - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + public getCclTimeOrder_args(getCclTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetCcl()) { + this.ccl = other.ccl; } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -261760,114 +400428,102 @@ public selectKeysCriteriaTimestr_args( } } - public selectKeysCriteriaTimestr_args deepCopy() { - return new selectKeysCriteriaTimestr_args(this); + public getCclTimeOrder_args deepCopy() { + return new getCclTimeOrder_args(this); } @Override public void clear() { - this.keys = null; - this.criteria = null; - this.timestamp = null; + this.ccl = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; + public String getCcl() { + return this.ccl; } - public selectKeysCriteriaTimestr_args setKeys(List keys) { - this.keys = keys; + public getCclTimeOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setKeysIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.keys = null; + this.ccl = null; } } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public long getTimestamp() { + return this.timestamp; } - public selectKeysCriteriaTimestr_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public getCclTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field criteria is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setCriteriaIsSet(boolean value) { - if(!value) { - this.criteria = null; - } + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } - public String getTimestamp() { - return this.timestamp; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public selectKeysCriteriaTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; + public getCclTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetTimestamp() { - this.timestamp = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field order is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return this.timestamp != null; + public boolean isSetOrder() { + return this.order != null; } - public void setTimestampIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.timestamp = null; + this.order = null; } } @@ -261875,7 +400531,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysCriteriaTimestr_args setCreds( + public getCclTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -261903,7 +400559,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysCriteriaTimestr_args setTransaction( + public getCclTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -261931,8 +400587,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysCriteriaTimestr_args setEnvironment( - String environment) { + public getCclTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -261957,31 +400612,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case CCL: if(value == null) { - unsetKeys(); + unsetCcl(); } else { - setKeys((List) value); + setCcl((String) value); } break; - case CRITERIA: + case TIMESTAMP: if(value == null) { - unsetCriteria(); + unsetTimestamp(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setTimestamp((Long) value); } break; - case TIMESTAMP: + case ORDER: if(value == null) { - unsetTimestamp(); + unsetOrder(); } else { - setTimestamp((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -262018,15 +400672,15 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); - - case CRITERIA: - return getCriteria(); + case CCL: + return getCcl(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -262050,12 +400704,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case CRITERIA: - return isSetCriteria(); + case CCL: + return isSetCcl(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -262070,39 +400724,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCriteriaTimestr_args) - return this.equals((selectKeysCriteriaTimestr_args) that); + if(that instanceof getCclTimeOrder_args) + return this.equals((getCclTimeOrder_args) that); return false; } - public boolean equals(selectKeysCriteriaTimestr_args that) { + public boolean equals(getCclTimeOrder_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.keys.equals(that.keys)) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.criteria.equals(that.criteria)) + if(this.timestamp != that.timestamp) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(!this.order.equals(that.order)) return false; } @@ -262140,21 +400794,21 @@ public boolean equals(selectKeysCriteriaTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); - - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -262174,7 +400828,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysCriteriaTimestr_args other) { + public int compareTo(getCclTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -262182,38 +400836,38 @@ public int compareTo(selectKeysCriteriaTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -262273,36 +400927,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeysCriteriaTimestr_args("); + StringBuilder sb = new StringBuilder("getCclTimeOrder_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.ccl); } first = false; if(!first) sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { - sb.append("null"); - } - else { - sb.append(this.criteria); - } + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.order); } first = false; if(!first) @@ -262342,8 +400990,8 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); + if(order != null) { + order.validate(); } if(creds != null) { creds.validate(); @@ -262368,6 +401016,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -262377,18 +401029,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCriteriaTimestr_argsStandardSchemeFactory + private static class getCclTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysCriteriaTimestr_argsStandardScheme getScheme() { - return new selectKeysCriteriaTimestr_argsStandardScheme(); + public getCclTimeOrder_argsStandardScheme getScheme() { + return new getCclTimeOrder_argsStandardScheme(); } } - private static class selectKeysCriteriaTimestr_argsStandardScheme - extends StandardScheme { + private static class getCclTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCriteriaTimestr_args struct) + getCclTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -262398,42 +401050,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1766 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1766.size); - String _elem1767; - for (int _i1768 = 0; _i1768 < _list1766.size; ++_i1768) { - _elem1767 = iprot.readString(); - struct.keys.add(_elem1767); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -262486,33 +401127,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCriteriaTimestr_args struct) + getCclTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1769 : struct.keys) { - oprot.writeString(_iter1769); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -262536,29 +401166,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysCriteriaTimestr_argsTupleSchemeFactory + private static class getCclTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysCriteriaTimestr_argsTupleScheme getScheme() { - return new selectKeysCriteriaTimestr_argsTupleScheme(); + public getCclTimeOrder_argsTupleScheme getScheme() { + return new getCclTimeOrder_argsTupleScheme(); } } - private static class selectKeysCriteriaTimestr_argsTupleScheme - extends TupleScheme { + private static class getCclTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteriaTimestr_args struct) + getCclTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetCriteria()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetTimestamp()) { + if(struct.isSetOrder()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -262571,19 +401201,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1770 : struct.keys) { - oprot.writeString(_iter1770); - } - } - } - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -262598,32 +401223,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteriaTimestr_args struct) + getCclTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1771 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1771.size); - String _elem1772; - for (int _i1773 = 0; _i1773 < _list1771.size; ++_i1773) { - _elem1772 = iprot.readString(); - struct.keys.add(_elem1772); - } - } - struct.setKeysIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -262644,13 +401259,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysCriteriaTimestr_result implements - org.apache.thrift.TBase, + public static class getCclTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCriteriaTimestr_result"); + "getCclTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -262666,12 +401281,12 @@ public static class selectKeysCriteriaTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCriteriaTimestr_resultStandardSchemeFactory()); + new getCclTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCriteriaTimestr_resultTupleSchemeFactory()); + new getCclTimeOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -262771,11 +401386,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -262798,13 +401411,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCriteriaTimestr_result.class, metaDataMap); + getCclTimeOrder_result.class, metaDataMap); } - public selectKeysCriteriaTimestr_result() {} + public getCclTimeOrder_result() {} - public selectKeysCriteriaTimestr_result( - Map>> success, + public getCclTimeOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -262820,39 +401433,33 @@ public selectKeysCriteriaTimestr_result( /** * Performs a deep copy on other. */ - public selectKeysCriteriaTimestr_result( - selectKeysCriteriaTimestr_result other) { + public getCclTimeOrder_result(getCclTimeOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry other_element_value_element : other_element_value .entrySet()) { String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element .getValue(); String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -262882,8 +401489,8 @@ public selectKeysCriteriaTimestr_result( } } - public selectKeysCriteriaTimestr_result deepCopy() { - return new selectKeysCriteriaTimestr_result(this); + public getCclTimeOrder_result deepCopy() { + return new getCclTimeOrder_result(this); } @Override @@ -262900,19 +401507,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeysCriteriaTimestr_result setSuccess( - Map>> success) { + public getCclTimeOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -262939,7 +401546,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysCriteriaTimestr_result setEx( + public getCclTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -262967,7 +401574,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysCriteriaTimestr_result setEx2( + public getCclTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -262995,7 +401602,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeysCriteriaTimestr_result setEx3( + public getCclTimeOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -263023,7 +401630,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public selectKeysCriteriaTimestr_result setEx4( + public getCclTimeOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -263055,7 +401662,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -263147,12 +401754,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCriteriaTimestr_result) - return this.equals((selectKeysCriteriaTimestr_result) that); + if(that instanceof getCclTimeOrder_result) + return this.equals((getCclTimeOrder_result) that); return false; } - public boolean equals(selectKeysCriteriaTimestr_result that) { + public boolean equals(getCclTimeOrder_result that) { if(that == null) return false; @@ -263237,7 +401844,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysCriteriaTimestr_result other) { + public int compareTo(getCclTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -263324,8 +401931,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeysCriteriaTimestr_result("); + StringBuilder sb = new StringBuilder("getCclTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -263409,18 +402015,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCriteriaTimestr_resultStandardSchemeFactory + private static class getCclTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysCriteriaTimestr_resultStandardScheme getScheme() { - return new selectKeysCriteriaTimestr_resultStandardScheme(); + public getCclTimeOrder_resultStandardScheme getScheme() { + return new getCclTimeOrder_resultStandardScheme(); } } - private static class selectKeysCriteriaTimestr_resultStandardScheme - extends StandardScheme { + private static class getCclTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCriteriaTimestr_result struct) + getCclTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -263433,41 +402039,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1774 = iprot + org.apache.thrift.protocol.TMap _map3262 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1774.size); - long _key1775; - Map> _val1776; - for (int _i1777 = 0; _i1777 < _map1774.size; ++_i1777) { - _key1775 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3262.size); + long _key3263; + Map _val3264; + for (int _i3265 = 0; _i3265 < _map3262.size; ++_i3265) { + _key3263 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1778 = iprot + org.apache.thrift.protocol.TMap _map3266 = iprot .readMapBegin(); - _val1776 = new LinkedHashMap>( - 2 * _map1778.size); - String _key1779; - Set _val1780; - for (int _i1781 = 0; _i1781 < _map1778.size; ++_i1781) { - _key1779 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1782 = iprot - .readSetBegin(); - _val1780 = new LinkedHashSet( - 2 * _set1782.size); - com.cinchapi.concourse.thrift.TObject _elem1783; - for (int _i1784 = 0; _i1784 < _set1782.size; ++_i1784) { - _elem1783 = new com.cinchapi.concourse.thrift.TObject(); - _elem1783.read(iprot); - _val1780.add(_elem1783); - } - iprot.readSetEnd(); - } - _val1776.put(_key1779, _val1780); + _val3264 = new LinkedHashMap( + 2 * _map3266.size); + String _key3267; + com.cinchapi.concourse.thrift.TObject _val3268; + for (int _i3269 = 0; _i3269 < _map3266.size; ++_i3269) { + _key3267 = iprot.readString(); + _val3268 = new com.cinchapi.concourse.thrift.TObject(); + _val3268.read(iprot); + _val3264.put(_key3267, _val3268); } iprot.readMapEnd(); } - struct.success.put(_key1775, _val1776); + struct.success.put(_key3263, _val3264); } iprot.readMapEnd(); } @@ -263536,7 +402131,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCriteriaTimestr_result struct) + getCclTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -263548,30 +402143,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter1785 : struct.success + for (Map.Entry> _iter3270 : struct.success .entrySet()) { - oprot.writeI64(_iter1785.getKey()); + oprot.writeI64(_iter3270.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1785.getValue().size())); - for (Map.Entry> _iter1786 : _iter1785 + org.apache.thrift.protocol.TType.STRUCT, + _iter3270.getValue().size())); + for (Map.Entry _iter3271 : _iter3270 .getValue().entrySet()) { - oprot.writeString(_iter1786.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1786.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1787 : _iter1786 - .getValue()) { - _iter1787.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter3271.getKey()); + _iter3271.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -263606,19 +402190,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysCriteriaTimestr_resultTupleSchemeFactory + private static class getCclTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysCriteriaTimestr_resultTupleScheme getScheme() { - return new selectKeysCriteriaTimestr_resultTupleScheme(); + public getCclTimeOrder_resultTupleScheme getScheme() { + return new getCclTimeOrder_resultTupleScheme(); } } - private static class selectKeysCriteriaTimestr_resultTupleScheme - extends TupleScheme { + private static class getCclTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteriaTimestr_result struct) + getCclTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -263641,22 +402225,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1788 : struct.success + for (Map.Entry> _iter3272 : struct.success .entrySet()) { - oprot.writeI64(_iter1788.getKey()); + oprot.writeI64(_iter3272.getKey()); { - oprot.writeI32(_iter1788.getValue().size()); - for (Map.Entry> _iter1789 : _iter1788 + oprot.writeI32(_iter3272.getValue().size()); + for (Map.Entry _iter3273 : _iter3272 .getValue().entrySet()) { - oprot.writeString(_iter1789.getKey()); - { - oprot.writeI32( - _iter1789.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1790 : _iter1789 - .getValue()) { - _iter1790.write(oprot); - } - } + oprot.writeString(_iter3273.getKey()); + _iter3273.getValue().write(oprot); } } } @@ -263678,50 +402255,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCriteriaTimestr_result struct) + getCclTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1791 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3274 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1791.size); - long _key1792; - Map> _val1793; - for (int _i1794 = 0; _i1794 < _map1791.size; ++_i1794) { - _key1792 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3274.size); + long _key3275; + Map _val3276; + for (int _i3277 = 0; _i3277 < _map3274.size; ++_i3277) { + _key3275 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1795 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3278 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1793 = new LinkedHashMap>( - 2 * _map1795.size); - String _key1796; - Set _val1797; - for (int _i1798 = 0; _i1798 < _map1795.size; ++_i1798) { - _key1796 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1799 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1797 = new LinkedHashSet( - 2 * _set1799.size); - com.cinchapi.concourse.thrift.TObject _elem1800; - for (int _i1801 = 0; _i1801 < _set1799.size; ++_i1801) { - _elem1800 = new com.cinchapi.concourse.thrift.TObject(); - _elem1800.read(iprot); - _val1797.add(_elem1800); - } - } - _val1793.put(_key1796, _val1797); + _val3276 = new LinkedHashMap( + 2 * _map3278.size); + String _key3279; + com.cinchapi.concourse.thrift.TObject _val3280; + for (int _i3281 = 0; _i3281 < _map3278.size; ++_i3281) { + _key3279 = iprot.readString(); + _val3280 = new com.cinchapi.concourse.thrift.TObject(); + _val3280.read(iprot); + _val3276.put(_key3279, _val3280); } } - struct.success.put(_key1792, _val1793); + struct.success.put(_key3275, _val3276); } } struct.setSuccessIsSet(true); @@ -263751,40 +402317,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysCclTime_args implements - org.apache.thrift.TBase, + public static class getCclTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCclTime_args"); + "getCclTimestr_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCclTime_argsStandardSchemeFactory()); + new getCclTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCclTime_argsTupleSchemeFactory()); + new getCclTimestr_argsTupleSchemeFactory()); } - public List keys; // required public String ccl; // required - public long timestamp; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -263794,12 +402358,11 @@ public static class selectKeysCclTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CCL((short) 2, "ccl"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CCL((short) 1, "ccl"), + TIMESTAMP((short) 2, "timestamp"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -263815,17 +402378,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CCL + case 1: // CCL return CCL; - case 3: // TIMESTAMP + case 2: // TIMESTAMP return TIMESTAMP; - case 4: // CREDS + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -263871,19 +402432,10 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.CCL, new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -263893,7 +402445,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -263913,20 +402465,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCclTime_args.class, metaDataMap); + getCclTimestr_args.class, metaDataMap); } - public selectKeysCclTime_args() {} + public getCclTimestr_args() {} - public selectKeysCclTime_args(List keys, String ccl, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public getCclTimestr_args(String ccl, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; this.ccl = ccl; this.timestamp = timestamp; - setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -263935,16 +402485,13 @@ public selectKeysCclTime_args(List keys, String ccl, /** * Performs a deep copy on other. */ - public selectKeysCclTime_args(selectKeysCclTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; - } + public getCclTimestr_args(getCclTimestr_args other) { if(other.isSetCcl()) { this.ccl = other.ccl; } - this.timestamp = other.timestamp; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -263958,68 +402505,24 @@ public selectKeysCclTime_args(selectKeysCclTime_args other) { } } - public selectKeysCclTime_args deepCopy() { - return new selectKeysCclTime_args(this); + public getCclTimestr_args deepCopy() { + return new getCclTimestr_args(this); } @Override public void clear() { - this.keys = null; this.ccl = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; - } - - public selectKeysCclTime_args setKeys(List keys) { - this.keys = keys; - return this; - } - - public void unsetKeys() { - this.keys = null; - } - - /** - * Returns true if field keys is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKeys() { - return this.keys != null; - } - - public void setKeysIsSet(boolean value) { - if(!value) { - this.keys = null; - } - } - public String getCcl() { return this.ccl; } - public selectKeysCclTime_args setCcl(String ccl) { + public getCclTimestr_args setCcl(String ccl) { this.ccl = ccl; return this; } @@ -264042,19 +402545,17 @@ public void setCclIsSet(boolean value) { } } - public long getTimestamp() { + public String getTimestamp() { return this.timestamp; } - public selectKeysCclTime_args setTimestamp(long timestamp) { + public getCclTimestr_args setTimestamp(String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -264062,20 +402563,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysCclTime_args setCreds( + public getCclTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -264103,7 +402604,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysCclTime_args setTransaction( + public getCclTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -264131,7 +402632,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysCclTime_args setEnvironment(String environment) { + public getCclTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -264156,15 +402657,6 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: - if(value == null) { - unsetKeys(); - } - else { - setKeys((List) value); - } - break; - case CCL: if(value == null) { unsetCcl(); @@ -264179,7 +402671,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); } break; @@ -264216,9 +402708,6 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); - case CCL: return getCcl(); @@ -264248,8 +402737,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); case CCL: return isSetCcl(); case TIMESTAMP: @@ -264268,24 +402755,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCclTime_args) - return this.equals((selectKeysCclTime_args) that); + if(that instanceof getCclTimestr_args) + return this.equals((getCclTimestr_args) that); return false; } - public boolean equals(selectKeysCclTime_args that) { + public boolean equals(getCclTimestr_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) - return false; - if(!this.keys.equals(that.keys)) - return false; - } - boolean this_present_ccl = true && this.isSetCcl(); boolean that_present_ccl = true && that.isSetCcl(); if(this_present_ccl || that_present_ccl) { @@ -264295,12 +402773,12 @@ public boolean equals(selectKeysCclTime_args that) { return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -264338,17 +402816,12 @@ public boolean equals(selectKeysCclTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); - boolean present_ccl = true && (isSetCcl()); list.add(present_ccl); if(present_ccl) list.add(ccl); - boolean present_timestamp = true; + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -264372,7 +402845,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysCclTime_args other) { + public int compareTo(getCclTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -264380,18 +402853,6 @@ public int compareTo(selectKeysCclTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKeys()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetCcl()) .compareTo(other.isSetCcl()); if(lastComparison != 0) { @@ -264471,19 +402932,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysCclTime_args("); + StringBuilder sb = new StringBuilder("getCclTimestr_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { - sb.append("null"); - } - else { - sb.append(this.keys); - } - first = false; - if(!first) - sb.append(", "); sb.append("ccl:"); if(this.ccl == null) { sb.append("null"); @@ -264495,7 +402946,12 @@ public String toString() { if(!first) sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -264557,10 +403013,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -264570,18 +403022,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCclTime_argsStandardSchemeFactory + private static class getCclTimestr_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysCclTime_argsStandardScheme getScheme() { - return new selectKeysCclTime_argsStandardScheme(); + public getCclTimestr_argsStandardScheme getScheme() { + return new getCclTimestr_argsStandardScheme(); } } - private static class selectKeysCclTime_argsStandardScheme - extends StandardScheme { + private static class getCclTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCclTime_args struct) + getCclTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -264591,28 +403043,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1802 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1802.size); - String _elem1803; - for (int _i1804 = 0; _i1804 < _list1802.size; ++_i1804) { - _elem1803 = iprot.readString(); - struct.keys.add(_elem1803); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // CCL + case 1: // CCL if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.ccl = iprot.readString(); struct.setCclIsSet(true); @@ -264622,9 +403053,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -264632,7 +403063,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -264643,7 +403074,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -264654,7 +403085,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -264678,33 +403109,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCclTime_args struct) + getCclTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1805 : struct.keys) { - oprot.writeString(_iter1805); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } if(struct.ccl != null) { oprot.writeFieldBegin(CCL_FIELD_DESC); oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -264726,54 +403145,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysCclTime_argsTupleSchemeFactory + private static class getCclTimestr_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysCclTime_argsTupleScheme getScheme() { - return new selectKeysCclTime_argsTupleScheme(); + public getCclTimestr_argsTupleScheme getScheme() { + return new getCclTimestr_argsTupleScheme(); } } - private static class selectKeysCclTime_argsTupleScheme - extends TupleScheme { + private static class getCclTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCclTime_args struct) + getCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { - optionals.set(0); - } if(struct.isSetCcl()) { - optionals.set(1); + optionals.set(0); } if(struct.isSetTimestamp()) { - optionals.set(2); + optionals.set(1); } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1806 : struct.keys) { - oprot.writeString(_iter1806); - } - } + optionals.set(4); } + oprot.writeBitSet(optionals, 5); if(struct.isSetCcl()) { oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -264788,43 +403196,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCclTime_args struct) + getCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1807 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1807.size); - String _elem1808; - for (int _i1809 = 0; _i1809 < _list1807.size; ++_i1809) { - _elem1808 = iprot.readString(); - struct.keys.add(_elem1808); - } - } - struct.setKeysIsSet(true); - } - if(incoming.get(1)) { struct.ccl = iprot.readString(); struct.setCclIsSet(true); } - if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); + if(incoming.get(1)) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -264833,13 +403227,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysCclTime_result implements - org.apache.thrift.TBase, + public static class getCclTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCclTime_result"); + "getCclTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -264855,12 +403249,12 @@ public static class selectKeysCclTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCclTime_resultStandardSchemeFactory()); + new getCclTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCclTime_resultTupleSchemeFactory()); + new getCclTimestr_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -264960,11 +403354,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -264987,13 +403379,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCclTime_result.class, metaDataMap); + getCclTimestr_result.class, metaDataMap); } - public selectKeysCclTime_result() {} + public getCclTimestr_result() {} - public selectKeysCclTime_result( - Map>> success, + public getCclTimestr_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -265009,38 +403401,33 @@ public selectKeysCclTime_result( /** * Performs a deep copy on other. */ - public selectKeysCclTime_result(selectKeysCclTime_result other) { + public getCclTimestr_result(getCclTimestr_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry other_element_value_element : other_element_value .entrySet()) { String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element .getValue(); String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -265070,8 +403457,8 @@ public selectKeysCclTime_result(selectKeysCclTime_result other) { } } - public selectKeysCclTime_result deepCopy() { - return new selectKeysCclTime_result(this); + public getCclTimestr_result deepCopy() { + return new getCclTimestr_result(this); } @Override @@ -265088,19 +403475,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeysCclTime_result setSuccess( - Map>> success) { + public getCclTimestr_result setSuccess( + Map> success) { this.success = success; return this; } @@ -265127,7 +403514,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysCclTime_result setEx( + public getCclTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -265155,7 +403542,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysCclTime_result setEx2( + public getCclTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -265183,7 +403570,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeysCclTime_result setEx3( + public getCclTimestr_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -265211,7 +403598,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public selectKeysCclTime_result setEx4( + public getCclTimestr_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -265243,7 +403630,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -265335,12 +403722,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCclTime_result) - return this.equals((selectKeysCclTime_result) that); + if(that instanceof getCclTimestr_result) + return this.equals((getCclTimestr_result) that); return false; } - public boolean equals(selectKeysCclTime_result that) { + public boolean equals(getCclTimestr_result that) { if(that == null) return false; @@ -265425,7 +403812,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysCclTime_result other) { + public int compareTo(getCclTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -265512,7 +403899,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysCclTime_result("); + StringBuilder sb = new StringBuilder("getCclTimestr_result("); boolean first = true; sb.append("success:"); @@ -265596,18 +403983,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCclTime_resultStandardSchemeFactory + private static class getCclTimestr_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysCclTime_resultStandardScheme getScheme() { - return new selectKeysCclTime_resultStandardScheme(); + public getCclTimestr_resultStandardScheme getScheme() { + return new getCclTimestr_resultStandardScheme(); } } - private static class selectKeysCclTime_resultStandardScheme - extends StandardScheme { + private static class getCclTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCclTime_result struct) + getCclTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -265620,41 +404007,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1810 = iprot + org.apache.thrift.protocol.TMap _map3282 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1810.size); - long _key1811; - Map> _val1812; - for (int _i1813 = 0; _i1813 < _map1810.size; ++_i1813) { - _key1811 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3282.size); + long _key3283; + Map _val3284; + for (int _i3285 = 0; _i3285 < _map3282.size; ++_i3285) { + _key3283 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1814 = iprot + org.apache.thrift.protocol.TMap _map3286 = iprot .readMapBegin(); - _val1812 = new LinkedHashMap>( - 2 * _map1814.size); - String _key1815; - Set _val1816; - for (int _i1817 = 0; _i1817 < _map1814.size; ++_i1817) { - _key1815 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1818 = iprot - .readSetBegin(); - _val1816 = new LinkedHashSet( - 2 * _set1818.size); - com.cinchapi.concourse.thrift.TObject _elem1819; - for (int _i1820 = 0; _i1820 < _set1818.size; ++_i1820) { - _elem1819 = new com.cinchapi.concourse.thrift.TObject(); - _elem1819.read(iprot); - _val1816.add(_elem1819); - } - iprot.readSetEnd(); - } - _val1812.put(_key1815, _val1816); + _val3284 = new LinkedHashMap( + 2 * _map3286.size); + String _key3287; + com.cinchapi.concourse.thrift.TObject _val3288; + for (int _i3289 = 0; _i3289 < _map3286.size; ++_i3289) { + _key3287 = iprot.readString(); + _val3288 = new com.cinchapi.concourse.thrift.TObject(); + _val3288.read(iprot); + _val3284.put(_key3287, _val3288); } iprot.readMapEnd(); } - struct.success.put(_key1811, _val1812); + struct.success.put(_key3283, _val3284); } iprot.readMapEnd(); } @@ -265723,7 +404099,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCclTime_result struct) + getCclTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -265735,30 +404111,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter1821 : struct.success + for (Map.Entry> _iter3290 : struct.success .entrySet()) { - oprot.writeI64(_iter1821.getKey()); + oprot.writeI64(_iter3290.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1821.getValue().size())); - for (Map.Entry> _iter1822 : _iter1821 + org.apache.thrift.protocol.TType.STRUCT, + _iter3290.getValue().size())); + for (Map.Entry _iter3291 : _iter3290 .getValue().entrySet()) { - oprot.writeString(_iter1822.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1822.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1823 : _iter1822 - .getValue()) { - _iter1823.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter3291.getKey()); + _iter3291.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -265793,19 +404158,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysCclTime_resultTupleSchemeFactory + private static class getCclTimestr_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysCclTime_resultTupleScheme getScheme() { - return new selectKeysCclTime_resultTupleScheme(); + public getCclTimestr_resultTupleScheme getScheme() { + return new getCclTimestr_resultTupleScheme(); } } - private static class selectKeysCclTime_resultTupleScheme - extends TupleScheme { + private static class getCclTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCclTime_result struct) + getCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -265828,22 +404193,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1824 : struct.success + for (Map.Entry> _iter3292 : struct.success .entrySet()) { - oprot.writeI64(_iter1824.getKey()); + oprot.writeI64(_iter3292.getKey()); { - oprot.writeI32(_iter1824.getValue().size()); - for (Map.Entry> _iter1825 : _iter1824 + oprot.writeI32(_iter3292.getValue().size()); + for (Map.Entry _iter3293 : _iter3292 .getValue().entrySet()) { - oprot.writeString(_iter1825.getKey()); - { - oprot.writeI32( - _iter1825.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1826 : _iter1825 - .getValue()) { - _iter1826.write(oprot); - } - } + oprot.writeString(_iter3293.getKey()); + _iter3293.getValue().write(oprot); } } } @@ -265865,50 +404223,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCclTime_result struct) + getCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1827 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3294 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1827.size); - long _key1828; - Map> _val1829; - for (int _i1830 = 0; _i1830 < _map1827.size; ++_i1830) { - _key1828 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3294.size); + long _key3295; + Map _val3296; + for (int _i3297 = 0; _i3297 < _map3294.size; ++_i3297) { + _key3295 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1831 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3298 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1829 = new LinkedHashMap>( - 2 * _map1831.size); - String _key1832; - Set _val1833; - for (int _i1834 = 0; _i1834 < _map1831.size; ++_i1834) { - _key1832 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1835 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1833 = new LinkedHashSet( - 2 * _set1835.size); - com.cinchapi.concourse.thrift.TObject _elem1836; - for (int _i1837 = 0; _i1837 < _set1835.size; ++_i1837) { - _elem1836 = new com.cinchapi.concourse.thrift.TObject(); - _elem1836.read(iprot); - _val1833.add(_elem1836); - } - } - _val1829.put(_key1832, _val1833); + _val3296 = new LinkedHashMap( + 2 * _map3298.size); + String _key3299; + com.cinchapi.concourse.thrift.TObject _val3300; + for (int _i3301 = 0; _i3301 < _map3298.size; ++_i3301) { + _key3299 = iprot.readString(); + _val3300 = new com.cinchapi.concourse.thrift.TObject(); + _val3300.read(iprot); + _val3296.put(_key3299, _val3300); } } - struct.success.put(_key1828, _val1829); + struct.success.put(_key3295, _val3296); } } struct.setSuccessIsSet(true); @@ -265938,21 +404285,21 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysCclTimestr_args implements - org.apache.thrift.TBase, + public static class getCclTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCclTimestr_args"); + "getCclTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -265965,14 +404312,14 @@ public static class selectKeysCclTimestr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCclTimestr_argsStandardSchemeFactory()); + new getCclTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCclTimestr_argsTupleSchemeFactory()); + new getCclTimestrOrder_argsTupleSchemeFactory()); } - public List keys; // required public String ccl; // required public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -265982,9 +404329,9 @@ public static class selectKeysCclTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CCL((short) 2, "ccl"), - TIMESTAMP((short) 3, "timestamp"), + CCL((short) 1, "ccl"), + TIMESTAMP((short) 2, "timestamp"), + ORDER((short) 3, "order"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -266003,12 +404350,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CCL + case 1: // CCL return CCL; - case 3: // TIMESTAMP + case 2: // TIMESTAMP return TIMESTAMP; + case 3: // ORDER + return ORDER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -266063,13 +404410,6 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.CCL, new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -266080,6 +404420,12 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -266099,20 +404445,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCclTimestr_args.class, metaDataMap); + getCclTimestrOrder_args.class, metaDataMap); } - public selectKeysCclTimestr_args() {} + public getCclTimestrOrder_args() {} - public selectKeysCclTimestr_args(List keys, String ccl, - String timestamp, + public getCclTimestrOrder_args(String ccl, String timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; this.ccl = ccl; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -266121,17 +404467,17 @@ public selectKeysCclTimestr_args(List keys, String ccl, /** * Performs a deep copy on other. */ - public selectKeysCclTimestr_args(selectKeysCclTimestr_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; - } + public getCclTimestrOrder_args(getCclTimestrOrder_args other) { if(other.isSetCcl()) { this.ccl = other.ccl; } if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -266145,67 +404491,25 @@ public selectKeysCclTimestr_args(selectKeysCclTimestr_args other) { } } - public selectKeysCclTimestr_args deepCopy() { - return new selectKeysCclTimestr_args(this); + public getCclTimestrOrder_args deepCopy() { + return new getCclTimestrOrder_args(this); } @Override public void clear() { - this.keys = null; this.ccl = null; this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; - } - - public selectKeysCclTimestr_args setKeys(List keys) { - this.keys = keys; - return this; - } - - public void unsetKeys() { - this.keys = null; - } - - /** - * Returns true if field keys is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKeys() { - return this.keys != null; - } - - public void setKeysIsSet(boolean value) { - if(!value) { - this.keys = null; - } - } - public String getCcl() { return this.ccl; } - public selectKeysCclTimestr_args setCcl(String ccl) { + public getCclTimestrOrder_args setCcl(String ccl) { this.ccl = ccl; return this; } @@ -266232,7 +404536,7 @@ public String getTimestamp() { return this.timestamp; } - public selectKeysCclTimestr_args setTimestamp(String timestamp) { + public getCclTimestrOrder_args setTimestamp(String timestamp) { this.timestamp = timestamp; return this; } @@ -266255,11 +404559,39 @@ public void setTimestampIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getCclTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public selectKeysCclTimestr_args setCreds( + public getCclTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -266287,7 +404619,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public selectKeysCclTimestr_args setTransaction( + public getCclTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -266315,7 +404647,7 @@ public String getEnvironment() { return this.environment; } - public selectKeysCclTimestr_args setEnvironment(String environment) { + public getCclTimestrOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -266340,15 +404672,6 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: - if(value == null) { - unsetKeys(); - } - else { - setKeys((List) value); - } - break; - case CCL: if(value == null) { unsetCcl(); @@ -266367,6 +404690,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -266400,15 +404732,15 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); - case CCL: return getCcl(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -266432,12 +404764,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); case CCL: return isSetCcl(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -266452,24 +404784,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCclTimestr_args) - return this.equals((selectKeysCclTimestr_args) that); + if(that instanceof getCclTimestrOrder_args) + return this.equals((getCclTimestrOrder_args) that); return false; } - public boolean equals(selectKeysCclTimestr_args that) { + public boolean equals(getCclTimestrOrder_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) - return false; - if(!this.keys.equals(that.keys)) - return false; - } - boolean this_present_ccl = true && this.isSetCcl(); boolean that_present_ccl = true && that.isSetCcl(); if(this_present_ccl || that_present_ccl) { @@ -266488,6 +404811,15 @@ public boolean equals(selectKeysCclTimestr_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -266522,11 +404854,6 @@ public boolean equals(selectKeysCclTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); - boolean present_ccl = true && (isSetCcl()); list.add(present_ccl); if(present_ccl) @@ -266537,6 +404864,11 @@ public int hashCode() { if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -266556,7 +404888,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysCclTimestr_args other) { + public int compareTo(getCclTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -266564,18 +404896,6 @@ public int compareTo(selectKeysCclTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKeys()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); - if(lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetCcl()) .compareTo(other.isSetCcl()); if(lastComparison != 0) { @@ -266600,6 +404920,18 @@ public int compareTo(selectKeysCclTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -266655,35 +404987,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("selectKeysCclTimestr_args("); + StringBuilder sb = new StringBuilder("getCclTimestrOrder_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.ccl); } first = false; if(!first) sb.append(", "); - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("timestamp:"); + if(this.timestamp == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.timestamp); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.order); } first = false; if(!first) @@ -266723,6 +405055,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -266755,18 +405090,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCclTimestr_argsStandardSchemeFactory + private static class getCclTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public selectKeysCclTimestr_argsStandardScheme getScheme() { - return new selectKeysCclTimestr_argsStandardScheme(); + public getCclTimestrOrder_argsStandardScheme getScheme() { + return new getCclTimestrOrder_argsStandardScheme(); } } - private static class selectKeysCclTimestr_argsStandardScheme - extends StandardScheme { + private static class getCclTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCclTimestr_args struct) + getCclTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -266776,41 +405111,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1838 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1838.size); - String _elem1839; - for (int _i1840 = 0; _i1840 < _list1838.size; ++_i1840) { - _elem1839 = iprot.readString(); - struct.keys.add(_elem1839); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CCL + case 2: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -266863,25 +405188,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCclTimestr_args struct) + getCclTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1841 : struct.keys) { - oprot.writeString(_iter1841); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } if(struct.ccl != null) { oprot.writeFieldBegin(CCL_FIELD_DESC); oprot.writeString(struct.ccl); @@ -266892,6 +405203,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -266913,29 +405229,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysCclTimestr_argsTupleSchemeFactory + private static class getCclTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public selectKeysCclTimestr_argsTupleScheme getScheme() { - return new selectKeysCclTimestr_argsTupleScheme(); + public getCclTimestrOrder_argsTupleScheme getScheme() { + return new getCclTimestrOrder_argsTupleScheme(); } } - private static class selectKeysCclTimestr_argsTupleScheme - extends TupleScheme { + private static class getCclTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCclTimestr_args struct) + getCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetCcl()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetTimestamp()) { + if(struct.isSetOrder()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -266948,20 +405264,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1842 : struct.keys) { - oprot.writeString(_iter1842); - } - } - } if(struct.isSetCcl()) { oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -266975,32 +405286,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCclTimestr_args struct) + getCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1843 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1843.size); - String _elem1844; - for (int _i1845 = 0; _i1845 < _list1843.size; ++_i1845) { - _elem1844 = iprot.readString(); - struct.keys.add(_elem1844); - } - } - struct.setKeysIsSet(true); - } - if(incoming.get(1)) { struct.ccl = iprot.readString(); struct.setCclIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(1)) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } + if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -267020,13 +405322,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class selectKeysCclTimestr_result implements - org.apache.thrift.TBase, + public static class getCclTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "selectKeysCclTimestr_result"); + "getCclTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -267042,12 +405344,12 @@ public static class selectKeysCclTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new selectKeysCclTimestr_resultStandardSchemeFactory()); + new getCclTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new selectKeysCclTimestr_resultTupleSchemeFactory()); + new getCclTimestrOrder_resultTupleSchemeFactory()); } - public Map>> success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -267147,11 +405449,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.SetMetaData( - org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -267174,13 +405474,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - selectKeysCclTimestr_result.class, metaDataMap); + getCclTimestrOrder_result.class, metaDataMap); } - public selectKeysCclTimestr_result() {} + public getCclTimestrOrder_result() {} - public selectKeysCclTimestr_result( - Map>> success, + public getCclTimestrOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -267196,38 +405496,33 @@ public selectKeysCclTimestr_result( /** * Performs a deep copy on other. */ - public selectKeysCclTimestr_result(selectKeysCclTimestr_result other) { + public getCclTimestrOrder_result(getCclTimestrOrder_result other) { if(other.isSetSuccess()) { - Map>> __this__success = new LinkedHashMap>>( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry>> other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map> other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map> __this__success_copy_value = new LinkedHashMap>( + Map __this__success_copy_value = new LinkedHashMap( other_element_value.size()); - for (Map.Entry> other_element_value_element : other_element_value + for (Map.Entry other_element_value_element : other_element_value .entrySet()) { String other_element_value_element_key = other_element_value_element .getKey(); - Set other_element_value_element_value = other_element_value_element + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element .getValue(); String __this__success_copy_value_copy_key = other_element_value_element_key; - Set __this__success_copy_value_copy_value = new LinkedHashSet( - other_element_value_element_value.size()); - for (com.cinchapi.concourse.thrift.TObject other_element_value_element_value_element : other_element_value_element_value) { - __this__success_copy_value_copy_value - .add(new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value_element)); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); __this__success_copy_value.put( __this__success_copy_value_copy_key, @@ -267257,8 +405552,8 @@ public selectKeysCclTimestr_result(selectKeysCclTimestr_result other) { } } - public selectKeysCclTimestr_result deepCopy() { - return new selectKeysCclTimestr_result(this); + public getCclTimestrOrder_result deepCopy() { + return new getCclTimestrOrder_result(this); } @Override @@ -267275,19 +405570,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map> val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap>>(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map>> getSuccess() { + public Map> getSuccess() { return this.success; } - public selectKeysCclTimestr_result setSuccess( - Map>> success) { + public getCclTimestrOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -267314,7 +405609,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public selectKeysCclTimestr_result setEx( + public getCclTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -267342,7 +405637,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public selectKeysCclTimestr_result setEx2( + public getCclTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -267370,7 +405665,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public selectKeysCclTimestr_result setEx3( + public getCclTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -267398,7 +405693,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public selectKeysCclTimestr_result setEx4( + public getCclTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -267430,7 +405725,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>>) value); + (Map>) value); } break; @@ -267522,12 +405817,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof selectKeysCclTimestr_result) - return this.equals((selectKeysCclTimestr_result) that); + if(that instanceof getCclTimestrOrder_result) + return this.equals((getCclTimestrOrder_result) that); return false; } - public boolean equals(selectKeysCclTimestr_result that) { + public boolean equals(getCclTimestrOrder_result that) { if(that == null) return false; @@ -267612,7 +405907,7 @@ public int hashCode() { } @Override - public int compareTo(selectKeysCclTimestr_result other) { + public int compareTo(getCclTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -267699,8 +405994,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "selectKeysCclTimestr_result("); + StringBuilder sb = new StringBuilder("getCclTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -267784,18 +406078,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class selectKeysCclTimestr_resultStandardSchemeFactory + private static class getCclTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public selectKeysCclTimestr_resultStandardScheme getScheme() { - return new selectKeysCclTimestr_resultStandardScheme(); + public getCclTimestrOrder_resultStandardScheme getScheme() { + return new getCclTimestrOrder_resultStandardScheme(); } } - private static class selectKeysCclTimestr_resultStandardScheme - extends StandardScheme { + private static class getCclTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - selectKeysCclTimestr_result struct) + getCclTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -267808,41 +406102,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1846 = iprot + org.apache.thrift.protocol.TMap _map3302 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>>( - 2 * _map1846.size); - long _key1847; - Map> _val1848; - for (int _i1849 = 0; _i1849 < _map1846.size; ++_i1849) { - _key1847 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3302.size); + long _key3303; + Map _val3304; + for (int _i3305 = 0; _i3305 < _map3302.size; ++_i3305) { + _key3303 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1850 = iprot + org.apache.thrift.protocol.TMap _map3306 = iprot .readMapBegin(); - _val1848 = new LinkedHashMap>( - 2 * _map1850.size); - String _key1851; - Set _val1852; - for (int _i1853 = 0; _i1853 < _map1850.size; ++_i1853) { - _key1851 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1854 = iprot - .readSetBegin(); - _val1852 = new LinkedHashSet( - 2 * _set1854.size); - com.cinchapi.concourse.thrift.TObject _elem1855; - for (int _i1856 = 0; _i1856 < _set1854.size; ++_i1856) { - _elem1855 = new com.cinchapi.concourse.thrift.TObject(); - _elem1855.read(iprot); - _val1852.add(_elem1855); - } - iprot.readSetEnd(); - } - _val1848.put(_key1851, _val1852); + _val3304 = new LinkedHashMap( + 2 * _map3306.size); + String _key3307; + com.cinchapi.concourse.thrift.TObject _val3308; + for (int _i3309 = 0; _i3309 < _map3306.size; ++_i3309) { + _key3307 = iprot.readString(); + _val3308 = new com.cinchapi.concourse.thrift.TObject(); + _val3308.read(iprot); + _val3304.put(_key3307, _val3308); } iprot.readMapEnd(); } - struct.success.put(_key1847, _val1848); + struct.success.put(_key3303, _val3304); } iprot.readMapEnd(); } @@ -267911,7 +406194,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - selectKeysCclTimestr_result struct) + getCclTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -267923,30 +406206,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter1857 : struct.success + for (Map.Entry> _iter3310 : struct.success .entrySet()) { - oprot.writeI64(_iter1857.getKey()); + oprot.writeI64(_iter3310.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, - _iter1857.getValue().size())); - for (Map.Entry> _iter1858 : _iter1857 + org.apache.thrift.protocol.TType.STRUCT, + _iter3310.getValue().size())); + for (Map.Entry _iter3311 : _iter3310 .getValue().entrySet()) { - oprot.writeString(_iter1858.getKey()); - { - oprot.writeSetBegin( - new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - _iter1858.getValue() - .size())); - for (com.cinchapi.concourse.thrift.TObject _iter1859 : _iter1858 - .getValue()) { - _iter1859.write(oprot); - } - oprot.writeSetEnd(); - } + oprot.writeString(_iter3311.getKey()); + _iter3311.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -267981,19 +406253,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class selectKeysCclTimestr_resultTupleSchemeFactory + private static class getCclTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public selectKeysCclTimestr_resultTupleScheme getScheme() { - return new selectKeysCclTimestr_resultTupleScheme(); + public getCclTimestrOrder_resultTupleScheme getScheme() { + return new getCclTimestrOrder_resultTupleScheme(); } } - private static class selectKeysCclTimestr_resultTupleScheme - extends TupleScheme { + private static class getCclTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - selectKeysCclTimestr_result struct) + getCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -268016,22 +406288,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter1860 : struct.success + for (Map.Entry> _iter3312 : struct.success .entrySet()) { - oprot.writeI64(_iter1860.getKey()); + oprot.writeI64(_iter3312.getKey()); { - oprot.writeI32(_iter1860.getValue().size()); - for (Map.Entry> _iter1861 : _iter1860 + oprot.writeI32(_iter3312.getValue().size()); + for (Map.Entry _iter3313 : _iter3312 .getValue().entrySet()) { - oprot.writeString(_iter1861.getKey()); - { - oprot.writeI32( - _iter1861.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter1862 : _iter1861 - .getValue()) { - _iter1862.write(oprot); - } - } + oprot.writeString(_iter3313.getKey()); + _iter3313.getValue().write(oprot); } } } @@ -268053,50 +406318,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - selectKeysCclTimestr_result struct) + getCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1863 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3314 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>>( - 2 * _map1863.size); - long _key1864; - Map> _val1865; - for (int _i1866 = 0; _i1866 < _map1863.size; ++_i1866) { - _key1864 = iprot.readI64(); + struct.success = new LinkedHashMap>( + 2 * _map3314.size); + long _key3315; + Map _val3316; + for (int _i3317 = 0; _i3317 < _map3314.size; ++_i3317) { + _key3315 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map1867 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3318 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.SET, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val1865 = new LinkedHashMap>( - 2 * _map1867.size); - String _key1868; - Set _val1869; - for (int _i1870 = 0; _i1870 < _map1867.size; ++_i1870) { - _key1868 = iprot.readString(); - { - org.apache.thrift.protocol.TSet _set1871 = new org.apache.thrift.protocol.TSet( - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1869 = new LinkedHashSet( - 2 * _set1871.size); - com.cinchapi.concourse.thrift.TObject _elem1872; - for (int _i1873 = 0; _i1873 < _set1871.size; ++_i1873) { - _elem1872 = new com.cinchapi.concourse.thrift.TObject(); - _elem1872.read(iprot); - _val1869.add(_elem1872); - } - } - _val1865.put(_key1868, _val1869); + _val3316 = new LinkedHashMap( + 2 * _map3318.size); + String _key3319; + com.cinchapi.concourse.thrift.TObject _val3320; + for (int _i3321 = 0; _i3321 < _map3318.size; ++_i3321) { + _key3319 = iprot.readString(); + _val3320 = new com.cinchapi.concourse.thrift.TObject(); + _val3320.read(iprot); + _val3316.put(_key3319, _val3320); } } - struct.success.put(_key1864, _val1865); + struct.success.put(_key3315, _val3316); } } struct.setSuccessIsSet(true); @@ -268126,18 +406380,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyRecord_args implements - org.apache.thrift.TBase, + public static class getKeyCcl_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecord_args"); + "getKeyCcl_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -268150,13 +406404,13 @@ public static class getKeyRecord_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecord_argsStandardSchemeFactory()); + new getKeyCcl_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecord_argsTupleSchemeFactory()); + new getKeyCcl_argsTupleSchemeFactory()); } public String key; // required - public long record; // required + public String ccl; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -268167,7 +406421,7 @@ public static class getKeyRecord_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - RECORD((short) 2, "record"), + CCL((short) 2, "ccl"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -268188,8 +406442,8 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // RECORD - return RECORD; + case 2: // CCL + return CCL; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -268240,8 +406494,6 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -268251,11 +406503,11 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -268275,19 +406527,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(getKeyRecord_args.class, metaDataMap); + .addStructMetaDataMap(getKeyCcl_args.class, metaDataMap); } - public getKeyRecord_args() {} + public getKeyCcl_args() {} - public getKeyRecord_args(String key, long record, + public getKeyCcl_args(String key, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.record = record; - setRecordIsSet(true); + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -268296,12 +406547,13 @@ public getKeyRecord_args(String key, long record, /** * Performs a deep copy on other. */ - public getKeyRecord_args(getKeyRecord_args other) { - __isset_bitfield = other.__isset_bitfield; + public getKeyCcl_args(getKeyCcl_args other) { if(other.isSetKey()) { this.key = other.key; } - this.record = other.record; + if(other.isSetCcl()) { + this.ccl = other.ccl; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -268315,15 +406567,14 @@ public getKeyRecord_args(getKeyRecord_args other) { } } - public getKeyRecord_args deepCopy() { - return new getKeyRecord_args(this); + public getKeyCcl_args deepCopy() { + return new getKeyCcl_args(this); } @Override public void clear() { this.key = null; - setRecordIsSet(false); - this.record = 0; + this.ccl = null; this.creds = null; this.transaction = null; this.environment = null; @@ -268333,7 +406584,7 @@ public String getKey() { return this.key; } - public getKeyRecord_args setKey(String key) { + public getKeyCcl_args setKey(String key) { this.key = key; return this; } @@ -268356,39 +406607,38 @@ public void setKeyIsSet(boolean value) { } } - public long getRecord() { - return this.record; + public String getCcl() { + return this.ccl; } - public getKeyRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public getKeyCcl_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCcl() { + return this.ccl != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyRecord_args setCreds( + public getKeyCcl_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -268416,7 +406666,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyRecord_args setTransaction( + public getKeyCcl_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -268444,7 +406694,7 @@ public String getEnvironment() { return this.environment; } - public getKeyRecord_args setEnvironment(String environment) { + public getKeyCcl_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -268478,12 +406728,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORD: + case CCL: if(value == null) { - unsetRecord(); + unsetCcl(); } else { - setRecord((Long) value); + setCcl((String) value); } break; @@ -268523,8 +406773,8 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case RECORD: - return getRecord(); + case CCL: + return getCcl(); case CREDS: return getCreds(); @@ -268551,8 +406801,8 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case RECORD: - return isSetRecord(); + case CCL: + return isSetCcl(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -268567,12 +406817,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecord_args) - return this.equals((getKeyRecord_args) that); + if(that instanceof getKeyCcl_args) + return this.equals((getKeyCcl_args) that); return false; } - public boolean equals(getKeyRecord_args that) { + public boolean equals(getKeyCcl_args that) { if(that == null) return false; @@ -268585,12 +406835,12 @@ public boolean equals(getKeyRecord_args that) { return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(this.record != that.record) + if(!this.ccl.equals(that.ccl)) return false; } @@ -268633,10 +406883,10 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -268657,7 +406907,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyRecord_args other) { + public int compareTo(getKeyCcl_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -268677,14 +406927,14 @@ public int compareTo(getKeyRecord_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -268744,7 +406994,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecord_args("); + StringBuilder sb = new StringBuilder("getKeyCcl_args("); boolean first = true; sb.append("key:"); @@ -268757,8 +407007,13 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } first = false; if(!first) sb.append(", "); @@ -268820,10 +407075,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -268833,19 +407084,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecord_argsStandardSchemeFactory + private static class getKeyCcl_argsStandardSchemeFactory implements SchemeFactory { - public getKeyRecord_argsStandardScheme getScheme() { - return new getKeyRecord_argsStandardScheme(); + public getKeyCcl_argsStandardScheme getScheme() { + return new getKeyCcl_argsStandardScheme(); } } - private static class getKeyRecord_argsStandardScheme - extends StandardScheme { + private static class getKeyCcl_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecord_args struct) - throws org.apache.thrift.TException { + getKeyCcl_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -268864,10 +407114,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -268920,8 +407170,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecord_args struct) - throws org.apache.thrift.TException { + getKeyCcl_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -268930,9 +407179,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -268954,26 +407205,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyRecord_argsTupleSchemeFactory + private static class getKeyCcl_argsTupleSchemeFactory implements SchemeFactory { - public getKeyRecord_argsTupleScheme getScheme() { - return new getKeyRecord_argsTupleScheme(); + public getKeyCcl_argsTupleScheme getScheme() { + return new getKeyCcl_argsTupleScheme(); } } - private static class getKeyRecord_argsTupleScheme - extends TupleScheme { + private static class getKeyCcl_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecord_args struct) - throws org.apache.thrift.TException { + getKeyCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetCcl()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -268989,8 +407239,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -269005,8 +407255,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecord_args struct) - throws org.apache.thrift.TException { + getKeyCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { @@ -269014,8 +407263,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -269036,35 +407285,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyRecord_result implements - org.apache.thrift.TBase, + public static class getKeyCcl_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecord_result"); + "getKeyCcl_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecord_resultStandardSchemeFactory()); + new getKeyCcl_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecord_resultTupleSchemeFactory()); + new getKeyCcl_resultTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.TObject success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -269074,7 +407326,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -269098,6 +407351,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -269149,9 +407404,13 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -269167,32 +407426,55 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecord_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(getKeyCcl_result.class, metaDataMap); } - public getKeyRecord_result() {} + public getKeyCcl_result() {} - public getKeyRecord_result( - com.cinchapi.concourse.thrift.TObject success, + public getKeyCcl_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeyRecord_result(getKeyRecord_result other) { + public getKeyCcl_result(getKeyCcl_result other) { if(other.isSetSuccess()) { - this.success = new com.cinchapi.concourse.thrift.TObject( - other.success); + Map __this__success = new LinkedHashMap( + other.success.size()); + for (Map.Entry other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -269203,13 +407485,17 @@ public getKeyRecord_result(getKeyRecord_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public getKeyRecord_result deepCopy() { - return new getKeyRecord_result(this); + public getKeyCcl_result deepCopy() { + return new getKeyCcl_result(this); } @Override @@ -269218,14 +407504,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } - public com.cinchapi.concourse.thrift.TObject getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + com.cinchapi.concourse.thrift.TObject val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { return this.success; } - public getKeyRecord_result setSuccess( - com.cinchapi.concourse.thrift.TObject success) { + public getKeyCcl_result setSuccess( + Map success) { this.success = success; return this; } @@ -269252,7 +407551,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyRecord_result setEx( + public getKeyCcl_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -269280,7 +407579,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyRecord_result setEx2( + public getKeyCcl_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -269304,12 +407603,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeyRecord_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeyCcl_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -269332,6 +407631,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeyCcl_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -269339,7 +407666,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((com.cinchapi.concourse.thrift.TObject) value); + setSuccess( + (Map) value); } break; @@ -269366,7 +407694,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -269387,6 +407724,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -269409,6 +407749,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -269417,12 +407759,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecord_result) - return this.equals((getKeyRecord_result) that); + if(that instanceof getKeyCcl_result) + return this.equals((getKeyCcl_result) that); return false; } - public boolean equals(getKeyRecord_result that) { + public boolean equals(getKeyCcl_result that) { if(that == null) return false; @@ -269462,6 +407804,15 @@ public boolean equals(getKeyRecord_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -269489,11 +407840,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(getKeyRecord_result other) { + public int compareTo(getKeyCcl_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -269549,6 +407905,18 @@ public int compareTo(getKeyRecord_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -269568,7 +407936,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecord_result("); + StringBuilder sb = new StringBuilder("getKeyCcl_result("); boolean first = true; sb.append("success:"); @@ -269609,6 +407977,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -269616,9 +407994,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) @@ -269645,18 +408020,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecord_resultStandardSchemeFactory + private static class getKeyCcl_resultStandardSchemeFactory implements SchemeFactory { - public getKeyRecord_resultStandardScheme getScheme() { - return new getKeyRecord_resultStandardScheme(); + public getKeyCcl_resultStandardScheme getScheme() { + return new getKeyCcl_resultStandardScheme(); } } - private static class getKeyRecord_resultStandardScheme - extends StandardScheme { + private static class getKeyCcl_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecord_result struct) + getKeyCcl_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -269667,9 +408042,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new com.cinchapi.concourse.thrift.TObject(); - struct.success.read(iprot); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map3322 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map3322.size); + long _key3323; + com.cinchapi.concourse.thrift.TObject _val3324; + for (int _i3325 = 0; _i3325 < _map3322.size; ++_i3325) { + _key3323 = iprot.readI64(); + _val3324 = new com.cinchapi.concourse.thrift.TObject(); + _val3324.read(iprot); + struct.success.put(_key3323, _val3324); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -269701,7 +408089,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -269710,6 +408098,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -269724,14 +408123,25 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecord_result struct) + getKeyCcl_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRUCT, + struct.success.size())); + for (Map.Entry _iter3326 : struct.success + .entrySet()) { + oprot.writeI64(_iter3326.getKey()); + _iter3326.getValue().write(oprot); + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -269749,25 +408159,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeyRecord_resultTupleSchemeFactory + private static class getKeyCcl_resultTupleSchemeFactory implements SchemeFactory { - public getKeyRecord_resultTupleScheme getScheme() { - return new getKeyRecord_resultTupleScheme(); + public getKeyCcl_resultTupleScheme getScheme() { + return new getKeyCcl_resultTupleScheme(); } } - private static class getKeyRecord_resultTupleScheme - extends TupleScheme { + private static class getKeyCcl_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecord_result struct) + getKeyCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -269783,9 +408198,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - struct.success.write(oprot); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter3327 : struct.success + .entrySet()) { + oprot.writeI64(_iter3327.getKey()); + _iter3327.getValue().write(oprot); + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -269796,17 +408221,34 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecord_result struct) + getKeyCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.success = new com.cinchapi.concourse.thrift.TObject(); - struct.success.read(iprot); + { + org.apache.thrift.protocol.TMap _map3328 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map3328.size); + long _key3329; + com.cinchapi.concourse.thrift.TObject _val3330; + for (int _i3331 = 0; _i3331 < _map3328.size; ++_i3331) { + _key3329 = iprot.readI64(); + _val3330 = new com.cinchapi.concourse.thrift.TObject(); + _val3330.read(iprot); + struct.success.put(_key3329, _val3330); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -269820,29 +408262,34 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class getKeyRecordTime_args implements - org.apache.thrift.TBase, + public static class getKeyCclOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecordTime_args"); + "getKeyCclOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -269855,14 +408302,14 @@ public static class getKeyRecordTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecordTime_argsStandardSchemeFactory()); + new getKeyCclOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecordTime_argsTupleSchemeFactory()); + new getKeyCclOrder_argsTupleSchemeFactory()); } public String key; // required - public long record; // required - public long timestamp; // required + public String ccl; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -269873,8 +408320,8 @@ public static class getKeyRecordTime_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - RECORD((short) 2, "record"), - TIMESTAMP((short) 3, "timestamp"), + CCL((short) 2, "ccl"), + ORDER((short) 3, "order"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -269895,10 +408342,10 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // RECORD - return RECORD; - case 3: // TIMESTAMP - return TIMESTAMP; + case 2: // CCL + return CCL; + case 3: // ORDER + return ORDER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -269949,9 +408396,6 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __TIMESTAMP_ISSET_ID = 1; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -269961,16 +408405,17 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -269990,21 +408435,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecordTime_args.class, metaDataMap); + getKeyCclOrder_args.class, metaDataMap); } - public getKeyRecordTime_args() {} + public getKeyCclOrder_args() {} - public getKeyRecordTime_args(String key, long record, long timestamp, + public getKeyCclOrder_args(String key, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.record = record; - setRecordIsSet(true); - this.timestamp = timestamp; - setTimestampIsSet(true); + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -270013,13 +408457,17 @@ public getKeyRecordTime_args(String key, long record, long timestamp, /** * Performs a deep copy on other. */ - public getKeyRecordTime_args(getKeyRecordTime_args other) { - __isset_bitfield = other.__isset_bitfield; + public getKeyCclOrder_args(getKeyCclOrder_args other) { if(other.isSetKey()) { this.key = other.key; } - this.record = other.record; - this.timestamp = other.timestamp; + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -270033,17 +408481,15 @@ public getKeyRecordTime_args(getKeyRecordTime_args other) { } } - public getKeyRecordTime_args deepCopy() { - return new getKeyRecordTime_args(this); + public getKeyCclOrder_args deepCopy() { + return new getKeyCclOrder_args(this); } @Override public void clear() { this.key = null; - setRecordIsSet(false); - this.record = 0; - setTimestampIsSet(false); - this.timestamp = 0; + this.ccl = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -270053,7 +408499,7 @@ public String getKey() { return this.key; } - public getKeyRecordTime_args setKey(String key) { + public getKeyCclOrder_args setKey(String key) { this.key = key; return this; } @@ -270076,68 +408522,66 @@ public void setKeyIsSet(boolean value) { } } - public long getRecord() { - return this.record; + public String getCcl() { + return this.ccl; } - public getKeyRecordTime_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public getKeyCclOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCcl() { + return this.ccl != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } } - public long getTimestamp() { - return this.timestamp; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public getKeyRecordTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); + public getKeyCclOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public void unsetOrder() { + this.order = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field order is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public boolean isSetOrder() { + return this.order != null; } - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyRecordTime_args setCreds( + public getKeyCclOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -270165,7 +408609,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyRecordTime_args setTransaction( + public getKeyCclOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -270193,7 +408637,7 @@ public String getEnvironment() { return this.environment; } - public getKeyRecordTime_args setEnvironment(String environment) { + public getKeyCclOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -270227,21 +408671,21 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORD: + case CCL: if(value == null) { - unsetRecord(); + unsetCcl(); } else { - setRecord((Long) value); + setCcl((String) value); } break; - case TIMESTAMP: + case ORDER: if(value == null) { - unsetTimestamp(); + unsetOrder(); } else { - setTimestamp((Long) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -270281,11 +408725,11 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case RECORD: - return getRecord(); + case CCL: + return getCcl(); - case TIMESTAMP: - return getTimestamp(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -270312,10 +408756,10 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case RECORD: - return isSetRecord(); - case TIMESTAMP: - return isSetTimestamp(); + case CCL: + return isSetCcl(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -270330,12 +408774,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecordTime_args) - return this.equals((getKeyRecordTime_args) that); + if(that instanceof getKeyCclOrder_args) + return this.equals((getKeyCclOrder_args) that); return false; } - public boolean equals(getKeyRecordTime_args that) { + public boolean equals(getKeyCclOrder_args that) { if(that == null) return false; @@ -270348,21 +408792,21 @@ public boolean equals(getKeyRecordTime_args that) { return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(this.record != that.record) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(this.timestamp != that.timestamp) + if(!this.order.equals(that.order)) return false; } @@ -270405,15 +408849,15 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -270434,7 +408878,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyRecordTime_args other) { + public int compareTo(getKeyCclOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -270454,26 +408898,26 @@ public int compareTo(getKeyRecordTime_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -270533,7 +408977,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecordTime_args("); + StringBuilder sb = new StringBuilder("getKeyCclOrder_args("); boolean first = true; sb.append("key:"); @@ -270546,13 +408990,23 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -270591,6 +409045,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -270614,10 +409071,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -270627,18 +409080,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecordTime_argsStandardSchemeFactory + private static class getKeyCclOrder_argsStandardSchemeFactory implements SchemeFactory { - public getKeyRecordTime_argsStandardScheme getScheme() { - return new getKeyRecordTime_argsStandardScheme(); + public getKeyCclOrder_argsStandardScheme getScheme() { + return new getKeyCclOrder_argsStandardScheme(); } } - private static class getKeyRecordTime_argsStandardScheme - extends StandardScheme { + private static class getKeyCclOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecordTime_args struct) + getKeyCclOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -270658,20 +409111,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -270724,7 +409178,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecordTime_args struct) + getKeyCclOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -270734,12 +409188,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -270761,29 +409219,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyRecordTime_argsTupleSchemeFactory + private static class getKeyCclOrder_argsTupleSchemeFactory implements SchemeFactory { - public getKeyRecordTime_argsTupleScheme getScheme() { - return new getKeyRecordTime_argsTupleScheme(); + public getKeyCclOrder_argsTupleScheme getScheme() { + return new getKeyCclOrder_argsTupleScheme(); } } - private static class getKeyRecordTime_argsTupleScheme - extends TupleScheme { + private static class getKeyCclOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordTime_args struct) + getKeyCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetTimestamp()) { + if(struct.isSetOrder()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -270799,11 +409257,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -270818,7 +409276,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordTime_args struct) + getKeyCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); @@ -270827,12 +409285,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -270853,35 +409312,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyRecordTime_result implements - org.apache.thrift.TBase, + public static class getKeyCclOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecordTime_result"); + "getKeyCclOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecordTime_resultStandardSchemeFactory()); + new getKeyCclOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecordTime_resultTupleSchemeFactory()); + new getKeyCclOrder_resultTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.TObject success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -270891,7 +409353,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -270915,6 +409378,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -270966,9 +409431,13 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -270984,32 +409453,55 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecordTime_result.class, metaDataMap); + getKeyCclOrder_result.class, metaDataMap); } - public getKeyRecordTime_result() {} + public getKeyCclOrder_result() {} - public getKeyRecordTime_result( - com.cinchapi.concourse.thrift.TObject success, + public getKeyCclOrder_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeyRecordTime_result(getKeyRecordTime_result other) { + public getKeyCclOrder_result(getKeyCclOrder_result other) { if(other.isSetSuccess()) { - this.success = new com.cinchapi.concourse.thrift.TObject( - other.success); + Map __this__success = new LinkedHashMap( + other.success.size()); + for (Map.Entry other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -271020,13 +409512,17 @@ public getKeyRecordTime_result(getKeyRecordTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public getKeyRecordTime_result deepCopy() { - return new getKeyRecordTime_result(this); + public getKeyCclOrder_result deepCopy() { + return new getKeyCclOrder_result(this); } @Override @@ -271035,14 +409531,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } - public com.cinchapi.concourse.thrift.TObject getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + com.cinchapi.concourse.thrift.TObject val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { return this.success; } - public getKeyRecordTime_result setSuccess( - com.cinchapi.concourse.thrift.TObject success) { + public getKeyCclOrder_result setSuccess( + Map success) { this.success = success; return this; } @@ -271069,7 +409578,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyRecordTime_result setEx( + public getKeyCclOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -271097,7 +409606,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyRecordTime_result setEx2( + public getKeyCclOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -271121,12 +409630,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeyRecordTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeyCclOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -271149,6 +409658,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeyCclOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -271156,7 +409693,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((com.cinchapi.concourse.thrift.TObject) value); + setSuccess( + (Map) value); } break; @@ -271183,7 +409721,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -271204,6 +409751,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -271226,6 +409776,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -271234,12 +409786,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecordTime_result) - return this.equals((getKeyRecordTime_result) that); + if(that instanceof getKeyCclOrder_result) + return this.equals((getKeyCclOrder_result) that); return false; } - public boolean equals(getKeyRecordTime_result that) { + public boolean equals(getKeyCclOrder_result that) { if(that == null) return false; @@ -271279,6 +409831,15 @@ public boolean equals(getKeyRecordTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -271306,11 +409867,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(getKeyRecordTime_result other) { + public int compareTo(getKeyCclOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -271366,6 +409932,18 @@ public int compareTo(getKeyRecordTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -271385,7 +409963,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecordTime_result("); + StringBuilder sb = new StringBuilder("getKeyCclOrder_result("); boolean first = true; sb.append("success:"); @@ -271426,6 +410004,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -271433,9 +410021,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) @@ -271462,18 +410047,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecordTime_resultStandardSchemeFactory + private static class getKeyCclOrder_resultStandardSchemeFactory implements SchemeFactory { - public getKeyRecordTime_resultStandardScheme getScheme() { - return new getKeyRecordTime_resultStandardScheme(); + public getKeyCclOrder_resultStandardScheme getScheme() { + return new getKeyCclOrder_resultStandardScheme(); } } - private static class getKeyRecordTime_resultStandardScheme - extends StandardScheme { + private static class getKeyCclOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecordTime_result struct) + getKeyCclOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -271484,9 +410069,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new com.cinchapi.concourse.thrift.TObject(); - struct.success.read(iprot); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map3332 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map3332.size); + long _key3333; + com.cinchapi.concourse.thrift.TObject _val3334; + for (int _i3335 = 0; _i3335 < _map3332.size; ++_i3335) { + _key3333 = iprot.readI64(); + _val3334 = new com.cinchapi.concourse.thrift.TObject(); + _val3334.read(iprot); + struct.success.put(_key3333, _val3334); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -271518,7 +410116,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -271527,6 +410125,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -271541,14 +410150,25 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecordTime_result struct) + getKeyCclOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRUCT, + struct.success.size())); + for (Map.Entry _iter3336 : struct.success + .entrySet()) { + oprot.writeI64(_iter3336.getKey()); + _iter3336.getValue().write(oprot); + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -271566,25 +410186,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeyRecordTime_resultTupleSchemeFactory + private static class getKeyCclOrder_resultTupleSchemeFactory implements SchemeFactory { - public getKeyRecordTime_resultTupleScheme getScheme() { - return new getKeyRecordTime_resultTupleScheme(); + public getKeyCclOrder_resultTupleScheme getScheme() { + return new getKeyCclOrder_resultTupleScheme(); } } - private static class getKeyRecordTime_resultTupleScheme - extends TupleScheme { + private static class getKeyCclOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordTime_result struct) + getKeyCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -271600,9 +410225,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - struct.success.write(oprot); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter3337 : struct.success + .entrySet()) { + oprot.writeI64(_iter3337.getKey()); + _iter3337.getValue().write(oprot); + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -271613,17 +410248,34 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordTime_result struct) + getKeyCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.success = new com.cinchapi.concourse.thrift.TObject(); - struct.success.read(iprot); + { + org.apache.thrift.protocol.TMap _map3338 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map3338.size); + long _key3339; + com.cinchapi.concourse.thrift.TObject _val3340; + for (int _i3341 = 0; _i3341 < _map3338.size; ++_i3341) { + _key3339 = iprot.readI64(); + _val3340 = new com.cinchapi.concourse.thrift.TObject(); + _val3340.read(iprot); + struct.success.put(_key3339, _val3340); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -271637,30 +410289,34 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class getKeyRecordTimestr_args implements - org.apache.thrift.TBase, + public static class getKeyCriteriaTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecordTimestr_args"); + "getKeyCriteriaTime_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -271673,14 +410329,14 @@ public static class getKeyRecordTimestr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecordTimestr_argsStandardSchemeFactory()); + new getKeyCriteriaTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecordTimestr_argsTupleSchemeFactory()); + new getKeyCriteriaTime_argsTupleSchemeFactory()); } public String key; // required - public long record; // required - public String timestamp; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -271691,7 +410347,7 @@ public static class getKeyRecordTimestr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - RECORD((short) 2, "record"), + CRITERIA((short) 2, "criteria"), TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), @@ -271713,8 +410369,8 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // RECORD - return RECORD; + case 2: // CRITERIA + return CRITERIA; case 3: // TIMESTAMP return TIMESTAMP; case 4: // CREDS @@ -271767,7 +410423,7 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { @@ -271778,16 +410434,17 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -271807,21 +410464,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecordTimestr_args.class, metaDataMap); + getKeyCriteriaTime_args.class, metaDataMap); } - public getKeyRecordTimestr_args() {} + public getKeyCriteriaTime_args() {} - public getKeyRecordTimestr_args(String key, long record, - String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public getKeyCriteriaTime_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.record = record; - setRecordIsSet(true); + this.criteria = criteria; this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -271830,15 +410487,16 @@ public getKeyRecordTimestr_args(String key, long record, /** * Performs a deep copy on other. */ - public getKeyRecordTimestr_args(getKeyRecordTimestr_args other) { + public getKeyCriteriaTime_args(getKeyCriteriaTime_args other) { __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } - this.record = other.record; - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -271852,16 +410510,16 @@ public getKeyRecordTimestr_args(getKeyRecordTimestr_args other) { } } - public getKeyRecordTimestr_args deepCopy() { - return new getKeyRecordTimestr_args(this); + public getKeyCriteriaTime_args deepCopy() { + return new getKeyCriteriaTime_args(this); } @Override public void clear() { this.key = null; - setRecordIsSet(false); - this.record = 0; - this.timestamp = null; + this.criteria = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; @@ -271871,7 +410529,7 @@ public String getKey() { return this.key; } - public getKeyRecordTimestr_args setKey(String key) { + public getKeyCriteriaTime_args setKey(String key) { this.key = key; return this; } @@ -271894,45 +410552,47 @@ public void setKeyIsSet(boolean value) { } } - public long getRecord() { - return this.record; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public getKeyRecordTimestr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public getKeyCriteriaTime_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } } - public String getTimestamp() { + public long getTimestamp() { return this.timestamp; } - public getKeyRecordTimestr_args setTimestamp(String timestamp) { + public getKeyCriteriaTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; + setTimestampIsSet(true); return this; } public void unsetTimestamp() { - this.timestamp = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** @@ -271940,20 +410600,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return this.timestamp != null; + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - if(!value) { - this.timestamp = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyRecordTimestr_args setCreds( + public getKeyCriteriaTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -271981,7 +410641,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyRecordTimestr_args setTransaction( + public getKeyCriteriaTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -272009,7 +410669,7 @@ public String getEnvironment() { return this.environment; } - public getKeyRecordTimestr_args setEnvironment(String environment) { + public getKeyCriteriaTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -272043,12 +410703,13 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORD: + case CRITERIA: if(value == null) { - unsetRecord(); + unsetCriteria(); } else { - setRecord((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -272057,7 +410718,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((String) value); + setTimestamp((Long) value); } break; @@ -272097,8 +410758,8 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case RECORD: - return getRecord(); + case CRITERIA: + return getCriteria(); case TIMESTAMP: return getTimestamp(); @@ -272128,8 +410789,8 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case RECORD: - return isSetRecord(); + case CRITERIA: + return isSetCriteria(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -272146,12 +410807,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecordTimestr_args) - return this.equals((getKeyRecordTimestr_args) that); + if(that instanceof getKeyCriteriaTime_args) + return this.equals((getKeyCriteriaTime_args) that); return false; } - public boolean equals(getKeyRecordTimestr_args that) { + public boolean equals(getKeyCriteriaTime_args that) { if(that == null) return false; @@ -272164,21 +410825,21 @@ public boolean equals(getKeyRecordTimestr_args that) { return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.record != that.record) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(this.timestamp != that.timestamp) return false; } @@ -272221,12 +410882,12 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -272250,7 +410911,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyRecordTimestr_args other) { + public int compareTo(getKeyCriteriaTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -272270,14 +410931,14 @@ public int compareTo(getKeyRecordTimestr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -272349,7 +411010,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecordTimestr_args("); + StringBuilder sb = new StringBuilder("getKeyCriteriaTime_args("); boolean first = true; sb.append("key:"); @@ -272362,19 +411023,19 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.criteria); } first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -272412,6 +411073,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -272448,18 +411112,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecordTimestr_argsStandardSchemeFactory + private static class getKeyCriteriaTime_argsStandardSchemeFactory implements SchemeFactory { - public getKeyRecordTimestr_argsStandardScheme getScheme() { - return new getKeyRecordTimestr_argsStandardScheme(); + public getKeyCriteriaTime_argsStandardScheme getScheme() { + return new getKeyCriteriaTime_argsStandardScheme(); } } - private static class getKeyRecordTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeyCriteriaTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecordTimestr_args struct) + getKeyCriteriaTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -272479,10 +411143,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -272490,8 +411155,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { @@ -272545,7 +411210,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecordTimestr_args struct) + getKeyCriteriaTime_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -272555,14 +411220,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -272584,26 +411249,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyRecordTimestr_argsTupleSchemeFactory + private static class getKeyCriteriaTime_argsTupleSchemeFactory implements SchemeFactory { - public getKeyRecordTimestr_argsTupleScheme getScheme() { - return new getKeyRecordTimestr_argsTupleScheme(); + public getKeyCriteriaTime_argsTupleScheme getScheme() { + return new getKeyCriteriaTime_argsTupleScheme(); } } - private static class getKeyRecordTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeyCriteriaTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordTimestr_args struct) + getKeyCriteriaTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(1); } if(struct.isSetTimestamp()) { @@ -272622,11 +411287,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -272641,7 +411306,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordTimestr_args struct) + getKeyCriteriaTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); @@ -272650,11 +411315,12 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readString(); + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if(incoming.get(3)) { @@ -272676,38 +411342,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyRecordTimestr_result implements - org.apache.thrift.TBase, + public static class getKeyCriteriaTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecordTimestr_result"); + "getKeyCriteriaTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.STRUCT, (short) 0); + "success", org.apache.thrift.protocol.TType.MAP, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecordTimestr_resultStandardSchemeFactory()); + new getKeyCriteriaTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecordTimestr_resultTupleSchemeFactory()); + new getKeyCriteriaTime_resultTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.TObject success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -272717,8 +411380,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -272742,8 +411404,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -272795,9 +411455,13 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64), + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -272813,39 +411477,48 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecordTimestr_result.class, metaDataMap); + getKeyCriteriaTime_result.class, metaDataMap); } - public getKeyRecordTimestr_result() {} + public getKeyCriteriaTime_result() {} - public getKeyRecordTimestr_result( - com.cinchapi.concourse.thrift.TObject success, + public getKeyCriteriaTime_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeyRecordTimestr_result(getKeyRecordTimestr_result other) { + public getKeyCriteriaTime_result(getKeyCriteriaTime_result other) { if(other.isSetSuccess()) { - this.success = new com.cinchapi.concourse.thrift.TObject( - other.success); + Map __this__success = new LinkedHashMap( + other.success.size()); + for (Map.Entry other_element : other.success + .entrySet()) { + + Long other_element_key = other_element.getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value = other_element + .getValue(); + + Long __this__success_copy_key = other_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); + + __this__success.put(__this__success_copy_key, + __this__success_copy_value); + } + this.success = __this__success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -272856,17 +411529,13 @@ public getKeyRecordTimestr_result(getKeyRecordTimestr_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public getKeyRecordTimestr_result deepCopy() { - return new getKeyRecordTimestr_result(this); + public getKeyCriteriaTime_result deepCopy() { + return new getKeyCriteriaTime_result(this); } @Override @@ -272875,15 +411544,26 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } - public com.cinchapi.concourse.thrift.TObject getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public void putToSuccess(long key, + com.cinchapi.concourse.thrift.TObject val) { + if(this.success == null) { + this.success = new LinkedHashMap(); + } + this.success.put(key, val); + } + + public Map getSuccess() { return this.success; } - public getKeyRecordTimestr_result setSuccess( - com.cinchapi.concourse.thrift.TObject success) { + public getKeyCriteriaTime_result setSuccess( + Map success) { this.success = success; return this; } @@ -272910,7 +411590,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyRecordTimestr_result setEx( + public getKeyCriteriaTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -272938,7 +411618,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyRecordTimestr_result setEx2( + public getKeyCriteriaTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -272962,12 +411642,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getKeyRecordTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getKeyCriteriaTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -272990,34 +411670,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public getKeyRecordTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -273025,7 +411677,8 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((com.cinchapi.concourse.thrift.TObject) value); + setSuccess( + (Map) value); } break; @@ -273052,16 +411705,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -273082,9 +411726,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -273107,8 +411748,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -273117,12 +411756,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecordTimestr_result) - return this.equals((getKeyRecordTimestr_result) that); + if(that instanceof getKeyCriteriaTime_result) + return this.equals((getKeyCriteriaTime_result) that); return false; } - public boolean equals(getKeyRecordTimestr_result that) { + public boolean equals(getKeyCriteriaTime_result that) { if(that == null) return false; @@ -273162,15 +411801,6 @@ public boolean equals(getKeyRecordTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -273198,16 +411828,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(getKeyRecordTimestr_result other) { + public int compareTo(getKeyCriteriaTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -273263,18 +411888,6 @@ public int compareTo(getKeyRecordTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -273294,7 +411907,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecordTimestr_result("); + StringBuilder sb = new StringBuilder("getKeyCriteriaTime_result("); boolean first = true; sb.append("success:"); @@ -273335,16 +411948,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -273352,9 +411955,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) @@ -273381,18 +411981,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecordTimestr_resultStandardSchemeFactory + private static class getKeyCriteriaTime_resultStandardSchemeFactory implements SchemeFactory { - public getKeyRecordTimestr_resultStandardScheme getScheme() { - return new getKeyRecordTimestr_resultStandardScheme(); + public getKeyCriteriaTime_resultStandardScheme getScheme() { + return new getKeyCriteriaTime_resultStandardScheme(); } } - private static class getKeyRecordTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeyCriteriaTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecordTimestr_result struct) + getKeyCriteriaTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -273403,9 +412003,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new com.cinchapi.concourse.thrift.TObject(); - struct.success.read(iprot); + if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + { + org.apache.thrift.protocol.TMap _map3342 = iprot + .readMapBegin(); + struct.success = new LinkedHashMap( + 2 * _map3342.size); + long _key3343; + com.cinchapi.concourse.thrift.TObject _val3344; + for (int _i3345 = 0; _i3345 < _map3342.size; ++_i3345) { + _key3343 = iprot.readI64(); + _val3344 = new com.cinchapi.concourse.thrift.TObject(); + _val3344.read(iprot); + struct.success.put(_key3343, _val3344); + } + iprot.readMapEnd(); + } struct.setSuccessIsSet(true); } else { @@ -273437,7 +412050,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -273446,17 +412059,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -273471,14 +412073,25 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecordTimestr_result struct) + getKeyCriteriaTime_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + { + oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRUCT, + struct.success.size())); + for (Map.Entry _iter3346 : struct.success + .entrySet()) { + oprot.writeI64(_iter3346.getKey()); + _iter3346.getValue().write(oprot); + } + oprot.writeMapEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -273496,30 +412109,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeyRecordTimestr_resultTupleSchemeFactory + private static class getKeyCriteriaTime_resultTupleSchemeFactory implements SchemeFactory { - public getKeyRecordTimestr_resultTupleScheme getScheme() { - return new getKeyRecordTimestr_resultTupleScheme(); + public getKeyCriteriaTime_resultTupleScheme getScheme() { + return new getKeyCriteriaTime_resultTupleScheme(); } } - private static class getKeyRecordTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeyCriteriaTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordTimestr_result struct) + getKeyCriteriaTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -273535,12 +412143,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - struct.success.write(oprot); + { + oprot.writeI32(struct.success.size()); + for (Map.Entry _iter3347 : struct.success + .entrySet()) { + oprot.writeI64(_iter3347.getKey()); + _iter3347.getValue().write(oprot); + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -273551,20 +412163,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordTimestr_result struct) + getKeyCriteriaTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.success = new com.cinchapi.concourse.thrift.TObject(); - struct.success.read(iprot); + { + org.apache.thrift.protocol.TMap _map3348 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + struct.success = new LinkedHashMap( + 2 * _map3348.size); + long _key3349; + com.cinchapi.concourse.thrift.TObject _val3350; + for (int _i3351 = 0; _i3351 < _map3348.size; ++_i3351) { + _key3349 = iprot.readI64(); + _val3350 = new com.cinchapi.concourse.thrift.TObject(); + _val3350.read(iprot); + struct.success.put(_key3349, _val3350); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -273578,51 +412201,52 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class getKeysRecord_args implements - org.apache.thrift.TBase, + public static class getKeyCriteriaTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecord_args"); + "getKeyCriteriaTimeOrder_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecord_argsStandardSchemeFactory()); + new getKeyCriteriaTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecord_argsTupleSchemeFactory()); + new getKeyCriteriaTimeOrder_argsTupleSchemeFactory()); } - public List keys; // required - public long record; // required + public String key; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -273632,11 +412256,13 @@ public static class getKeysRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - RECORD((short) 2, "record"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -273652,15 +412278,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // RECORD - return RECORD; - case 3: // CREDS + case 1: // KEY + return KEY; + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -273706,24 +412336,34 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -273743,19 +412383,23 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecord_args.class, metaDataMap); + getKeyCriteriaTimeOrder_args.class, metaDataMap); } - public getKeysRecord_args() {} + public getKeyCriteriaTimeOrder_args() {} - public getKeysRecord_args(List keys, long record, + public getKeyCriteriaTimeOrder_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.record = record; - setRecordIsSet(true); + this.key = key; + this.criteria = criteria; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -273764,13 +412408,21 @@ public getKeysRecord_args(List keys, long record, /** * Performs a deep copy on other. */ - public getKeysRecord_args(getKeysRecord_args other) { + public getKeyCriteriaTimeOrder_args( + getKeyCriteriaTimeOrder_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -273784,95 +412436,139 @@ public getKeysRecord_args(getKeysRecord_args other) { } } - public getKeysRecord_args deepCopy() { - return new getKeysRecord_args(this); + public getKeyCriteriaTimeOrder_args deepCopy() { + return new getKeyCriteriaTimeOrder_args(this); } @Override public void clear() { - this.keys = null; - setRecordIsSet(false); - this.record = 0; + this.key = null; + this.criteria = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); + public String getKey() { + return this.key; } - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); + public getKeyCriteriaTimeOrder_args setKey(String key) { + this.key = key; + return this; } - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; } - this.keys.add(elem); } - public List getKeys() { - return this.keys; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public getKeysRecord_args setKeys(List keys) { - this.keys = keys; + public getKeyCriteriaTimeOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setKeysIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.keys = null; + this.criteria = null; } } - public long getRecord() { - return this.record; + public long getTimestamp() { + return this.timestamp; } - public getKeysRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public getKeyCriteriaTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetRecord() { + public void unsetTimestamp() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setRecordIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeyCriteriaTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysRecord_args setCreds( + public getKeyCriteriaTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -273900,7 +412596,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysRecord_args setTransaction( + public getKeyCriteriaTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -273928,7 +412624,7 @@ public String getEnvironment() { return this.environment; } - public getKeysRecord_args setEnvironment(String environment) { + public getKeyCriteriaTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -273953,21 +412649,40 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); } break; - case RECORD: + case CRITERIA: if(value == null) { - unsetRecord(); + unsetCriteria(); } else { - setRecord((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -274004,11 +412719,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); - case RECORD: - return getRecord(); + case CRITERIA: + return getCriteria(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -274033,10 +412754,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case RECORD: - return isSetRecord(); + case KEY: + return isSetKey(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -274051,30 +412776,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecord_args) - return this.equals((getKeysRecord_args) that); + if(that instanceof getKeyCriteriaTimeOrder_args) + return this.equals((getKeyCriteriaTimeOrder_args) that); return false; } - public boolean equals(getKeysRecord_args that) { + public boolean equals(getKeyCriteriaTimeOrder_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.record != that.record) + if(!this.criteria.equals(that.criteria)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -274112,15 +412855,25 @@ public boolean equals(getKeysRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -274141,7 +412894,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysRecord_args other) { + public int compareTo(getKeyCriteriaTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -274149,26 +412902,50 @@ public int compareTo(getKeysRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.criteria, other.criteria); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -274228,21 +413005,42 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysRecord_args("); + StringBuilder sb = new StringBuilder( + "getKeyCriteriaTimeOrder_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -274281,6 +413079,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -274317,18 +413121,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecord_argsStandardSchemeFactory + private static class getKeyCriteriaTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public getKeysRecord_argsStandardScheme getScheme() { - return new getKeysRecord_argsStandardScheme(); + public getKeyCriteriaTimeOrder_argsStandardScheme getScheme() { + return new getKeyCriteriaTimeOrder_argsStandardScheme(); } } - private static class getKeysRecord_argsStandardScheme - extends StandardScheme { + private static class getKeyCriteriaTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecord_args struct) + getKeyCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -274338,38 +413142,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1874 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1874.size); - String _elem1875; - for (int _i1876 = 0; _i1876 < _list1874.size; ++_i1876) { - _elem1875 = iprot.readString(); - struct.keys.add(_elem1875); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // RECORD + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -274380,7 +413195,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -274391,7 +413206,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -274415,28 +413230,29 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecord_args struct) + getKeyCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1877 : struct.keys) { - oprot.writeString(_iter1877); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -274458,48 +413274,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysRecord_argsTupleSchemeFactory + private static class getKeyCriteriaTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public getKeysRecord_argsTupleScheme getScheme() { - return new getKeysRecord_argsTupleScheme(); + public getKeyCriteriaTimeOrder_argsTupleScheme getScheme() { + return new getKeyCriteriaTimeOrder_argsTupleScheme(); } } - private static class getKeysRecord_argsTupleScheme - extends TupleScheme { + private static class getKeyCriteriaTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecord_args struct) + getKeyCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1878 : struct.keys) { - oprot.writeString(_iter1878); - } - } + if(struct.isSetTransaction()) { + optionals.set(5); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -274514,39 +413337,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecord_args struct) + getKeyCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1879 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1879.size); - String _elem1880; - for (int _i1881 = 0; _i1881 < _list1879.size; ++_i1881) { - _elem1880 = iprot.readString(); - struct.keys.add(_elem1880); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -274555,13 +413378,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysRecord_result implements - org.apache.thrift.TBase, + public static class getKeyCriteriaTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecord_result"); + "getKeyCriteriaTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -274575,12 +413398,12 @@ public static class getKeysRecord_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecord_resultStandardSchemeFactory()); + new getKeyCriteriaTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecord_resultTupleSchemeFactory()); + new getKeyCriteriaTimeOrder_resultTupleSchemeFactory()); } - public Map success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -274671,7 +413494,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), + org.apache.thrift.protocol.TType.I64), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class)))); @@ -274692,13 +413515,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecord_result.class, metaDataMap); + getKeyCriteriaTimeOrder_result.class, metaDataMap); } - public getKeysRecord_result() {} + public getKeyCriteriaTimeOrder_result() {} - public getKeysRecord_result( - Map success, + public getKeyCriteriaTimeOrder_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -274712,18 +413535,19 @@ public getKeysRecord_result( /** * Performs a deep copy on other. */ - public getKeysRecord_result(getKeysRecord_result other) { + public getKeyCriteriaTimeOrder_result( + getKeyCriteriaTimeOrder_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); + Long other_element_key = other_element.getKey(); com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( other_element_value); @@ -274747,8 +413571,8 @@ public getKeysRecord_result(getKeysRecord_result other) { } } - public getKeysRecord_result deepCopy() { - return new getKeysRecord_result(this); + public getKeyCriteriaTimeOrder_result deepCopy() { + return new getKeyCriteriaTimeOrder_result(this); } @Override @@ -274763,20 +413587,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, + public void putToSuccess(long key, com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map getSuccess() { + public Map getSuccess() { return this.success; } - public getKeysRecord_result setSuccess( - Map success) { + public getKeyCriteriaTimeOrder_result setSuccess( + Map success) { this.success = success; return this; } @@ -274803,7 +413627,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysRecord_result setEx( + public getKeyCriteriaTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -274831,7 +413655,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysRecord_result setEx2( + public getKeyCriteriaTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -274859,7 +413683,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getKeysRecord_result setEx3( + public getKeyCriteriaTimeOrder_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -274891,7 +413715,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map) value); + (Map) value); } break; @@ -274969,12 +413793,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecord_result) - return this.equals((getKeysRecord_result) that); + if(that instanceof getKeyCriteriaTimeOrder_result) + return this.equals((getKeyCriteriaTimeOrder_result) that); return false; } - public boolean equals(getKeysRecord_result that) { + public boolean equals(getKeyCriteriaTimeOrder_result that) { if(that == null) return false; @@ -275045,7 +413869,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysRecord_result other) { + public int compareTo(getKeyCriteriaTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -275120,7 +413944,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysRecord_result("); + StringBuilder sb = new StringBuilder( + "getKeyCriteriaTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -275194,18 +414019,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecord_resultStandardSchemeFactory + private static class getKeyCriteriaTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public getKeysRecord_resultStandardScheme getScheme() { - return new getKeysRecord_resultStandardScheme(); + public getKeyCriteriaTimeOrder_resultStandardScheme getScheme() { + return new getKeyCriteriaTimeOrder_resultStandardScheme(); } } - private static class getKeysRecord_resultStandardScheme - extends StandardScheme { + private static class getKeyCriteriaTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecord_result struct) + getKeyCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -275218,17 +414043,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1882 = iprot + org.apache.thrift.protocol.TMap _map3352 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map1882.size); - String _key1883; - com.cinchapi.concourse.thrift.TObject _val1884; - for (int _i1885 = 0; _i1885 < _map1882.size; ++_i1885) { - _key1883 = iprot.readString(); - _val1884 = new com.cinchapi.concourse.thrift.TObject(); - _val1884.read(iprot); - struct.success.put(_key1883, _val1884); + struct.success = new LinkedHashMap( + 2 * _map3352.size); + long _key3353; + com.cinchapi.concourse.thrift.TObject _val3354; + for (int _i3355 = 0; _i3355 < _map3352.size; ++_i3355) { + _key3353 = iprot.readI64(); + _val3354 = new com.cinchapi.concourse.thrift.TObject(); + _val3354.read(iprot); + struct.success.put(_key3353, _val3354); } iprot.readMapEnd(); } @@ -275286,7 +414111,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecord_result struct) + getKeyCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -275295,13 +414120,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter1886 : struct.success + for (Map.Entry _iter3356 : struct.success .entrySet()) { - oprot.writeString(_iter1886.getKey()); - _iter1886.getValue().write(oprot); + oprot.writeI64(_iter3356.getKey()); + _iter3356.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -275328,19 +414153,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysRecord_resultTupleSchemeFactory + private static class getKeyCriteriaTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public getKeysRecord_resultTupleScheme getScheme() { - return new getKeysRecord_resultTupleScheme(); + public getKeyCriteriaTimeOrder_resultTupleScheme getScheme() { + return new getKeyCriteriaTimeOrder_resultTupleScheme(); } } - private static class getKeysRecord_resultTupleScheme - extends TupleScheme { + private static class getKeyCriteriaTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecord_result struct) + getKeyCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -275360,10 +414185,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1887 : struct.success + for (Map.Entry _iter3357 : struct.success .entrySet()) { - oprot.writeString(_iter1887.getKey()); - _iter1887.getValue().write(oprot); + oprot.writeI64(_iter3357.getKey()); + _iter3357.getValue().write(oprot); } } } @@ -275380,25 +414205,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecord_result struct) + getKeyCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1888 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map3358 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map1888.size); - String _key1889; - com.cinchapi.concourse.thrift.TObject _val1890; - for (int _i1891 = 0; _i1891 < _map1888.size; ++_i1891) { - _key1889 = iprot.readString(); - _val1890 = new com.cinchapi.concourse.thrift.TObject(); - _val1890.read(iprot); - struct.success.put(_key1889, _val1890); + struct.success = new LinkedHashMap( + 2 * _map3358.size); + long _key3359; + com.cinchapi.concourse.thrift.TObject _val3360; + for (int _i3361 = 0; _i3361 < _map3358.size; ++_i3361) { + _key3359 = iprot.readI64(); + _val3360 = new com.cinchapi.concourse.thrift.TObject(); + _val3360.read(iprot); + struct.success.put(_key3359, _val3360); } } struct.setSuccessIsSet(true); @@ -275423,20 +414248,21 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysRecordTime_args implements - org.apache.thrift.TBase, + public static class getKeyCriteriaTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecordTime_args"); + "getKeyCriteriaTimestr_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -275449,14 +414275,14 @@ public static class getKeysRecordTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecordTime_argsStandardSchemeFactory()); + new getKeyCriteriaTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecordTime_argsTupleSchemeFactory()); + new getKeyCriteriaTimestr_argsTupleSchemeFactory()); } - public List keys; // required - public long record; // required - public long timestamp; // required + public String key; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -275466,8 +414292,8 @@ public static class getKeysRecordTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - RECORD((short) 2, "record"), + KEY((short) 1, "key"), + CRITERIA((short) 2, "criteria"), TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), @@ -275487,10 +414313,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // RECORD - return RECORD; + case 1: // KEY + return KEY; + case 2: // CRITERIA + return CRITERIA; case 3: // TIMESTAMP return TIMESTAMP; case 4: // CREDS @@ -275543,30 +414369,26 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __TIMESTAMP_ISSET_ID = 1; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -275586,21 +414408,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecordTime_args.class, metaDataMap); + getKeyCriteriaTimestr_args.class, metaDataMap); } - public getKeysRecordTime_args() {} + public getKeyCriteriaTimestr_args() {} - public getKeysRecordTime_args(List keys, long record, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public getKeyCriteriaTimestr_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.record = record; - setRecordIsSet(true); + this.key = key; + this.criteria = criteria; this.timestamp = timestamp; - setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -275609,14 +414431,17 @@ public getKeysRecordTime_args(List keys, long record, /** * Performs a deep copy on other. */ - public getKeysRecordTime_args(getKeysRecordTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public getKeyCriteriaTimestr_args(getKeyCriteriaTimestr_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } - this.record = other.record; - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -275630,105 +414455,86 @@ public getKeysRecordTime_args(getKeysRecordTime_args other) { } } - public getKeysRecordTime_args deepCopy() { - return new getKeysRecordTime_args(this); + public getKeyCriteriaTimestr_args deepCopy() { + return new getKeyCriteriaTimestr_args(this); } @Override public void clear() { - this.keys = null; - setRecordIsSet(false); - this.record = 0; - setTimestampIsSet(false); - this.timestamp = 0; + this.key = null; + this.criteria = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; + public String getKey() { + return this.key; } - public getKeysRecordTime_args setKeys(List keys) { - this.keys = keys; + public getKeyCriteriaTimestr_args setKey(String key) { + this.key = key; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetKey() { + return this.key != null; } - public void setKeysIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.keys = null; + this.key = null; } } - public long getRecord() { - return this.record; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public getKeysRecordTime_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public getKeyCriteriaTimestr_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } } - public long getTimestamp() { + public String getTimestamp() { return this.timestamp; } - public getKeysRecordTime_args setTimestamp(long timestamp) { + public getKeyCriteriaTimestr_args setTimestamp(String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -275736,20 +414542,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysRecordTime_args setCreds( + public getKeyCriteriaTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -275777,7 +414583,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysRecordTime_args setTransaction( + public getKeyCriteriaTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -275805,7 +414611,7 @@ public String getEnvironment() { return this.environment; } - public getKeysRecordTime_args setEnvironment(String environment) { + public getKeyCriteriaTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -275830,21 +414636,22 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); } break; - case RECORD: + case CRITERIA: if(value == null) { - unsetRecord(); + unsetCriteria(); } else { - setRecord((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -275853,7 +414660,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); } break; @@ -275890,11 +414697,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); - case RECORD: - return getRecord(); + case CRITERIA: + return getCriteria(); case TIMESTAMP: return getTimestamp(); @@ -275922,10 +414729,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case RECORD: - return isSetRecord(); + case KEY: + return isSetKey(); + case CRITERIA: + return isSetCriteria(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -275942,39 +414749,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecordTime_args) - return this.equals((getKeysRecordTime_args) that); + if(that instanceof getKeyCriteriaTimestr_args) + return this.equals((getKeyCriteriaTimestr_args) that); return false; } - public boolean equals(getKeysRecordTime_args that) { + public boolean equals(getKeyCriteriaTimestr_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.record != that.record) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -276012,17 +414819,17 @@ public boolean equals(getKeysRecordTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_timestamp = true; + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -276046,7 +414853,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysRecordTime_args other) { + public int compareTo(getKeyCriteriaTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -276054,26 +414861,26 @@ public int compareTo(getKeysRecordTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -276145,26 +414952,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysRecordTime_args("); + StringBuilder sb = new StringBuilder("getKeyCriteriaTimestr_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } first = false; if(!first) sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -276203,6 +415020,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -276226,10 +415046,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -276239,18 +415055,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecordTime_argsStandardSchemeFactory + private static class getKeyCriteriaTimestr_argsStandardSchemeFactory implements SchemeFactory { - public getKeysRecordTime_argsStandardScheme getScheme() { - return new getKeysRecordTime_argsStandardScheme(); + public getKeyCriteriaTimestr_argsStandardScheme getScheme() { + return new getKeyCriteriaTimestr_argsStandardScheme(); } } - private static class getKeysRecordTime_argsStandardScheme - extends StandardScheme { + private static class getKeyCriteriaTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecordTime_args struct) + getKeyCriteriaTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -276260,31 +415076,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1892 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1892.size); - String _elem1893; - for (int _i1894 = 0; _i1894 < _list1892.size; ++_i1894) { - _elem1893 = iprot.readString(); - struct.keys.add(_elem1893); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -276292,8 +415098,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -276347,31 +415153,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecordTime_args struct) + getKeyCriteriaTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1895 : struct.keys) { - oprot.writeString(_iter1895); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -276393,26 +415194,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysRecordTime_argsTupleSchemeFactory + private static class getKeyCriteriaTimestr_argsTupleSchemeFactory implements SchemeFactory { - public getKeysRecordTime_argsTupleScheme getScheme() { - return new getKeysRecordTime_argsTupleScheme(); + public getKeyCriteriaTimestr_argsTupleScheme getScheme() { + return new getKeyCriteriaTimestr_argsTupleScheme(); } } - private static class getKeysRecordTime_argsTupleScheme - extends TupleScheme { + private static class getKeyCriteriaTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordTime_args struct) + getKeyCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(1); } if(struct.isSetTimestamp()) { @@ -276428,19 +415229,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1896 : struct.keys) { - oprot.writeString(_iter1896); - } - } + if(struct.isSetKey()) { + oprot.writeString(struct.key); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -276455,30 +415251,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordTime_args struct) + getKeyCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1897 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1897.size); - String _elem1898; - for (int _i1899 = 0; _i1899 < _list1897.size; ++_i1899) { - _elem1898 = iprot.readString(); - struct.keys.add(_elem1898); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } if(incoming.get(3)) { @@ -276500,13 +415287,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysRecordTime_result implements - org.apache.thrift.TBase, + public static class getKeyCriteriaTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecordTime_result"); + "getKeyCriteriaTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -276516,19 +415303,22 @@ public static class getKeysRecordTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecordTime_resultStandardSchemeFactory()); + new getKeyCriteriaTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecordTime_resultTupleSchemeFactory()); + new getKeyCriteriaTimestr_resultTupleSchemeFactory()); } - public Map success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -276538,7 +415328,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -276562,6 +415353,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -276616,7 +415409,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), + org.apache.thrift.protocol.TType.I64), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class)))); @@ -276635,40 +415428,48 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecordTime_result.class, metaDataMap); + getKeyCriteriaTimestr_result.class, metaDataMap); } - public getKeysRecordTime_result() {} + public getKeyCriteriaTimestr_result() {} - public getKeysRecordTime_result( - Map success, + public getKeyCriteriaTimestr_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeysRecordTime_result(getKeysRecordTime_result other) { + public getKeyCriteriaTimestr_result( + getKeyCriteriaTimestr_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); + Long other_element_key = other_element.getKey(); com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( other_element_value); @@ -276687,13 +415488,17 @@ public getKeysRecordTime_result(getKeysRecordTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public getKeysRecordTime_result deepCopy() { - return new getKeysRecordTime_result(this); + public getKeyCriteriaTimestr_result deepCopy() { + return new getKeyCriteriaTimestr_result(this); } @Override @@ -276702,26 +415507,27 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, + public void putToSuccess(long key, com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map getSuccess() { + public Map getSuccess() { return this.success; } - public getKeysRecordTime_result setSuccess( - Map success) { + public getKeyCriteriaTimestr_result setSuccess( + Map success) { this.success = success; return this; } @@ -276748,7 +415554,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysRecordTime_result setEx( + public getKeyCriteriaTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -276776,7 +415582,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysRecordTime_result setEx2( + public getKeyCriteriaTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -276800,12 +415606,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeysRecordTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeyCriteriaTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -276828,6 +415634,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeyCriteriaTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -276836,7 +415670,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map) value); + (Map) value); } break; @@ -276863,7 +415697,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -276884,6 +415727,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -276906,6 +415752,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -276914,12 +415762,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecordTime_result) - return this.equals((getKeysRecordTime_result) that); + if(that instanceof getKeyCriteriaTimestr_result) + return this.equals((getKeyCriteriaTimestr_result) that); return false; } - public boolean equals(getKeysRecordTime_result that) { + public boolean equals(getKeyCriteriaTimestr_result that) { if(that == null) return false; @@ -276959,6 +415807,15 @@ public boolean equals(getKeysRecordTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -276986,11 +415843,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(getKeysRecordTime_result other) { + public int compareTo(getKeyCriteriaTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -277046,6 +415908,18 @@ public int compareTo(getKeysRecordTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -277065,7 +415939,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysRecordTime_result("); + StringBuilder sb = new StringBuilder( + "getKeyCriteriaTimestr_result("); boolean first = true; sb.append("success:"); @@ -277106,6 +415981,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -277139,18 +416024,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecordTime_resultStandardSchemeFactory + private static class getKeyCriteriaTimestr_resultStandardSchemeFactory implements SchemeFactory { - public getKeysRecordTime_resultStandardScheme getScheme() { - return new getKeysRecordTime_resultStandardScheme(); + public getKeyCriteriaTimestr_resultStandardScheme getScheme() { + return new getKeyCriteriaTimestr_resultStandardScheme(); } } - private static class getKeysRecordTime_resultStandardScheme - extends StandardScheme { + private static class getKeyCriteriaTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecordTime_result struct) + getKeyCriteriaTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -277163,17 +416048,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1900 = iprot + org.apache.thrift.protocol.TMap _map3362 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map1900.size); - String _key1901; - com.cinchapi.concourse.thrift.TObject _val1902; - for (int _i1903 = 0; _i1903 < _map1900.size; ++_i1903) { - _key1901 = iprot.readString(); - _val1902 = new com.cinchapi.concourse.thrift.TObject(); - _val1902.read(iprot); - struct.success.put(_key1901, _val1902); + struct.success = new LinkedHashMap( + 2 * _map3362.size); + long _key3363; + com.cinchapi.concourse.thrift.TObject _val3364; + for (int _i3365 = 0; _i3365 < _map3362.size; ++_i3365) { + _key3363 = iprot.readI64(); + _val3364 = new com.cinchapi.concourse.thrift.TObject(); + _val3364.read(iprot); + struct.success.put(_key3363, _val3364); } iprot.readMapEnd(); } @@ -277208,7 +416093,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -277217,6 +416102,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -277231,7 +416127,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecordTime_result struct) + getKeyCriteriaTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -277240,13 +416136,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter1904 : struct.success + for (Map.Entry _iter3366 : struct.success .entrySet()) { - oprot.writeString(_iter1904.getKey()); - _iter1904.getValue().write(oprot); + oprot.writeI64(_iter3366.getKey()); + _iter3366.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -277267,25 +416163,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeysRecordTime_resultTupleSchemeFactory + private static class getKeyCriteriaTimestr_resultTupleSchemeFactory implements SchemeFactory { - public getKeysRecordTime_resultTupleScheme getScheme() { - return new getKeysRecordTime_resultTupleScheme(); + public getKeyCriteriaTimestr_resultTupleScheme getScheme() { + return new getKeyCriteriaTimestr_resultTupleScheme(); } } - private static class getKeysRecordTime_resultTupleScheme - extends TupleScheme { + private static class getKeyCriteriaTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordTime_result struct) + getKeyCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -277301,14 +416202,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1905 : struct.success + for (Map.Entry _iter3367 : struct.success .entrySet()) { - oprot.writeString(_iter1905.getKey()); - _iter1905.getValue().write(oprot); + oprot.writeI64(_iter3367.getKey()); + _iter3367.getValue().write(oprot); } } } @@ -277321,29 +416225,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordTime_result struct) + getKeyCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1906 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map3368 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map1906.size); - String _key1907; - com.cinchapi.concourse.thrift.TObject _val1908; - for (int _i1909 = 0; _i1909 < _map1906.size; ++_i1909) { - _key1907 = iprot.readString(); - _val1908 = new com.cinchapi.concourse.thrift.TObject(); - _val1908.read(iprot); - struct.success.put(_key1907, _val1908); + struct.success = new LinkedHashMap( + 2 * _map3368.size); + long _key3369; + com.cinchapi.concourse.thrift.TObject _val3370; + for (int _i3371 = 0; _i3371 < _map3368.size; ++_i3371) { + _key3369 = iprot.readI64(); + _val3370 = new com.cinchapi.concourse.thrift.TObject(); + _val3370.read(iprot); + struct.success.put(_key3369, _val3370); } } struct.setSuccessIsSet(true); @@ -277359,50 +416266,58 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class getKeysRecordTimestr_args implements - org.apache.thrift.TBase, + public static class getKeyCriteriaTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecordTimestr_args"); + "getKeyCriteriaTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecordTimestr_argsStandardSchemeFactory()); + new getKeyCriteriaTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecordTimestr_argsTupleSchemeFactory()); + new getKeyCriteriaTimestrOrder_argsTupleSchemeFactory()); } - public List keys; // required - public long record; // required + public String key; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -277412,12 +416327,13 @@ public static class getKeysRecordTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - RECORD((short) 2, "record"), + KEY((short) 1, "key"), + CRITERIA((short) 2, "criteria"), TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -277433,17 +416349,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // RECORD - return RECORD; + case 1: // KEY + return KEY; + case 2: // CRITERIA + return CRITERIA; case 3: // TIMESTAMP return TIMESTAMP; - case 4: // CREDS + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 5: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -277489,29 +416407,32 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -277531,21 +416452,22 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecordTimestr_args.class, metaDataMap); + getKeyCriteriaTimestrOrder_args.class, metaDataMap); } - public getKeysRecordTimestr_args() {} + public getKeyCriteriaTimestrOrder_args() {} - public getKeysRecordTimestr_args(List keys, long record, - String timestamp, + public getKeyCriteriaTimestrOrder_args(String key, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.record = record; - setRecordIsSet(true); + this.key = key; + this.criteria = criteria; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -277554,16 +416476,22 @@ public getKeysRecordTimestr_args(List keys, long record, /** * Performs a deep copy on other. */ - public getKeysRecordTimestr_args(getKeysRecordTimestr_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public getKeyCriteriaTimestrOrder_args( + getKeyCriteriaTimestrOrder_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - this.record = other.record; if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -277577,96 +416505,81 @@ public getKeysRecordTimestr_args(getKeysRecordTimestr_args other) { } } - public getKeysRecordTimestr_args deepCopy() { - return new getKeysRecordTimestr_args(this); + public getKeyCriteriaTimestrOrder_args deepCopy() { + return new getKeyCriteriaTimestrOrder_args(this); } @Override public void clear() { - this.keys = null; - setRecordIsSet(false); - this.record = 0; + this.key = null; + this.criteria = null; this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; + public String getKey() { + return this.key; } - public getKeysRecordTimestr_args setKeys(List keys) { - this.keys = keys; + public getKeyCriteriaTimestrOrder_args setKey(String key) { + this.key = key; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetKey() { + return this.key != null; } - public void setKeysIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.keys = null; + this.key = null; } } - public long getRecord() { - return this.record; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public getKeysRecordTimestr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); + public getKeyCriteriaTimestrOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field record is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } } public String getTimestamp() { return this.timestamp; } - public getKeysRecordTimestr_args setTimestamp(String timestamp) { + public getKeyCriteriaTimestrOrder_args setTimestamp(String timestamp) { this.timestamp = timestamp; return this; } @@ -277689,11 +416602,39 @@ public void setTimestampIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeyCriteriaTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysRecordTimestr_args setCreds( + public getKeyCriteriaTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -277721,7 +416662,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysRecordTimestr_args setTransaction( + public getKeyCriteriaTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -277749,7 +416690,8 @@ public String getEnvironment() { return this.environment; } - public getKeysRecordTimestr_args setEnvironment(String environment) { + public getKeyCriteriaTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -277774,21 +416716,22 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); } break; - case RECORD: + case CRITERIA: if(value == null) { - unsetRecord(); + unsetCriteria(); } else { - setRecord((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -277801,6 +416744,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -277834,15 +416786,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); - case RECORD: - return getRecord(); + case CRITERIA: + return getCriteria(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -277866,12 +416821,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case RECORD: - return isSetRecord(); + case KEY: + return isSetKey(); + case CRITERIA: + return isSetCriteria(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -277886,30 +416843,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecordTimestr_args) - return this.equals((getKeysRecordTimestr_args) that); + if(that instanceof getKeyCriteriaTimestrOrder_args) + return this.equals((getKeyCriteriaTimestrOrder_args) that); return false; } - public boolean equals(getKeysRecordTimestr_args that) { + public boolean equals(getKeyCriteriaTimestrOrder_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.record != that.record) + if(!this.criteria.equals(that.criteria)) return false; } @@ -277922,6 +416879,15 @@ public boolean equals(getKeysRecordTimestr_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -277956,21 +416922,26 @@ public boolean equals(getKeysRecordTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -277990,7 +416961,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysRecordTimestr_args other) { + public int compareTo(getKeyCriteriaTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -277998,26 +416969,26 @@ public int compareTo(getKeysRecordTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -278034,6 +417005,18 @@ public int compareTo(getKeysRecordTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -278089,21 +417072,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysRecordTimestr_args("); + StringBuilder sb = new StringBuilder( + "getKeyCriteriaTimestrOrder_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); + } first = false; if(!first) sb.append(", "); @@ -278115,6 +417104,16 @@ public String toString() { sb.append(this.timestamp); } first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -278152,6 +417151,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -278175,10 +417180,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -278188,18 +417189,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecordTimestr_argsStandardSchemeFactory + private static class getKeyCriteriaTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public getKeysRecordTimestr_argsStandardScheme getScheme() { - return new getKeysRecordTimestr_argsStandardScheme(); + public getKeyCriteriaTimestrOrder_argsStandardScheme getScheme() { + return new getKeyCriteriaTimestrOrder_argsStandardScheme(); } } - private static class getKeysRecordTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeyCriteriaTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecordTimestr_args struct) + getKeyCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -278209,31 +417210,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1910 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1910.size); - String _elem1911; - for (int _i1912 = 0; _i1912 < _list1910.size; ++_i1912) { - _elem1911 = iprot.readString(); - struct.keys.add(_elem1911); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -278250,7 +417241,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -278261,7 +417263,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -278272,7 +417274,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -278296,33 +417298,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecordTimestr_args struct) + getKeyCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1913 : struct.keys) { - oprot.writeString(_iter1913); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); if(struct.timestamp != null) { oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -278344,55 +417344,56 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysRecordTimestr_argsTupleSchemeFactory + private static class getKeyCriteriaTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public getKeysRecordTimestr_argsTupleScheme getScheme() { - return new getKeysRecordTimestr_argsTupleScheme(); + public getKeyCriteriaTimestrOrder_argsTupleScheme getScheme() { + return new getKeyCriteriaTimestrOrder_argsTupleScheme(); } } - private static class getKeysRecordTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeyCriteriaTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordTimestr_args struct) + getKeyCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecord()) { + if(struct.isSetCriteria()) { optionals.set(1); } if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1914 : struct.keys) { - oprot.writeString(_iter1914); - } - } + if(struct.isSetEnvironment()) { + optionals.set(6); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -278406,43 +417407,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordTimestr_args struct) + getKeyCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1915 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1915.size); - String _elem1916; - for (int _i1917 = 0; _i1917 < _list1915.size; ++_i1917) { - _elem1916 = iprot.readString(); - struct.keys.add(_elem1916); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -278451,13 +417448,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysRecordTimestr_result implements - org.apache.thrift.TBase, + public static class getKeyCriteriaTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecordTimestr_result"); + "getKeyCriteriaTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -278473,12 +417470,12 @@ public static class getKeysRecordTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecordTimestr_resultStandardSchemeFactory()); + new getKeyCriteriaTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecordTimestr_resultTupleSchemeFactory()); + new getKeyCriteriaTimestrOrder_resultTupleSchemeFactory()); } - public Map success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -278573,7 +417570,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.MapMetaData( org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), + org.apache.thrift.protocol.TType.I64), new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class)))); @@ -278599,13 +417596,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecordTimestr_result.class, metaDataMap); + getKeyCriteriaTimestrOrder_result.class, metaDataMap); } - public getKeysRecordTimestr_result() {} + public getKeyCriteriaTimestrOrder_result() {} - public getKeysRecordTimestr_result( - Map success, + public getKeyCriteriaTimestrOrder_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -278621,18 +417618,19 @@ public getKeysRecordTimestr_result( /** * Performs a deep copy on other. */ - public getKeysRecordTimestr_result(getKeysRecordTimestr_result other) { + public getKeyCriteriaTimestrOrder_result( + getKeyCriteriaTimestrOrder_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { - String other_element_key = other_element.getKey(); + Long other_element_key = other_element.getKey(); com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); - String __this__success_copy_key = other_element_key; + Long __this__success_copy_key = other_element_key; com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( other_element_value); @@ -278660,8 +417658,8 @@ public getKeysRecordTimestr_result(getKeysRecordTimestr_result other) { } } - public getKeysRecordTimestr_result deepCopy() { - return new getKeysRecordTimestr_result(this); + public getKeyCriteriaTimestrOrder_result deepCopy() { + return new getKeyCriteriaTimestrOrder_result(this); } @Override @@ -278677,20 +417675,20 @@ public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(String key, + public void putToSuccess(long key, com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map getSuccess() { + public Map getSuccess() { return this.success; } - public getKeysRecordTimestr_result setSuccess( - Map success) { + public getKeyCriteriaTimestrOrder_result setSuccess( + Map success) { this.success = success; return this; } @@ -278717,7 +417715,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysRecordTimestr_result setEx( + public getKeyCriteriaTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -278745,7 +417743,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysRecordTimestr_result setEx2( + public getKeyCriteriaTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -278773,7 +417771,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeysRecordTimestr_result setEx3( + public getKeyCriteriaTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -278801,7 +417799,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public getKeysRecordTimestr_result setEx4( + public getKeyCriteriaTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -278833,7 +417831,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map) value); + (Map) value); } break; @@ -278925,12 +417923,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecordTimestr_result) - return this.equals((getKeysRecordTimestr_result) that); + if(that instanceof getKeyCriteriaTimestrOrder_result) + return this.equals((getKeyCriteriaTimestrOrder_result) that); return false; } - public boolean equals(getKeysRecordTimestr_result that) { + public boolean equals(getKeyCriteriaTimestrOrder_result that) { if(that == null) return false; @@ -279015,7 +418013,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysRecordTimestr_result other) { + public int compareTo(getKeyCriteriaTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -279103,7 +418101,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "getKeysRecordTimestr_result("); + "getKeyCriteriaTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -279187,18 +418185,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecordTimestr_resultStandardSchemeFactory + private static class getKeyCriteriaTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public getKeysRecordTimestr_resultStandardScheme getScheme() { - return new getKeysRecordTimestr_resultStandardScheme(); + public getKeyCriteriaTimestrOrder_resultStandardScheme getScheme() { + return new getKeyCriteriaTimestrOrder_resultStandardScheme(); } } - private static class getKeysRecordTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeyCriteriaTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecordTimestr_result struct) + getKeyCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -279211,17 +418209,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1918 = iprot + org.apache.thrift.protocol.TMap _map3372 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map1918.size); - String _key1919; - com.cinchapi.concourse.thrift.TObject _val1920; - for (int _i1921 = 0; _i1921 < _map1918.size; ++_i1921) { - _key1919 = iprot.readString(); - _val1920 = new com.cinchapi.concourse.thrift.TObject(); - _val1920.read(iprot); - struct.success.put(_key1919, _val1920); + struct.success = new LinkedHashMap( + 2 * _map3372.size); + long _key3373; + com.cinchapi.concourse.thrift.TObject _val3374; + for (int _i3375 = 0; _i3375 < _map3372.size; ++_i3375) { + _key3373 = iprot.readI64(); + _val3374 = new com.cinchapi.concourse.thrift.TObject(); + _val3374.read(iprot); + struct.success.put(_key3373, _val3374); } iprot.readMapEnd(); } @@ -279290,7 +418288,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecordTimestr_result struct) + getKeyCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -279299,13 +418297,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter1922 : struct.success + for (Map.Entry _iter3376 : struct.success .entrySet()) { - oprot.writeString(_iter1922.getKey()); - _iter1922.getValue().write(oprot); + oprot.writeI64(_iter3376.getKey()); + _iter3376.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -279337,19 +418335,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysRecordTimestr_resultTupleSchemeFactory + private static class getKeyCriteriaTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public getKeysRecordTimestr_resultTupleScheme getScheme() { - return new getKeysRecordTimestr_resultTupleScheme(); + public getKeyCriteriaTimestrOrder_resultTupleScheme getScheme() { + return new getKeyCriteriaTimestrOrder_resultTupleScheme(); } } - private static class getKeysRecordTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeyCriteriaTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordTimestr_result struct) + getKeyCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -279372,10 +418370,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1923 : struct.success + for (Map.Entry _iter3377 : struct.success .entrySet()) { - oprot.writeString(_iter1923.getKey()); - _iter1923.getValue().write(oprot); + oprot.writeI64(_iter3377.getKey()); + _iter3377.getValue().write(oprot); } } } @@ -279395,25 +418393,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordTimestr_result struct) + getKeyCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1924 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TMap _map3378 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map1924.size); - String _key1925; - com.cinchapi.concourse.thrift.TObject _val1926; - for (int _i1927 = 0; _i1927 < _map1924.size; ++_i1927) { - _key1925 = iprot.readString(); - _val1926 = new com.cinchapi.concourse.thrift.TObject(); - _val1926.read(iprot); - struct.success.put(_key1925, _val1926); + struct.success = new LinkedHashMap( + 2 * _map3378.size); + long _key3379; + com.cinchapi.concourse.thrift.TObject _val3380; + for (int _i3381 = 0; _i3381 < _map3378.size; ++_i3381) { + _key3379 = iprot.readI64(); + _val3380 = new com.cinchapi.concourse.thrift.TObject(); + _val3380.read(iprot); + struct.success.put(_key3379, _val3380); } } struct.setSuccessIsSet(true); @@ -279443,37 +418441,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysRecords_args implements - org.apache.thrift.TBase, + public static class getKeyCclTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecords_args"); + "getKeyCclTime_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecords_argsStandardSchemeFactory()); + new getKeyCclTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecords_argsTupleSchemeFactory()); + new getKeyCclTime_argsTupleSchemeFactory()); } - public List keys; // required - public List records; // required + public String key; // required + public String ccl; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -279483,11 +418484,12 @@ public static class getKeysRecords_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - RECORDS((short) 2, "records"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -279503,15 +418505,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // RECORDS - return RECORDS; - case 3: // CREDS + case 1: // KEY + return KEY; + case 2: // CCL + return CCL; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -279557,24 +418561,27 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -279594,18 +418601,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecords_args.class, metaDataMap); + getKeyCclTime_args.class, metaDataMap); } - public getKeysRecords_args() {} + public getKeyCclTime_args() {} - public getKeysRecords_args(List keys, List records, + public getKeyCclTime_args(String key, String ccl, long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.records = records; + this.key = key; + this.ccl = ccl; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -279614,15 +418623,15 @@ public getKeysRecords_args(List keys, List records, /** * Performs a deep copy on other. */ - public getKeysRecords_args(getKeysRecords_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public getKeyCclTime_args(getKeyCclTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; } - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetCcl()) { + this.ccl = other.ccl; } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -279636,108 +418645,109 @@ public getKeysRecords_args(getKeysRecords_args other) { } } - public getKeysRecords_args deepCopy() { - return new getKeysRecords_args(this); + public getKeyCclTime_args deepCopy() { + return new getKeyCclTime_args(this); } @Override public void clear() { - this.keys = null; - this.records = null; + this.key = null; + this.ccl = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; + public String getKey() { + return this.key; } - public getKeysRecords_args setKeys(List keys) { - this.keys = keys; + public getKeyCclTime_args setKey(String key) { + this.key = key; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetKey() { + return this.key != null; } - public void setKeysIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.keys = null; + this.key = null; } } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); + public String getCcl() { + return this.ccl; } - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); + public getKeyCclTime_args setCcl(String ccl) { + this.ccl = ccl; + return this; } - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; } - this.records.add(elem); } - public List getRecords() { - return this.records; + public long getTimestamp() { + return this.timestamp; } - public getKeysRecords_args setRecords(List records) { - this.records = records; + public getKeyCclTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetRecords() { - this.records = null; + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field records is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setRecordsIsSet(boolean value) { - if(!value) { - this.records = null; - } + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysRecords_args setCreds( + public getKeyCclTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -279765,7 +418775,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysRecords_args setTransaction( + public getKeyCclTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -279793,7 +418803,7 @@ public String getEnvironment() { return this.environment; } - public getKeysRecords_args setEnvironment(String environment) { + public getKeyCclTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -279818,21 +418828,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); } break; - case RECORDS: + case CCL: if(value == null) { - unsetRecords(); + unsetCcl(); } else { - setRecords((List) value); + setCcl((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); } break; @@ -279869,11 +418888,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); - case RECORDS: - return getRecords(); + case CCL: + return getCcl(); + + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -279898,10 +418920,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case RECORDS: - return isSetRecords(); + case KEY: + return isSetKey(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -279916,30 +418940,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecords_args) - return this.equals((getKeysRecords_args) that); + if(that instanceof getKeyCclTime_args) + return this.equals((getKeyCclTime_args) that); return false; } - public boolean equals(getKeysRecords_args that) { + public boolean equals(getKeyCclTime_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.records.equals(that.records)) + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) return false; } @@ -279977,15 +419010,20 @@ public boolean equals(getKeysRecords_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -280006,7 +419044,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysRecords_args other) { + public int compareTo(getKeyCclTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -280014,26 +419052,38 @@ public int compareTo(getKeysRecords_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -280093,27 +419143,32 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysRecords_args("); + StringBuilder sb = new StringBuilder("getKeyCclTime_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("records:"); - if(this.records == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.ccl); } first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -280174,6 +419229,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -280183,18 +419242,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecords_argsStandardSchemeFactory + private static class getKeyCclTime_argsStandardSchemeFactory implements SchemeFactory { - public getKeysRecords_argsStandardScheme getScheme() { - return new getKeysRecords_argsStandardScheme(); + public getKeyCclTime_argsStandardScheme getScheme() { + return new getKeyCclTime_argsStandardScheme(); } } - private static class getKeysRecords_argsStandardScheme - extends StandardScheme { + private static class getKeyCclTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecords_args struct) + getKeyCclTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -280204,49 +419263,37 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1928 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list1928.size); - String _elem1929; - for (int _i1930 = 0; _i1930 < _list1928.size; ++_i1930) { - _elem1929 = iprot.readString(); - struct.keys.add(_elem1929); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1931 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list1931.size); - long _elem1932; - for (int _i1933 = 0; _i1933 < _list1931.size; ++_i1933) { - _elem1932 = iprot.readI64(); - struct.records.add(_elem1932); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -280257,7 +419304,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -280268,7 +419315,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -280292,39 +419339,24 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecords_args struct) + getKeyCclTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter1934 : struct.keys) { - oprot.writeString(_iter1934); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter1935 : struct.records) { - oprot.writeI64(_iter1935); - } - oprot.writeListEnd(); - } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -280346,53 +419378,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysRecords_argsTupleSchemeFactory + private static class getKeyCclTime_argsTupleSchemeFactory implements SchemeFactory { - public getKeysRecords_argsTupleScheme getScheme() { - return new getKeysRecords_argsTupleScheme(); + public getKeyCclTime_argsTupleScheme getScheme() { + return new getKeyCclTime_argsTupleScheme(); } } - private static class getKeysRecords_argsTupleScheme - extends TupleScheme { + private static class getKeyCclTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecords_args struct) + getKeyCclTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecords()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter1936 : struct.keys) { - oprot.writeString(_iter1936); - } - } + if(struct.isSetEnvironment()) { + optionals.set(5); } - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter1937 : struct.records) { - oprot.writeI64(_iter1937); - } - } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -280407,49 +419435,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecords_args struct) + getKeyCclTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1938 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list1938.size); - String _elem1939; - for (int _i1940 = 0; _i1940 < _list1938.size; ++_i1940) { - _elem1939 = iprot.readString(); - struct.keys.add(_elem1939); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list1941 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list1941.size); - long _elem1942; - for (int _i1943 = 0; _i1943 < _list1941.size; ++_i1943) { - _elem1942 = iprot.readI64(); - struct.records.add(_elem1942); - } - } - struct.setRecordsIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -280458,13 +419470,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysRecords_result implements - org.apache.thrift.TBase, + public static class getKeyCclTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecords_result"); + "getKeyCclTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -280474,19 +419486,22 @@ public static class getKeysRecords_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecords_resultStandardSchemeFactory()); + new getKeyCclTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecords_resultTupleSchemeFactory()); + new getKeyCclTime_resultTupleSchemeFactory()); } - public Map> success; // required + public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -280496,7 +419511,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -280520,6 +419536,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -280575,13 +419593,9 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -280597,60 +419611,50 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecords_result.class, metaDataMap); + getKeyCclTime_result.class, metaDataMap); } - public getKeysRecords_result() {} + public getKeyCclTime_result() {} - public getKeysRecords_result( - Map> success, + public getKeyCclTime_result( + Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeysRecords_result(getKeysRecords_result other) { + public getKeyCclTime_result(getKeyCclTime_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( + Map __this__success = new LinkedHashMap( other.success.size()); - for (Map.Entry> other_element : other.success + for (Map.Entry other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - Map other_element_value = other_element + com.cinchapi.concourse.thrift.TObject other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - Map __this__success_copy_value = new LinkedHashMap( - other_element_value.size()); - for (Map.Entry other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } + com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value); __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -280666,13 +419670,17 @@ public getKeysRecords_result(getKeysRecords_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public getKeysRecords_result deepCopy() { - return new getKeysRecords_result(this); + public getKeyCclTime_result deepCopy() { + return new getKeyCclTime_result(this); } @Override @@ -280681,6 +419689,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -280688,19 +419697,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - Map val) { + com.cinchapi.concourse.thrift.TObject val) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashMap(); } this.success.put(key, val); } - public Map> getSuccess() { + public Map getSuccess() { return this.success; } - public getKeysRecords_result setSuccess( - Map> success) { + public getKeyCclTime_result setSuccess( + Map success) { this.success = success; return this; } @@ -280727,7 +419736,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysRecords_result setEx( + public getKeyCclTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -280755,7 +419764,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysRecords_result setEx2( + public getKeyCclTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -280779,12 +419788,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeysRecords_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeyCclTime_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -280807,6 +419816,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeyCclTime_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -280815,7 +419852,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map>) value); + (Map) value); } break; @@ -280842,7 +419879,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -280863,6 +419909,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -280885,6 +419934,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -280893,12 +419944,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecords_result) - return this.equals((getKeysRecords_result) that); + if(that instanceof getKeyCclTime_result) + return this.equals((getKeyCclTime_result) that); return false; } - public boolean equals(getKeysRecords_result that) { + public boolean equals(getKeyCclTime_result that) { if(that == null) return false; @@ -280938,6 +419989,15 @@ public boolean equals(getKeysRecords_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -280965,11 +420025,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(getKeysRecords_result other) { + public int compareTo(getKeyCclTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -281025,6 +420090,18 @@ public int compareTo(getKeysRecords_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -281044,7 +420121,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysRecords_result("); + StringBuilder sb = new StringBuilder("getKeyCclTime_result("); boolean first = true; sb.append("success:"); @@ -281085,6 +420162,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -281118,18 +420205,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecords_resultStandardSchemeFactory + private static class getKeyCclTime_resultStandardSchemeFactory implements SchemeFactory { - public getKeysRecords_resultStandardScheme getScheme() { - return new getKeysRecords_resultStandardScheme(); + public getKeyCclTime_resultStandardScheme getScheme() { + return new getKeyCclTime_resultStandardScheme(); } } - private static class getKeysRecords_resultStandardScheme - extends StandardScheme { + private static class getKeyCclTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecords_result struct) + getKeyCclTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -281142,30 +420229,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1944 = iprot + org.apache.thrift.protocol.TMap _map3382 = iprot .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map1944.size); - long _key1945; - Map _val1946; - for (int _i1947 = 0; _i1947 < _map1944.size; ++_i1947) { - _key1945 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1948 = iprot - .readMapBegin(); - _val1946 = new LinkedHashMap( - 2 * _map1948.size); - String _key1949; - com.cinchapi.concourse.thrift.TObject _val1950; - for (int _i1951 = 0; _i1951 < _map1948.size; ++_i1951) { - _key1949 = iprot.readString(); - _val1950 = new com.cinchapi.concourse.thrift.TObject(); - _val1950.read(iprot); - _val1946.put(_key1949, _val1950); - } - iprot.readMapEnd(); - } - struct.success.put(_key1945, _val1946); + struct.success = new LinkedHashMap( + 2 * _map3382.size); + long _key3383; + com.cinchapi.concourse.thrift.TObject _val3384; + for (int _i3385 = 0; _i3385 < _map3382.size; ++_i3385) { + _key3383 = iprot.readI64(); + _val3384 = new com.cinchapi.concourse.thrift.TObject(); + _val3384.read(iprot); + struct.success.put(_key3383, _val3384); } iprot.readMapEnd(); } @@ -281200,7 +420274,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -281209,6 +420283,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -281223,7 +420308,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecords_result struct) + getKeyCclTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -281233,24 +420318,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry> _iter1952 : struct.success + for (Map.Entry _iter3386 : struct.success .entrySet()) { - oprot.writeI64(_iter1952.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - _iter1952.getValue().size())); - for (Map.Entry _iter1953 : _iter1952 - .getValue().entrySet()) { - oprot.writeString(_iter1953.getKey()); - _iter1953.getValue().write(oprot); - } - oprot.writeMapEnd(); - } + oprot.writeI64(_iter3386.getKey()); + _iter3386.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -281271,25 +420344,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeysRecords_resultTupleSchemeFactory + private static class getKeyCclTime_resultTupleSchemeFactory implements SchemeFactory { - public getKeysRecords_resultTupleScheme getScheme() { - return new getKeysRecords_resultTupleScheme(); + public getKeyCclTime_resultTupleScheme getScheme() { + return new getKeyCclTime_resultTupleScheme(); } } - private static class getKeysRecords_resultTupleScheme - extends TupleScheme { + private static class getKeyCclTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecords_result struct) + getKeyCclTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -281305,21 +420383,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter1954 : struct.success + for (Map.Entry _iter3387 : struct.success .entrySet()) { - oprot.writeI64(_iter1954.getKey()); - { - oprot.writeI32(_iter1954.getValue().size()); - for (Map.Entry _iter1955 : _iter1954 - .getValue().entrySet()) { - oprot.writeString(_iter1955.getKey()); - _iter1955.getValue().write(oprot); - } - } + oprot.writeI64(_iter3387.getKey()); + _iter3387.getValue().write(oprot); } } } @@ -281332,43 +420406,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecords_result struct) + getKeyCclTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1956 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3388 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map1956.size); - long _key1957; - Map _val1958; - for (int _i1959 = 0; _i1959 < _map1956.size; ++_i1959) { - _key1957 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map1960 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val1958 = new LinkedHashMap( - 2 * _map1960.size); - String _key1961; - com.cinchapi.concourse.thrift.TObject _val1962; - for (int _i1963 = 0; _i1963 < _map1960.size; ++_i1963) { - _key1961 = iprot.readString(); - _val1962 = new com.cinchapi.concourse.thrift.TObject(); - _val1962.read(iprot); - _val1958.put(_key1961, _val1962); - } - } - struct.success.put(_key1957, _val1958); + struct.success = new LinkedHashMap( + 2 * _map3388.size); + long _key3389; + com.cinchapi.concourse.thrift.TObject _val3390; + for (int _i3391 = 0; _i3391 < _map3388.size; ++_i3391) { + _key3389 = iprot.readI64(); + _val3390 = new com.cinchapi.concourse.thrift.TObject(); + _val3390.read(iprot); + struct.success.put(_key3389, _val3390); } } struct.setSuccessIsSet(true); @@ -281384,46 +420447,57 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class getKeyRecords_args implements - org.apache.thrift.TBase, + public static class getKeyCclTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecords_args"); + "getKeyCclTimeOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecords_argsStandardSchemeFactory()); + new getKeyCclTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecords_argsTupleSchemeFactory()); + new getKeyCclTimeOrder_argsTupleSchemeFactory()); } public String key; // required - public List records; // required + public String ccl; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -281434,10 +420508,12 @@ public static class getKeyRecords_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - RECORDS((short) 2, "records"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -281455,13 +420531,17 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // RECORDS - return RECORDS; - case 3: // CREDS + case 2: // CCL + return CCL; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -281507,6 +420587,8 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -281516,13 +420598,22 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -281542,18 +420633,22 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecords_args.class, metaDataMap); + getKeyCclTimeOrder_args.class, metaDataMap); } - public getKeyRecords_args() {} + public getKeyCclTimeOrder_args() {} - public getKeyRecords_args(String key, List records, + public getKeyCclTimeOrder_args(String key, String ccl, long timestamp, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.records = records; + this.ccl = ccl; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -281562,13 +420657,18 @@ public getKeyRecords_args(String key, List records, /** * Performs a deep copy on other. */ - public getKeyRecords_args(getKeyRecords_args other) { + public getKeyCclTimeOrder_args(getKeyCclTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -281583,14 +420683,17 @@ public getKeyRecords_args(getKeyRecords_args other) { } } - public getKeyRecords_args deepCopy() { - return new getKeyRecords_args(this); + public getKeyCclTimeOrder_args deepCopy() { + return new getKeyCclTimeOrder_args(this); } @Override public void clear() { this.key = null; - this.records = null; + this.ccl = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -281600,7 +420703,7 @@ public String getKey() { return this.key; } - public getKeyRecords_args setKey(String key) { + public getKeyCclTimeOrder_args setKey(String key) { this.key = key; return this; } @@ -281623,45 +420726,87 @@ public void setKeyIsSet(boolean value) { } } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); + public String getCcl() { + return this.ccl; } - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); + public getKeyCclTimeOrder_args setCcl(String ccl) { + this.ccl = ccl; + return this; } - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; } - this.records.add(elem); } - public List getRecords() { - return this.records; + public long getTimestamp() { + return this.timestamp; } - public getKeyRecords_args setRecords(List records) { - this.records = records; + public getKeyCclTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetRecords() { - this.records = null; + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeyCclTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetOrder() { + return this.order != null; } - public void setRecordsIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.records = null; + this.order = null; } } @@ -281669,7 +420814,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyRecords_args setCreds( + public getKeyCclTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -281697,7 +420842,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyRecords_args setTransaction( + public getKeyCclTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -281725,7 +420870,7 @@ public String getEnvironment() { return this.environment; } - public getKeyRecords_args setEnvironment(String environment) { + public getKeyCclTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -281759,12 +420904,30 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORDS: + case CCL: if(value == null) { - unsetRecords(); + unsetCcl(); } else { - setRecords((List) value); + setCcl((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -281804,8 +420967,14 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case RECORDS: - return getRecords(); + case CCL: + return getCcl(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -281832,8 +421001,12 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case RECORDS: - return isSetRecords(); + case CCL: + return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -281848,12 +421021,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecords_args) - return this.equals((getKeyRecords_args) that); + if(that instanceof getKeyCclTimeOrder_args) + return this.equals((getKeyCclTimeOrder_args) that); return false; } - public boolean equals(getKeyRecords_args that) { + public boolean equals(getKeyCclTimeOrder_args that) { if(that == null) return false; @@ -281866,12 +421039,30 @@ public boolean equals(getKeyRecords_args that) { return false; } - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.records.equals(that.records)) + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -281914,10 +421105,20 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -281938,7 +421139,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyRecords_args other) { + public int compareTo(getKeyCclTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -281958,14 +421159,38 @@ public int compareTo(getKeyRecords_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -282025,7 +421250,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecords_args("); + StringBuilder sb = new StringBuilder("getKeyCclTimeOrder_args("); boolean first = true; sb.append("key:"); @@ -282038,12 +421263,27 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("records:"); - if(this.records == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.ccl); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -282083,6 +421323,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -282106,6 +421349,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -282115,18 +421362,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecords_argsStandardSchemeFactory + private static class getKeyCclTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public getKeyRecords_argsStandardScheme getScheme() { - return new getKeyRecords_argsStandardScheme(); + public getKeyCclTimeOrder_argsStandardScheme getScheme() { + return new getKeyCclTimeOrder_argsStandardScheme(); } } - private static class getKeyRecords_argsStandardScheme - extends StandardScheme { + private static class getKeyCclTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecords_args struct) + getKeyCclTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -282146,28 +421393,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1964 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list1964.size); - long _elem1965; - for (int _i1966 = 0; _i1966 < _list1964.size; ++_i1966) { - _elem1965 = iprot.readI64(); - struct.records.add(_elem1965); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -282178,7 +421435,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -282189,7 +421446,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -282213,7 +421470,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecords_args struct) + getKeyCclTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -282223,18 +421480,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter1967 : struct.records) { - oprot.writeI64(_iter1967); - } - oprot.writeListEnd(); - } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -282258,48 +421514,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyRecords_argsTupleSchemeFactory + private static class getKeyCclTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public getKeyRecords_argsTupleScheme getScheme() { - return new getKeyRecords_argsTupleScheme(); + public getKeyCclTimeOrder_argsTupleScheme getScheme() { + return new getKeyCclTimeOrder_argsTupleScheme(); } } - private static class getKeyRecords_argsTupleScheme - extends TupleScheme { + private static class getKeyCclTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecords_args struct) + getKeyCclTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecords()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter1968 : struct.records) { - oprot.writeI64(_iter1968); - } - } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -282314,39 +421577,38 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecords_args struct) + getKeyCclTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list1969 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list1969.size); - long _elem1970; - for (int _i1971 = 0; _i1971 < _list1969.size; ++_i1971) { - _elem1970 = iprot.readI64(); - struct.records.add(_elem1970); - } - } - struct.setRecordsIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -282355,13 +421617,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyRecords_result implements - org.apache.thrift.TBase, + public static class getKeyCclTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecords_result"); + "getKeyCclTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -282371,19 +421633,22 @@ public static class getKeyRecords_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecords_resultStandardSchemeFactory()); + new getKeyCclTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecords_resultTupleSchemeFactory()); + new getKeyCclTimeOrder_resultTupleSchemeFactory()); } public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -282393,7 +421658,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -282417,6 +421683,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -282490,29 +421758,36 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecords_result.class, metaDataMap); + getKeyCclTimeOrder_result.class, metaDataMap); } - public getKeyRecords_result() {} + public getKeyCclTimeOrder_result() {} - public getKeyRecords_result( + public getKeyCclTimeOrder_result( Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeyRecords_result(getKeyRecords_result other) { + public getKeyCclTimeOrder_result(getKeyCclTimeOrder_result other) { if(other.isSetSuccess()) { Map __this__success = new LinkedHashMap( other.success.size()); @@ -282542,13 +421817,17 @@ public getKeyRecords_result(getKeyRecords_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public getKeyRecords_result deepCopy() { - return new getKeyRecords_result(this); + public getKeyCclTimeOrder_result deepCopy() { + return new getKeyCclTimeOrder_result(this); } @Override @@ -282557,6 +421836,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -282575,7 +421855,7 @@ public Map getSuccess() { return this.success; } - public getKeyRecords_result setSuccess( + public getKeyCclTimeOrder_result setSuccess( Map success) { this.success = success; return this; @@ -282603,7 +421883,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyRecords_result setEx( + public getKeyCclTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -282631,7 +421911,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyRecords_result setEx2( + public getKeyCclTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -282655,12 +421935,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeyRecords_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeyCclTimeOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -282683,6 +421963,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeyCclTimeOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -282718,7 +422026,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -282739,6 +422056,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -282761,6 +422081,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -282769,12 +422091,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecords_result) - return this.equals((getKeyRecords_result) that); + if(that instanceof getKeyCclTimeOrder_result) + return this.equals((getKeyCclTimeOrder_result) that); return false; } - public boolean equals(getKeyRecords_result that) { + public boolean equals(getKeyCclTimeOrder_result that) { if(that == null) return false; @@ -282814,6 +422136,15 @@ public boolean equals(getKeyRecords_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -282841,11 +422172,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(getKeyRecords_result other) { + public int compareTo(getKeyCclTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -282901,6 +422237,18 @@ public int compareTo(getKeyRecords_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -282920,7 +422268,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecords_result("); + StringBuilder sb = new StringBuilder("getKeyCclTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -282961,6 +422309,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -282994,18 +422352,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecords_resultStandardSchemeFactory + private static class getKeyCclTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public getKeyRecords_resultStandardScheme getScheme() { - return new getKeyRecords_resultStandardScheme(); + public getKeyCclTimeOrder_resultStandardScheme getScheme() { + return new getKeyCclTimeOrder_resultStandardScheme(); } } - private static class getKeyRecords_resultStandardScheme - extends StandardScheme { + private static class getKeyCclTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecords_result struct) + getKeyCclTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -283018,17 +422376,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1972 = iprot + org.apache.thrift.protocol.TMap _map3392 = iprot .readMapBegin(); struct.success = new LinkedHashMap( - 2 * _map1972.size); - long _key1973; - com.cinchapi.concourse.thrift.TObject _val1974; - for (int _i1975 = 0; _i1975 < _map1972.size; ++_i1975) { - _key1973 = iprot.readI64(); - _val1974 = new com.cinchapi.concourse.thrift.TObject(); - _val1974.read(iprot); - struct.success.put(_key1973, _val1974); + 2 * _map3392.size); + long _key3393; + com.cinchapi.concourse.thrift.TObject _val3394; + for (int _i3395 = 0; _i3395 < _map3392.size; ++_i3395) { + _key3393 = iprot.readI64(); + _val3394 = new com.cinchapi.concourse.thrift.TObject(); + _val3394.read(iprot); + struct.success.put(_key3393, _val3394); } iprot.readMapEnd(); } @@ -283063,7 +422421,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -283072,6 +422430,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -283086,7 +422455,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecords_result struct) + getKeyCclTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -283098,10 +422467,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter1976 : struct.success + for (Map.Entry _iter3396 : struct.success .entrySet()) { - oprot.writeI64(_iter1976.getKey()); - _iter1976.getValue().write(oprot); + oprot.writeI64(_iter3396.getKey()); + _iter3396.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -283122,25 +422491,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeyRecords_resultTupleSchemeFactory + private static class getKeyCclTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public getKeyRecords_resultTupleScheme getScheme() { - return new getKeyRecords_resultTupleScheme(); + public getKeyCclTimeOrder_resultTupleScheme getScheme() { + return new getKeyCclTimeOrder_resultTupleScheme(); } } - private static class getKeyRecords_resultTupleScheme - extends TupleScheme { + private static class getKeyCclTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecords_result struct) + getKeyCclTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -283156,14 +422530,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1977 : struct.success + for (Map.Entry _iter3397 : struct.success .entrySet()) { - oprot.writeI64(_iter1977.getKey()); - _iter1977.getValue().write(oprot); + oprot.writeI64(_iter3397.getKey()); + _iter3397.getValue().write(oprot); } } } @@ -283176,29 +422553,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecords_result struct) + getKeyCclTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1978 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3398 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.success = new LinkedHashMap( - 2 * _map1978.size); - long _key1979; - com.cinchapi.concourse.thrift.TObject _val1980; - for (int _i1981 = 0; _i1981 < _map1978.size; ++_i1981) { - _key1979 = iprot.readI64(); - _val1980 = new com.cinchapi.concourse.thrift.TObject(); - _val1980.read(iprot); - struct.success.put(_key1979, _val1980); + 2 * _map3398.size); + long _key3399; + com.cinchapi.concourse.thrift.TObject _val3400; + for (int _i3401 = 0; _i3401 < _map3398.size; ++_i3401) { + _key3399 = iprot.readI64(); + _val3400 = new com.cinchapi.concourse.thrift.TObject(); + _val3400.read(iprot); + struct.success.put(_key3399, _val3400); } } struct.setSuccessIsSet(true); @@ -283214,29 +422594,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class getKeyRecordsTime_args implements - org.apache.thrift.TBase, + public static class getKeyCclTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecordsTime_args"); + "getKeyCclTimestr_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -283249,14 +422635,14 @@ public static class getKeyRecordsTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecordsTime_argsStandardSchemeFactory()); + new getKeyCclTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecordsTime_argsTupleSchemeFactory()); + new getKeyCclTimestr_argsTupleSchemeFactory()); } public String key; // required - public List records; // required - public long timestamp; // required + public String ccl; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -283267,7 +422653,7 @@ public static class getKeyRecordsTime_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - RECORDS((short) 2, "records"), + CCL((short) 2, "ccl"), TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), @@ -283289,8 +422675,8 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // RECORDS - return RECORDS; + case 2: // CCL + return CCL; case 3: // TIMESTAMP return TIMESTAMP; case 4: // CREDS @@ -283343,8 +422729,6 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -283354,18 +422738,16 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -283385,20 +422767,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecordsTime_args.class, metaDataMap); + getKeyCclTimestr_args.class, metaDataMap); } - public getKeyRecordsTime_args() {} + public getKeyCclTimestr_args() {} - public getKeyRecordsTime_args(String key, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public getKeyCclTimestr_args(String key, String ccl, String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.records = records; + this.ccl = ccl; this.timestamp = timestamp; - setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -283407,16 +422788,16 @@ public getKeyRecordsTime_args(String key, List records, /** * Performs a deep copy on other. */ - public getKeyRecordsTime_args(getKeyRecordsTime_args other) { - __isset_bitfield = other.__isset_bitfield; + public getKeyCclTimestr_args(getKeyCclTimestr_args other) { if(other.isSetKey()) { this.key = other.key; } - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -283430,16 +422811,15 @@ public getKeyRecordsTime_args(getKeyRecordsTime_args other) { } } - public getKeyRecordsTime_args deepCopy() { - return new getKeyRecordsTime_args(this); + public getKeyCclTimestr_args deepCopy() { + return new getKeyCclTimestr_args(this); } @Override public void clear() { this.key = null; - this.records = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.ccl = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; @@ -283449,7 +422829,7 @@ public String getKey() { return this.key; } - public getKeyRecordsTime_args setKey(String key) { + public getKeyCclTimestr_args setKey(String key) { this.key = key; return this; } @@ -283472,61 +422852,44 @@ public void setKeyIsSet(boolean value) { } } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); - } - - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); - } - - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); - } - this.records.add(elem); - } - - public List getRecords() { - return this.records; + public String getCcl() { + return this.ccl; } - public getKeyRecordsTime_args setRecords(List records) { - this.records = records; + public getKeyCclTimestr_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetRecords() { - this.records = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setRecordsIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.records = null; + this.ccl = null; } } - public long getTimestamp() { + public String getTimestamp() { return this.timestamp; } - public getKeyRecordsTime_args setTimestamp(long timestamp) { + public getKeyCclTimestr_args setTimestamp(String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -283534,20 +422897,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyRecordsTime_args setCreds( + public getKeyCclTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -283575,7 +422938,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyRecordsTime_args setTransaction( + public getKeyCclTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -283603,7 +422966,7 @@ public String getEnvironment() { return this.environment; } - public getKeyRecordsTime_args setEnvironment(String environment) { + public getKeyCclTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -283637,12 +423000,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORDS: + case CCL: if(value == null) { - unsetRecords(); + unsetCcl(); } else { - setRecords((List) value); + setCcl((String) value); } break; @@ -283651,7 +423014,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); } break; @@ -283691,8 +423054,8 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case RECORDS: - return getRecords(); + case CCL: + return getCcl(); case TIMESTAMP: return getTimestamp(); @@ -283722,8 +423085,8 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case RECORDS: - return isSetRecords(); + case CCL: + return isSetCcl(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -283740,12 +423103,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecordsTime_args) - return this.equals((getKeyRecordsTime_args) that); + if(that instanceof getKeyCclTimestr_args) + return this.equals((getKeyCclTimestr_args) that); return false; } - public boolean equals(getKeyRecordsTime_args that) { + public boolean equals(getKeyCclTimestr_args that) { if(that == null) return false; @@ -283758,21 +423121,21 @@ public boolean equals(getKeyRecordsTime_args that) { return false; } - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.records.equals(that.records)) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -283815,12 +423178,12 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_timestamp = true; + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -283844,7 +423207,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyRecordsTime_args other) { + public int compareTo(getKeyCclTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -283864,14 +423227,14 @@ public int compareTo(getKeyRecordsTime_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -283943,7 +423306,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecordsTime_args("); + StringBuilder sb = new StringBuilder("getKeyCclTimestr_args("); boolean first = true; sb.append("key:"); @@ -283956,18 +423319,23 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("records:"); - if(this.records == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.ccl); } first = false; if(!first) sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -284029,10 +423397,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -284042,18 +423406,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecordsTime_argsStandardSchemeFactory + private static class getKeyCclTimestr_argsStandardSchemeFactory implements SchemeFactory { - public getKeyRecordsTime_argsStandardScheme getScheme() { - return new getKeyRecordsTime_argsStandardScheme(); + public getKeyCclTimestr_argsStandardScheme getScheme() { + return new getKeyCclTimestr_argsStandardScheme(); } } - private static class getKeyRecordsTime_argsStandardScheme - extends StandardScheme { + private static class getKeyCclTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecordsTime_args struct) + getKeyCclTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -284073,21 +423437,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1982 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list1982.size); - long _elem1983; - for (int _i1984 = 0; _i1984 < _list1982.size; ++_i1984) { - _elem1983 = iprot.readI64(); - struct.records.add(_elem1983); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -284095,8 +423448,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -284150,7 +423503,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecordsTime_args struct) + getKeyCclTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -284160,23 +423513,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter1985 : struct.records) { - oprot.writeI64(_iter1985); - } - oprot.writeListEnd(); - } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -284198,26 +423544,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyRecordsTime_argsTupleSchemeFactory + private static class getKeyCclTimestr_argsTupleSchemeFactory implements SchemeFactory { - public getKeyRecordsTime_argsTupleScheme getScheme() { - return new getKeyRecordsTime_argsTupleScheme(); + public getKeyCclTimestr_argsTupleScheme getScheme() { + return new getKeyCclTimestr_argsTupleScheme(); } } - private static class getKeyRecordsTime_argsTupleScheme - extends TupleScheme { + private static class getKeyCclTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordsTime_args struct) + getKeyCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecords()) { + if(struct.isSetCcl()) { optionals.set(1); } if(struct.isSetTimestamp()) { @@ -284236,16 +423582,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter1986 : struct.records) { - oprot.writeI64(_iter1986); - } - } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -284260,7 +423601,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordsTime_args struct) + getKeyCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); @@ -284269,21 +423610,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list1987 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list1987.size); - long _elem1988; - for (int _i1989 = 0; _i1989 < _list1987.size; ++_i1989) { - _elem1988 = iprot.readI64(); - struct.records.add(_elem1988); - } - } - struct.setRecordsIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } if(incoming.get(3)) { @@ -284305,13 +423636,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyRecordsTime_result implements - org.apache.thrift.TBase, + public static class getKeyCclTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecordsTime_result"); + "getKeyCclTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -284321,19 +423652,22 @@ public static class getKeyRecordsTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecordsTime_resultStandardSchemeFactory()); + new getKeyCclTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecordsTime_resultTupleSchemeFactory()); + new getKeyCclTimestr_resultTupleSchemeFactory()); } public Map success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -284343,7 +423677,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -284367,6 +423702,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -284440,29 +423777,36 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecordsTime_result.class, metaDataMap); + getKeyCclTimestr_result.class, metaDataMap); } - public getKeyRecordsTime_result() {} + public getKeyCclTimestr_result() {} - public getKeyRecordsTime_result( + public getKeyCclTimestr_result( Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeyRecordsTime_result(getKeyRecordsTime_result other) { + public getKeyCclTimestr_result(getKeyCclTimestr_result other) { if(other.isSetSuccess()) { Map __this__success = new LinkedHashMap( other.success.size()); @@ -284492,13 +423836,17 @@ public getKeyRecordsTime_result(getKeyRecordsTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public getKeyRecordsTime_result deepCopy() { - return new getKeyRecordsTime_result(this); + public getKeyCclTimestr_result deepCopy() { + return new getKeyCclTimestr_result(this); } @Override @@ -284507,6 +423855,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -284525,7 +423874,7 @@ public Map getSuccess() { return this.success; } - public getKeyRecordsTime_result setSuccess( + public getKeyCclTimestr_result setSuccess( Map success) { this.success = success; return this; @@ -284553,7 +423902,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyRecordsTime_result setEx( + public getKeyCclTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -284581,7 +423930,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyRecordsTime_result setEx2( + public getKeyCclTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -284605,12 +423954,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeyRecordsTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeyCclTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -284633,6 +423982,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeyCclTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -284668,7 +424045,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -284689,6 +424075,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -284711,6 +424100,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -284719,12 +424110,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecordsTime_result) - return this.equals((getKeyRecordsTime_result) that); + if(that instanceof getKeyCclTimestr_result) + return this.equals((getKeyCclTimestr_result) that); return false; } - public boolean equals(getKeyRecordsTime_result that) { + public boolean equals(getKeyCclTimestr_result that) { if(that == null) return false; @@ -284764,6 +424155,15 @@ public boolean equals(getKeyRecordsTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -284791,11 +424191,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(getKeyRecordsTime_result other) { + public int compareTo(getKeyCclTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -284851,6 +424256,18 @@ public int compareTo(getKeyRecordsTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -284870,7 +424287,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecordsTime_result("); + StringBuilder sb = new StringBuilder("getKeyCclTimestr_result("); boolean first = true; sb.append("success:"); @@ -284911,6 +424328,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -284944,18 +424371,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecordsTime_resultStandardSchemeFactory + private static class getKeyCclTimestr_resultStandardSchemeFactory implements SchemeFactory { - public getKeyRecordsTime_resultStandardScheme getScheme() { - return new getKeyRecordsTime_resultStandardScheme(); + public getKeyCclTimestr_resultStandardScheme getScheme() { + return new getKeyCclTimestr_resultStandardScheme(); } } - private static class getKeyRecordsTime_resultStandardScheme - extends StandardScheme { + private static class getKeyCclTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecordsTime_result struct) + getKeyCclTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -284968,17 +424395,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1990 = iprot + org.apache.thrift.protocol.TMap _map3402 = iprot .readMapBegin(); struct.success = new LinkedHashMap( - 2 * _map1990.size); - long _key1991; - com.cinchapi.concourse.thrift.TObject _val1992; - for (int _i1993 = 0; _i1993 < _map1990.size; ++_i1993) { - _key1991 = iprot.readI64(); - _val1992 = new com.cinchapi.concourse.thrift.TObject(); - _val1992.read(iprot); - struct.success.put(_key1991, _val1992); + 2 * _map3402.size); + long _key3403; + com.cinchapi.concourse.thrift.TObject _val3404; + for (int _i3405 = 0; _i3405 < _map3402.size; ++_i3405) { + _key3403 = iprot.readI64(); + _val3404 = new com.cinchapi.concourse.thrift.TObject(); + _val3404.read(iprot); + struct.success.put(_key3403, _val3404); } iprot.readMapEnd(); } @@ -285013,7 +424440,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -285022,6 +424449,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -285036,7 +424474,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecordsTime_result struct) + getKeyCclTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -285048,10 +424486,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter1994 : struct.success + for (Map.Entry _iter3406 : struct.success .entrySet()) { - oprot.writeI64(_iter1994.getKey()); - _iter1994.getValue().write(oprot); + oprot.writeI64(_iter3406.getKey()); + _iter3406.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -285072,25 +424510,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeyRecordsTime_resultTupleSchemeFactory + private static class getKeyCclTimestr_resultTupleSchemeFactory implements SchemeFactory { - public getKeyRecordsTime_resultTupleScheme getScheme() { - return new getKeyRecordsTime_resultTupleScheme(); + public getKeyCclTimestr_resultTupleScheme getScheme() { + return new getKeyCclTimestr_resultTupleScheme(); } } - private static class getKeyRecordsTime_resultTupleScheme - extends TupleScheme { + private static class getKeyCclTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordsTime_result struct) + getKeyCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -285106,14 +424549,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1995 : struct.success + for (Map.Entry _iter3407 : struct.success .entrySet()) { - oprot.writeI64(_iter1995.getKey()); - _iter1995.getValue().write(oprot); + oprot.writeI64(_iter3407.getKey()); + _iter3407.getValue().write(oprot); } } } @@ -285126,29 +424572,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordsTime_result struct) + getKeyCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1996 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3408 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.success = new LinkedHashMap( - 2 * _map1996.size); - long _key1997; - com.cinchapi.concourse.thrift.TObject _val1998; - for (int _i1999 = 0; _i1999 < _map1996.size; ++_i1999) { - _key1997 = iprot.readI64(); - _val1998 = new com.cinchapi.concourse.thrift.TObject(); - _val1998.read(iprot); - struct.success.put(_key1997, _val1998); + 2 * _map3408.size); + long _key3409; + com.cinchapi.concourse.thrift.TObject _val3410; + for (int _i3411 = 0; _i3411 < _map3408.size; ++_i3411) { + _key3409 = iprot.readI64(); + _val3410 = new com.cinchapi.concourse.thrift.TObject(); + _val3410.read(iprot); + struct.success.put(_key3409, _val3410); } } struct.setSuccessIsSet(true); @@ -285164,50 +424613,58 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class getKeyRecordsTimestr_args implements - org.apache.thrift.TBase, + public static class getKeyCclTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecordsTimestr_args"); + "getKeyCclTimestrOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 2); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecordsTimestr_argsStandardSchemeFactory()); + new getKeyCclTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecordsTimestr_argsTupleSchemeFactory()); + new getKeyCclTimestrOrder_argsTupleSchemeFactory()); } public String key; // required - public List records; // required + public String ccl; // required public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -285218,11 +424675,12 @@ public static class getKeyRecordsTimestr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - RECORDS((short) 2, "records"), + CCL((short) 2, "ccl"), TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -285240,15 +424698,17 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // RECORDS - return RECORDS; + case 2: // CCL + return CCL; case 3: // TIMESTAMP return TIMESTAMP; - case 4: // CREDS + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 5: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -285303,18 +424763,22 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -285334,20 +424798,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecordsTimestr_args.class, metaDataMap); + getKeyCclTimestrOrder_args.class, metaDataMap); } - public getKeyRecordsTimestr_args() {} + public getKeyCclTimestrOrder_args() {} - public getKeyRecordsTimestr_args(String key, List records, - String timestamp, + public getKeyCclTimestrOrder_args(String key, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.records = records; + this.ccl = ccl; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -285356,17 +424821,20 @@ public getKeyRecordsTimestr_args(String key, List records, /** * Performs a deep copy on other. */ - public getKeyRecordsTimestr_args(getKeyRecordsTimestr_args other) { + public getKeyCclTimestrOrder_args(getKeyCclTimestrOrder_args other) { if(other.isSetKey()) { this.key = other.key; } - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetCcl()) { + this.ccl = other.ccl; } if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -285380,15 +424848,16 @@ public getKeyRecordsTimestr_args(getKeyRecordsTimestr_args other) { } } - public getKeyRecordsTimestr_args deepCopy() { - return new getKeyRecordsTimestr_args(this); + public getKeyCclTimestrOrder_args deepCopy() { + return new getKeyCclTimestrOrder_args(this); } @Override public void clear() { this.key = null; - this.records = null; + this.ccl = null; this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -285398,7 +424867,7 @@ public String getKey() { return this.key; } - public getKeyRecordsTimestr_args setKey(String key) { + public getKeyCclTimestrOrder_args setKey(String key) { this.key = key; return this; } @@ -285421,45 +424890,30 @@ public void setKeyIsSet(boolean value) { } } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); - } - - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); - } - - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); - } - this.records.add(elem); - } - - public List getRecords() { - return this.records; + public String getCcl() { + return this.ccl; } - public getKeyRecordsTimestr_args setRecords(List records) { - this.records = records; + public getKeyCclTimestrOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetRecords() { - this.records = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setRecordsIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.records = null; + this.ccl = null; } } @@ -285467,7 +424921,7 @@ public String getTimestamp() { return this.timestamp; } - public getKeyRecordsTimestr_args setTimestamp(String timestamp) { + public getKeyCclTimestrOrder_args setTimestamp(String timestamp) { this.timestamp = timestamp; return this; } @@ -285490,11 +424944,39 @@ public void setTimestampIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeyCclTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyRecordsTimestr_args setCreds( + public getKeyCclTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -285522,7 +425004,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyRecordsTimestr_args setTransaction( + public getKeyCclTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -285550,7 +425032,7 @@ public String getEnvironment() { return this.environment; } - public getKeyRecordsTimestr_args setEnvironment(String environment) { + public getKeyCclTimestrOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -285584,12 +425066,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORDS: + case CCL: if(value == null) { - unsetRecords(); + unsetCcl(); } else { - setRecords((List) value); + setCcl((String) value); } break; @@ -285602,6 +425084,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -285638,12 +425129,15 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case RECORDS: - return getRecords(); + case CCL: + return getCcl(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -285669,10 +425163,12 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case RECORDS: - return isSetRecords(); + case CCL: + return isSetCcl(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -285687,12 +425183,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecordsTimestr_args) - return this.equals((getKeyRecordsTimestr_args) that); + if(that instanceof getKeyCclTimestrOrder_args) + return this.equals((getKeyCclTimestrOrder_args) that); return false; } - public boolean equals(getKeyRecordsTimestr_args that) { + public boolean equals(getKeyCclTimestrOrder_args that) { if(that == null) return false; @@ -285705,12 +425201,12 @@ public boolean equals(getKeyRecordsTimestr_args that) { return false; } - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.records.equals(that.records)) + if(!this.ccl.equals(that.ccl)) return false; } @@ -285723,6 +425219,15 @@ public boolean equals(getKeyRecordsTimestr_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -285762,16 +425267,21 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -285791,7 +425301,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyRecordsTimestr_args other) { + public int compareTo(getKeyCclTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -285811,14 +425321,14 @@ public int compareTo(getKeyRecordsTimestr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -285835,6 +425345,18 @@ public int compareTo(getKeyRecordsTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -285890,7 +425412,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyRecordsTimestr_args("); + StringBuilder sb = new StringBuilder("getKeyCclTimestrOrder_args("); boolean first = true; sb.append("key:"); @@ -285903,12 +425425,12 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("records:"); - if(this.records == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.ccl); } first = false; if(!first) @@ -285921,6 +425443,16 @@ public String toString() { sb.append(this.timestamp); } first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -285958,6 +425490,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -285990,18 +425525,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecordsTimestr_argsStandardSchemeFactory + private static class getKeyCclTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public getKeyRecordsTimestr_argsStandardScheme getScheme() { - return new getKeyRecordsTimestr_argsStandardScheme(); + public getKeyCclTimestrOrder_argsStandardScheme getScheme() { + return new getKeyCclTimestrOrder_argsStandardScheme(); } } - private static class getKeyRecordsTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeyCclTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecordsTimestr_args struct) + getKeyCclTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -286021,21 +425556,10 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list2000 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list2000.size); - long _elem2001; - for (int _i2002 = 0; _i2002 < _list2000.size; ++_i2002) { - _elem2001 = iprot.readI64(); - struct.records.add(_elem2001); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -286052,7 +425576,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -286063,7 +425598,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -286074,7 +425609,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -286098,7 +425633,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecordsTimestr_args struct) + getKeyCclTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -286108,18 +425643,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter2003 : struct.records) { - oprot.writeI64(_iter2003); - } - oprot.writeListEnd(); - } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } if(struct.timestamp != null) { @@ -286127,6 +425653,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -286148,55 +425679,56 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyRecordsTimestr_argsTupleSchemeFactory + private static class getKeyCclTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public getKeyRecordsTimestr_argsTupleScheme getScheme() { - return new getKeyRecordsTimestr_argsTupleScheme(); + public getKeyCclTimestrOrder_argsTupleScheme getScheme() { + return new getKeyCclTimestrOrder_argsTupleScheme(); } } - private static class getKeyRecordsTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeyCclTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordsTimestr_args struct) + getKeyCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetRecords()) { + if(struct.isSetCcl()) { optionals.set(1); } if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter2004 : struct.records) { - oprot.writeI64(_iter2004); - } - } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -286210,43 +425742,38 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordsTimestr_args struct) + getKeyCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list2005 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list2005.size); - long _elem2006; - for (int _i2007 = 0; _i2007 < _list2005.size; ++_i2007) { - _elem2006 = iprot.readI64(); - struct.records.add(_elem2006); - } - } - struct.setRecordsIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -286255,13 +425782,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyRecordsTimestr_result implements - org.apache.thrift.TBase, + public static class getKeyCclTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyRecordsTimestr_result"); + "getKeyCclTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -286277,9 +425804,9 @@ public static class getKeyRecordsTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyRecordsTimestr_resultStandardSchemeFactory()); + new getKeyCclTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyRecordsTimestr_resultTupleSchemeFactory()); + new getKeyCclTimestrOrder_resultTupleSchemeFactory()); } public Map success; // required @@ -286403,12 +425930,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyRecordsTimestr_result.class, metaDataMap); + getKeyCclTimestrOrder_result.class, metaDataMap); } - public getKeyRecordsTimestr_result() {} + public getKeyCclTimestrOrder_result() {} - public getKeyRecordsTimestr_result( + public getKeyCclTimestrOrder_result( Map success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, @@ -286425,7 +425952,8 @@ public getKeyRecordsTimestr_result( /** * Performs a deep copy on other. */ - public getKeyRecordsTimestr_result(getKeyRecordsTimestr_result other) { + public getKeyCclTimestrOrder_result( + getKeyCclTimestrOrder_result other) { if(other.isSetSuccess()) { Map __this__success = new LinkedHashMap( other.success.size()); @@ -286464,8 +425992,8 @@ public getKeyRecordsTimestr_result(getKeyRecordsTimestr_result other) { } } - public getKeyRecordsTimestr_result deepCopy() { - return new getKeyRecordsTimestr_result(this); + public getKeyCclTimestrOrder_result deepCopy() { + return new getKeyCclTimestrOrder_result(this); } @Override @@ -286493,7 +426021,7 @@ public Map getSuccess() { return this.success; } - public getKeyRecordsTimestr_result setSuccess( + public getKeyCclTimestrOrder_result setSuccess( Map success) { this.success = success; return this; @@ -286521,7 +426049,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyRecordsTimestr_result setEx( + public getKeyCclTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -286549,7 +426077,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyRecordsTimestr_result setEx2( + public getKeyCclTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -286577,7 +426105,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeyRecordsTimestr_result setEx3( + public getKeyCclTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -286605,7 +426133,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public getKeyRecordsTimestr_result setEx4( + public getKeyCclTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -286729,12 +426257,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyRecordsTimestr_result) - return this.equals((getKeyRecordsTimestr_result) that); + if(that instanceof getKeyCclTimestrOrder_result) + return this.equals((getKeyCclTimestrOrder_result) that); return false; } - public boolean equals(getKeyRecordsTimestr_result that) { + public boolean equals(getKeyCclTimestrOrder_result that) { if(that == null) return false; @@ -286819,7 +426347,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyRecordsTimestr_result other) { + public int compareTo(getKeyCclTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -286907,7 +426435,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "getKeyRecordsTimestr_result("); + "getKeyCclTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -286991,18 +426519,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyRecordsTimestr_resultStandardSchemeFactory + private static class getKeyCclTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public getKeyRecordsTimestr_resultStandardScheme getScheme() { - return new getKeyRecordsTimestr_resultStandardScheme(); + public getKeyCclTimestrOrder_resultStandardScheme getScheme() { + return new getKeyCclTimestrOrder_resultStandardScheme(); } } - private static class getKeyRecordsTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeyCclTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyRecordsTimestr_result struct) + getKeyCclTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -287015,17 +426543,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2008 = iprot + org.apache.thrift.protocol.TMap _map3412 = iprot .readMapBegin(); struct.success = new LinkedHashMap( - 2 * _map2008.size); - long _key2009; - com.cinchapi.concourse.thrift.TObject _val2010; - for (int _i2011 = 0; _i2011 < _map2008.size; ++_i2011) { - _key2009 = iprot.readI64(); - _val2010 = new com.cinchapi.concourse.thrift.TObject(); - _val2010.read(iprot); - struct.success.put(_key2009, _val2010); + 2 * _map3412.size); + long _key3413; + com.cinchapi.concourse.thrift.TObject _val3414; + for (int _i3415 = 0; _i3415 < _map3412.size; ++_i3415) { + _key3413 = iprot.readI64(); + _val3414 = new com.cinchapi.concourse.thrift.TObject(); + _val3414.read(iprot); + struct.success.put(_key3413, _val3414); } iprot.readMapEnd(); } @@ -287094,7 +426622,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyRecordsTimestr_result struct) + getKeyCclTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -287106,10 +426634,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter2012 : struct.success + for (Map.Entry _iter3416 : struct.success .entrySet()) { - oprot.writeI64(_iter2012.getKey()); - _iter2012.getValue().write(oprot); + oprot.writeI64(_iter3416.getKey()); + _iter3416.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -287141,19 +426669,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyRecordsTimestr_resultTupleSchemeFactory + private static class getKeyCclTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public getKeyRecordsTimestr_resultTupleScheme getScheme() { - return new getKeyRecordsTimestr_resultTupleScheme(); + public getKeyCclTimestrOrder_resultTupleScheme getScheme() { + return new getKeyCclTimestrOrder_resultTupleScheme(); } } - private static class getKeyRecordsTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeyCclTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordsTimestr_result struct) + getKeyCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -287176,10 +426704,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter2013 : struct.success + for (Map.Entry _iter3417 : struct.success .entrySet()) { - oprot.writeI64(_iter2013.getKey()); - _iter2013.getValue().write(oprot); + oprot.writeI64(_iter3417.getKey()); + _iter3417.getValue().write(oprot); } } } @@ -287199,25 +426727,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyRecordsTimestr_result struct) + getKeyCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2014 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3418 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.success = new LinkedHashMap( - 2 * _map2014.size); - long _key2015; - com.cinchapi.concourse.thrift.TObject _val2016; - for (int _i2017 = 0; _i2017 < _map2014.size; ++_i2017) { - _key2015 = iprot.readI64(); - _val2016 = new com.cinchapi.concourse.thrift.TObject(); - _val2016.read(iprot); - struct.success.put(_key2015, _val2016); + 2 * _map3418.size); + long _key3419; + com.cinchapi.concourse.thrift.TObject _val3420; + for (int _i3421 = 0; _i3421 < _map3418.size; ++_i3421) { + _key3419 = iprot.readI64(); + _val3420 = new com.cinchapi.concourse.thrift.TObject(); + _val3420.read(iprot); + struct.success.put(_key3419, _val3420); } } struct.setSuccessIsSet(true); @@ -287247,40 +426775,37 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysRecordsTime_args implements - org.apache.thrift.TBase, + public static class getKeysCriteria_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecordsTime_args"); + "getKeysCriteria_args"); private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecordsTime_argsStandardSchemeFactory()); + new getKeysCriteria_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecordsTime_argsTupleSchemeFactory()); + new getKeysCriteria_argsTupleSchemeFactory()); } public List keys; // required - public List records; // required - public long timestamp; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -287291,11 +426816,10 @@ public static class getKeysRecordsTime_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEYS((short) 1, "keys"), - RECORDS((short) 2, "records"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CRITERIA((short) 2, "criteria"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -287313,15 +426837,13 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEYS return KEYS; - case 2: // RECORDS - return RECORDS; - case 3: // TIMESTAMP - return TIMESTAMP; - case 4: // CREDS + case 2: // CRITERIA + return CRITERIA; + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -287367,8 +426889,6 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -287380,18 +426900,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -287411,20 +426925,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecordsTime_args.class, metaDataMap); + getKeysCriteria_args.class, metaDataMap); } - public getKeysRecordsTime_args() {} + public getKeysCriteria_args() {} - public getKeysRecordsTime_args(List keys, List records, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public getKeysCriteria_args(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.keys = keys; - this.records = records; - this.timestamp = timestamp; - setTimestampIsSet(true); + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -287433,17 +426946,15 @@ public getKeysRecordsTime_args(List keys, List records, /** * Performs a deep copy on other. */ - public getKeysRecordsTime_args(getKeysRecordsTime_args other) { - __isset_bitfield = other.__isset_bitfield; + public getKeysCriteria_args(getKeysCriteria_args other) { if(other.isSetKeys()) { List __this__keys = new ArrayList(other.keys); this.keys = __this__keys; } - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -287457,16 +426968,14 @@ public getKeysRecordsTime_args(getKeysRecordsTime_args other) { } } - public getKeysRecordsTime_args deepCopy() { - return new getKeysRecordsTime_args(this); + public getKeysCriteria_args deepCopy() { + return new getKeysCriteria_args(this); } @Override public void clear() { this.keys = null; - this.records = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.criteria = null; this.creds = null; this.transaction = null; this.environment = null; @@ -287491,7 +427000,7 @@ public List getKeys() { return this.keys; } - public getKeysRecordsTime_args setKeys(List keys) { + public getKeysCriteria_args setKeys(List keys) { this.keys = keys; return this; } @@ -287514,82 +427023,39 @@ public void setKeysIsSet(boolean value) { } } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); - } - - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); - } - - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); - } - this.records.add(elem); - } - - public List getRecords() { - return this.records; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public getKeysRecordsTime_args setRecords(List records) { - this.records = records; + public getKeysCriteria_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecords() { - this.records = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordsIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.records = null; + this.criteria = null; } } - public long getTimestamp() { - return this.timestamp; - } - - public getKeysRecordsTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); - return this; - } - - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); - } - - /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise - */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); - } - - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); - } - public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysRecordsTime_args setCreds( + public getKeysCriteria_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -287617,7 +427083,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysRecordsTime_args setTransaction( + public getKeysCriteria_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -287645,7 +427111,7 @@ public String getEnvironment() { return this.environment; } - public getKeysRecordsTime_args setEnvironment(String environment) { + public getKeysCriteria_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -287679,21 +427145,13 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORDS: - if(value == null) { - unsetRecords(); - } - else { - setRecords((List) value); - } - break; - - case TIMESTAMP: + case CRITERIA: if(value == null) { - unsetTimestamp(); + unsetCriteria(); } else { - setTimestamp((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -287733,11 +427191,8 @@ public Object getFieldValue(_Fields field) { case KEYS: return getKeys(); - case RECORDS: - return getRecords(); - - case TIMESTAMP: - return getTimestamp(); + case CRITERIA: + return getCriteria(); case CREDS: return getCreds(); @@ -287764,10 +427219,8 @@ public boolean isSet(_Fields field) { switch (field) { case KEYS: return isSetKeys(); - case RECORDS: - return isSetRecords(); - case TIMESTAMP: - return isSetTimestamp(); + case CRITERIA: + return isSetCriteria(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -287782,12 +427235,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecordsTime_args) - return this.equals((getKeysRecordsTime_args) that); + if(that instanceof getKeysCriteria_args) + return this.equals((getKeysCriteria_args) that); return false; } - public boolean equals(getKeysRecordsTime_args that) { + public boolean equals(getKeysCriteria_args that) { if(that == null) return false; @@ -287800,21 +427253,12 @@ public boolean equals(getKeysRecordsTime_args that) { return false; } - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) - return false; - if(!this.records.equals(that.records)) - return false; - } - - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.timestamp != that.timestamp) + if(!this.criteria.equals(that.criteria)) return false; } @@ -287857,15 +427301,10 @@ public int hashCode() { if(present_keys) list.add(keys); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); - - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -287886,7 +427325,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysRecordsTime_args other) { + public int compareTo(getKeysCriteria_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -287906,26 +427345,14 @@ public int compareTo(getKeysRecordsTime_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetRecords()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -287985,7 +427412,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysRecordsTime_args("); + StringBuilder sb = new StringBuilder("getKeysCriteria_args("); boolean first = true; sb.append("keys:"); @@ -287998,19 +427425,14 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("records:"); - if(this.records == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.criteria); } first = false; - if(!first) - sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); - first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -288048,6 +427470,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -288071,10 +427496,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -288084,18 +427505,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecordsTime_argsStandardSchemeFactory + private static class getKeysCriteria_argsStandardSchemeFactory implements SchemeFactory { - public getKeysRecordsTime_argsStandardScheme getScheme() { - return new getKeysRecordsTime_argsStandardScheme(); + public getKeysCriteria_argsStandardScheme getScheme() { + return new getKeysCriteria_argsStandardScheme(); } } - private static class getKeysRecordsTime_argsStandardScheme - extends StandardScheme { + private static class getKeysCriteria_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecordsTime_args struct) + getKeysCriteria_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -288108,14 +427529,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2018 = iprot + org.apache.thrift.protocol.TList _list3422 = iprot .readListBegin(); struct.keys = new ArrayList( - _list2018.size); - String _elem2019; - for (int _i2020 = 0; _i2020 < _list2018.size; ++_i2020) { - _elem2019 = iprot.readString(); - struct.keys.add(_elem2019); + _list3422.size); + String _elem3423; + for (int _i3424 = 0; _i3424 < _list3422.size; ++_i3424) { + _elem3423 = iprot.readString(); + struct.keys.add(_elem3423); } iprot.readListEnd(); } @@ -288126,38 +427547,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list2021 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list2021.size); - long _elem2022; - for (int _i2023 = 0; _i2023 < _list2021.size; ++_i2023) { - _elem2022 = iprot.readI64(); - struct.records.add(_elem2022); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -288168,7 +427569,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -288179,7 +427580,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -288203,7 +427604,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecordsTime_args struct) + getKeysCriteria_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -288215,30 +427616,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter2024 : struct.keys) { - oprot.writeString(_iter2024); + for (String _iter3425 : struct.keys) { + oprot.writeString(_iter3425); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter2025 : struct.records) { - oprot.writeI64(_iter2025); - } - oprot.writeListEnd(); - } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -288260,59 +427649,48 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysRecordsTime_argsTupleSchemeFactory + private static class getKeysCriteria_argsTupleSchemeFactory implements SchemeFactory { - public getKeysRecordsTime_argsTupleScheme getScheme() { - return new getKeysRecordsTime_argsTupleScheme(); + public getKeysCriteria_argsTupleScheme getScheme() { + return new getKeysCriteria_argsTupleScheme(); } } - private static class getKeysRecordsTime_argsTupleScheme - extends TupleScheme { + private static class getKeysCriteria_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordsTime_args struct) + getKeysCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetRecords()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetTimestamp()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); + optionals.set(4); } - oprot.writeBitSet(optionals, 6); + oprot.writeBitSet(optionals, 5); if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter2026 : struct.keys) { - oprot.writeString(_iter2026); + for (String _iter3426 : struct.keys) { + oprot.writeString(_iter3426); } } } - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter2027 : struct.records) { - oprot.writeI64(_iter2027); - } - } - } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -288327,53 +427705,40 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordsTime_args struct) + getKeysCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2028 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list3427 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list2028.size); - String _elem2029; - for (int _i2030 = 0; _i2030 < _list2028.size; ++_i2030) { - _elem2029 = iprot.readString(); - struct.keys.add(_elem2029); + struct.keys = new ArrayList(_list3427.size); + String _elem3428; + for (int _i3429 = 0; _i3429 < _list3427.size; ++_i3429) { + _elem3428 = iprot.readString(); + struct.keys.add(_elem3428); } } struct.setKeysIsSet(true); } if(incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list2031 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list2031.size); - long _elem2032; - for (int _i2033 = 0; _i2033 < _list2031.size; ++_i2033) { - _elem2032 = iprot.readI64(); - struct.records.add(_elem2032); - } - } - struct.setRecordsIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -288382,13 +427747,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysRecordsTime_result implements - org.apache.thrift.TBase, + public static class getKeysCriteria_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecordsTime_result"); + "getKeysCriteria_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -288402,9 +427767,9 @@ public static class getKeysRecordsTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecordsTime_resultStandardSchemeFactory()); + new getKeysCriteria_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecordsTime_resultTupleSchemeFactory()); + new getKeysCriteria_resultTupleSchemeFactory()); } public Map> success; // required @@ -288523,12 +427888,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecordsTime_result.class, metaDataMap); + getKeysCriteria_result.class, metaDataMap); } - public getKeysRecordsTime_result() {} + public getKeysCriteria_result() {} - public getKeysRecordsTime_result( + public getKeysCriteria_result( Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, @@ -288543,7 +427908,7 @@ public getKeysRecordsTime_result( /** * Performs a deep copy on other. */ - public getKeysRecordsTime_result(getKeysRecordsTime_result other) { + public getKeysCriteria_result(getKeysCriteria_result other) { if(other.isSetSuccess()) { Map> __this__success = new LinkedHashMap>( other.success.size()); @@ -288595,8 +427960,8 @@ public getKeysRecordsTime_result(getKeysRecordsTime_result other) { } } - public getKeysRecordsTime_result deepCopy() { - return new getKeysRecordsTime_result(this); + public getKeysCriteria_result deepCopy() { + return new getKeysCriteria_result(this); } @Override @@ -288623,7 +427988,7 @@ public Map> getSuccess( return this.success; } - public getKeysRecordsTime_result setSuccess( + public getKeysCriteria_result setSuccess( Map> success) { this.success = success; return this; @@ -288651,7 +428016,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysRecordsTime_result setEx( + public getKeysCriteria_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -288679,7 +428044,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysRecordsTime_result setEx2( + public getKeysCriteria_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -288707,7 +428072,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getKeysRecordsTime_result setEx3( + public getKeysCriteria_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -288817,12 +428182,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecordsTime_result) - return this.equals((getKeysRecordsTime_result) that); + if(that instanceof getKeysCriteria_result) + return this.equals((getKeysCriteria_result) that); return false; } - public boolean equals(getKeysRecordsTime_result that) { + public boolean equals(getKeysCriteria_result that) { if(that == null) return false; @@ -288893,7 +428258,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysRecordsTime_result other) { + public int compareTo(getKeysCriteria_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -288968,7 +428333,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysRecordsTime_result("); + StringBuilder sb = new StringBuilder("getKeysCriteria_result("); boolean first = true; sb.append("success:"); @@ -289042,18 +428407,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecordsTime_resultStandardSchemeFactory + private static class getKeysCriteria_resultStandardSchemeFactory implements SchemeFactory { - public getKeysRecordsTime_resultStandardScheme getScheme() { - return new getKeysRecordsTime_resultStandardScheme(); + public getKeysCriteria_resultStandardScheme getScheme() { + return new getKeysCriteria_resultStandardScheme(); } } - private static class getKeysRecordsTime_resultStandardScheme - extends StandardScheme { + private static class getKeysCriteria_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecordsTime_result struct) + getKeysCriteria_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -289066,30 +428431,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2034 = iprot + org.apache.thrift.protocol.TMap _map3430 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2034.size); - long _key2035; - Map _val2036; - for (int _i2037 = 0; _i2037 < _map2034.size; ++_i2037) { - _key2035 = iprot.readI64(); + 2 * _map3430.size); + long _key3431; + Map _val3432; + for (int _i3433 = 0; _i3433 < _map3430.size; ++_i3433) { + _key3431 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2038 = iprot + org.apache.thrift.protocol.TMap _map3434 = iprot .readMapBegin(); - _val2036 = new LinkedHashMap( - 2 * _map2038.size); - String _key2039; - com.cinchapi.concourse.thrift.TObject _val2040; - for (int _i2041 = 0; _i2041 < _map2038.size; ++_i2041) { - _key2039 = iprot.readString(); - _val2040 = new com.cinchapi.concourse.thrift.TObject(); - _val2040.read(iprot); - _val2036.put(_key2039, _val2040); + _val3432 = new LinkedHashMap( + 2 * _map3434.size); + String _key3435; + com.cinchapi.concourse.thrift.TObject _val3436; + for (int _i3437 = 0; _i3437 < _map3434.size; ++_i3437) { + _key3435 = iprot.readString(); + _val3436 = new com.cinchapi.concourse.thrift.TObject(); + _val3436.read(iprot); + _val3432.put(_key3435, _val3436); } iprot.readMapEnd(); } - struct.success.put(_key2035, _val2036); + struct.success.put(_key3431, _val3432); } iprot.readMapEnd(); } @@ -289147,7 +428512,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecordsTime_result struct) + getKeysCriteria_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -289159,19 +428524,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter2042 : struct.success + for (Map.Entry> _iter3438 : struct.success .entrySet()) { - oprot.writeI64(_iter2042.getKey()); + oprot.writeI64(_iter3438.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter2042.getValue().size())); - for (Map.Entry _iter2043 : _iter2042 + _iter3438.getValue().size())); + for (Map.Entry _iter3439 : _iter3438 .getValue().entrySet()) { - oprot.writeString(_iter2043.getKey()); - _iter2043.getValue().write(oprot); + oprot.writeString(_iter3439.getKey()); + _iter3439.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -289201,19 +428566,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysRecordsTime_resultTupleSchemeFactory + private static class getKeysCriteria_resultTupleSchemeFactory implements SchemeFactory { - public getKeysRecordsTime_resultTupleScheme getScheme() { - return new getKeysRecordsTime_resultTupleScheme(); + public getKeysCriteria_resultTupleScheme getScheme() { + return new getKeysCriteria_resultTupleScheme(); } } - private static class getKeysRecordsTime_resultTupleScheme - extends TupleScheme { + private static class getKeysCriteria_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordsTime_result struct) + getKeysCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -289233,15 +428598,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2044 : struct.success + for (Map.Entry> _iter3440 : struct.success .entrySet()) { - oprot.writeI64(_iter2044.getKey()); + oprot.writeI64(_iter3440.getKey()); { - oprot.writeI32(_iter2044.getValue().size()); - for (Map.Entry _iter2045 : _iter2044 + oprot.writeI32(_iter3440.getValue().size()); + for (Map.Entry _iter3441 : _iter3440 .getValue().entrySet()) { - oprot.writeString(_iter2045.getKey()); - _iter2045.getValue().write(oprot); + oprot.writeString(_iter3441.getKey()); + _iter3441.getValue().write(oprot); } } } @@ -289260,39 +428625,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordsTime_result struct) + getKeysCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2046 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3442 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2046.size); - long _key2047; - Map _val2048; - for (int _i2049 = 0; _i2049 < _map2046.size; ++_i2049) { - _key2047 = iprot.readI64(); + 2 * _map3442.size); + long _key3443; + Map _val3444; + for (int _i3445 = 0; _i3445 < _map3442.size; ++_i3445) { + _key3443 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2050 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3446 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2048 = new LinkedHashMap( - 2 * _map2050.size); - String _key2051; - com.cinchapi.concourse.thrift.TObject _val2052; - for (int _i2053 = 0; _i2053 < _map2050.size; ++_i2053) { - _key2051 = iprot.readString(); - _val2052 = new com.cinchapi.concourse.thrift.TObject(); - _val2052.read(iprot); - _val2048.put(_key2051, _val2052); + _val3444 = new LinkedHashMap( + 2 * _map3446.size); + String _key3447; + com.cinchapi.concourse.thrift.TObject _val3448; + for (int _i3449 = 0; _i3449 < _map3446.size; ++_i3449) { + _key3447 = iprot.readString(); + _val3448 = new com.cinchapi.concourse.thrift.TObject(); + _val3448.read(iprot); + _val3444.put(_key3447, _val3448); } } - struct.success.put(_key2047, _val2048); + struct.success.put(_key3443, _val3444); } } struct.setSuccessIsSet(true); @@ -289317,21 +428682,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysRecordsTimestr_args implements - org.apache.thrift.TBase, + public static class getKeysCriteriaOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecordsTimestr_args"); + "getKeysCriteriaOrder_args"); private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -289344,14 +428708,14 @@ public static class getKeysRecordsTimestr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecordsTimestr_argsStandardSchemeFactory()); + new getKeysCriteriaOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecordsTimestr_argsTupleSchemeFactory()); + new getKeysCriteriaOrder_argsTupleSchemeFactory()); } public List keys; // required - public List records; // required - public String timestamp; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -289362,8 +428726,8 @@ public static class getKeysRecordsTimestr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEYS((short) 1, "keys"), - RECORDS((short) 2, "records"), - TIMESTAMP((short) 3, "timestamp"), + CRITERIA((short) 2, "criteria"), + ORDER((short) 3, "order"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -289384,10 +428748,10 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEYS return KEYS; - case 2: // RECORDS - return RECORDS; - case 3: // TIMESTAMP - return TIMESTAMP; + case 2: // CRITERIA + return CRITERIA; + case 3: // ORDER + return ORDER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -289449,18 +428813,18 @@ public String getFieldName() { org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -289480,20 +428844,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecordsTimestr_args.class, metaDataMap); + getKeysCriteriaOrder_args.class, metaDataMap); } - public getKeysRecordsTimestr_args() {} + public getKeysCriteriaOrder_args() {} - public getKeysRecordsTimestr_args(List keys, List records, - String timestamp, + public getKeysCriteriaOrder_args(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.keys = keys; - this.records = records; - this.timestamp = timestamp; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -289502,17 +428867,18 @@ public getKeysRecordsTimestr_args(List keys, List records, /** * Performs a deep copy on other. */ - public getKeysRecordsTimestr_args(getKeysRecordsTimestr_args other) { + public getKeysCriteriaOrder_args(getKeysCriteriaOrder_args other) { if(other.isSetKeys()) { List __this__keys = new ArrayList(other.keys); this.keys = __this__keys; } - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -289527,15 +428893,15 @@ public getKeysRecordsTimestr_args(getKeysRecordsTimestr_args other) { } } - public getKeysRecordsTimestr_args deepCopy() { - return new getKeysRecordsTimestr_args(this); + public getKeysCriteriaOrder_args deepCopy() { + return new getKeysCriteriaOrder_args(this); } @Override public void clear() { this.keys = null; - this.records = null; - this.timestamp = null; + this.criteria = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -289560,7 +428926,7 @@ public List getKeys() { return this.keys; } - public getKeysRecordsTimestr_args setKeys(List keys) { + public getKeysCriteriaOrder_args setKeys(List keys) { this.keys = keys; return this; } @@ -289583,72 +428949,59 @@ public void setKeysIsSet(boolean value) { } } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); - } - - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); - } - - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); - } - this.records.add(elem); - } - - public List getRecords() { - return this.records; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public getKeysRecordsTimestr_args setRecords(List records) { - this.records = records; + public getKeysCriteriaOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetRecords() { - this.records = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setRecordsIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.records = null; + this.criteria = null; } } - public String getTimestamp() { - return this.timestamp; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public getKeysRecordsTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; + public getKeysCriteriaOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetTimestamp() { - this.timestamp = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field order is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return this.timestamp != null; + public boolean isSetOrder() { + return this.order != null; } - public void setTimestampIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.timestamp = null; + this.order = null; } } @@ -289656,7 +429009,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysRecordsTimestr_args setCreds( + public getKeysCriteriaOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -289684,7 +429037,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysRecordsTimestr_args setTransaction( + public getKeysCriteriaOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -289712,7 +429065,7 @@ public String getEnvironment() { return this.environment; } - public getKeysRecordsTimestr_args setEnvironment(String environment) { + public getKeysCriteriaOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -289746,21 +429099,22 @@ public void setFieldValue(_Fields field, Object value) { } break; - case RECORDS: + case CRITERIA: if(value == null) { - unsetRecords(); + unsetCriteria(); } else { - setRecords((List) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case TIMESTAMP: + case ORDER: if(value == null) { - unsetTimestamp(); + unsetOrder(); } else { - setTimestamp((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -289800,11 +429154,11 @@ public Object getFieldValue(_Fields field) { case KEYS: return getKeys(); - case RECORDS: - return getRecords(); + case CRITERIA: + return getCriteria(); - case TIMESTAMP: - return getTimestamp(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -289831,10 +429185,10 @@ public boolean isSet(_Fields field) { switch (field) { case KEYS: return isSetKeys(); - case RECORDS: - return isSetRecords(); - case TIMESTAMP: - return isSetTimestamp(); + case CRITERIA: + return isSetCriteria(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -289849,12 +429203,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecordsTimestr_args) - return this.equals((getKeysRecordsTimestr_args) that); + if(that instanceof getKeysCriteriaOrder_args) + return this.equals((getKeysCriteriaOrder_args) that); return false; } - public boolean equals(getKeysRecordsTimestr_args that) { + public boolean equals(getKeysCriteriaOrder_args that) { if(that == null) return false; @@ -289867,21 +429221,21 @@ public boolean equals(getKeysRecordsTimestr_args that) { return false; } - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.records.equals(that.records)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(!this.order.equals(that.order)) return false; } @@ -289924,15 +429278,15 @@ public int hashCode() { if(present_keys) list.add(keys); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_timestamp = true && (isSetTimestamp()); - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -289953,7 +429307,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysRecordsTimestr_args other) { + public int compareTo(getKeysCriteriaOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -289973,26 +429327,26 @@ public int compareTo(getKeysRecordsTimestr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -290052,7 +429406,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysRecordsTimestr_args("); + StringBuilder sb = new StringBuilder("getKeysCriteriaOrder_args("); boolean first = true; sb.append("keys:"); @@ -290065,22 +429419,22 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("records:"); - if(this.records == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.order); } first = false; if(!first) @@ -290120,6 +429474,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -290152,18 +429512,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecordsTimestr_argsStandardSchemeFactory + private static class getKeysCriteriaOrder_argsStandardSchemeFactory implements SchemeFactory { - public getKeysRecordsTimestr_argsStandardScheme getScheme() { - return new getKeysRecordsTimestr_argsStandardScheme(); + public getKeysCriteriaOrder_argsStandardScheme getScheme() { + return new getKeysCriteriaOrder_argsStandardScheme(); } } - private static class getKeysRecordsTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeysCriteriaOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecordsTimestr_args struct) + getKeysCriteriaOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -290176,14 +429536,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2054 = iprot + org.apache.thrift.protocol.TList _list3450 = iprot .readListBegin(); struct.keys = new ArrayList( - _list2054.size); - String _elem2055; - for (int _i2056 = 0; _i2056 < _list2054.size; ++_i2056) { - _elem2055 = iprot.readString(); - struct.keys.add(_elem2055); + _list3450.size); + String _elem3451; + for (int _i3452 = 0; _i3452 < _list3450.size; ++_i3452) { + _elem3451 = iprot.readString(); + struct.keys.add(_elem3451); } iprot.readListEnd(); } @@ -290194,31 +429554,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // RECORDS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list2057 = iprot - .readListBegin(); - struct.records = new ArrayList( - _list2057.size); - long _elem2058; - for (int _i2059 = 0; _i2059 < _list2057.size; ++_i2059) { - _elem2058 = iprot.readI64(); - struct.records.add(_elem2058); - } - iprot.readListEnd(); - } - struct.setRecordsIsSet(true); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + case 3: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -290271,7 +429622,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecordsTimestr_args struct) + getKeysCriteriaOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -290283,30 +429634,21 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter2060 : struct.keys) { - oprot.writeString(_iter2060); + for (String _iter3453 : struct.keys) { + oprot.writeString(_iter3453); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter2061 : struct.records) { - oprot.writeI64(_iter2061); - } - oprot.writeListEnd(); - } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -290330,29 +429672,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysRecordsTimestr_argsTupleSchemeFactory + private static class getKeysCriteriaOrder_argsTupleSchemeFactory implements SchemeFactory { - public getKeysRecordsTimestr_argsTupleScheme getScheme() { - return new getKeysRecordsTimestr_argsTupleScheme(); + public getKeysCriteriaOrder_argsTupleScheme getScheme() { + return new getKeysCriteriaOrder_argsTupleScheme(); } } - private static class getKeysRecordsTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeysCriteriaOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordsTimestr_args struct) + getKeysCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetRecords()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetTimestamp()) { + if(struct.isSetOrder()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -290368,21 +429710,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter2062 : struct.keys) { - oprot.writeString(_iter2062); + for (String _iter3454 : struct.keys) { + oprot.writeString(_iter3454); } } } - if(struct.isSetRecords()) { - { - oprot.writeI32(struct.records.size()); - for (long _iter2063 : struct.records) { - oprot.writeI64(_iter2063); - } - } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } - if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -290397,41 +429734,33 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordsTimestr_args struct) + getKeysCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2064 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list3455 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list2064.size); - String _elem2065; - for (int _i2066 = 0; _i2066 < _list2064.size; ++_i2066) { - _elem2065 = iprot.readString(); - struct.keys.add(_elem2065); + struct.keys = new ArrayList(_list3455.size); + String _elem3456; + for (int _i3457 = 0; _i3457 < _list3455.size; ++_i3457) { + _elem3456 = iprot.readString(); + struct.keys.add(_elem3456); } } struct.setKeysIsSet(true); } if(incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list2067 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - iprot.readI32()); - struct.records = new ArrayList(_list2067.size); - long _elem2068; - for (int _i2069 = 0; _i2069 < _list2067.size; ++_i2069) { - _elem2068 = iprot.readI64(); - struct.records.add(_elem2068); - } - } - struct.setRecordsIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -290452,13 +429781,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysRecordsTimestr_result implements - org.apache.thrift.TBase, + public static class getKeysCriteriaOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysRecordsTimestr_result"); + "getKeysCriteriaOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -290468,22 +429797,19 @@ public static class getKeysRecordsTimestr_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysRecordsTimestr_resultStandardSchemeFactory()); + new getKeysCriteriaOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysRecordsTimestr_resultTupleSchemeFactory()); + new getKeysCriteriaOrder_resultTupleSchemeFactory()); } public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -290493,8 +429819,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -290518,8 +429843,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -290597,37 +429920,29 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysRecordsTimestr_result.class, metaDataMap); + getKeysCriteriaOrder_result.class, metaDataMap); } - public getKeysRecordsTimestr_result() {} + public getKeysCriteriaOrder_result() {} - public getKeysRecordsTimestr_result( + public getKeysCriteriaOrder_result( Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeysRecordsTimestr_result( - getKeysRecordsTimestr_result other) { + public getKeysCriteriaOrder_result(getKeysCriteriaOrder_result other) { if(other.isSetSuccess()) { Map> __this__success = new LinkedHashMap>( other.success.size()); @@ -290674,17 +429989,13 @@ public getKeysRecordsTimestr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public getKeysRecordsTimestr_result deepCopy() { - return new getKeysRecordsTimestr_result(this); + public getKeysCriteriaOrder_result deepCopy() { + return new getKeysCriteriaOrder_result(this); } @Override @@ -290693,7 +430004,6 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { @@ -290712,7 +430022,7 @@ public Map> getSuccess( return this.success; } - public getKeysRecordsTimestr_result setSuccess( + public getKeysCriteriaOrder_result setSuccess( Map> success) { this.success = success; return this; @@ -290740,7 +430050,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysRecordsTimestr_result setEx( + public getKeysCriteriaOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -290768,7 +430078,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysRecordsTimestr_result setEx2( + public getKeysCriteriaOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -290792,12 +430102,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getKeysRecordsTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getKeysCriteriaOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -290820,34 +430130,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public getKeysRecordsTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -290883,16 +430165,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -290913,9 +430186,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -290938,8 +430208,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -290948,12 +430216,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysRecordsTimestr_result) - return this.equals((getKeysRecordsTimestr_result) that); + if(that instanceof getKeysCriteriaOrder_result) + return this.equals((getKeysCriteriaOrder_result) that); return false; } - public boolean equals(getKeysRecordsTimestr_result that) { + public boolean equals(getKeysCriteriaOrder_result that) { if(that == null) return false; @@ -290993,15 +430261,6 @@ public boolean equals(getKeysRecordsTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -291029,16 +430288,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(getKeysRecordsTimestr_result other) { + public int compareTo(getKeysCriteriaOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -291094,18 +430348,6 @@ public int compareTo(getKeysRecordsTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -291126,7 +430368,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "getKeysRecordsTimestr_result("); + "getKeysCriteriaOrder_result("); boolean first = true; sb.append("success:"); @@ -291167,16 +430409,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -291210,18 +430442,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysRecordsTimestr_resultStandardSchemeFactory + private static class getKeysCriteriaOrder_resultStandardSchemeFactory implements SchemeFactory { - public getKeysRecordsTimestr_resultStandardScheme getScheme() { - return new getKeysRecordsTimestr_resultStandardScheme(); + public getKeysCriteriaOrder_resultStandardScheme getScheme() { + return new getKeysCriteriaOrder_resultStandardScheme(); } } - private static class getKeysRecordsTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeysCriteriaOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysRecordsTimestr_result struct) + getKeysCriteriaOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -291234,30 +430466,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2070 = iprot + org.apache.thrift.protocol.TMap _map3458 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2070.size); - long _key2071; - Map _val2072; - for (int _i2073 = 0; _i2073 < _map2070.size; ++_i2073) { - _key2071 = iprot.readI64(); + 2 * _map3458.size); + long _key3459; + Map _val3460; + for (int _i3461 = 0; _i3461 < _map3458.size; ++_i3461) { + _key3459 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2074 = iprot + org.apache.thrift.protocol.TMap _map3462 = iprot .readMapBegin(); - _val2072 = new LinkedHashMap( - 2 * _map2074.size); - String _key2075; - com.cinchapi.concourse.thrift.TObject _val2076; - for (int _i2077 = 0; _i2077 < _map2074.size; ++_i2077) { - _key2075 = iprot.readString(); - _val2076 = new com.cinchapi.concourse.thrift.TObject(); - _val2076.read(iprot); - _val2072.put(_key2075, _val2076); + _val3460 = new LinkedHashMap( + 2 * _map3462.size); + String _key3463; + com.cinchapi.concourse.thrift.TObject _val3464; + for (int _i3465 = 0; _i3465 < _map3462.size; ++_i3465) { + _key3463 = iprot.readString(); + _val3464 = new com.cinchapi.concourse.thrift.TObject(); + _val3464.read(iprot); + _val3460.put(_key3463, _val3464); } iprot.readMapEnd(); } - struct.success.put(_key2071, _val2072); + struct.success.put(_key3459, _val3460); } iprot.readMapEnd(); } @@ -291292,7 +430524,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -291301,17 +430533,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -291326,7 +430547,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysRecordsTimestr_result struct) + getKeysCriteriaOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -291338,19 +430559,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter2078 : struct.success + for (Map.Entry> _iter3466 : struct.success .entrySet()) { - oprot.writeI64(_iter2078.getKey()); + oprot.writeI64(_iter3466.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter2078.getValue().size())); - for (Map.Entry _iter2079 : _iter2078 + _iter3466.getValue().size())); + for (Map.Entry _iter3467 : _iter3466 .getValue().entrySet()) { - oprot.writeString(_iter2079.getKey()); - _iter2079.getValue().write(oprot); + oprot.writeString(_iter3467.getKey()); + _iter3467.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -291374,30 +430595,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeysRecordsTimestr_resultTupleSchemeFactory + private static class getKeysCriteriaOrder_resultTupleSchemeFactory implements SchemeFactory { - public getKeysRecordsTimestr_resultTupleScheme getScheme() { - return new getKeysRecordsTimestr_resultTupleScheme(); + public getKeysCriteriaOrder_resultTupleScheme getScheme() { + return new getKeysCriteriaOrder_resultTupleScheme(); } } - private static class getKeysRecordsTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeysCriteriaOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordsTimestr_result struct) + getKeysCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -291413,22 +430629,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2080 : struct.success + for (Map.Entry> _iter3468 : struct.success .entrySet()) { - oprot.writeI64(_iter2080.getKey()); + oprot.writeI64(_iter3468.getKey()); { - oprot.writeI32(_iter2080.getValue().size()); - for (Map.Entry _iter2081 : _iter2080 + oprot.writeI32(_iter3468.getValue().size()); + for (Map.Entry _iter3469 : _iter3468 .getValue().entrySet()) { - oprot.writeString(_iter2081.getKey()); - _iter2081.getValue().write(oprot); + oprot.writeString(_iter3469.getKey()); + _iter3469.getValue().write(oprot); } } } @@ -291443,46 +430656,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysRecordsTimestr_result struct) + getKeysCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2082 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3470 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2082.size); - long _key2083; - Map _val2084; - for (int _i2085 = 0; _i2085 < _map2082.size; ++_i2085) { - _key2083 = iprot.readI64(); + 2 * _map3470.size); + long _key3471; + Map _val3472; + for (int _i3473 = 0; _i3473 < _map3470.size; ++_i3473) { + _key3471 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2086 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3474 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2084 = new LinkedHashMap( - 2 * _map2086.size); - String _key2087; - com.cinchapi.concourse.thrift.TObject _val2088; - for (int _i2089 = 0; _i2089 < _map2086.size; ++_i2089) { - _key2087 = iprot.readString(); - _val2088 = new com.cinchapi.concourse.thrift.TObject(); - _val2088.read(iprot); - _val2084.put(_key2087, _val2088); + _val3472 = new LinkedHashMap( + 2 * _map3474.size); + String _key3475; + com.cinchapi.concourse.thrift.TObject _val3476; + for (int _i3477 = 0; _i3477 < _map3474.size; ++_i3477) { + _key3475 = iprot.readString(); + _val3476 = new com.cinchapi.concourse.thrift.TObject(); + _val3476.read(iprot); + _val3472.put(_key3475, _val3476); } } - struct.success.put(_key2083, _val2084); + struct.success.put(_key3471, _val3472); } } struct.setSuccessIsSet(true); @@ -291498,32 +430708,27 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class getKeyCriteria_args implements - org.apache.thrift.TBase, + public static class getKeysCcl_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCriteria_args"); + "getKeysCcl_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -291536,13 +430741,13 @@ public static class getKeyCriteria_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCriteria_argsStandardSchemeFactory()); + new getKeysCcl_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCriteria_argsTupleSchemeFactory()); + new getKeysCcl_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public List keys; // required + public String ccl; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -291552,8 +430757,8 @@ public static class getKeyCriteria_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - CRITERIA((short) 2, "criteria"), + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -291572,10 +430777,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // CRITERIA - return CRITERIA; + case 1: // KEYS + return KEYS; + case 2: // CCL + return CCL; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -291630,17 +430835,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -291659,20 +430865,19 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyCriteria_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(getKeysCcl_args.class, metaDataMap); } - public getKeyCriteria_args() {} + public getKeysCcl_args() {} - public getKeyCriteria_args(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, + public getKeysCcl_args(List keys, String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.criteria = criteria; + this.keys = keys; + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -291681,13 +430886,13 @@ public getKeyCriteria_args(String key, /** * Performs a deep copy on other. */ - public getKeyCriteria_args(getKeyCriteria_args other) { - if(other.isSetKey()) { - this.key = other.key; + public getKeysCcl_args(getKeysCcl_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + if(other.isSetCcl()) { + this.ccl = other.ccl; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -291702,71 +430907,85 @@ public getKeyCriteria_args(getKeyCriteria_args other) { } } - public getKeyCriteria_args deepCopy() { - return new getKeyCriteria_args(this); + public getKeysCcl_args deepCopy() { + return new getKeysCcl_args(this); } @Override public void clear() { - this.key = null; - this.criteria = null; + this.keys = null; + this.ccl = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public getKeyCriteria_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysCcl_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public String getCcl() { + return this.ccl; } - public getKeyCriteria_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public getKeysCcl_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setCriteriaIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.criteria = null; + this.ccl = null; } } @@ -291774,7 +430993,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyCriteria_args setCreds( + public getKeysCcl_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -291802,7 +431021,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyCriteria_args setTransaction( + public getKeysCcl_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -291830,7 +431049,7 @@ public String getEnvironment() { return this.environment; } - public getKeyCriteria_args setEnvironment(String environment) { + public getKeysCcl_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -291855,22 +431074,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; - case CRITERIA: + case CCL: if(value == null) { - unsetCriteria(); + unsetCcl(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setCcl((String) value); } break; @@ -291907,11 +431125,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); - case CRITERIA: - return getCriteria(); + case CCL: + return getCcl(); case CREDS: return getCreds(); @@ -291936,10 +431154,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case CRITERIA: - return isSetCriteria(); + case KEYS: + return isSetKeys(); + case CCL: + return isSetCcl(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -291954,30 +431172,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCriteria_args) - return this.equals((getKeyCriteria_args) that); + if(that instanceof getKeysCcl_args) + return this.equals((getKeysCcl_args) that); return false; } - public boolean equals(getKeyCriteria_args that) { + public boolean equals(getKeysCcl_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.ccl.equals(that.ccl)) return false; } @@ -292015,15 +431233,15 @@ public boolean equals(getKeyCriteria_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -292044,7 +431262,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyCriteria_args other) { + public int compareTo(getKeysCcl_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -292052,26 +431270,26 @@ public int compareTo(getKeyCriteria_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -292131,25 +431349,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCriteria_args("); + StringBuilder sb = new StringBuilder("getKeysCcl_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.ccl); } first = false; if(!first) @@ -292189,9 +431407,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); - } if(creds != null) { creds.validate(); } @@ -292224,18 +431439,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCriteria_argsStandardSchemeFactory + private static class getKeysCcl_argsStandardSchemeFactory implements SchemeFactory { - public getKeyCriteria_argsStandardScheme getScheme() { - return new getKeyCriteria_argsStandardScheme(); + public getKeysCcl_argsStandardScheme getScheme() { + return new getKeysCcl_argsStandardScheme(); } } - private static class getKeyCriteria_argsStandardScheme - extends StandardScheme { + private static class getKeysCcl_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCriteria_args struct) + getKeysCcl_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -292245,21 +431460,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3478 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3478.size); + String _elem3479; + for (int _i3480 = 0; _i3480 < _list3478.size; ++_i3480) { + _elem3479 = iprot.readString(); + struct.keys.add(_elem3479); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -292312,19 +431537,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCriteria_args struct) + getKeysCcl_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3481 : struct.keys) { + oprot.writeString(_iter3481); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -292348,26 +431582,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyCriteria_argsTupleSchemeFactory + private static class getKeysCcl_argsTupleSchemeFactory implements SchemeFactory { - public getKeyCriteria_argsTupleScheme getScheme() { - return new getKeyCriteria_argsTupleScheme(); + public getKeysCcl_argsTupleScheme getScheme() { + return new getKeysCcl_argsTupleScheme(); } } - private static class getKeyCriteria_argsTupleScheme - extends TupleScheme { + private static class getKeysCcl_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteria_args struct) + getKeysCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCriteria()) { + if(struct.isSetCcl()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -292380,11 +431614,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3482 : struct.keys) { + oprot.writeString(_iter3482); + } + } } - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -292399,18 +431638,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteria_args struct) + getKeysCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list3483 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3483.size); + String _elem3484; + for (int _i3485 = 0; _i3485 < _list3483.size; ++_i3485) { + _elem3484 = iprot.readString(); + struct.keys.add(_elem3484); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -292431,13 +431679,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyCriteria_result implements - org.apache.thrift.TBase, + public static class getKeysCcl_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCriteria_result"); + "getKeysCcl_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -292447,19 +431695,22 @@ public static class getKeyCriteria_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCriteria_resultStandardSchemeFactory()); + new getKeysCcl_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCriteria_resultTupleSchemeFactory()); + new getKeysCcl_resultTupleSchemeFactory()); } - public Map success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -292469,7 +431720,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -292493,6 +431745,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -292548,9 +431802,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -292566,43 +431824,67 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyCriteria_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(getKeysCcl_result.class, metaDataMap); } - public getKeyCriteria_result() {} + public getKeysCcl_result() {} - public getKeyCriteria_result( - Map success, + public getKeysCcl_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeyCriteria_result(getKeyCriteria_result other) { + public getKeysCcl_result(getKeysCcl_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value); + Map __this__success_copy_value = new LinkedHashMap( + other_element_value.size()); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -292618,13 +431900,17 @@ public getKeyCriteria_result(getKeyCriteria_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public getKeyCriteria_result deepCopy() { - return new getKeyCriteria_result(this); + public getKeysCcl_result deepCopy() { + return new getKeysCcl_result(this); } @Override @@ -292633,6 +431919,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -292640,19 +431927,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - com.cinchapi.concourse.thrift.TObject val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map> getSuccess() { return this.success; } - public getKeyCriteria_result setSuccess( - Map success) { + public getKeysCcl_result setSuccess( + Map> success) { this.success = success; return this; } @@ -292679,7 +431966,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyCriteria_result setEx( + public getKeysCcl_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -292707,7 +431994,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyCriteria_result setEx2( + public getKeysCcl_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -292731,12 +432018,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeyCriteria_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeysCcl_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -292759,6 +432046,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeysCcl_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -292767,7 +432082,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map) value); + (Map>) value); } break; @@ -292794,7 +432109,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -292815,6 +432139,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -292837,6 +432164,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -292845,12 +432174,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCriteria_result) - return this.equals((getKeyCriteria_result) that); + if(that instanceof getKeysCcl_result) + return this.equals((getKeysCcl_result) that); return false; } - public boolean equals(getKeyCriteria_result that) { + public boolean equals(getKeysCcl_result that) { if(that == null) return false; @@ -292890,6 +432219,15 @@ public boolean equals(getKeyCriteria_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -292917,11 +432255,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(getKeyCriteria_result other) { + public int compareTo(getKeysCcl_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -292977,6 +432320,18 @@ public int compareTo(getKeyCriteria_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -292996,7 +432351,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCriteria_result("); + StringBuilder sb = new StringBuilder("getKeysCcl_result("); boolean first = true; sb.append("success:"); @@ -293037,6 +432392,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -293070,18 +432435,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCriteria_resultStandardSchemeFactory + private static class getKeysCcl_resultStandardSchemeFactory implements SchemeFactory { - public getKeyCriteria_resultStandardScheme getScheme() { - return new getKeyCriteria_resultStandardScheme(); + public getKeysCcl_resultStandardScheme getScheme() { + return new getKeysCcl_resultStandardScheme(); } } - private static class getKeyCriteria_resultStandardScheme - extends StandardScheme { + private static class getKeysCcl_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCriteria_result struct) + getKeysCcl_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -293094,17 +432459,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2090 = iprot + org.apache.thrift.protocol.TMap _map3486 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map2090.size); - long _key2091; - com.cinchapi.concourse.thrift.TObject _val2092; - for (int _i2093 = 0; _i2093 < _map2090.size; ++_i2093) { - _key2091 = iprot.readI64(); - _val2092 = new com.cinchapi.concourse.thrift.TObject(); - _val2092.read(iprot); - struct.success.put(_key2091, _val2092); + struct.success = new LinkedHashMap>( + 2 * _map3486.size); + long _key3487; + Map _val3488; + for (int _i3489 = 0; _i3489 < _map3486.size; ++_i3489) { + _key3487 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map3490 = iprot + .readMapBegin(); + _val3488 = new LinkedHashMap( + 2 * _map3490.size); + String _key3491; + com.cinchapi.concourse.thrift.TObject _val3492; + for (int _i3493 = 0; _i3493 < _map3490.size; ++_i3493) { + _key3491 = iprot.readString(); + _val3492 = new com.cinchapi.concourse.thrift.TObject(); + _val3492.read(iprot); + _val3488.put(_key3491, _val3492); + } + iprot.readMapEnd(); + } + struct.success.put(_key3487, _val3488); } iprot.readMapEnd(); } @@ -293139,7 +432517,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -293148,6 +432526,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -293162,7 +432551,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCriteria_result struct) + getKeysCcl_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -293172,12 +432561,24 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry _iter2094 : struct.success + for (Map.Entry> _iter3494 : struct.success .entrySet()) { - oprot.writeI64(_iter2094.getKey()); - _iter2094.getValue().write(oprot); + oprot.writeI64(_iter3494.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.STRUCT, + _iter3494.getValue().size())); + for (Map.Entry _iter3495 : _iter3494 + .getValue().entrySet()) { + oprot.writeString(_iter3495.getKey()); + _iter3495.getValue().write(oprot); + } + oprot.writeMapEnd(); + } } oprot.writeMapEnd(); } @@ -293198,25 +432599,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeyCriteria_resultTupleSchemeFactory + private static class getKeysCcl_resultTupleSchemeFactory implements SchemeFactory { - public getKeyCriteria_resultTupleScheme getScheme() { - return new getKeyCriteria_resultTupleScheme(); + public getKeysCcl_resultTupleScheme getScheme() { + return new getKeysCcl_resultTupleScheme(); } } - private static class getKeyCriteria_resultTupleScheme - extends TupleScheme { + private static class getKeysCcl_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteria_result struct) + getKeysCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -293232,14 +432638,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter2095 : struct.success + for (Map.Entry> _iter3496 : struct.success .entrySet()) { - oprot.writeI64(_iter2095.getKey()); - _iter2095.getValue().write(oprot); + oprot.writeI64(_iter3496.getKey()); + { + oprot.writeI32(_iter3496.getValue().size()); + for (Map.Entry _iter3497 : _iter3496 + .getValue().entrySet()) { + oprot.writeString(_iter3497.getKey()); + _iter3497.getValue().write(oprot); + } + } } } } @@ -293252,29 +432668,46 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteria_result struct) + getKeysCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2096 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3498 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map2096.size); - long _key2097; - com.cinchapi.concourse.thrift.TObject _val2098; - for (int _i2099 = 0; _i2099 < _map2096.size; ++_i2099) { - _key2097 = iprot.readI64(); - _val2098 = new com.cinchapi.concourse.thrift.TObject(); - _val2098.read(iprot); - struct.success.put(_key2097, _val2098); + struct.success = new LinkedHashMap>( + 2 * _map3498.size); + long _key3499; + Map _val3500; + for (int _i3501 = 0; _i3501 < _map3498.size; ++_i3501) { + _key3499 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map3502 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val3500 = new LinkedHashMap( + 2 * _map3502.size); + String _key3503; + com.cinchapi.concourse.thrift.TObject _val3504; + for (int _i3505 = 0; _i3505 < _map3502.size; ++_i3505) { + _key3503 = iprot.readString(); + _val3504 = new com.cinchapi.concourse.thrift.TObject(); + _val3504.read(iprot); + _val3500.put(_key3503, _val3504); + } + } + struct.success.put(_key3499, _val3500); } } struct.setSuccessIsSet(true); @@ -293290,43 +432723,54 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class getCriteria_args implements - org.apache.thrift.TBase, + public static class getKeysCclOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCriteria_args"); + "getKeysCclOrder_args"); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCriteria_argsStandardSchemeFactory()); + new getKeysCclOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCriteria_argsTupleSchemeFactory()); + new getKeysCclOrder_argsTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public List keys; // required + public String ccl; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -293336,10 +432780,12 @@ public static class getCriteria_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CRITERIA((short) 1, "criteria"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), + ORDER((short) 3, "order"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -293355,13 +432801,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CRITERIA - return CRITERIA; - case 2: // CREDS + case 1: // KEYS + return KEYS; + case 2: // CCL + return CCL; + case 3: // ORDER + return ORDER; + case 4: // CREDS return CREDS; - case 3: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -293411,12 +432861,24 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -293435,19 +432897,21 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(getCriteria_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + getKeysCclOrder_args.class, metaDataMap); } - public getCriteria_args() {} + public getKeysCclOrder_args() {} - public getCriteria_args( - com.cinchapi.concourse.thrift.TCriteria criteria, + public getKeysCclOrder_args(List keys, String ccl, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.criteria = criteria; + this.keys = keys; + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -293456,10 +432920,17 @@ public getCriteria_args( /** * Performs a deep copy on other. */ - public getCriteria_args(getCriteria_args other) { - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + public getKeysCclOrder_args(getKeysCclOrder_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -293474,43 +432945,114 @@ public getCriteria_args(getCriteria_args other) { } } - public getCriteria_args deepCopy() { - return new getCriteria_args(this); + public getKeysCclOrder_args deepCopy() { + return new getKeysCclOrder_args(this); } @Override public void clear() { - this.criteria = null; + this.keys = null; + this.ccl = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public getCriteria_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysCclOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setCriteriaIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.criteria = null; + this.keys = null; + } + } + + public String getCcl() { + return this.ccl; + } + + public getKeysCclOrder_args setCcl(String ccl) { + this.ccl = ccl; + return this; + } + + public void unsetCcl() { + this.ccl = null; + } + + /** + * Returns true if field ccl is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCcl() { + return this.ccl != null; + } + + public void setCclIsSet(boolean value) { + if(!value) { + this.ccl = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeysCclOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; } } @@ -293518,7 +433060,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getCriteria_args setCreds( + public getKeysCclOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -293546,7 +433088,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getCriteria_args setTransaction( + public getKeysCclOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -293574,7 +433116,7 @@ public String getEnvironment() { return this.environment; } - public getCriteria_args setEnvironment(String environment) { + public getKeysCclOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -293599,13 +433141,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CRITERIA: + case KEYS: if(value == null) { - unsetCriteria(); + unsetKeys(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setKeys((List) value); + } + break; + + case CCL: + if(value == null) { + unsetCcl(); + } + else { + setCcl((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -293642,8 +433201,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CRITERIA: - return getCriteria(); + case KEYS: + return getKeys(); + + case CCL: + return getCcl(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -293668,8 +433233,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case CRITERIA: - return isSetCriteria(); + case KEYS: + return isSetKeys(); + case CCL: + return isSetCcl(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -293684,21 +433253,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCriteria_args) - return this.equals((getCriteria_args) that); + if(that instanceof getKeysCclOrder_args) + return this.equals((getKeysCclOrder_args) that); return false; } - public boolean equals(getCriteria_args that) { + public boolean equals(getKeysCclOrder_args that) { if(that == null) return false; - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) + return false; + if(!this.ccl.equals(that.ccl)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -293736,10 +433323,20 @@ public boolean equals(getCriteria_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -293760,7 +433357,7 @@ public int hashCode() { } @Override - public int compareTo(getCriteria_args other) { + public int compareTo(getKeysCclOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -293768,14 +433365,38 @@ public int compareTo(getCriteria_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCcl()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ccl, other.ccl); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -293835,15 +433456,35 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCriteria_args("); + StringBuilder sb = new StringBuilder("getKeysCclOrder_args("); boolean first = true; - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("ccl:"); + if(this.ccl == null) { + sb.append("null"); + } + else { + sb.append(this.ccl); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -293883,8 +433524,8 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); + if(order != null) { + order.validate(); } if(creds != null) { creds.validate(); @@ -293918,18 +433559,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCriteria_argsStandardSchemeFactory + private static class getKeysCclOrder_argsStandardSchemeFactory implements SchemeFactory { - public getCriteria_argsStandardScheme getScheme() { - return new getCriteria_argsStandardScheme(); + public getKeysCclOrder_argsStandardScheme getScheme() { + return new getKeysCclOrder_argsStandardScheme(); } } - private static class getCriteria_argsStandardScheme - extends StandardScheme { + private static class getKeysCclOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCriteria_args struct) + getKeysCclOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -293939,18 +433580,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CRITERIA + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3506 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3506.size); + String _elem3507; + for (int _i3508 = 0; _i3508 < _list3506.size; ++_i3508) { + _elem3507 = iprot.readString(); + struct.keys.add(_elem3507); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // ORDER if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -293961,7 +433633,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -293972,7 +433644,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -293996,14 +433668,33 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCriteria_args struct) + getKeysCclOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3509 : struct.keys) { + oprot.writeString(_iter3509); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -294027,37 +433718,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getCriteria_argsTupleSchemeFactory + private static class getKeysCclOrder_argsTupleSchemeFactory implements SchemeFactory { - public getCriteria_argsTupleScheme getScheme() { - return new getCriteria_argsTupleScheme(); + public getKeysCclOrder_argsTupleScheme getScheme() { + return new getKeysCclOrder_argsTupleScheme(); } } - private static class getCriteria_argsTupleScheme - extends TupleScheme { + private static class getKeysCclOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCriteria_args struct) + getKeysCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCriteria()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3510 : struct.keys) { + oprot.writeString(_iter3510); + } + } + } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -294072,26 +433780,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCriteria_args struct) + getKeysCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + { + org.apache.thrift.protocol.TList _list3511 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3511.size); + String _elem3512; + for (int _i3513 = 0; _i3513 < _list3511.size; ++_i3513) { + _elem3512 = iprot.readString(); + struct.keys.add(_elem3512); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); + } + if(incoming.get(2)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -294100,13 +433826,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getCriteria_result implements - org.apache.thrift.TBase, + public static class getKeysCclOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCriteria_result"); + "getKeysCclOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -294116,19 +433842,22 @@ public static class getCriteria_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCriteria_resultStandardSchemeFactory()); + new getKeysCclOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCriteria_resultTupleSchemeFactory()); + new getKeysCclOrder_resultTupleSchemeFactory()); } public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -294138,7 +433867,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -294162,6 +433892,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -294239,29 +433971,36 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getCriteria_result.class, metaDataMap); + getKeysCclOrder_result.class, metaDataMap); } - public getCriteria_result() {} + public getKeysCclOrder_result() {} - public getCriteria_result( + public getKeysCclOrder_result( Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getCriteria_result(getCriteria_result other) { + public getKeysCclOrder_result(getKeysCclOrder_result other) { if(other.isSetSuccess()) { Map> __this__success = new LinkedHashMap>( other.success.size()); @@ -294308,13 +434047,17 @@ public getCriteria_result(getCriteria_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public getCriteria_result deepCopy() { - return new getCriteria_result(this); + public getKeysCclOrder_result deepCopy() { + return new getKeysCclOrder_result(this); } @Override @@ -294323,6 +434066,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -294341,7 +434085,7 @@ public Map> getSuccess( return this.success; } - public getCriteria_result setSuccess( + public getKeysCclOrder_result setSuccess( Map> success) { this.success = success; return this; @@ -294369,7 +434113,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getCriteria_result setEx( + public getKeysCclOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -294397,7 +434141,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getCriteria_result setEx2( + public getKeysCclOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -294421,12 +434165,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getCriteria_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeysCclOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -294449,6 +434193,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeysCclOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -294484,7 +434256,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -294505,6 +434286,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -294527,6 +434311,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -294535,12 +434321,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCriteria_result) - return this.equals((getCriteria_result) that); + if(that instanceof getKeysCclOrder_result) + return this.equals((getKeysCclOrder_result) that); return false; } - public boolean equals(getCriteria_result that) { + public boolean equals(getKeysCclOrder_result that) { if(that == null) return false; @@ -294580,6 +434366,15 @@ public boolean equals(getCriteria_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -294607,11 +434402,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(getCriteria_result other) { + public int compareTo(getKeysCclOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -294667,6 +434467,18 @@ public int compareTo(getCriteria_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -294686,7 +434498,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCriteria_result("); + StringBuilder sb = new StringBuilder("getKeysCclOrder_result("); boolean first = true; sb.append("success:"); @@ -294727,6 +434539,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -294760,18 +434582,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCriteria_resultStandardSchemeFactory + private static class getKeysCclOrder_resultStandardSchemeFactory implements SchemeFactory { - public getCriteria_resultStandardScheme getScheme() { - return new getCriteria_resultStandardScheme(); + public getKeysCclOrder_resultStandardScheme getScheme() { + return new getKeysCclOrder_resultStandardScheme(); } } - private static class getCriteria_resultStandardScheme - extends StandardScheme { + private static class getKeysCclOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCriteria_result struct) + getKeysCclOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -294784,30 +434606,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2100 = iprot + org.apache.thrift.protocol.TMap _map3514 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2100.size); - long _key2101; - Map _val2102; - for (int _i2103 = 0; _i2103 < _map2100.size; ++_i2103) { - _key2101 = iprot.readI64(); + 2 * _map3514.size); + long _key3515; + Map _val3516; + for (int _i3517 = 0; _i3517 < _map3514.size; ++_i3517) { + _key3515 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2104 = iprot + org.apache.thrift.protocol.TMap _map3518 = iprot .readMapBegin(); - _val2102 = new LinkedHashMap( - 2 * _map2104.size); - String _key2105; - com.cinchapi.concourse.thrift.TObject _val2106; - for (int _i2107 = 0; _i2107 < _map2104.size; ++_i2107) { - _key2105 = iprot.readString(); - _val2106 = new com.cinchapi.concourse.thrift.TObject(); - _val2106.read(iprot); - _val2102.put(_key2105, _val2106); + _val3516 = new LinkedHashMap( + 2 * _map3518.size); + String _key3519; + com.cinchapi.concourse.thrift.TObject _val3520; + for (int _i3521 = 0; _i3521 < _map3518.size; ++_i3521) { + _key3519 = iprot.readString(); + _val3520 = new com.cinchapi.concourse.thrift.TObject(); + _val3520.read(iprot); + _val3516.put(_key3519, _val3520); } iprot.readMapEnd(); } - struct.success.put(_key2101, _val2102); + struct.success.put(_key3515, _val3516); } iprot.readMapEnd(); } @@ -294842,7 +434664,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -294851,6 +434673,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -294865,7 +434698,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCriteria_result struct) + getKeysCclOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -294877,19 +434710,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter2108 : struct.success + for (Map.Entry> _iter3522 : struct.success .entrySet()) { - oprot.writeI64(_iter2108.getKey()); + oprot.writeI64(_iter3522.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter2108.getValue().size())); - for (Map.Entry _iter2109 : _iter2108 + _iter3522.getValue().size())); + for (Map.Entry _iter3523 : _iter3522 .getValue().entrySet()) { - oprot.writeString(_iter2109.getKey()); - _iter2109.getValue().write(oprot); + oprot.writeString(_iter3523.getKey()); + _iter3523.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -294913,25 +434746,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getCriteria_resultTupleSchemeFactory + private static class getKeysCclOrder_resultTupleSchemeFactory implements SchemeFactory { - public getCriteria_resultTupleScheme getScheme() { - return new getCriteria_resultTupleScheme(); + public getKeysCclOrder_resultTupleScheme getScheme() { + return new getKeysCclOrder_resultTupleScheme(); } } - private static class getCriteria_resultTupleScheme - extends TupleScheme { + private static class getKeysCclOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCriteria_result struct) + getKeysCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -294947,19 +434785,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2110 : struct.success + for (Map.Entry> _iter3524 : struct.success .entrySet()) { - oprot.writeI64(_iter2110.getKey()); + oprot.writeI64(_iter3524.getKey()); { - oprot.writeI32(_iter2110.getValue().size()); - for (Map.Entry _iter2111 : _iter2110 + oprot.writeI32(_iter3524.getValue().size()); + for (Map.Entry _iter3525 : _iter3524 .getValue().entrySet()) { - oprot.writeString(_iter2111.getKey()); - _iter2111.getValue().write(oprot); + oprot.writeString(_iter3525.getKey()); + _iter3525.getValue().write(oprot); } } } @@ -294974,43 +434815,46 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCriteria_result struct) + getKeysCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2112 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3526 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2112.size); - long _key2113; - Map _val2114; - for (int _i2115 = 0; _i2115 < _map2112.size; ++_i2115) { - _key2113 = iprot.readI64(); + 2 * _map3526.size); + long _key3527; + Map _val3528; + for (int _i3529 = 0; _i3529 < _map3526.size; ++_i3529) { + _key3527 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2116 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3530 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2114 = new LinkedHashMap( - 2 * _map2116.size); - String _key2117; - com.cinchapi.concourse.thrift.TObject _val2118; - for (int _i2119 = 0; _i2119 < _map2116.size; ++_i2119) { - _key2117 = iprot.readString(); - _val2118 = new com.cinchapi.concourse.thrift.TObject(); - _val2118.read(iprot); - _val2114.put(_key2117, _val2118); + _val3528 = new LinkedHashMap( + 2 * _map3530.size); + String _key3531; + com.cinchapi.concourse.thrift.TObject _val3532; + for (int _i3533 = 0; _i3533 < _map3530.size; ++_i3533) { + _key3531 = iprot.readString(); + _val3532 = new com.cinchapi.concourse.thrift.TObject(); + _val3532.read(iprot); + _val3528.put(_key3531, _val3532); } } - struct.success.put(_key2113, _val2114); + struct.success.put(_key3527, _val3528); } } struct.setSuccessIsSet(true); @@ -295026,42 +434870,54 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class getCcl_args implements - org.apache.thrift.TBase, + public static class getKeysCriteriaTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCcl_args"); + "getKeysCriteriaTime_args"); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCcl_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new getCcl_argsTupleSchemeFactory()); + new getKeysCriteriaTime_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, + new getKeysCriteriaTime_argsTupleSchemeFactory()); } - public String ccl; // required + public List keys; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -295071,10 +434927,12 @@ public static class getCcl_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CCL((short) 1, "ccl"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEYS((short) 1, "keys"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -295090,13 +434948,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CCL - return CCL; - case 2: // CREDS + case 1: // KEYS + return KEYS; + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // CREDS return CREDS; - case 3: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -295142,15 +435004,30 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -295169,18 +435046,22 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(getCcl_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + getKeysCriteriaTime_args.class, metaDataMap); } - public getCcl_args() {} + public getKeysCriteriaTime_args() {} - public getCcl_args(String ccl, - com.cinchapi.concourse.thrift.AccessToken creds, + public getKeysCriteriaTime_args(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.ccl = ccl; + this.keys = keys; + this.criteria = criteria; + this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -295189,10 +435070,17 @@ public getCcl_args(String ccl, /** * Performs a deep copy on other. */ - public getCcl_args(getCcl_args other) { - if(other.isSetCcl()) { - this.ccl = other.ccl; + public getKeysCriteriaTime_args(getKeysCriteriaTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -295206,50 +435094,125 @@ public getCcl_args(getCcl_args other) { } } - public getCcl_args deepCopy() { - return new getCcl_args(this); + public getKeysCriteriaTime_args deepCopy() { + return new getKeysCriteriaTime_args(this); } @Override public void clear() { - this.ccl = null; + this.keys = null; + this.criteria = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } - public String getCcl() { - return this.ccl; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public getCcl_args setCcl(String ccl) { - this.ccl = ccl; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysCriteriaTime_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setCclIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.ccl = null; + this.keys = null; + } + } + + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; + } + + public getKeysCriteriaTime_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; + return this; + } + + public void unsetCriteria() { + this.criteria = null; + } + + /** + * Returns true if field criteria is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCriteria() { + return this.criteria != null; + } + + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; } } + public long getTimestamp() { + return this.timestamp; + } + + public getKeysCriteriaTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getCcl_args setCreds( + public getKeysCriteriaTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -295277,7 +435240,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getCcl_args setTransaction( + public getKeysCriteriaTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -295305,7 +435268,7 @@ public String getEnvironment() { return this.environment; } - public getCcl_args setEnvironment(String environment) { + public getKeysCriteriaTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -295330,12 +435293,31 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CCL: + case KEYS: if(value == null) { - unsetCcl(); + unsetKeys(); } else { - setCcl((String) value); + setKeys((List) value); + } + break; + + case CRITERIA: + if(value == null) { + unsetCriteria(); + } + else { + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); } break; @@ -295372,8 +435354,14 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CCL: - return getCcl(); + case KEYS: + return getKeys(); + + case CRITERIA: + return getCriteria(); + + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -295398,8 +435386,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case CCL: - return isSetCcl(); + case KEYS: + return isSetKeys(); + case CRITERIA: + return isSetCriteria(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -295414,21 +435406,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCcl_args) - return this.equals((getCcl_args) that); + if(that instanceof getKeysCriteriaTime_args) + return this.equals((getKeysCriteriaTime_args) that); return false; } - public boolean equals(getCcl_args that) { + public boolean equals(getKeysCriteriaTime_args that) { if(that == null) return false; - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.keys.equals(that.keys)) + return false; + } + + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) + return false; + if(!this.criteria.equals(that.criteria)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) return false; } @@ -295466,10 +435476,20 @@ public boolean equals(getCcl_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); + + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -295490,7 +435510,7 @@ public int hashCode() { } @Override - public int compareTo(getCcl_args other) { + public int compareTo(getKeysCriteriaTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -295498,14 +435518,38 @@ public int compareTo(getCcl_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCriteria()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.criteria, other.criteria); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -295565,16 +435609,31 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCcl_args("); + StringBuilder sb = new StringBuilder("getKeysCriteriaTime_args("); boolean first = true; - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); } + else { + sb.append(this.criteria); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -295613,6 +435672,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -295636,6 +435698,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -295645,18 +435711,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCcl_argsStandardSchemeFactory + private static class getKeysCriteriaTime_argsStandardSchemeFactory implements SchemeFactory { - public getCcl_argsStandardScheme getScheme() { - return new getCcl_argsStandardScheme(); + public getKeysCriteriaTime_argsStandardScheme getScheme() { + return new getKeysCriteriaTime_argsStandardScheme(); } } - private static class getCcl_argsStandardScheme - extends StandardScheme { + private static class getKeysCriteriaTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCcl_args struct) throws org.apache.thrift.TException { + getKeysCriteriaTime_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -295665,17 +435732,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3534 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3534.size); + String _elem3535; + for (int _i3536 = 0; _i3536 < _list3534.size; ++_i3536) { + _elem3535 = iprot.readString(); + struct.keys.add(_elem3535); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -295686,7 +435785,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -295697,7 +435796,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -295721,15 +435820,33 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCcl_args struct) throws org.apache.thrift.TException { + getKeysCriteriaTime_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3537 : struct.keys) { + oprot.writeString(_iter3537); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -295751,36 +435868,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getCcl_argsTupleSchemeFactory + private static class getKeysCriteriaTime_argsTupleSchemeFactory implements SchemeFactory { - public getCcl_argsTupleScheme getScheme() { - return new getCcl_argsTupleScheme(); + public getKeysCriteriaTime_argsTupleScheme getScheme() { + return new getKeysCriteriaTime_argsTupleScheme(); } } - private static class getCcl_argsTupleScheme - extends TupleScheme { + private static class getKeysCriteriaTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCcl_args struct) throws org.apache.thrift.TException { + getKeysCriteriaTime_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCcl()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetTransaction()) { + optionals.set(4); + } + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3538 : struct.keys) { + oprot.writeString(_iter3538); + } + } + } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); + } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -295795,24 +435930,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCcl_args struct) throws org.apache.thrift.TException { + getKeysCriteriaTime_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + { + org.apache.thrift.protocol.TList _list3539 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3539.size); + String _elem3540; + for (int _i3541 = 0; _i3541 < _list3539.size; ++_i3541) { + _elem3540 = iprot.readString(); + struct.keys.add(_elem3540); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); + } + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -295821,13 +435976,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getCcl_result implements - org.apache.thrift.TBase, + public static class getKeysCriteriaTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCcl_result"); + "getKeysCriteriaTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -295837,22 +435992,19 @@ public static class getCcl_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCcl_resultStandardSchemeFactory()); + new getKeysCriteriaTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCcl_resultTupleSchemeFactory()); + new getKeysCriteriaTime_resultTupleSchemeFactory()); } public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -295862,8 +436014,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -295887,8 +436038,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -295966,36 +436115,29 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(getCcl_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + getKeysCriteriaTime_result.class, metaDataMap); } - public getCcl_result() {} + public getKeysCriteriaTime_result() {} - public getCcl_result( + public getKeysCriteriaTime_result( Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getCcl_result(getCcl_result other) { + public getKeysCriteriaTime_result(getKeysCriteriaTime_result other) { if(other.isSetSuccess()) { Map> __this__success = new LinkedHashMap>( other.success.size()); @@ -296042,17 +436184,13 @@ public getCcl_result(getCcl_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public getCcl_result deepCopy() { - return new getCcl_result(this); + public getKeysCriteriaTime_result deepCopy() { + return new getKeysCriteriaTime_result(this); } @Override @@ -296061,7 +436199,6 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { @@ -296080,7 +436217,7 @@ public Map> getSuccess( return this.success; } - public getCcl_result setSuccess( + public getKeysCriteriaTime_result setSuccess( Map> success) { this.success = success; return this; @@ -296108,7 +436245,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getCcl_result setEx( + public getKeysCriteriaTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -296136,7 +436273,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getCcl_result setEx2( + public getKeysCriteriaTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -296160,12 +436297,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getCcl_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public getKeysCriteriaTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -296188,34 +436325,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public getCcl_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -296251,16 +436360,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -296281,9 +436381,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -296306,8 +436403,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -296316,12 +436411,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCcl_result) - return this.equals((getCcl_result) that); + if(that instanceof getKeysCriteriaTime_result) + return this.equals((getKeysCriteriaTime_result) that); return false; } - public boolean equals(getCcl_result that) { + public boolean equals(getKeysCriteriaTime_result that) { if(that == null) return false; @@ -296361,15 +436456,6 @@ public boolean equals(getCcl_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -296397,16 +436483,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(getCcl_result other) { + public int compareTo(getKeysCriteriaTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -296462,18 +436543,6 @@ public int compareTo(getCcl_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -296493,7 +436562,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCcl_result("); + StringBuilder sb = new StringBuilder("getKeysCriteriaTime_result("); boolean first = true; sb.append("success:"); @@ -296534,16 +436603,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -296577,18 +436636,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCcl_resultStandardSchemeFactory + private static class getKeysCriteriaTime_resultStandardSchemeFactory implements SchemeFactory { - public getCcl_resultStandardScheme getScheme() { - return new getCcl_resultStandardScheme(); + public getKeysCriteriaTime_resultStandardScheme getScheme() { + return new getKeysCriteriaTime_resultStandardScheme(); } } - private static class getCcl_resultStandardScheme - extends StandardScheme { + private static class getKeysCriteriaTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCcl_result struct) throws org.apache.thrift.TException { + getKeysCriteriaTime_result struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -296600,30 +436660,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2120 = iprot + org.apache.thrift.protocol.TMap _map3542 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2120.size); - long _key2121; - Map _val2122; - for (int _i2123 = 0; _i2123 < _map2120.size; ++_i2123) { - _key2121 = iprot.readI64(); + 2 * _map3542.size); + long _key3543; + Map _val3544; + for (int _i3545 = 0; _i3545 < _map3542.size; ++_i3545) { + _key3543 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2124 = iprot + org.apache.thrift.protocol.TMap _map3546 = iprot .readMapBegin(); - _val2122 = new LinkedHashMap( - 2 * _map2124.size); - String _key2125; - com.cinchapi.concourse.thrift.TObject _val2126; - for (int _i2127 = 0; _i2127 < _map2124.size; ++_i2127) { - _key2125 = iprot.readString(); - _val2126 = new com.cinchapi.concourse.thrift.TObject(); - _val2126.read(iprot); - _val2122.put(_key2125, _val2126); + _val3544 = new LinkedHashMap( + 2 * _map3546.size); + String _key3547; + com.cinchapi.concourse.thrift.TObject _val3548; + for (int _i3549 = 0; _i3549 < _map3546.size; ++_i3549) { + _key3547 = iprot.readString(); + _val3548 = new com.cinchapi.concourse.thrift.TObject(); + _val3548.read(iprot); + _val3544.put(_key3547, _val3548); } iprot.readMapEnd(); } - struct.success.put(_key2121, _val2122); + struct.success.put(_key3543, _val3544); } iprot.readMapEnd(); } @@ -296658,7 +436718,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -296667,17 +436727,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -296692,7 +436741,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCcl_result struct) throws org.apache.thrift.TException { + getKeysCriteriaTime_result struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -296703,19 +436753,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter2128 : struct.success + for (Map.Entry> _iter3550 : struct.success .entrySet()) { - oprot.writeI64(_iter2128.getKey()); + oprot.writeI64(_iter3550.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter2128.getValue().size())); - for (Map.Entry _iter2129 : _iter2128 + _iter3550.getValue().size())); + for (Map.Entry _iter3551 : _iter3550 .getValue().entrySet()) { - oprot.writeString(_iter2129.getKey()); - _iter2129.getValue().write(oprot); + oprot.writeString(_iter3551.getKey()); + _iter3551.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -296739,30 +436789,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getCcl_resultTupleSchemeFactory + private static class getKeysCriteriaTime_resultTupleSchemeFactory implements SchemeFactory { - public getCcl_resultTupleScheme getScheme() { - return new getCcl_resultTupleScheme(); + public getKeysCriteriaTime_resultTupleScheme getScheme() { + return new getKeysCriteriaTime_resultTupleScheme(); } } - private static class getCcl_resultTupleScheme - extends TupleScheme { + private static class getKeysCriteriaTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCcl_result struct) throws org.apache.thrift.TException { + getKeysCriteriaTime_result struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetSuccess()) { @@ -296777,22 +436823,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2130 : struct.success + for (Map.Entry> _iter3552 : struct.success .entrySet()) { - oprot.writeI64(_iter2130.getKey()); + oprot.writeI64(_iter3552.getKey()); { - oprot.writeI32(_iter2130.getValue().size()); - for (Map.Entry _iter2131 : _iter2130 + oprot.writeI32(_iter3552.getValue().size()); + for (Map.Entry _iter3553 : _iter3552 .getValue().entrySet()) { - oprot.writeString(_iter2131.getKey()); - _iter2131.getValue().write(oprot); + oprot.writeString(_iter3553.getKey()); + _iter3553.getValue().write(oprot); } } } @@ -296807,45 +436850,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCcl_result struct) throws org.apache.thrift.TException { + getKeysCriteriaTime_result struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2132 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3554 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2132.size); - long _key2133; - Map _val2134; - for (int _i2135 = 0; _i2135 < _map2132.size; ++_i2135) { - _key2133 = iprot.readI64(); + 2 * _map3554.size); + long _key3555; + Map _val3556; + for (int _i3557 = 0; _i3557 < _map3554.size; ++_i3557) { + _key3555 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2136 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3558 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2134 = new LinkedHashMap( - 2 * _map2136.size); - String _key2137; - com.cinchapi.concourse.thrift.TObject _val2138; - for (int _i2139 = 0; _i2139 < _map2136.size; ++_i2139) { - _key2137 = iprot.readString(); - _val2138 = new com.cinchapi.concourse.thrift.TObject(); - _val2138.read(iprot); - _val2134.put(_key2137, _val2138); + _val3556 = new LinkedHashMap( + 2 * _map3558.size); + String _key3559; + com.cinchapi.concourse.thrift.TObject _val3560; + for (int _i3561 = 0; _i3561 < _map3558.size; ++_i3561) { + _key3559 = iprot.readString(); + _val3560 = new com.cinchapi.concourse.thrift.TObject(); + _val3560.read(iprot); + _val3556.put(_key3559, _val3560); } } - struct.success.put(_key2133, _val2134); + struct.success.put(_key3555, _val3556); } } struct.setSuccessIsSet(true); @@ -296861,51 +436902,52 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class getCriteriaTime_args implements - org.apache.thrift.TBase, + public static class getKeysCriteriaTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCriteriaTime_args"); + "getKeysCriteriaTimeOrder_args"); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCriteriaTime_argsStandardSchemeFactory()); + new getKeysCriteriaTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCriteriaTime_argsTupleSchemeFactory()); + new getKeysCriteriaTimeOrder_argsTupleSchemeFactory()); } + public List keys; // required public com.cinchapi.concourse.thrift.TCriteria criteria; // required public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -296915,11 +436957,13 @@ public static class getCriteriaTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CRITERIA((short) 1, "criteria"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEYS((short) 1, "keys"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -296935,15 +436979,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CRITERIA + case 1: // KEYS + return KEYS; + case 2: // CRITERIA return CRITERIA; - case 2: // TIMESTAMP + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -296995,6 +437043,13 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.CRITERIA, new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -297006,6 +437061,12 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -297025,20 +437086,23 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getCriteriaTime_args.class, metaDataMap); + getKeysCriteriaTimeOrder_args.class, metaDataMap); } - public getCriteriaTime_args() {} + public getKeysCriteriaTimeOrder_args() {} - public getCriteriaTime_args( + public getKeysCriteriaTimeOrder_args(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.keys = keys; this.criteria = criteria; this.timestamp = timestamp; setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -297047,13 +437111,22 @@ public getCriteriaTime_args( /** * Performs a deep copy on other. */ - public getCriteriaTime_args(getCriteriaTime_args other) { + public getKeysCriteriaTimeOrder_args( + getKeysCriteriaTimeOrder_args other) { __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } if(other.isSetCriteria()) { this.criteria = new com.cinchapi.concourse.thrift.TCriteria( other.criteria); } this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -297067,25 +437140,69 @@ public getCriteriaTime_args(getCriteriaTime_args other) { } } - public getCriteriaTime_args deepCopy() { - return new getCriteriaTime_args(this); + public getKeysCriteriaTimeOrder_args deepCopy() { + return new getKeysCriteriaTimeOrder_args(this); } @Override public void clear() { + this.keys = null; this.criteria = null; setTimestampIsSet(false); this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysCriteriaTimeOrder_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { return this.criteria; } - public getCriteriaTime_args setCriteria( + public getKeysCriteriaTimeOrder_args setCriteria( com.cinchapi.concourse.thrift.TCriteria criteria) { this.criteria = criteria; return this; @@ -297113,7 +437230,7 @@ public long getTimestamp() { return this.timestamp; } - public getCriteriaTime_args setTimestamp(long timestamp) { + public getKeysCriteriaTimeOrder_args setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; @@ -297138,11 +437255,39 @@ public void setTimestampIsSet(boolean value) { __TIMESTAMP_ISSET_ID, value); } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeysCriteriaTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getCriteriaTime_args setCreds( + public getKeysCriteriaTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -297170,7 +437315,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getCriteriaTime_args setTransaction( + public getKeysCriteriaTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -297198,7 +437343,8 @@ public String getEnvironment() { return this.environment; } - public getCriteriaTime_args setEnvironment(String environment) { + public getKeysCriteriaTimeOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -297223,6 +437369,15 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + case CRITERIA: if(value == null) { unsetCriteria(); @@ -297242,6 +437397,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -297275,12 +437439,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case KEYS: + return getKeys(); + case CRITERIA: return getCriteria(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -297304,10 +437474,14 @@ public boolean isSet(_Fields field) { } switch (field) { + case KEYS: + return isSetKeys(); case CRITERIA: return isSetCriteria(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -297322,15 +437496,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCriteriaTime_args) - return this.equals((getCriteriaTime_args) that); + if(that instanceof getKeysCriteriaTimeOrder_args) + return this.equals((getKeysCriteriaTimeOrder_args) that); return false; } - public boolean equals(getCriteriaTime_args that) { + public boolean equals(getKeysCriteriaTimeOrder_args that) { if(that == null) return false; + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + boolean this_present_criteria = true && this.isSetCriteria(); boolean that_present_criteria = true && that.isSetCriteria(); if(this_present_criteria || that_present_criteria) { @@ -297349,6 +437532,15 @@ public boolean equals(getCriteriaTime_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -297383,6 +437575,11 @@ public boolean equals(getCriteriaTime_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + boolean present_criteria = true && (isSetCriteria()); list.add(present_criteria); if(present_criteria) @@ -297393,6 +437590,11 @@ public int hashCode() { if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -297412,7 +437614,7 @@ public int hashCode() { } @Override - public int compareTo(getCriteriaTime_args other) { + public int compareTo(getKeysCriteriaTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -297420,6 +437622,18 @@ public int compareTo(getCriteriaTime_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCriteria()) .compareTo(other.isSetCriteria()); if(lastComparison != 0) { @@ -297444,6 +437658,18 @@ public int compareTo(getCriteriaTime_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -297499,9 +437725,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCriteriaTime_args("); + StringBuilder sb = new StringBuilder( + "getKeysCriteriaTimeOrder_args("); boolean first = true; + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); sb.append("criteria:"); if(this.criteria == null) { sb.append("null"); @@ -297515,6 +437752,16 @@ public String toString() { sb.append("timestamp:"); sb.append(this.timestamp); first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -297555,6 +437802,9 @@ public void validate() throws org.apache.thrift.TException { if(criteria != null) { criteria.validate(); } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -297591,18 +437841,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCriteriaTime_argsStandardSchemeFactory + private static class getKeysCriteriaTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public getCriteriaTime_argsStandardScheme getScheme() { - return new getCriteriaTime_argsStandardScheme(); + public getKeysCriteriaTimeOrder_argsStandardScheme getScheme() { + return new getKeysCriteriaTimeOrder_argsStandardScheme(); } } - private static class getCriteriaTime_argsStandardScheme - extends StandardScheme { + private static class getKeysCriteriaTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCriteriaTime_args struct) + getKeysCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -297612,7 +437862,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CRITERIA + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3562 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3562.size); + String _elem3563; + for (int _i3564 = 0; _i3564 < _list3562.size; ++_i3564) { + _elem3563 = iprot.readString(); + struct.keys.add(_elem3563); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CRITERIA if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); struct.criteria.read(iprot); @@ -297623,7 +437894,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // TIMESTAMP + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); @@ -297633,7 +437904,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -297644,7 +437926,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -297655,7 +437937,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -297679,11 +437961,25 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCriteriaTime_args struct) + getKeysCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3565 : struct.keys) { + oprot.writeString(_iter3565); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } if(struct.criteria != null) { oprot.writeFieldBegin(CRITERIA_FIELD_DESC); struct.criteria.write(oprot); @@ -297692,6 +437988,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -297713,44 +438014,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getCriteriaTime_argsTupleSchemeFactory + private static class getKeysCriteriaTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public getCriteriaTime_argsTupleScheme getScheme() { - return new getCriteriaTime_argsTupleScheme(); + public getKeysCriteriaTimeOrder_argsTupleScheme getScheme() { + return new getKeysCriteriaTimeOrder_argsTupleScheme(); } } - private static class getCriteriaTime_argsTupleScheme - extends TupleScheme { + private static class getKeysCriteriaTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCriteriaTime_args struct) + getKeysCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCriteria()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3566 : struct.keys) { + oprot.writeString(_iter3566); + } + } + } if(struct.isSetCriteria()) { struct.criteria.write(oprot); } if(struct.isSetTimestamp()) { oprot.writeI64(struct.timestamp); } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -297764,30 +438082,49 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCriteriaTime_args struct) + getKeysCriteriaTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list3567 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3567.size); + String _elem3568; + for (int _i3569 = 0; _i3569 < _list3567.size; ++_i3569) { + _elem3568 = iprot.readString(); + struct.keys.add(_elem3568); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); struct.criteria.read(iprot); struct.setCriteriaIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -297796,13 +438133,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getCriteriaTime_result implements - org.apache.thrift.TBase, + public static class getKeysCriteriaTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCriteriaTime_result"); + "getKeysCriteriaTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -297816,9 +438153,9 @@ public static class getCriteriaTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCriteriaTime_resultStandardSchemeFactory()); + new getKeysCriteriaTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCriteriaTime_resultTupleSchemeFactory()); + new getKeysCriteriaTimeOrder_resultTupleSchemeFactory()); } public Map> success; // required @@ -297937,12 +438274,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getCriteriaTime_result.class, metaDataMap); + getKeysCriteriaTimeOrder_result.class, metaDataMap); } - public getCriteriaTime_result() {} + public getKeysCriteriaTimeOrder_result() {} - public getCriteriaTime_result( + public getKeysCriteriaTimeOrder_result( Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, @@ -297957,7 +438294,8 @@ public getCriteriaTime_result( /** * Performs a deep copy on other. */ - public getCriteriaTime_result(getCriteriaTime_result other) { + public getKeysCriteriaTimeOrder_result( + getKeysCriteriaTimeOrder_result other) { if(other.isSetSuccess()) { Map> __this__success = new LinkedHashMap>( other.success.size()); @@ -298009,8 +438347,8 @@ public getCriteriaTime_result(getCriteriaTime_result other) { } } - public getCriteriaTime_result deepCopy() { - return new getCriteriaTime_result(this); + public getKeysCriteriaTimeOrder_result deepCopy() { + return new getKeysCriteriaTimeOrder_result(this); } @Override @@ -298037,7 +438375,7 @@ public Map> getSuccess( return this.success; } - public getCriteriaTime_result setSuccess( + public getKeysCriteriaTimeOrder_result setSuccess( Map> success) { this.success = success; return this; @@ -298065,7 +438403,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getCriteriaTime_result setEx( + public getKeysCriteriaTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -298093,7 +438431,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getCriteriaTime_result setEx2( + public getKeysCriteriaTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -298121,7 +438459,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getCriteriaTime_result setEx3( + public getKeysCriteriaTimeOrder_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -298231,12 +438569,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCriteriaTime_result) - return this.equals((getCriteriaTime_result) that); + if(that instanceof getKeysCriteriaTimeOrder_result) + return this.equals((getKeysCriteriaTimeOrder_result) that); return false; } - public boolean equals(getCriteriaTime_result that) { + public boolean equals(getKeysCriteriaTimeOrder_result that) { if(that == null) return false; @@ -298307,7 +438645,7 @@ public int hashCode() { } @Override - public int compareTo(getCriteriaTime_result other) { + public int compareTo(getKeysCriteriaTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -298382,7 +438720,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCriteriaTime_result("); + StringBuilder sb = new StringBuilder( + "getKeysCriteriaTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -298456,18 +438795,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCriteriaTime_resultStandardSchemeFactory + private static class getKeysCriteriaTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public getCriteriaTime_resultStandardScheme getScheme() { - return new getCriteriaTime_resultStandardScheme(); + public getKeysCriteriaTimeOrder_resultStandardScheme getScheme() { + return new getKeysCriteriaTimeOrder_resultStandardScheme(); } } - private static class getCriteriaTime_resultStandardScheme - extends StandardScheme { + private static class getKeysCriteriaTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCriteriaTime_result struct) + getKeysCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -298480,30 +438819,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2140 = iprot + org.apache.thrift.protocol.TMap _map3570 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2140.size); - long _key2141; - Map _val2142; - for (int _i2143 = 0; _i2143 < _map2140.size; ++_i2143) { - _key2141 = iprot.readI64(); + 2 * _map3570.size); + long _key3571; + Map _val3572; + for (int _i3573 = 0; _i3573 < _map3570.size; ++_i3573) { + _key3571 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2144 = iprot + org.apache.thrift.protocol.TMap _map3574 = iprot .readMapBegin(); - _val2142 = new LinkedHashMap( - 2 * _map2144.size); - String _key2145; - com.cinchapi.concourse.thrift.TObject _val2146; - for (int _i2147 = 0; _i2147 < _map2144.size; ++_i2147) { - _key2145 = iprot.readString(); - _val2146 = new com.cinchapi.concourse.thrift.TObject(); - _val2146.read(iprot); - _val2142.put(_key2145, _val2146); + _val3572 = new LinkedHashMap( + 2 * _map3574.size); + String _key3575; + com.cinchapi.concourse.thrift.TObject _val3576; + for (int _i3577 = 0; _i3577 < _map3574.size; ++_i3577) { + _key3575 = iprot.readString(); + _val3576 = new com.cinchapi.concourse.thrift.TObject(); + _val3576.read(iprot); + _val3572.put(_key3575, _val3576); } iprot.readMapEnd(); } - struct.success.put(_key2141, _val2142); + struct.success.put(_key3571, _val3572); } iprot.readMapEnd(); } @@ -298561,7 +438900,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCriteriaTime_result struct) + getKeysCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -298573,19 +438912,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter2148 : struct.success + for (Map.Entry> _iter3578 : struct.success .entrySet()) { - oprot.writeI64(_iter2148.getKey()); + oprot.writeI64(_iter3578.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter2148.getValue().size())); - for (Map.Entry _iter2149 : _iter2148 + _iter3578.getValue().size())); + for (Map.Entry _iter3579 : _iter3578 .getValue().entrySet()) { - oprot.writeString(_iter2149.getKey()); - _iter2149.getValue().write(oprot); + oprot.writeString(_iter3579.getKey()); + _iter3579.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -298615,19 +438954,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getCriteriaTime_resultTupleSchemeFactory + private static class getKeysCriteriaTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public getCriteriaTime_resultTupleScheme getScheme() { - return new getCriteriaTime_resultTupleScheme(); + public getKeysCriteriaTimeOrder_resultTupleScheme getScheme() { + return new getKeysCriteriaTimeOrder_resultTupleScheme(); } } - private static class getCriteriaTime_resultTupleScheme - extends TupleScheme { + private static class getKeysCriteriaTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCriteriaTime_result struct) + getKeysCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -298647,15 +438986,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2150 : struct.success + for (Map.Entry> _iter3580 : struct.success .entrySet()) { - oprot.writeI64(_iter2150.getKey()); + oprot.writeI64(_iter3580.getKey()); { - oprot.writeI32(_iter2150.getValue().size()); - for (Map.Entry _iter2151 : _iter2150 + oprot.writeI32(_iter3580.getValue().size()); + for (Map.Entry _iter3581 : _iter3580 .getValue().entrySet()) { - oprot.writeString(_iter2151.getKey()); - _iter2151.getValue().write(oprot); + oprot.writeString(_iter3581.getKey()); + _iter3581.getValue().write(oprot); } } } @@ -298674,39 +439013,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCriteriaTime_result struct) + getKeysCriteriaTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2152 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3582 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2152.size); - long _key2153; - Map _val2154; - for (int _i2155 = 0; _i2155 < _map2152.size; ++_i2155) { - _key2153 = iprot.readI64(); + 2 * _map3582.size); + long _key3583; + Map _val3584; + for (int _i3585 = 0; _i3585 < _map3582.size; ++_i3585) { + _key3583 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2156 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3586 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2154 = new LinkedHashMap( - 2 * _map2156.size); - String _key2157; - com.cinchapi.concourse.thrift.TObject _val2158; - for (int _i2159 = 0; _i2159 < _map2156.size; ++_i2159) { - _key2157 = iprot.readString(); - _val2158 = new com.cinchapi.concourse.thrift.TObject(); - _val2158.read(iprot); - _val2154.put(_key2157, _val2158); + _val3584 = new LinkedHashMap( + 2 * _map3586.size); + String _key3587; + com.cinchapi.concourse.thrift.TObject _val3588; + for (int _i3589 = 0; _i3589 < _map3586.size; ++_i3589) { + _key3587 = iprot.readString(); + _val3588 = new com.cinchapi.concourse.thrift.TObject(); + _val3588.read(iprot); + _val3584.put(_key3587, _val3588); } } - struct.success.put(_key2153, _val2154); + struct.success.put(_key3583, _val3584); } } struct.setSuccessIsSet(true); @@ -298731,36 +439070,39 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getCriteriaTimestr_args implements - org.apache.thrift.TBase, + public static class getKeysCriteriaTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCriteriaTimestr_args"); + "getKeysCriteriaTimestr_args"); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCriteriaTimestr_argsStandardSchemeFactory()); + new getKeysCriteriaTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCriteriaTimestr_argsTupleSchemeFactory()); + new getKeysCriteriaTimestr_argsTupleSchemeFactory()); } + public List keys; // required public com.cinchapi.concourse.thrift.TCriteria criteria; // required public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required @@ -298772,11 +439114,12 @@ public static class getCriteriaTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CRITERIA((short) 1, "criteria"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEYS((short) 1, "keys"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -298792,15 +439135,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CRITERIA + case 1: // KEYS + return KEYS; + case 2: // CRITERIA return CRITERIA; - case 2: // TIMESTAMP + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -298850,6 +439195,13 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.CRITERIA, new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -298880,18 +439232,19 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getCriteriaTimestr_args.class, metaDataMap); + getKeysCriteriaTimestr_args.class, metaDataMap); } - public getCriteriaTimestr_args() {} + public getKeysCriteriaTimestr_args() {} - public getCriteriaTimestr_args( + public getKeysCriteriaTimestr_args(List keys, com.cinchapi.concourse.thrift.TCriteria criteria, String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.keys = keys; this.criteria = criteria; this.timestamp = timestamp; this.creds = creds; @@ -298902,7 +439255,11 @@ public getCriteriaTimestr_args( /** * Performs a deep copy on other. */ - public getCriteriaTimestr_args(getCriteriaTimestr_args other) { + public getKeysCriteriaTimestr_args(getKeysCriteriaTimestr_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } if(other.isSetCriteria()) { this.criteria = new com.cinchapi.concourse.thrift.TCriteria( other.criteria); @@ -298923,12 +439280,13 @@ public getCriteriaTimestr_args(getCriteriaTimestr_args other) { } } - public getCriteriaTimestr_args deepCopy() { - return new getCriteriaTimestr_args(this); + public getKeysCriteriaTimestr_args deepCopy() { + return new getKeysCriteriaTimestr_args(this); } @Override public void clear() { + this.keys = null; this.criteria = null; this.timestamp = null; this.creds = null; @@ -298936,11 +439294,53 @@ public void clear() { this.environment = null; } + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysCriteriaTimestr_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { return this.criteria; } - public getCriteriaTimestr_args setCriteria( + public getKeysCriteriaTimestr_args setCriteria( com.cinchapi.concourse.thrift.TCriteria criteria) { this.criteria = criteria; return this; @@ -298968,7 +439368,7 @@ public String getTimestamp() { return this.timestamp; } - public getCriteriaTimestr_args setTimestamp(String timestamp) { + public getKeysCriteriaTimestr_args setTimestamp(String timestamp) { this.timestamp = timestamp; return this; } @@ -298995,7 +439395,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getCriteriaTimestr_args setCreds( + public getKeysCriteriaTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -299023,7 +439423,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getCriteriaTimestr_args setTransaction( + public getKeysCriteriaTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -299051,7 +439451,7 @@ public String getEnvironment() { return this.environment; } - public getCriteriaTimestr_args setEnvironment(String environment) { + public getKeysCriteriaTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -299076,6 +439476,15 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + case CRITERIA: if(value == null) { unsetCriteria(); @@ -299128,6 +439537,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case KEYS: + return getKeys(); + case CRITERIA: return getCriteria(); @@ -299157,6 +439569,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case KEYS: + return isSetKeys(); case CRITERIA: return isSetCriteria(); case TIMESTAMP: @@ -299175,15 +439589,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCriteriaTimestr_args) - return this.equals((getCriteriaTimestr_args) that); + if(that instanceof getKeysCriteriaTimestr_args) + return this.equals((getKeysCriteriaTimestr_args) that); return false; } - public boolean equals(getCriteriaTimestr_args that) { + public boolean equals(getKeysCriteriaTimestr_args that) { if(that == null) return false; + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + boolean this_present_criteria = true && this.isSetCriteria(); boolean that_present_criteria = true && that.isSetCriteria(); if(this_present_criteria || that_present_criteria) { @@ -299236,6 +439659,11 @@ public boolean equals(getCriteriaTimestr_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + boolean present_criteria = true && (isSetCriteria()); list.add(present_criteria); if(present_criteria) @@ -299265,7 +439693,7 @@ public int hashCode() { } @Override - public int compareTo(getCriteriaTimestr_args other) { + public int compareTo(getKeysCriteriaTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -299273,6 +439701,18 @@ public int compareTo(getCriteriaTimestr_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCriteria()) .compareTo(other.isSetCriteria()); if(lastComparison != 0) { @@ -299352,9 +439792,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCriteriaTimestr_args("); + StringBuilder sb = new StringBuilder( + "getKeysCriteriaTimestr_args("); boolean first = true; + sb.append("keys:"); + if(this.keys == null) { + sb.append("null"); + } + else { + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); sb.append("criteria:"); if(this.criteria == null) { sb.append("null"); @@ -299445,18 +439896,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCriteriaTimestr_argsStandardSchemeFactory + private static class getKeysCriteriaTimestr_argsStandardSchemeFactory implements SchemeFactory { - public getCriteriaTimestr_argsStandardScheme getScheme() { - return new getCriteriaTimestr_argsStandardScheme(); + public getKeysCriteriaTimestr_argsStandardScheme getScheme() { + return new getKeysCriteriaTimestr_argsStandardScheme(); } } - private static class getCriteriaTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeysCriteriaTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCriteriaTimestr_args struct) + getKeysCriteriaTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -299466,7 +439917,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CRITERIA + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3590 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3590.size); + String _elem3591; + for (int _i3592 = 0; _i3592 < _list3590.size; ++_i3592) { + _elem3591 = iprot.readString(); + struct.keys.add(_elem3591); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CRITERIA if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); struct.criteria.read(iprot); @@ -299477,7 +439949,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // TIMESTAMP + case 3: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); @@ -299487,7 +439959,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -299498,7 +439970,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -299509,7 +439981,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -299533,11 +440005,25 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCriteriaTimestr_args struct) + getKeysCriteriaTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3593 : struct.keys) { + oprot.writeString(_iter3593); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } if(struct.criteria != null) { oprot.writeFieldBegin(CRITERIA_FIELD_DESC); struct.criteria.write(oprot); @@ -299569,38 +440055,49 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getCriteriaTimestr_argsTupleSchemeFactory + private static class getKeysCriteriaTimestr_argsTupleSchemeFactory implements SchemeFactory { - public getCriteriaTimestr_argsTupleScheme getScheme() { - return new getCriteriaTimestr_argsTupleScheme(); + public getKeysCriteriaTimestr_argsTupleScheme getScheme() { + return new getKeysCriteriaTimestr_argsTupleScheme(); } } - private static class getCriteriaTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeysCriteriaTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCriteriaTimestr_args struct) + getKeysCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCriteria()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3594 : struct.keys) { + oprot.writeString(_iter3594); + } + } + } if(struct.isSetCriteria()) { struct.criteria.write(oprot); } @@ -299620,30 +440117,44 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCriteriaTimestr_args struct) + getKeysCriteriaTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list3595 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3595.size); + String _elem3596; + for (int _i3597 = 0; _i3597 < _list3595.size; ++_i3597) { + _elem3596 = iprot.readString(); + struct.keys.add(_elem3596); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); struct.criteria.read(iprot); struct.setCriteriaIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(2)) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -299652,13 +440163,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getCriteriaTimestr_result implements - org.apache.thrift.TBase, + public static class getKeysCriteriaTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCriteriaTimestr_result"); + "getKeysCriteriaTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -299674,9 +440185,9 @@ public static class getCriteriaTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCriteriaTimestr_resultStandardSchemeFactory()); + new getKeysCriteriaTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCriteriaTimestr_resultTupleSchemeFactory()); + new getKeysCriteriaTimestr_resultTupleSchemeFactory()); } public Map> success; // required @@ -299804,12 +440315,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getCriteriaTimestr_result.class, metaDataMap); + getKeysCriteriaTimestr_result.class, metaDataMap); } - public getCriteriaTimestr_result() {} + public getKeysCriteriaTimestr_result() {} - public getCriteriaTimestr_result( + public getKeysCriteriaTimestr_result( Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, @@ -299826,7 +440337,8 @@ public getCriteriaTimestr_result( /** * Performs a deep copy on other. */ - public getCriteriaTimestr_result(getCriteriaTimestr_result other) { + public getKeysCriteriaTimestr_result( + getKeysCriteriaTimestr_result other) { if(other.isSetSuccess()) { Map> __this__success = new LinkedHashMap>( other.success.size()); @@ -299882,8 +440394,8 @@ public getCriteriaTimestr_result(getCriteriaTimestr_result other) { } } - public getCriteriaTimestr_result deepCopy() { - return new getCriteriaTimestr_result(this); + public getKeysCriteriaTimestr_result deepCopy() { + return new getKeysCriteriaTimestr_result(this); } @Override @@ -299911,7 +440423,7 @@ public Map> getSuccess( return this.success; } - public getCriteriaTimestr_result setSuccess( + public getKeysCriteriaTimestr_result setSuccess( Map> success) { this.success = success; return this; @@ -299939,7 +440451,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getCriteriaTimestr_result setEx( + public getKeysCriteriaTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -299967,7 +440479,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getCriteriaTimestr_result setEx2( + public getKeysCriteriaTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -299995,7 +440507,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getCriteriaTimestr_result setEx3( + public getKeysCriteriaTimestr_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -300023,7 +440535,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public getCriteriaTimestr_result setEx4( + public getKeysCriteriaTimestr_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -300147,12 +440659,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCriteriaTimestr_result) - return this.equals((getCriteriaTimestr_result) that); + if(that instanceof getKeysCriteriaTimestr_result) + return this.equals((getKeysCriteriaTimestr_result) that); return false; } - public boolean equals(getCriteriaTimestr_result that) { + public boolean equals(getKeysCriteriaTimestr_result that) { if(that == null) return false; @@ -300237,7 +440749,7 @@ public int hashCode() { } @Override - public int compareTo(getCriteriaTimestr_result other) { + public int compareTo(getKeysCriteriaTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -300324,7 +440836,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCriteriaTimestr_result("); + StringBuilder sb = new StringBuilder( + "getKeysCriteriaTimestr_result("); boolean first = true; sb.append("success:"); @@ -300408,18 +440921,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCriteriaTimestr_resultStandardSchemeFactory + private static class getKeysCriteriaTimestr_resultStandardSchemeFactory implements SchemeFactory { - public getCriteriaTimestr_resultStandardScheme getScheme() { - return new getCriteriaTimestr_resultStandardScheme(); + public getKeysCriteriaTimestr_resultStandardScheme getScheme() { + return new getKeysCriteriaTimestr_resultStandardScheme(); } } - private static class getCriteriaTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeysCriteriaTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCriteriaTimestr_result struct) + getKeysCriteriaTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -300432,30 +440945,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2160 = iprot + org.apache.thrift.protocol.TMap _map3598 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2160.size); - long _key2161; - Map _val2162; - for (int _i2163 = 0; _i2163 < _map2160.size; ++_i2163) { - _key2161 = iprot.readI64(); + 2 * _map3598.size); + long _key3599; + Map _val3600; + for (int _i3601 = 0; _i3601 < _map3598.size; ++_i3601) { + _key3599 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2164 = iprot + org.apache.thrift.protocol.TMap _map3602 = iprot .readMapBegin(); - _val2162 = new LinkedHashMap( - 2 * _map2164.size); - String _key2165; - com.cinchapi.concourse.thrift.TObject _val2166; - for (int _i2167 = 0; _i2167 < _map2164.size; ++_i2167) { - _key2165 = iprot.readString(); - _val2166 = new com.cinchapi.concourse.thrift.TObject(); - _val2166.read(iprot); - _val2162.put(_key2165, _val2166); + _val3600 = new LinkedHashMap( + 2 * _map3602.size); + String _key3603; + com.cinchapi.concourse.thrift.TObject _val3604; + for (int _i3605 = 0; _i3605 < _map3602.size; ++_i3605) { + _key3603 = iprot.readString(); + _val3604 = new com.cinchapi.concourse.thrift.TObject(); + _val3604.read(iprot); + _val3600.put(_key3603, _val3604); } iprot.readMapEnd(); } - struct.success.put(_key2161, _val2162); + struct.success.put(_key3599, _val3600); } iprot.readMapEnd(); } @@ -300524,7 +441037,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCriteriaTimestr_result struct) + getKeysCriteriaTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -300536,19 +441049,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter2168 : struct.success + for (Map.Entry> _iter3606 : struct.success .entrySet()) { - oprot.writeI64(_iter2168.getKey()); + oprot.writeI64(_iter3606.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter2168.getValue().size())); - for (Map.Entry _iter2169 : _iter2168 + _iter3606.getValue().size())); + for (Map.Entry _iter3607 : _iter3606 .getValue().entrySet()) { - oprot.writeString(_iter2169.getKey()); - _iter2169.getValue().write(oprot); + oprot.writeString(_iter3607.getKey()); + _iter3607.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -300583,19 +441096,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getCriteriaTimestr_resultTupleSchemeFactory + private static class getKeysCriteriaTimestr_resultTupleSchemeFactory implements SchemeFactory { - public getCriteriaTimestr_resultTupleScheme getScheme() { - return new getCriteriaTimestr_resultTupleScheme(); + public getKeysCriteriaTimestr_resultTupleScheme getScheme() { + return new getKeysCriteriaTimestr_resultTupleScheme(); } } - private static class getCriteriaTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeysCriteriaTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCriteriaTimestr_result struct) + getKeysCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -300618,15 +441131,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2170 : struct.success + for (Map.Entry> _iter3608 : struct.success .entrySet()) { - oprot.writeI64(_iter2170.getKey()); + oprot.writeI64(_iter3608.getKey()); { - oprot.writeI32(_iter2170.getValue().size()); - for (Map.Entry _iter2171 : _iter2170 + oprot.writeI32(_iter3608.getValue().size()); + for (Map.Entry _iter3609 : _iter3608 .getValue().entrySet()) { - oprot.writeString(_iter2171.getKey()); - _iter2171.getValue().write(oprot); + oprot.writeString(_iter3609.getKey()); + _iter3609.getValue().write(oprot); } } } @@ -300648,39 +441161,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCriteriaTimestr_result struct) + getKeysCriteriaTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2172 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3610 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2172.size); - long _key2173; - Map _val2174; - for (int _i2175 = 0; _i2175 < _map2172.size; ++_i2175) { - _key2173 = iprot.readI64(); + 2 * _map3610.size); + long _key3611; + Map _val3612; + for (int _i3613 = 0; _i3613 < _map3610.size; ++_i3613) { + _key3611 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2176 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3614 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2174 = new LinkedHashMap( - 2 * _map2176.size); - String _key2177; - com.cinchapi.concourse.thrift.TObject _val2178; - for (int _i2179 = 0; _i2179 < _map2176.size; ++_i2179) { - _key2177 = iprot.readString(); - _val2178 = new com.cinchapi.concourse.thrift.TObject(); - _val2178.read(iprot); - _val2174.put(_key2177, _val2178); + _val3612 = new LinkedHashMap( + 2 * _map3614.size); + String _key3615; + com.cinchapi.concourse.thrift.TObject _val3616; + for (int _i3617 = 0; _i3617 < _map3614.size; ++_i3617) { + _key3615 = iprot.readString(); + _val3616 = new com.cinchapi.concourse.thrift.TObject(); + _val3616.read(iprot); + _val3612.put(_key3615, _val3616); } } - struct.success.put(_key2173, _val2174); + struct.success.put(_key3611, _val3612); } } struct.setSuccessIsSet(true); @@ -300710,37 +441223,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getCclTime_args implements - org.apache.thrift.TBase, + public static class getKeysCriteriaTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCclTime_args"); + "getKeysCriteriaTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCclTime_argsStandardSchemeFactory()); + new getKeysCriteriaTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCclTime_argsTupleSchemeFactory()); + new getKeysCriteriaTimestrOrder_argsTupleSchemeFactory()); } - public String ccl; // required - public long timestamp; // required + public List keys; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -300750,11 +441270,13 @@ public static class getCclTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CCL((short) 1, "ccl"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEYS((short) 1, "keys"), + CRITERIA((short) 2, "criteria"), + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -300770,15 +441292,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CCL - return CCL; - case 2: // TIMESTAMP + case 1: // KEYS + return KEYS; + case 2: // CRITERIA + return CRITERIA; + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -300824,22 +441350,34 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -300858,20 +441396,23 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(getCclTime_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + getKeysCriteriaTimestrOrder_args.class, metaDataMap); } - public getCclTime_args() {} + public getKeysCriteriaTimestrOrder_args() {} - public getCclTime_args(String ccl, long timestamp, + public getKeysCriteriaTimestrOrder_args(List keys, + com.cinchapi.concourse.thrift.TCriteria criteria, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.ccl = ccl; + this.keys = keys; + this.criteria = criteria; this.timestamp = timestamp; - setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -300880,12 +441421,23 @@ public getCclTime_args(String ccl, long timestamp, /** * Performs a deep copy on other. */ - public getCclTime_args(getCclTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetCcl()) { - this.ccl = other.ccl; + public getKeysCriteriaTimestrOrder_args( + getKeysCriteriaTimestrOrder_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -300899,60 +441451,102 @@ public getCclTime_args(getCclTime_args other) { } } - public getCclTime_args deepCopy() { - return new getCclTime_args(this); + public getKeysCriteriaTimestrOrder_args deepCopy() { + return new getKeysCriteriaTimestrOrder_args(this); } @Override public void clear() { - this.ccl = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.keys = null; + this.criteria = null; + this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getCcl() { - return this.ccl; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public getCclTime_args setCcl(String ccl) { - this.ccl = ccl; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysCriteriaTimestrOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setCclIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.ccl = null; + this.keys = null; } } - public long getTimestamp() { + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; + } + + public getKeysCriteriaTimestrOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; + return this; + } + + public void unsetCriteria() { + this.criteria = null; + } + + /** + * Returns true if field criteria is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetCriteria() { + return this.criteria != null; + } + + public void setCriteriaIsSet(boolean value) { + if(!value) { + this.criteria = null; + } + } + + public String getTimestamp() { return this.timestamp; } - public getCclTime_args setTimestamp(long timestamp) { + public getKeysCriteriaTimestrOrder_args setTimestamp(String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -300960,20 +441554,48 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeysCriteriaTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getCclTime_args setCreds( + public getKeysCriteriaTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -301001,7 +441623,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getCclTime_args setTransaction( + public getKeysCriteriaTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -301029,7 +441651,8 @@ public String getEnvironment() { return this.environment; } - public getCclTime_args setEnvironment(String environment) { + public getKeysCriteriaTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -301054,12 +441677,22 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CCL: + case KEYS: if(value == null) { - unsetCcl(); + unsetKeys(); } else { - setCcl((String) value); + setKeys((List) value); + } + break; + + case CRITERIA: + if(value == null) { + unsetCriteria(); + } + else { + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -301068,7 +441701,16 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -301105,12 +441747,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CCL: - return getCcl(); + case KEYS: + return getKeys(); + + case CRITERIA: + return getCriteria(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -301134,10 +441782,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case CCL: - return isSetCcl(); + case KEYS: + return isSetKeys(); + case CRITERIA: + return isSetCriteria(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -301152,30 +441804,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCclTime_args) - return this.equals((getCclTime_args) that); + if(that instanceof getKeysCriteriaTimestrOrder_args) + return this.equals((getKeysCriteriaTimestrOrder_args) that); return false; } - public boolean equals(getCclTime_args that) { + public boolean equals(getKeysCriteriaTimestrOrder_args that) { if(that == null) return false; - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) + return false; + if(!this.criteria.equals(that.criteria)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -301213,16 +441883,26 @@ public boolean equals(getCclTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_timestamp = true; + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); + + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -301242,7 +441922,7 @@ public int hashCode() { } @Override - public int compareTo(getCclTime_args other) { + public int compareTo(getKeysCriteriaTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -301250,14 +441930,26 @@ public int compareTo(getCclTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetCriteria()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -301274,6 +441966,18 @@ public int compareTo(getCclTime_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -301329,21 +442033,47 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCclTime_args("); + StringBuilder sb = new StringBuilder( + "getKeysCriteriaTimestrOrder_args("); boolean first = true; - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.keys); + } + first = false; + if(!first) + sb.append(", "); + sb.append("criteria:"); + if(this.criteria == null) { + sb.append("null"); + } + else { + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -301382,6 +442112,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -301405,10 +442141,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -301418,18 +442150,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCclTime_argsStandardSchemeFactory + private static class getKeysCriteriaTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public getCclTime_argsStandardScheme getScheme() { - return new getCclTime_argsStandardScheme(); + public getKeysCriteriaTimestrOrder_argsStandardScheme getScheme() { + return new getKeysCriteriaTimestrOrder_argsStandardScheme(); } } - private static class getCclTime_argsStandardScheme - extends StandardScheme { + private static class getKeysCriteriaTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCclTime_args struct) + getKeysCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -301439,19 +442171,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3618 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3618.size); + String _elem3619; + for (int _i3620 = 0; _i3620 < _list3618.size; ++_i3620) { + _elem3619 = iprot.readString(); + struct.keys.add(_elem3619); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + case 2: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -301459,7 +442213,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -301470,7 +442235,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -301481,7 +442246,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -301505,19 +442270,40 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCclTime_args struct) + getKeysCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3621 : struct.keys) { + oprot.writeString(_iter3621); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -301539,43 +442325,60 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getCclTime_argsTupleSchemeFactory + private static class getKeysCriteriaTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public getCclTime_argsTupleScheme getScheme() { - return new getCclTime_argsTupleScheme(); + public getKeysCriteriaTimestrOrder_argsTupleScheme getScheme() { + return new getKeysCriteriaTimestrOrder_argsTupleScheme(); } } - private static class getCclTime_argsTupleScheme - extends TupleScheme { + private static class getKeysCriteriaTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCclTime_args struct) + getKeysCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCcl()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetCriteria()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3622 : struct.keys) { + oprot.writeString(_iter3622); + } + } + } + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -301590,29 +442393,49 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCclTime_args struct) + getKeysCriteriaTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + { + org.apache.thrift.protocol.TList _list3623 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3623.size); + String _elem3624; + for (int _i3625 = 0; _i3625 < _list3623.size; ++_i3625) { + _elem3624 = iprot.readString(); + struct.keys.add(_elem3624); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -301621,13 +442444,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getCclTime_result implements - org.apache.thrift.TBase, + public static class getKeysCriteriaTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCclTime_result"); + "getKeysCriteriaTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -301643,9 +442466,9 @@ public static class getCclTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCclTime_resultStandardSchemeFactory()); + new getKeysCriteriaTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCclTime_resultTupleSchemeFactory()); + new getKeysCriteriaTimestrOrder_resultTupleSchemeFactory()); } public Map> success; // required @@ -301772,13 +442595,13 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(getCclTime_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + getKeysCriteriaTimestrOrder_result.class, metaDataMap); } - public getCclTime_result() {} + public getKeysCriteriaTimestrOrder_result() {} - public getCclTime_result( + public getKeysCriteriaTimestrOrder_result( Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, @@ -301795,7 +442618,8 @@ public getCclTime_result( /** * Performs a deep copy on other. */ - public getCclTime_result(getCclTime_result other) { + public getKeysCriteriaTimestrOrder_result( + getKeysCriteriaTimestrOrder_result other) { if(other.isSetSuccess()) { Map> __this__success = new LinkedHashMap>( other.success.size()); @@ -301851,8 +442675,8 @@ public getCclTime_result(getCclTime_result other) { } } - public getCclTime_result deepCopy() { - return new getCclTime_result(this); + public getKeysCriteriaTimestrOrder_result deepCopy() { + return new getKeysCriteriaTimestrOrder_result(this); } @Override @@ -301880,7 +442704,7 @@ public Map> getSuccess( return this.success; } - public getCclTime_result setSuccess( + public getKeysCriteriaTimestrOrder_result setSuccess( Map> success) { this.success = success; return this; @@ -301908,7 +442732,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getCclTime_result setEx( + public getKeysCriteriaTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -301936,7 +442760,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getCclTime_result setEx2( + public getKeysCriteriaTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -301964,7 +442788,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getCclTime_result setEx3( + public getKeysCriteriaTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -301992,7 +442816,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public getCclTime_result setEx4( + public getKeysCriteriaTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -302116,12 +442940,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCclTime_result) - return this.equals((getCclTime_result) that); + if(that instanceof getKeysCriteriaTimestrOrder_result) + return this.equals((getKeysCriteriaTimestrOrder_result) that); return false; } - public boolean equals(getCclTime_result that) { + public boolean equals(getKeysCriteriaTimestrOrder_result that) { if(that == null) return false; @@ -302206,7 +443030,7 @@ public int hashCode() { } @Override - public int compareTo(getCclTime_result other) { + public int compareTo(getKeysCriteriaTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -302293,7 +443117,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCclTime_result("); + StringBuilder sb = new StringBuilder( + "getKeysCriteriaTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -302377,18 +443202,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCclTime_resultStandardSchemeFactory + private static class getKeysCriteriaTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public getCclTime_resultStandardScheme getScheme() { - return new getCclTime_resultStandardScheme(); + public getKeysCriteriaTimestrOrder_resultStandardScheme getScheme() { + return new getKeysCriteriaTimestrOrder_resultStandardScheme(); } } - private static class getCclTime_resultStandardScheme - extends StandardScheme { + private static class getKeysCriteriaTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCclTime_result struct) + getKeysCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -302401,30 +443226,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2180 = iprot + org.apache.thrift.protocol.TMap _map3626 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2180.size); - long _key2181; - Map _val2182; - for (int _i2183 = 0; _i2183 < _map2180.size; ++_i2183) { - _key2181 = iprot.readI64(); + 2 * _map3626.size); + long _key3627; + Map _val3628; + for (int _i3629 = 0; _i3629 < _map3626.size; ++_i3629) { + _key3627 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2184 = iprot + org.apache.thrift.protocol.TMap _map3630 = iprot .readMapBegin(); - _val2182 = new LinkedHashMap( - 2 * _map2184.size); - String _key2185; - com.cinchapi.concourse.thrift.TObject _val2186; - for (int _i2187 = 0; _i2187 < _map2184.size; ++_i2187) { - _key2185 = iprot.readString(); - _val2186 = new com.cinchapi.concourse.thrift.TObject(); - _val2186.read(iprot); - _val2182.put(_key2185, _val2186); + _val3628 = new LinkedHashMap( + 2 * _map3630.size); + String _key3631; + com.cinchapi.concourse.thrift.TObject _val3632; + for (int _i3633 = 0; _i3633 < _map3630.size; ++_i3633) { + _key3631 = iprot.readString(); + _val3632 = new com.cinchapi.concourse.thrift.TObject(); + _val3632.read(iprot); + _val3628.put(_key3631, _val3632); } iprot.readMapEnd(); } - struct.success.put(_key2181, _val2182); + struct.success.put(_key3627, _val3628); } iprot.readMapEnd(); } @@ -302493,7 +443318,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCclTime_result struct) + getKeysCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -302505,19 +443330,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter2188 : struct.success + for (Map.Entry> _iter3634 : struct.success .entrySet()) { - oprot.writeI64(_iter2188.getKey()); + oprot.writeI64(_iter3634.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter2188.getValue().size())); - for (Map.Entry _iter2189 : _iter2188 + _iter3634.getValue().size())); + for (Map.Entry _iter3635 : _iter3634 .getValue().entrySet()) { - oprot.writeString(_iter2189.getKey()); - _iter2189.getValue().write(oprot); + oprot.writeString(_iter3635.getKey()); + _iter3635.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -302552,19 +443377,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getCclTime_resultTupleSchemeFactory + private static class getKeysCriteriaTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public getCclTime_resultTupleScheme getScheme() { - return new getCclTime_resultTupleScheme(); + public getKeysCriteriaTimestrOrder_resultTupleScheme getScheme() { + return new getKeysCriteriaTimestrOrder_resultTupleScheme(); } } - private static class getCclTime_resultTupleScheme - extends TupleScheme { + private static class getKeysCriteriaTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCclTime_result struct) + getKeysCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -302587,15 +443412,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2190 : struct.success + for (Map.Entry> _iter3636 : struct.success .entrySet()) { - oprot.writeI64(_iter2190.getKey()); + oprot.writeI64(_iter3636.getKey()); { - oprot.writeI32(_iter2190.getValue().size()); - for (Map.Entry _iter2191 : _iter2190 + oprot.writeI32(_iter3636.getValue().size()); + for (Map.Entry _iter3637 : _iter3636 .getValue().entrySet()) { - oprot.writeString(_iter2191.getKey()); - _iter2191.getValue().write(oprot); + oprot.writeString(_iter3637.getKey()); + _iter3637.getValue().write(oprot); } } } @@ -302617,39 +443442,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCclTime_result struct) + getKeysCriteriaTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2192 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3638 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2192.size); - long _key2193; - Map _val2194; - for (int _i2195 = 0; _i2195 < _map2192.size; ++_i2195) { - _key2193 = iprot.readI64(); + 2 * _map3638.size); + long _key3639; + Map _val3640; + for (int _i3641 = 0; _i3641 < _map3638.size; ++_i3641) { + _key3639 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2196 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3642 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2194 = new LinkedHashMap( - 2 * _map2196.size); - String _key2197; - com.cinchapi.concourse.thrift.TObject _val2198; - for (int _i2199 = 0; _i2199 < _map2196.size; ++_i2199) { - _key2197 = iprot.readString(); - _val2198 = new com.cinchapi.concourse.thrift.TObject(); - _val2198.read(iprot); - _val2194.put(_key2197, _val2198); + _val3640 = new LinkedHashMap( + 2 * _map3642.size); + String _key3643; + com.cinchapi.concourse.thrift.TObject _val3644; + for (int _i3645 = 0; _i3645 < _map3642.size; ++_i3645) { + _key3643 = iprot.readString(); + _val3644 = new com.cinchapi.concourse.thrift.TObject(); + _val3644.read(iprot); + _val3640.put(_key3643, _val3644); } } - struct.success.put(_key2193, _val2194); + struct.success.put(_key3639, _val3640); } } struct.setSuccessIsSet(true); @@ -302679,38 +443504,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getCclTimestr_args implements - org.apache.thrift.TBase, + public static class getKeysCclTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCclTimestr_args"); + "getKeysCclTime_args"); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCclTimestr_argsStandardSchemeFactory()); + new getKeysCclTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCclTimestr_argsTupleSchemeFactory()); + new getKeysCclTime_argsTupleSchemeFactory()); } + public List keys; // required public String ccl; // required - public String timestamp; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -302720,11 +443547,12 @@ public static class getCclTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CCL((short) 1, "ccl"), - TIMESTAMP((short) 2, "timestamp"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), + TIMESTAMP((short) 3, "timestamp"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -302740,15 +443568,17 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CCL + case 1: // KEYS + return KEYS; + case 2: // CCL return CCL; - case 2: // TIMESTAMP + case 3: // TIMESTAMP return TIMESTAMP; - case 3: // CREDS + case 4: // CREDS return CREDS; - case 4: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -302794,10 +443624,19 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.CCL, new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -302807,7 +443646,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -302827,18 +443666,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getCclTimestr_args.class, metaDataMap); + getKeysCclTime_args.class, metaDataMap); } - public getCclTimestr_args() {} + public getKeysCclTime_args() {} - public getCclTimestr_args(String ccl, String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public getKeysCclTime_args(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); + this.keys = keys; this.ccl = ccl; this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -302847,13 +443688,16 @@ public getCclTimestr_args(String ccl, String timestamp, /** * Performs a deep copy on other. */ - public getCclTimestr_args(getCclTimestr_args other) { + public getKeysCclTime_args(getKeysCclTime_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; + } if(other.isSetCcl()) { this.ccl = other.ccl; } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; - } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -302867,24 +443711,68 @@ public getCclTimestr_args(getCclTimestr_args other) { } } - public getCclTimestr_args deepCopy() { - return new getCclTimestr_args(this); + public getKeysCclTime_args deepCopy() { + return new getKeysCclTime_args(this); } @Override public void clear() { + this.keys = null; this.ccl = null; - this.timestamp = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; } + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); + } + + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysCclTime_args setKeys(List keys) { + this.keys = keys; + return this; + } + + public void unsetKeys() { + this.keys = null; + } + + /** + * Returns true if field keys is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKeys() { + return this.keys != null; + } + + public void setKeysIsSet(boolean value) { + if(!value) { + this.keys = null; + } + } + public String getCcl() { return this.ccl; } - public getCclTimestr_args setCcl(String ccl) { + public getKeysCclTime_args setCcl(String ccl) { this.ccl = ccl; return this; } @@ -302907,17 +443795,19 @@ public void setCclIsSet(boolean value) { } } - public String getTimestamp() { + public long getTimestamp() { return this.timestamp; } - public getCclTimestr_args setTimestamp(String timestamp) { + public getKeysCclTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; + setTimestampIsSet(true); return this; } public void unsetTimestamp() { - this.timestamp = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** @@ -302925,20 +443815,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return this.timestamp != null; + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - if(!value) { - this.timestamp = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getCclTimestr_args setCreds( + public getKeysCclTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -302966,7 +443856,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getCclTimestr_args setTransaction( + public getKeysCclTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -302994,7 +443884,7 @@ public String getEnvironment() { return this.environment; } - public getCclTimestr_args setEnvironment(String environment) { + public getKeysCclTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -303019,6 +443909,15 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case KEYS: + if(value == null) { + unsetKeys(); + } + else { + setKeys((List) value); + } + break; + case CCL: if(value == null) { unsetCcl(); @@ -303033,7 +443932,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((String) value); + setTimestamp((Long) value); } break; @@ -303070,6 +443969,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case KEYS: + return getKeys(); + case CCL: return getCcl(); @@ -303099,6 +444001,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case KEYS: + return isSetKeys(); case CCL: return isSetCcl(); case TIMESTAMP: @@ -303117,15 +444021,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCclTimestr_args) - return this.equals((getCclTimestr_args) that); + if(that instanceof getKeysCclTime_args) + return this.equals((getKeysCclTime_args) that); return false; } - public boolean equals(getCclTimestr_args that) { + public boolean equals(getKeysCclTime_args that) { if(that == null) return false; + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) + return false; + if(!this.keys.equals(that.keys)) + return false; + } + boolean this_present_ccl = true && this.isSetCcl(); boolean that_present_ccl = true && that.isSetCcl(); if(this_present_ccl || that_present_ccl) { @@ -303135,12 +444048,12 @@ public boolean equals(getCclTimestr_args that) { return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(this.timestamp != that.timestamp) return false; } @@ -303178,12 +444091,17 @@ public boolean equals(getCclTimestr_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); + boolean present_ccl = true && (isSetCcl()); list.add(present_ccl); if(present_ccl) list.add(ccl); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -303207,7 +444125,7 @@ public int hashCode() { } @Override - public int compareTo(getCclTimestr_args other) { + public int compareTo(getKeysCclTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -303215,6 +444133,18 @@ public int compareTo(getCclTimestr_args other) { int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKeys()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.keys, other.keys); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCcl()) .compareTo(other.isSetCcl()); if(lastComparison != 0) { @@ -303294,27 +444224,32 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCclTimestr_args("); + StringBuilder sb = new StringBuilder("getKeysCclTime_args("); boolean first = true; - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.ccl); } first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -303375,6 +444310,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -303384,18 +444323,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCclTimestr_argsStandardSchemeFactory + private static class getKeysCclTime_argsStandardSchemeFactory implements SchemeFactory { - public getCclTimestr_argsStandardScheme getScheme() { - return new getCclTimestr_argsStandardScheme(); + public getKeysCclTime_argsStandardScheme getScheme() { + return new getKeysCclTime_argsStandardScheme(); } } - private static class getCclTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeysCclTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCclTimestr_args struct) + getKeysCclTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -303405,7 +444344,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CCL + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3646 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3646.size); + String _elem3647; + for (int _i3648 = 0; _i3648 < _list3646.size; ++_i3648) { + _elem3647 = iprot.readString(); + struct.keys.add(_elem3647); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // CCL if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.ccl = iprot.readString(); struct.setCclIsSet(true); @@ -303415,9 +444375,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { @@ -303425,7 +444385,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -303436,7 +444396,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -303447,7 +444407,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -303471,21 +444431,33 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCclTimestr_args struct) + getKeysCclTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3649 : struct.keys) { + oprot.writeString(_iter3649); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } if(struct.ccl != null) { oprot.writeFieldBegin(CCL_FIELD_DESC); oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -303507,43 +444479,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getCclTimestr_argsTupleSchemeFactory + private static class getKeysCclTime_argsTupleSchemeFactory implements SchemeFactory { - public getCclTimestr_argsTupleScheme getScheme() { - return new getCclTimestr_argsTupleScheme(); + public getKeysCclTime_argsTupleScheme getScheme() { + return new getKeysCclTime_argsTupleScheme(); } } - private static class getCclTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeysCclTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCclTimestr_args struct) + getKeysCclTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCcl()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); + if(struct.isSetEnvironment()) { + optionals.set(5); + } + oprot.writeBitSet(optionals, 6); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3650 : struct.keys) { + oprot.writeString(_iter3650); + } + } + } if(struct.isSetCcl()) { oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -303558,29 +444541,43 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCclTimestr_args struct) + getKeysCclTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list3651 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3651.size); + String _elem3652; + for (int _i3653 = 0; _i3653 < _list3651.size; ++_i3653) { + _elem3652 = iprot.readString(); + struct.keys.add(_elem3652); + } + } + struct.setKeysIsSet(true); + } + if(incoming.get(1)) { struct.ccl = iprot.readString(); struct.setCclIsSet(true); } - if(incoming.get(1)) { - struct.timestamp = iprot.readString(); + if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -303589,13 +444586,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getCclTimestr_result implements - org.apache.thrift.TBase, + public static class getKeysCclTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getCclTimestr_result"); + "getKeysCclTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -303611,9 +444608,9 @@ public static class getCclTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getCclTimestr_resultStandardSchemeFactory()); + new getKeysCclTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getCclTimestr_resultTupleSchemeFactory()); + new getKeysCclTime_resultTupleSchemeFactory()); } public Map> success; // required @@ -303741,12 +444738,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getCclTimestr_result.class, metaDataMap); + getKeysCclTime_result.class, metaDataMap); } - public getCclTimestr_result() {} + public getKeysCclTime_result() {} - public getCclTimestr_result( + public getKeysCclTime_result( Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, @@ -303763,7 +444760,7 @@ public getCclTimestr_result( /** * Performs a deep copy on other. */ - public getCclTimestr_result(getCclTimestr_result other) { + public getKeysCclTime_result(getKeysCclTime_result other) { if(other.isSetSuccess()) { Map> __this__success = new LinkedHashMap>( other.success.size()); @@ -303819,8 +444816,8 @@ public getCclTimestr_result(getCclTimestr_result other) { } } - public getCclTimestr_result deepCopy() { - return new getCclTimestr_result(this); + public getKeysCclTime_result deepCopy() { + return new getKeysCclTime_result(this); } @Override @@ -303848,7 +444845,7 @@ public Map> getSuccess( return this.success; } - public getCclTimestr_result setSuccess( + public getKeysCclTime_result setSuccess( Map> success) { this.success = success; return this; @@ -303876,7 +444873,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getCclTimestr_result setEx( + public getKeysCclTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -303904,7 +444901,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getCclTimestr_result setEx2( + public getKeysCclTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -303932,7 +444929,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getCclTimestr_result setEx3( + public getKeysCclTime_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -303960,7 +444957,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public getCclTimestr_result setEx4( + public getKeysCclTime_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -304084,12 +445081,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getCclTimestr_result) - return this.equals((getCclTimestr_result) that); + if(that instanceof getKeysCclTime_result) + return this.equals((getKeysCclTime_result) that); return false; } - public boolean equals(getCclTimestr_result that) { + public boolean equals(getKeysCclTime_result that) { if(that == null) return false; @@ -304174,7 +445171,7 @@ public int hashCode() { } @Override - public int compareTo(getCclTimestr_result other) { + public int compareTo(getKeysCclTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -304261,7 +445258,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getCclTimestr_result("); + StringBuilder sb = new StringBuilder("getKeysCclTime_result("); boolean first = true; sb.append("success:"); @@ -304345,18 +445342,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getCclTimestr_resultStandardSchemeFactory + private static class getKeysCclTime_resultStandardSchemeFactory implements SchemeFactory { - public getCclTimestr_resultStandardScheme getScheme() { - return new getCclTimestr_resultStandardScheme(); + public getKeysCclTime_resultStandardScheme getScheme() { + return new getKeysCclTime_resultStandardScheme(); } } - private static class getCclTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeysCclTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getCclTimestr_result struct) + getKeysCclTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -304369,30 +445366,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2200 = iprot + org.apache.thrift.protocol.TMap _map3654 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2200.size); - long _key2201; - Map _val2202; - for (int _i2203 = 0; _i2203 < _map2200.size; ++_i2203) { - _key2201 = iprot.readI64(); + 2 * _map3654.size); + long _key3655; + Map _val3656; + for (int _i3657 = 0; _i3657 < _map3654.size; ++_i3657) { + _key3655 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2204 = iprot + org.apache.thrift.protocol.TMap _map3658 = iprot .readMapBegin(); - _val2202 = new LinkedHashMap( - 2 * _map2204.size); - String _key2205; - com.cinchapi.concourse.thrift.TObject _val2206; - for (int _i2207 = 0; _i2207 < _map2204.size; ++_i2207) { - _key2205 = iprot.readString(); - _val2206 = new com.cinchapi.concourse.thrift.TObject(); - _val2206.read(iprot); - _val2202.put(_key2205, _val2206); + _val3656 = new LinkedHashMap( + 2 * _map3658.size); + String _key3659; + com.cinchapi.concourse.thrift.TObject _val3660; + for (int _i3661 = 0; _i3661 < _map3658.size; ++_i3661) { + _key3659 = iprot.readString(); + _val3660 = new com.cinchapi.concourse.thrift.TObject(); + _val3660.read(iprot); + _val3656.put(_key3659, _val3660); } iprot.readMapEnd(); } - struct.success.put(_key2201, _val2202); + struct.success.put(_key3655, _val3656); } iprot.readMapEnd(); } @@ -304461,7 +445458,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getCclTimestr_result struct) + getKeysCclTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -304473,19 +445470,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter2208 : struct.success + for (Map.Entry> _iter3662 : struct.success .entrySet()) { - oprot.writeI64(_iter2208.getKey()); + oprot.writeI64(_iter3662.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, - _iter2208.getValue().size())); - for (Map.Entry _iter2209 : _iter2208 + _iter3662.getValue().size())); + for (Map.Entry _iter3663 : _iter3662 .getValue().entrySet()) { - oprot.writeString(_iter2209.getKey()); - _iter2209.getValue().write(oprot); + oprot.writeString(_iter3663.getKey()); + _iter3663.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -304520,19 +445517,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getCclTimestr_resultTupleSchemeFactory + private static class getKeysCclTime_resultTupleSchemeFactory implements SchemeFactory { - public getCclTimestr_resultTupleScheme getScheme() { - return new getCclTimestr_resultTupleScheme(); + public getKeysCclTime_resultTupleScheme getScheme() { + return new getKeysCclTime_resultTupleScheme(); } } - private static class getCclTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeysCclTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getCclTimestr_result struct) + getKeysCclTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -304555,15 +445552,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2210 : struct.success + for (Map.Entry> _iter3664 : struct.success .entrySet()) { - oprot.writeI64(_iter2210.getKey()); + oprot.writeI64(_iter3664.getKey()); { - oprot.writeI32(_iter2210.getValue().size()); - for (Map.Entry _iter2211 : _iter2210 + oprot.writeI32(_iter3664.getValue().size()); + for (Map.Entry _iter3665 : _iter3664 .getValue().entrySet()) { - oprot.writeString(_iter2211.getKey()); - _iter2211.getValue().write(oprot); + oprot.writeString(_iter3665.getKey()); + _iter3665.getValue().write(oprot); } } } @@ -304585,39 +445582,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getCclTimestr_result struct) + getKeysCclTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2212 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3666 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2212.size); - long _key2213; - Map _val2214; - for (int _i2215 = 0; _i2215 < _map2212.size; ++_i2215) { - _key2213 = iprot.readI64(); + 2 * _map3666.size); + long _key3667; + Map _val3668; + for (int _i3669 = 0; _i3669 < _map3666.size; ++_i3669) { + _key3667 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2216 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3670 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2214 = new LinkedHashMap( - 2 * _map2216.size); - String _key2217; - com.cinchapi.concourse.thrift.TObject _val2218; - for (int _i2219 = 0; _i2219 < _map2216.size; ++_i2219) { - _key2217 = iprot.readString(); - _val2218 = new com.cinchapi.concourse.thrift.TObject(); - _val2218.read(iprot); - _val2214.put(_key2217, _val2218); + _val3668 = new LinkedHashMap( + 2 * _map3670.size); + String _key3671; + com.cinchapi.concourse.thrift.TObject _val3672; + for (int _i3673 = 0; _i3673 < _map3670.size; ++_i3673) { + _key3671 = iprot.readString(); + _val3672 = new com.cinchapi.concourse.thrift.TObject(); + _val3672.read(iprot); + _val3668.put(_key3671, _val3672); } } - struct.success.put(_key2213, _val2214); + struct.success.put(_key3667, _val3668); } } struct.setSuccessIsSet(true); @@ -304647,37 +445644,43 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyCcl_args implements - org.apache.thrift.TBase, + public static class getKeysCclTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCcl_args"); + "getKeysCclTimeOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCcl_argsStandardSchemeFactory()); + new getKeysCclTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCcl_argsTupleSchemeFactory()); + new getKeysCclTimeOrder_argsTupleSchemeFactory()); } - public String key; // required + public List keys; // required public String ccl; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -304687,11 +445690,13 @@ public static class getKeyCcl_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), + KEYS((short) 1, "keys"), CCL((short) 2, "ccl"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + TIMESTAMP((short) 3, "timestamp"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -304707,15 +445712,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; + case 1: // KEYS + return KEYS; case 2: // CCL return CCL; - case 3: // CREDS + case 3: // TIMESTAMP + return TIMESTAMP; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -304761,20 +445770,35 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.CCL, new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -304793,19 +445817,23 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(getKeyCcl_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + getKeysCclTimeOrder_args.class, metaDataMap); } - public getKeyCcl_args() {} + public getKeysCclTimeOrder_args() {} - public getKeyCcl_args(String key, String ccl, + public getKeysCclTimeOrder_args(List keys, String ccl, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; + this.keys = keys; this.ccl = ccl; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -304814,13 +445842,20 @@ public getKeyCcl_args(String key, String ccl, /** * Performs a deep copy on other. */ - public getKeyCcl_args(getKeyCcl_args other) { - if(other.isSetKey()) { - this.key = other.key; + public getKeysCclTimeOrder_args(getKeysCclTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } if(other.isSetCcl()) { this.ccl = other.ccl; } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -304834,43 +445869,61 @@ public getKeyCcl_args(getKeyCcl_args other) { } } - public getKeyCcl_args deepCopy() { - return new getKeyCcl_args(this); + public getKeysCclTimeOrder_args deepCopy() { + return new getKeysCclTimeOrder_args(this); } @Override public void clear() { - this.key = null; + this.keys = null; this.ccl = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public getKeyCcl_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysCclTimeOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } @@ -304878,7 +445931,7 @@ public String getCcl() { return this.ccl; } - public getKeyCcl_args setCcl(String ccl) { + public getKeysCclTimeOrder_args setCcl(String ccl) { this.ccl = ccl; return this; } @@ -304901,11 +445954,68 @@ public void setCclIsSet(boolean value) { } } + public long getTimestamp() { + return this.timestamp; + } + + public getKeysCclTimeOrder_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeysCclTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyCcl_args setCreds( + public getKeysCclTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -304933,7 +446043,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyCcl_args setTransaction( + public getKeysCclTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -304961,7 +446071,7 @@ public String getEnvironment() { return this.environment; } - public getKeyCcl_args setEnvironment(String environment) { + public getKeysCclTimeOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -304986,12 +446096,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; @@ -305004,6 +446114,24 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -305037,12 +446165,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); case CCL: return getCcl(); + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -305066,10 +446200,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); + case KEYS: + return isSetKeys(); case CCL: return isSetCcl(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -305084,21 +446222,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCcl_args) - return this.equals((getKeyCcl_args) that); + if(that instanceof getKeysCclTimeOrder_args) + return this.equals((getKeysCclTimeOrder_args) that); return false; } - public boolean equals(getKeyCcl_args that) { + public boolean equals(getKeysCclTimeOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } @@ -305111,6 +446249,24 @@ public boolean equals(getKeyCcl_args that) { return false; } + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -305145,16 +446301,26 @@ public boolean equals(getKeyCcl_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); boolean present_ccl = true && (isSetCcl()); list.add(present_ccl); if(present_ccl) list.add(ccl); + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -305174,7 +446340,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyCcl_args other) { + public int compareTo(getKeysCclTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -305182,14 +446348,14 @@ public int compareTo(getKeyCcl_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } @@ -305206,6 +446372,30 @@ public int compareTo(getKeyCcl_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -305261,15 +446451,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCcl_args("); + StringBuilder sb = new StringBuilder("getKeysCclTimeOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) @@ -305282,6 +446472,21 @@ public String toString() { sb.append(this.ccl); } first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -305319,6 +446524,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -305342,6 +446550,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -305351,18 +446563,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCcl_argsStandardSchemeFactory + private static class getKeysCclTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public getKeyCcl_argsStandardScheme getScheme() { - return new getKeyCcl_argsStandardScheme(); + public getKeysCclTimeOrder_argsStandardScheme getScheme() { + return new getKeysCclTimeOrder_argsStandardScheme(); } } - private static class getKeyCcl_argsStandardScheme - extends StandardScheme { + private static class getKeysCclTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCcl_args struct) throws org.apache.thrift.TException { + getKeysCclTimeOrder_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -305371,10 +446584,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3674 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3674.size); + String _elem3675; + for (int _i3676 = 0; _i3676 < _list3674.size; ++_i3676) { + _elem3675 = iprot.readString(); + struct.keys.add(_elem3675); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -305391,7 +446615,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -305402,7 +446647,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -305413,7 +446658,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -305437,13 +446682,23 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCcl_args struct) throws org.apache.thrift.TException { + getKeysCclTimeOrder_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3677 : struct.keys) { + oprot.writeString(_iter3677); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } if(struct.ccl != null) { @@ -305451,6 +446706,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -305472,43 +446735,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyCcl_argsTupleSchemeFactory + private static class getKeysCclTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public getKeyCcl_argsTupleScheme getScheme() { - return new getKeyCcl_argsTupleScheme(); + public getKeysCclTimeOrder_argsTupleScheme getScheme() { + return new getKeysCclTimeOrder_argsTupleScheme(); } } - private static class getKeyCcl_argsTupleScheme - extends TupleScheme { + private static class getKeysCclTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCcl_args struct) throws org.apache.thrift.TException { + getKeysCclTimeOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } if(struct.isSetCcl()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3678 : struct.keys) { + oprot.writeString(_iter3678); + } + } } if(struct.isSetCcl()) { oprot.writeString(struct.ccl); } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -305522,28 +446803,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCcl_args struct) throws org.apache.thrift.TException { + getKeysCclTimeOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list3679 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3679.size); + String _elem3680; + for (int _i3681 = 0; _i3681 < _list3679.size; ++_i3681) { + _elem3680 = iprot.readString(); + struct.keys.add(_elem3680); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { struct.ccl = iprot.readString(); struct.setCclIsSet(true); } if(incoming.get(2)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -305552,13 +446853,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyCcl_result implements - org.apache.thrift.TBase, + public static class getKeysCclTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCcl_result"); + "getKeysCclTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -305574,12 +446875,12 @@ public static class getKeyCcl_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCcl_resultStandardSchemeFactory()); + new getKeysCclTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCcl_resultTupleSchemeFactory()); + new getKeysCclTimeOrder_resultTupleSchemeFactory()); } - public Map success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -305675,9 +446976,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -305699,14 +447004,14 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(getKeyCcl_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + getKeysCclTimeOrder_result.class, metaDataMap); } - public getKeyCcl_result() {} + public getKeysCclTimeOrder_result() {} - public getKeyCcl_result( - Map success, + public getKeysCclTimeOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -305722,21 +447027,38 @@ public getKeyCcl_result( /** * Performs a deep copy on other. */ - public getKeyCcl_result(getKeyCcl_result other) { + public getKeysCclTimeOrder_result(getKeysCclTimeOrder_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value); + Map __this__success_copy_value = new LinkedHashMap( + other_element_value.size()); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -305761,8 +447083,8 @@ public getKeyCcl_result(getKeyCcl_result other) { } } - public getKeyCcl_result deepCopy() { - return new getKeyCcl_result(this); + public getKeysCclTimeOrder_result deepCopy() { + return new getKeysCclTimeOrder_result(this); } @Override @@ -305779,19 +447101,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - com.cinchapi.concourse.thrift.TObject val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map> getSuccess() { return this.success; } - public getKeyCcl_result setSuccess( - Map success) { + public getKeysCclTimeOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -305818,7 +447140,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyCcl_result setEx( + public getKeysCclTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -305846,7 +447168,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyCcl_result setEx2( + public getKeysCclTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -305874,7 +447196,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeyCcl_result setEx3( + public getKeysCclTimeOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -305902,7 +447224,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public getKeyCcl_result setEx4( + public getKeysCclTimeOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -305934,7 +447256,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map) value); + (Map>) value); } break; @@ -306026,12 +447348,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCcl_result) - return this.equals((getKeyCcl_result) that); + if(that instanceof getKeysCclTimeOrder_result) + return this.equals((getKeysCclTimeOrder_result) that); return false; } - public boolean equals(getKeyCcl_result that) { + public boolean equals(getKeysCclTimeOrder_result that) { if(that == null) return false; @@ -306116,7 +447438,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyCcl_result other) { + public int compareTo(getKeysCclTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -306203,7 +447525,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCcl_result("); + StringBuilder sb = new StringBuilder("getKeysCclTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -306287,18 +447609,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCcl_resultStandardSchemeFactory + private static class getKeysCclTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public getKeyCcl_resultStandardScheme getScheme() { - return new getKeyCcl_resultStandardScheme(); + public getKeysCclTimeOrder_resultStandardScheme getScheme() { + return new getKeysCclTimeOrder_resultStandardScheme(); } } - private static class getKeyCcl_resultStandardScheme - extends StandardScheme { + private static class getKeysCclTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCcl_result struct) + getKeysCclTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -306311,17 +447633,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2220 = iprot + org.apache.thrift.protocol.TMap _map3682 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map2220.size); - long _key2221; - com.cinchapi.concourse.thrift.TObject _val2222; - for (int _i2223 = 0; _i2223 < _map2220.size; ++_i2223) { - _key2221 = iprot.readI64(); - _val2222 = new com.cinchapi.concourse.thrift.TObject(); - _val2222.read(iprot); - struct.success.put(_key2221, _val2222); + struct.success = new LinkedHashMap>( + 2 * _map3682.size); + long _key3683; + Map _val3684; + for (int _i3685 = 0; _i3685 < _map3682.size; ++_i3685) { + _key3683 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map3686 = iprot + .readMapBegin(); + _val3684 = new LinkedHashMap( + 2 * _map3686.size); + String _key3687; + com.cinchapi.concourse.thrift.TObject _val3688; + for (int _i3689 = 0; _i3689 < _map3686.size; ++_i3689) { + _key3687 = iprot.readString(); + _val3688 = new com.cinchapi.concourse.thrift.TObject(); + _val3688.read(iprot); + _val3684.put(_key3687, _val3688); + } + iprot.readMapEnd(); + } + struct.success.put(_key3683, _val3684); } iprot.readMapEnd(); } @@ -306390,7 +447725,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCcl_result struct) + getKeysCclTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -306400,12 +447735,24 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry _iter2224 : struct.success + for (Map.Entry> _iter3690 : struct.success .entrySet()) { - oprot.writeI64(_iter2224.getKey()); - _iter2224.getValue().write(oprot); + oprot.writeI64(_iter3690.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.STRUCT, + _iter3690.getValue().size())); + for (Map.Entry _iter3691 : _iter3690 + .getValue().entrySet()) { + oprot.writeString(_iter3691.getKey()); + _iter3691.getValue().write(oprot); + } + oprot.writeMapEnd(); + } } oprot.writeMapEnd(); } @@ -306437,19 +447784,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyCcl_resultTupleSchemeFactory + private static class getKeysCclTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public getKeyCcl_resultTupleScheme getScheme() { - return new getKeyCcl_resultTupleScheme(); + public getKeysCclTimeOrder_resultTupleScheme getScheme() { + return new getKeysCclTimeOrder_resultTupleScheme(); } } - private static class getKeyCcl_resultTupleScheme - extends TupleScheme { + private static class getKeysCclTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCcl_result struct) + getKeysCclTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -306472,10 +447819,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter2225 : struct.success + for (Map.Entry> _iter3692 : struct.success .entrySet()) { - oprot.writeI64(_iter2225.getKey()); - _iter2225.getValue().write(oprot); + oprot.writeI64(_iter3692.getKey()); + { + oprot.writeI32(_iter3692.getValue().size()); + for (Map.Entry _iter3693 : _iter3692 + .getValue().entrySet()) { + oprot.writeString(_iter3693.getKey()); + _iter3693.getValue().write(oprot); + } + } } } } @@ -306495,25 +447849,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCcl_result struct) + getKeysCclTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2226 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3694 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map2226.size); - long _key2227; - com.cinchapi.concourse.thrift.TObject _val2228; - for (int _i2229 = 0; _i2229 < _map2226.size; ++_i2229) { - _key2227 = iprot.readI64(); - _val2228 = new com.cinchapi.concourse.thrift.TObject(); - _val2228.read(iprot); - struct.success.put(_key2227, _val2228); + struct.success = new LinkedHashMap>( + 2 * _map3694.size); + long _key3695; + Map _val3696; + for (int _i3697 = 0; _i3697 < _map3694.size; ++_i3697) { + _key3695 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map3698 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val3696 = new LinkedHashMap( + 2 * _map3698.size); + String _key3699; + com.cinchapi.concourse.thrift.TObject _val3700; + for (int _i3701 = 0; _i3701 < _map3698.size; ++_i3701) { + _key3699 = iprot.readString(); + _val3700 = new com.cinchapi.concourse.thrift.TObject(); + _val3700.read(iprot); + _val3696.put(_key3699, _val3700); + } + } + struct.success.put(_key3695, _val3696); } } struct.setSuccessIsSet(true); @@ -306543,20 +447911,21 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyCriteriaTime_args implements - org.apache.thrift.TBase, + public static class getKeysCclTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCriteriaTime_args"); + "getKeysCclTimestr_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -306569,14 +447938,14 @@ public static class getKeyCriteriaTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCriteriaTime_argsStandardSchemeFactory()); + new getKeysCclTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCriteriaTime_argsTupleSchemeFactory()); + new getKeysCclTimestr_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TCriteria criteria; // required - public long timestamp; // required + public List keys; // required + public String ccl; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -306586,8 +447955,8 @@ public static class getKeyCriteriaTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - CRITERIA((short) 2, "criteria"), + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), TIMESTAMP((short) 3, "timestamp"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), @@ -306607,10 +447976,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // CRITERIA - return CRITERIA; + case 1: // KEYS + return KEYS; + case 2: // CCL + return CCL; case 3: // TIMESTAMP return TIMESTAMP; case 4: // CREDS @@ -306663,28 +448032,27 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -306704,21 +448072,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyCriteriaTime_args.class, metaDataMap); + getKeysCclTimestr_args.class, metaDataMap); } - public getKeyCriteriaTime_args() {} + public getKeysCclTimestr_args() {} - public getKeyCriteriaTime_args(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public getKeysCclTimestr_args(List keys, String ccl, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.criteria = criteria; + this.keys = keys; + this.ccl = ccl; this.timestamp = timestamp; - setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -306727,16 +448094,17 @@ public getKeyCriteriaTime_args(String key, /** * Performs a deep copy on other. */ - public getKeyCriteriaTime_args(getKeyCriteriaTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public getKeysCclTimestr_args(getKeysCclTimestr_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + if(other.isSetCcl()) { + this.ccl = other.ccl; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -306750,89 +448118,100 @@ public getKeyCriteriaTime_args(getKeyCriteriaTime_args other) { } } - public getKeyCriteriaTime_args deepCopy() { - return new getKeyCriteriaTime_args(this); + public getKeysCclTimestr_args deepCopy() { + return new getKeysCclTimestr_args(this); } @Override public void clear() { - this.key = null; - this.criteria = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.keys = null; + this.ccl = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public getKeyCriteriaTime_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysCclTimestr_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public String getCcl() { + return this.ccl; } - public getKeyCriteriaTime_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public getKeysCclTimestr_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setCriteriaIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.criteria = null; + this.ccl = null; } } - public long getTimestamp() { + public String getTimestamp() { return this.timestamp; } - public getKeyCriteriaTime_args setTimestamp(long timestamp) { + public getKeysCclTimestr_args setTimestamp(String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -306840,20 +448219,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyCriteriaTime_args setCreds( + public getKeysCclTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -306881,7 +448260,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyCriteriaTime_args setTransaction( + public getKeysCclTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -306909,7 +448288,7 @@ public String getEnvironment() { return this.environment; } - public getKeyCriteriaTime_args setEnvironment(String environment) { + public getKeysCclTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -306934,22 +448313,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; - case CRITERIA: + case CCL: if(value == null) { - unsetCriteria(); + unsetCcl(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setCcl((String) value); } break; @@ -306958,7 +448336,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); } break; @@ -306995,11 +448373,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); - case CRITERIA: - return getCriteria(); + case CCL: + return getCcl(); case TIMESTAMP: return getTimestamp(); @@ -307027,10 +448405,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case CRITERIA: - return isSetCriteria(); + case KEYS: + return isSetKeys(); + case CCL: + return isSetCcl(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -307047,39 +448425,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCriteriaTime_args) - return this.equals((getKeyCriteriaTime_args) that); + if(that instanceof getKeysCclTimestr_args) + return this.equals((getKeysCclTimestr_args) that); return false; } - public boolean equals(getKeyCriteriaTime_args that) { + public boolean equals(getKeysCclTimestr_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -307117,17 +448495,17 @@ public boolean equals(getKeyCriteriaTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_timestamp = true; + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -307151,7 +448529,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyCriteriaTime_args other) { + public int compareTo(getKeysCclTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -307159,26 +448537,26 @@ public int compareTo(getKeyCriteriaTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -307250,31 +448628,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCriteriaTime_args("); + StringBuilder sb = new StringBuilder("getKeysCclTimestr_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.ccl); } first = false; if(!first) sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -307313,9 +448696,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); - } if(creds != null) { creds.validate(); } @@ -307339,10 +448719,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -307352,18 +448728,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCriteriaTime_argsStandardSchemeFactory + private static class getKeysCclTimestr_argsStandardSchemeFactory implements SchemeFactory { - public getKeyCriteriaTime_argsStandardScheme getScheme() { - return new getKeyCriteriaTime_argsStandardScheme(); + public getKeysCclTimestr_argsStandardScheme getScheme() { + return new getKeysCclTimestr_argsStandardScheme(); } } - private static class getKeyCriteriaTime_argsStandardScheme - extends StandardScheme { + private static class getKeysCclTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCriteriaTime_args struct) + getKeysCclTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -307373,21 +448749,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3702 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3702.size); + String _elem3703; + for (int _i3704 = 0; _i3704 < _list3702.size; ++_i3704) { + _elem3703 = iprot.readString(); + struct.keys.add(_elem3703); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -307395,8 +448781,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -307450,24 +448836,35 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCriteriaTime_args struct) + getKeysCclTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3705 : struct.keys) { + oprot.writeString(_iter3705); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -307489,26 +448886,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyCriteriaTime_argsTupleSchemeFactory + private static class getKeysCclTimestr_argsTupleSchemeFactory implements SchemeFactory { - public getKeyCriteriaTime_argsTupleScheme getScheme() { - return new getKeyCriteriaTime_argsTupleScheme(); + public getKeysCclTimestr_argsTupleScheme getScheme() { + return new getKeysCclTimestr_argsTupleScheme(); } } - private static class getKeyCriteriaTime_argsTupleScheme - extends TupleScheme { + private static class getKeysCclTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteriaTime_args struct) + getKeysCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCriteria()) { + if(struct.isSetCcl()) { optionals.set(1); } if(struct.isSetTimestamp()) { @@ -307524,14 +448921,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3706 : struct.keys) { + oprot.writeString(_iter3706); + } + } } - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -307546,21 +448948,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteriaTime_args struct) + getKeysCclTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list3707 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3707.size); + String _elem3708; + for (int _i3709 = 0; _i3709 < _list3707.size; ++_i3709) { + _elem3708 = iprot.readString(); + struct.keys.add(_elem3708); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } if(incoming.get(3)) { @@ -307582,13 +448993,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyCriteriaTime_result implements - org.apache.thrift.TBase, + public static class getKeysCclTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCriteriaTime_result"); + "getKeysCclTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -307598,19 +449009,22 @@ public static class getKeyCriteriaTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCriteriaTime_resultStandardSchemeFactory()); + new getKeysCclTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCriteriaTime_resultTupleSchemeFactory()); + new getKeysCclTimestr_resultTupleSchemeFactory()); } - public Map success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -307620,7 +449034,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -307644,6 +449059,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -307699,9 +449116,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -307717,43 +449138,67 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyCriteriaTime_result.class, metaDataMap); + getKeysCclTimestr_result.class, metaDataMap); } - public getKeyCriteriaTime_result() {} + public getKeysCclTimestr_result() {} - public getKeyCriteriaTime_result( - Map success, + public getKeysCclTimestr_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeyCriteriaTime_result(getKeyCriteriaTime_result other) { + public getKeysCclTimestr_result(getKeysCclTimestr_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value); + Map __this__success_copy_value = new LinkedHashMap( + other_element_value.size()); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -307769,13 +449214,17 @@ public getKeyCriteriaTime_result(getKeyCriteriaTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public getKeyCriteriaTime_result deepCopy() { - return new getKeyCriteriaTime_result(this); + public getKeysCclTimestr_result deepCopy() { + return new getKeysCclTimestr_result(this); } @Override @@ -307784,6 +449233,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -307791,19 +449241,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - com.cinchapi.concourse.thrift.TObject val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map> getSuccess() { return this.success; } - public getKeyCriteriaTime_result setSuccess( - Map success) { + public getKeysCclTimestr_result setSuccess( + Map> success) { this.success = success; return this; } @@ -307830,7 +449280,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyCriteriaTime_result setEx( + public getKeysCclTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -307858,7 +449308,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyCriteriaTime_result setEx2( + public getKeysCclTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -307882,12 +449332,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeyCriteriaTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public getKeysCclTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -307910,6 +449360,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public getKeysCclTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -307918,7 +449396,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map) value); + (Map>) value); } break; @@ -307945,7 +449423,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -307966,6 +449453,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -307988,6 +449478,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -307996,12 +449488,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCriteriaTime_result) - return this.equals((getKeyCriteriaTime_result) that); + if(that instanceof getKeysCclTimestr_result) + return this.equals((getKeysCclTimestr_result) that); return false; } - public boolean equals(getKeyCriteriaTime_result that) { + public boolean equals(getKeysCclTimestr_result that) { if(that == null) return false; @@ -308041,6 +449533,15 @@ public boolean equals(getKeyCriteriaTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -308068,11 +449569,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(getKeyCriteriaTime_result other) { + public int compareTo(getKeysCclTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -308128,6 +449634,18 @@ public int compareTo(getKeyCriteriaTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -308147,7 +449665,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCriteriaTime_result("); + StringBuilder sb = new StringBuilder("getKeysCclTimestr_result("); boolean first = true; sb.append("success:"); @@ -308188,6 +449706,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -308221,18 +449749,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCriteriaTime_resultStandardSchemeFactory + private static class getKeysCclTimestr_resultStandardSchemeFactory implements SchemeFactory { - public getKeyCriteriaTime_resultStandardScheme getScheme() { - return new getKeyCriteriaTime_resultStandardScheme(); + public getKeysCclTimestr_resultStandardScheme getScheme() { + return new getKeysCclTimestr_resultStandardScheme(); } } - private static class getKeyCriteriaTime_resultStandardScheme - extends StandardScheme { + private static class getKeysCclTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCriteriaTime_result struct) + getKeysCclTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -308245,17 +449773,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2230 = iprot + org.apache.thrift.protocol.TMap _map3710 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map2230.size); - long _key2231; - com.cinchapi.concourse.thrift.TObject _val2232; - for (int _i2233 = 0; _i2233 < _map2230.size; ++_i2233) { - _key2231 = iprot.readI64(); - _val2232 = new com.cinchapi.concourse.thrift.TObject(); - _val2232.read(iprot); - struct.success.put(_key2231, _val2232); + struct.success = new LinkedHashMap>( + 2 * _map3710.size); + long _key3711; + Map _val3712; + for (int _i3713 = 0; _i3713 < _map3710.size; ++_i3713) { + _key3711 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map3714 = iprot + .readMapBegin(); + _val3712 = new LinkedHashMap( + 2 * _map3714.size); + String _key3715; + com.cinchapi.concourse.thrift.TObject _val3716; + for (int _i3717 = 0; _i3717 < _map3714.size; ++_i3717) { + _key3715 = iprot.readString(); + _val3716 = new com.cinchapi.concourse.thrift.TObject(); + _val3716.read(iprot); + _val3712.put(_key3715, _val3716); + } + iprot.readMapEnd(); + } + struct.success.put(_key3711, _val3712); } iprot.readMapEnd(); } @@ -308290,7 +449831,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -308299,6 +449840,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -308313,7 +449865,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCriteriaTime_result struct) + getKeysCclTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -308323,12 +449875,24 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry _iter2234 : struct.success + for (Map.Entry> _iter3718 : struct.success .entrySet()) { - oprot.writeI64(_iter2234.getKey()); - _iter2234.getValue().write(oprot); + oprot.writeI64(_iter3718.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.STRUCT, + _iter3718.getValue().size())); + for (Map.Entry _iter3719 : _iter3718 + .getValue().entrySet()) { + oprot.writeString(_iter3719.getKey()); + _iter3719.getValue().write(oprot); + } + oprot.writeMapEnd(); + } } oprot.writeMapEnd(); } @@ -308349,25 +449913,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeyCriteriaTime_resultTupleSchemeFactory + private static class getKeysCclTimestr_resultTupleSchemeFactory implements SchemeFactory { - public getKeyCriteriaTime_resultTupleScheme getScheme() { - return new getKeyCriteriaTime_resultTupleScheme(); + public getKeysCclTimestr_resultTupleScheme getScheme() { + return new getKeysCclTimestr_resultTupleScheme(); } } - private static class getKeyCriteriaTime_resultTupleScheme - extends TupleScheme { + private static class getKeysCclTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteriaTime_result struct) + getKeysCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -308383,14 +449952,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter2235 : struct.success + for (Map.Entry> _iter3720 : struct.success .entrySet()) { - oprot.writeI64(_iter2235.getKey()); - _iter2235.getValue().write(oprot); + oprot.writeI64(_iter3720.getKey()); + { + oprot.writeI32(_iter3720.getValue().size()); + for (Map.Entry _iter3721 : _iter3720 + .getValue().entrySet()) { + oprot.writeString(_iter3721.getKey()); + _iter3721.getValue().write(oprot); + } + } } } } @@ -308403,29 +449982,46 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteriaTime_result struct) + getKeysCclTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2236 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3722 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map2236.size); - long _key2237; - com.cinchapi.concourse.thrift.TObject _val2238; - for (int _i2239 = 0; _i2239 < _map2236.size; ++_i2239) { - _key2237 = iprot.readI64(); - _val2238 = new com.cinchapi.concourse.thrift.TObject(); - _val2238.read(iprot); - struct.success.put(_key2237, _val2238); + struct.success = new LinkedHashMap>( + 2 * _map3722.size); + long _key3723; + Map _val3724; + for (int _i3725 = 0; _i3725 < _map3722.size; ++_i3725) { + _key3723 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map3726 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val3724 = new LinkedHashMap( + 2 * _map3726.size); + String _key3727; + com.cinchapi.concourse.thrift.TObject _val3728; + for (int _i3729 = 0; _i3729 < _map3726.size; ++_i3729) { + _key3727 = iprot.readString(); + _val3728 = new com.cinchapi.concourse.thrift.TObject(); + _val3728.read(iprot); + _val3724.put(_key3727, _val3728); + } + } + struct.success.put(_key3723, _val3724); } } struct.setSuccessIsSet(true); @@ -308441,50 +450037,58 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class getKeyCriteriaTimestr_args implements - org.apache.thrift.TBase, + public static class getKeysCclTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCriteriaTimestr_args"); + "getKeysCclTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCriteriaTimestr_argsStandardSchemeFactory()); + new getKeysCclTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCriteriaTimestr_argsTupleSchemeFactory()); + new getKeysCclTimestrOrder_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public List keys; // required + public String ccl; // required public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -308494,12 +450098,13 @@ public static class getKeyCriteriaTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - CRITERIA((short) 2, "criteria"), + KEYS((short) 1, "keys"), + CCL((short) 2, "ccl"), TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -308515,17 +450120,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // CRITERIA - return CRITERIA; + case 1: // KEYS + return KEYS; + case 2: // CCL + return CCL; case 3: // TIMESTAMP return TIMESTAMP; - case 4: // CREDS + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 5: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -308575,22 +450182,29 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.KEYS, + new org.apache.thrift.meta_data.FieldMetaData("keys", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -308610,21 +450224,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyCriteriaTimestr_args.class, metaDataMap); + getKeysCclTimestrOrder_args.class, metaDataMap); } - public getKeyCriteriaTimestr_args() {} + public getKeysCclTimestrOrder_args() {} - public getKeyCriteriaTimestr_args(String key, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public getKeysCclTimestrOrder_args(List keys, String ccl, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.criteria = criteria; + this.keys = keys; + this.ccl = ccl; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -308633,17 +450247,21 @@ public getKeyCriteriaTimestr_args(String key, /** * Performs a deep copy on other. */ - public getKeyCriteriaTimestr_args(getKeyCriteriaTimestr_args other) { - if(other.isSetKey()) { - this.key = other.key; + public getKeysCclTimestrOrder_args(getKeysCclTimestrOrder_args other) { + if(other.isSetKeys()) { + List __this__keys = new ArrayList(other.keys); + this.keys = __this__keys; } - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + if(other.isSetCcl()) { + this.ccl = other.ccl; } if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -308657,72 +450275,87 @@ public getKeyCriteriaTimestr_args(getKeyCriteriaTimestr_args other) { } } - public getKeyCriteriaTimestr_args deepCopy() { - return new getKeyCriteriaTimestr_args(this); + public getKeysCclTimestrOrder_args deepCopy() { + return new getKeysCclTimestrOrder_args(this); } @Override public void clear() { - this.key = null; - this.criteria = null; + this.keys = null; + this.ccl = null; this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public int getKeysSize() { + return (this.keys == null) ? 0 : this.keys.size(); } - public getKeyCriteriaTimestr_args setKey(String key) { - this.key = key; + public java.util.Iterator getKeysIterator() { + return (this.keys == null) ? null : this.keys.iterator(); + } + + public void addToKeys(String elem) { + if(this.keys == null) { + this.keys = new ArrayList(); + } + this.keys.add(elem); + } + + public List getKeys() { + return this.keys; + } + + public getKeysCclTimestrOrder_args setKeys(List keys) { + this.keys = keys; return this; } - public void unsetKey() { - this.key = null; + public void unsetKeys() { + this.keys = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field keys is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetKeys() { + return this.keys != null; } - public void setKeyIsSet(boolean value) { + public void setKeysIsSet(boolean value) { if(!value) { - this.key = null; + this.keys = null; } } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public String getCcl() { + return this.ccl; } - public getKeyCriteriaTimestr_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public getKeysCclTimestrOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setCriteriaIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.criteria = null; + this.ccl = null; } } @@ -308730,7 +450363,7 @@ public String getTimestamp() { return this.timestamp; } - public getKeyCriteriaTimestr_args setTimestamp(String timestamp) { + public getKeysCclTimestrOrder_args setTimestamp(String timestamp) { this.timestamp = timestamp; return this; } @@ -308753,11 +450386,39 @@ public void setTimestampIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public getKeysCclTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyCriteriaTimestr_args setCreds( + public getKeysCclTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -308785,7 +450446,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyCriteriaTimestr_args setTransaction( + public getKeysCclTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -308813,7 +450474,7 @@ public String getEnvironment() { return this.environment; } - public getKeyCriteriaTimestr_args setEnvironment(String environment) { + public getKeysCclTimestrOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -308838,22 +450499,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: + case KEYS: if(value == null) { - unsetKey(); + unsetKeys(); } else { - setKey((String) value); + setKeys((List) value); } break; - case CRITERIA: + case CCL: if(value == null) { - unsetCriteria(); + unsetCcl(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setCcl((String) value); } break; @@ -308866,6 +450526,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -308899,15 +450568,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); + case KEYS: + return getKeys(); - case CRITERIA: - return getCriteria(); + case CCL: + return getCcl(); case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -308931,12 +450603,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case CRITERIA: - return isSetCriteria(); + case KEYS: + return isSetKeys(); + case CCL: + return isSetCcl(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -308951,30 +450625,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCriteriaTimestr_args) - return this.equals((getKeyCriteriaTimestr_args) that); + if(that instanceof getKeysCclTimestrOrder_args) + return this.equals((getKeysCclTimestrOrder_args) that); return false; } - public boolean equals(getKeyCriteriaTimestr_args that) { + public boolean equals(getKeysCclTimestrOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) + boolean this_present_keys = true && this.isSetKeys(); + boolean that_present_keys = true && that.isSetKeys(); + if(this_present_keys || that_present_keys) { + if(!(this_present_keys && that_present_keys)) return false; - if(!this.key.equals(that.key)) + if(!this.keys.equals(that.keys)) return false; } - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.ccl.equals(that.ccl)) return false; } @@ -308987,6 +450661,15 @@ public boolean equals(getKeyCriteriaTimestr_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -309021,21 +450704,26 @@ public boolean equals(getKeyCriteriaTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); + boolean present_keys = true && (isSetKeys()); + list.add(present_keys); + if(present_keys) + list.add(keys); - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -309055,7 +450743,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyCriteriaTimestr_args other) { + public int compareTo(getKeysCclTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -309063,26 +450751,26 @@ public int compareTo(getKeyCriteriaTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); + lastComparison = Boolean.valueOf(isSetKeys()) + .compareTo(other.isSetKeys()); if(lastComparison != 0) { return lastComparison; } - if(isSetKey()) { + if(isSetKeys()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); + .compareTo(this.keys, other.keys); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -309099,6 +450787,18 @@ public int compareTo(getKeyCriteriaTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -309154,25 +450854,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCriteriaTimestr_args("); + StringBuilder sb = new StringBuilder( + "getKeysCclTimestrOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("keys:"); + if(this.keys == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.keys); } first = false; if(!first) sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.ccl); } first = false; if(!first) @@ -309185,6 +450886,16 @@ public String toString() { sb.append(this.timestamp); } first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -309222,8 +450933,8 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); + if(order != null) { + order.validate(); } if(creds != null) { creds.validate(); @@ -309257,18 +450968,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCriteriaTimestr_argsStandardSchemeFactory + private static class getKeysCclTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public getKeyCriteriaTimestr_argsStandardScheme getScheme() { - return new getKeyCriteriaTimestr_argsStandardScheme(); + public getKeysCclTimestrOrder_argsStandardScheme getScheme() { + return new getKeysCclTimestrOrder_argsStandardScheme(); } } - private static class getKeyCriteriaTimestr_argsStandardScheme - extends StandardScheme { + private static class getKeysCclTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCriteriaTimestr_args struct) + getKeysCclTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -309278,21 +450989,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + case 1: // KEYS + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3730 = iprot + .readListBegin(); + struct.keys = new ArrayList( + _list3730.size); + String _elem3731; + for (int _i3732 = 0; _i3732 < _list3730.size; ++_i3732) { + _elem3731 = iprot.readString(); + struct.keys.add(_elem3731); + } + iprot.readListEnd(); + } + struct.setKeysIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 2: // CCL + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -309309,7 +451030,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // CREDS + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -309320,7 +451052,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -309331,7 +451063,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -309355,19 +451087,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCriteriaTimestr_args struct) + getKeysCclTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.keys != null) { + oprot.writeFieldBegin(KEYS_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + struct.keys.size())); + for (String _iter3733 : struct.keys) { + oprot.writeString(_iter3733); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } if(struct.timestamp != null) { @@ -309375,6 +451116,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -309396,50 +451142,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyCriteriaTimestr_argsTupleSchemeFactory + private static class getKeysCclTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public getKeyCriteriaTimestr_argsTupleScheme getScheme() { - return new getKeyCriteriaTimestr_argsTupleScheme(); + public getKeysCclTimestrOrder_argsTupleScheme getScheme() { + return new getKeysCclTimestrOrder_argsTupleScheme(); } } - private static class getKeyCriteriaTimestr_argsTupleScheme - extends TupleScheme { + private static class getKeysCclTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteriaTimestr_args struct) + getKeysCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetKeys()) { optionals.set(0); } - if(struct.isSetCriteria()) { + if(struct.isSetCcl()) { optionals.set(1); } if(struct.isSetTimestamp()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); + if(struct.isSetEnvironment()) { + optionals.set(6); } - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + oprot.writeBitSet(optionals, 7); + if(struct.isSetKeys()) { + { + oprot.writeI32(struct.keys.size()); + for (String _iter3734 : struct.keys) { + oprot.writeString(_iter3734); + } + } + } + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -309453,34 +451210,48 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteriaTimestr_args struct) + getKeysCclTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + { + org.apache.thrift.protocol.TList _list3735 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRING, + iprot.readI32()); + struct.keys = new ArrayList(_list3735.size); + String _elem3736; + for (int _i3737 = 0; _i3737 < _list3735.size; ++_i3737) { + _elem3736 = iprot.readString(); + struct.keys.add(_elem3736); + } + } + struct.setKeysIsSet(true); } if(incoming.get(1)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(2)) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -309489,13 +451260,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyCriteriaTimestr_result implements - org.apache.thrift.TBase, + public static class getKeysCclTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCriteriaTimestr_result"); + "getKeysCclTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.MAP, (short) 0); @@ -309511,12 +451282,12 @@ public static class getKeyCriteriaTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCriteriaTimestr_resultStandardSchemeFactory()); + new getKeysCclTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCriteriaTimestr_resultTupleSchemeFactory()); + new getKeysCclTimestrOrder_resultTupleSchemeFactory()); } - public Map success; // required + public Map> success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -309612,9 +451383,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.MAP, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))); + new org.apache.thrift.meta_data.MapMetaData( + org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING), + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -309637,13 +451412,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyCriteriaTimestr_result.class, metaDataMap); + getKeysCclTimestrOrder_result.class, metaDataMap); } - public getKeyCriteriaTimestr_result() {} + public getKeysCclTimestrOrder_result() {} - public getKeyCriteriaTimestr_result( - Map success, + public getKeysCclTimestrOrder_result( + Map> success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -309659,22 +451434,39 @@ public getKeyCriteriaTimestr_result( /** * Performs a deep copy on other. */ - public getKeyCriteriaTimestr_result( - getKeyCriteriaTimestr_result other) { + public getKeysCclTimestrOrder_result( + getKeysCclTimestrOrder_result other) { if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( + Map> __this__success = new LinkedHashMap>( other.success.size()); - for (Map.Entry other_element : other.success + for (Map.Entry> other_element : other.success .entrySet()) { Long other_element_key = other_element.getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value = other_element + Map other_element_value = other_element .getValue(); Long __this__success_copy_key = other_element_key; - com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value); + Map __this__success_copy_value = new LinkedHashMap( + other_element_value.size()); + for (Map.Entry other_element_value_element : other_element_value + .entrySet()) { + + String other_element_value_element_key = other_element_value_element + .getKey(); + com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element + .getValue(); + + String __this__success_copy_value_copy_key = other_element_value_element_key; + + com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( + other_element_value_element_value); + + __this__success_copy_value.put( + __this__success_copy_value_copy_key, + __this__success_copy_value_copy_value); + } __this__success.put(__this__success_copy_key, __this__success_copy_value); @@ -309699,8 +451491,8 @@ public getKeyCriteriaTimestr_result( } } - public getKeyCriteriaTimestr_result deepCopy() { - return new getKeyCriteriaTimestr_result(this); + public getKeysCclTimestrOrder_result deepCopy() { + return new getKeysCclTimestrOrder_result(this); } @Override @@ -309717,19 +451509,19 @@ public int getSuccessSize() { } public void putToSuccess(long key, - com.cinchapi.concourse.thrift.TObject val) { + Map val) { if(this.success == null) { - this.success = new LinkedHashMap(); + this.success = new LinkedHashMap>(); } this.success.put(key, val); } - public Map getSuccess() { + public Map> getSuccess() { return this.success; } - public getKeyCriteriaTimestr_result setSuccess( - Map success) { + public getKeysCclTimestrOrder_result setSuccess( + Map> success) { this.success = success; return this; } @@ -309756,7 +451548,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyCriteriaTimestr_result setEx( + public getKeysCclTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -309784,7 +451576,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyCriteriaTimestr_result setEx2( + public getKeysCclTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -309812,7 +451604,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeyCriteriaTimestr_result setEx3( + public getKeysCclTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -309840,7 +451632,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public getKeyCriteriaTimestr_result setEx4( + public getKeysCclTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -309872,7 +451664,7 @@ public void setFieldValue(_Fields field, Object value) { } else { setSuccess( - (Map) value); + (Map>) value); } break; @@ -309964,12 +451756,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCriteriaTimestr_result) - return this.equals((getKeyCriteriaTimestr_result) that); + if(that instanceof getKeysCclTimestrOrder_result) + return this.equals((getKeysCclTimestrOrder_result) that); return false; } - public boolean equals(getKeyCriteriaTimestr_result that) { + public boolean equals(getKeysCclTimestrOrder_result that) { if(that == null) return false; @@ -310054,7 +451846,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyCriteriaTimestr_result other) { + public int compareTo(getKeysCclTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -310142,7 +451934,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "getKeyCriteriaTimestr_result("); + "getKeysCclTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -310226,18 +452018,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCriteriaTimestr_resultStandardSchemeFactory + private static class getKeysCclTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public getKeyCriteriaTimestr_resultStandardScheme getScheme() { - return new getKeyCriteriaTimestr_resultStandardScheme(); + public getKeysCclTimestrOrder_resultStandardScheme getScheme() { + return new getKeysCclTimestrOrder_resultStandardScheme(); } } - private static class getKeyCriteriaTimestr_resultStandardScheme - extends StandardScheme { + private static class getKeysCclTimestrOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCriteriaTimestr_result struct) + getKeysCclTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -310250,17 +452042,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2240 = iprot + org.apache.thrift.protocol.TMap _map3738 = iprot .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map2240.size); - long _key2241; - com.cinchapi.concourse.thrift.TObject _val2242; - for (int _i2243 = 0; _i2243 < _map2240.size; ++_i2243) { - _key2241 = iprot.readI64(); - _val2242 = new com.cinchapi.concourse.thrift.TObject(); - _val2242.read(iprot); - struct.success.put(_key2241, _val2242); + struct.success = new LinkedHashMap>( + 2 * _map3738.size); + long _key3739; + Map _val3740; + for (int _i3741 = 0; _i3741 < _map3738.size; ++_i3741) { + _key3739 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map3742 = iprot + .readMapBegin(); + _val3740 = new LinkedHashMap( + 2 * _map3742.size); + String _key3743; + com.cinchapi.concourse.thrift.TObject _val3744; + for (int _i3745 = 0; _i3745 < _map3742.size; ++_i3745) { + _key3743 = iprot.readString(); + _val3744 = new com.cinchapi.concourse.thrift.TObject(); + _val3744.read(iprot); + _val3740.put(_key3743, _val3744); + } + iprot.readMapEnd(); + } + struct.success.put(_key3739, _val3740); } iprot.readMapEnd(); } @@ -310329,7 +452134,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCriteriaTimestr_result struct) + getKeysCclTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -310339,12 +452144,24 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry _iter2244 : struct.success + for (Map.Entry> _iter3746 : struct.success .entrySet()) { - oprot.writeI64(_iter2244.getKey()); - _iter2244.getValue().write(oprot); + oprot.writeI64(_iter3746.getKey()); + { + oprot.writeMapBegin( + new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.STRUCT, + _iter3746.getValue().size())); + for (Map.Entry _iter3747 : _iter3746 + .getValue().entrySet()) { + oprot.writeString(_iter3747.getKey()); + _iter3747.getValue().write(oprot); + } + oprot.writeMapEnd(); + } } oprot.writeMapEnd(); } @@ -310376,19 +452193,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyCriteriaTimestr_resultTupleSchemeFactory + private static class getKeysCclTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public getKeyCriteriaTimestr_resultTupleScheme getScheme() { - return new getKeyCriteriaTimestr_resultTupleScheme(); + public getKeysCclTimestrOrder_resultTupleScheme getScheme() { + return new getKeysCclTimestrOrder_resultTupleScheme(); } } - private static class getKeyCriteriaTimestr_resultTupleScheme - extends TupleScheme { + private static class getKeysCclTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteriaTimestr_result struct) + getKeysCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -310411,10 +452228,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter2245 : struct.success + for (Map.Entry> _iter3748 : struct.success .entrySet()) { - oprot.writeI64(_iter2245.getKey()); - _iter2245.getValue().write(oprot); + oprot.writeI64(_iter3748.getKey()); + { + oprot.writeI32(_iter3748.getValue().size()); + for (Map.Entry _iter3749 : _iter3748 + .getValue().entrySet()) { + oprot.writeString(_iter3749.getKey()); + _iter3749.getValue().write(oprot); + } + } } } } @@ -310434,25 +452258,39 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCriteriaTimestr_result struct) + getKeysCclTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2246 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map3750 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, + org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map2246.size); - long _key2247; - com.cinchapi.concourse.thrift.TObject _val2248; - for (int _i2249 = 0; _i2249 < _map2246.size; ++_i2249) { - _key2247 = iprot.readI64(); - _val2248 = new com.cinchapi.concourse.thrift.TObject(); - _val2248.read(iprot); - struct.success.put(_key2247, _val2248); + struct.success = new LinkedHashMap>( + 2 * _map3750.size); + long _key3751; + Map _val3752; + for (int _i3753 = 0; _i3753 < _map3750.size; ++_i3753) { + _key3751 = iprot.readI64(); + { + org.apache.thrift.protocol.TMap _map3754 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + _val3752 = new LinkedHashMap( + 2 * _map3754.size); + String _key3755; + com.cinchapi.concourse.thrift.TObject _val3756; + for (int _i3757 = 0; _i3757 < _map3754.size; ++_i3757) { + _key3755 = iprot.readString(); + _val3756 = new com.cinchapi.concourse.thrift.TObject(); + _val3756.read(iprot); + _val3752.put(_key3755, _val3756); + } + } + struct.success.put(_key3751, _val3752); } } struct.setSuccessIsSet(true); @@ -310482,20 +452320,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyCclTime_args implements - org.apache.thrift.TBase, + public static class verifyKeyValueRecord_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCclTime_args"); + "verifyKeyValueRecord_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( + "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -310508,14 +452346,14 @@ public static class getKeyCclTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCclTime_argsStandardSchemeFactory()); + new verifyKeyValueRecord_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCclTime_argsTupleSchemeFactory()); + new verifyKeyValueRecord_argsTupleSchemeFactory()); } public String key; // required - public String ccl; // required - public long timestamp; // required + public com.cinchapi.concourse.thrift.TObject value; // required + public long record; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -310526,8 +452364,8 @@ public static class getKeyCclTime_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - CCL((short) 2, "ccl"), - TIMESTAMP((short) 3, "timestamp"), + VALUE((short) 2, "value"), + RECORD((short) 3, "record"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -310548,10 +452386,10 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // CCL - return CCL; - case 3: // TIMESTAMP - return TIMESTAMP; + case 2: // VALUE + return VALUE; + case 3: // RECORD + return RECORD; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -310602,7 +452440,7 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; + private static final int __RECORD_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { @@ -310613,13 +452451,14 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.VALUE, + new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); @@ -310642,20 +452481,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyCclTime_args.class, metaDataMap); + verifyKeyValueRecord_args.class, metaDataMap); } - public getKeyCclTime_args() {} + public verifyKeyValueRecord_args() {} - public getKeyCclTime_args(String key, String ccl, long timestamp, + public verifyKeyValueRecord_args(String key, + com.cinchapi.concourse.thrift.TObject value, long record, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.ccl = ccl; - this.timestamp = timestamp; - setTimestampIsSet(true); + this.value = value; + this.record = record; + setRecordIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -310664,15 +452504,16 @@ public getKeyCclTime_args(String key, String ccl, long timestamp, /** * Performs a deep copy on other. */ - public getKeyCclTime_args(getKeyCclTime_args other) { + public verifyKeyValueRecord_args(verifyKeyValueRecord_args other) { __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } - if(other.isSetCcl()) { - this.ccl = other.ccl; + if(other.isSetValue()) { + this.value = new com.cinchapi.concourse.thrift.TObject( + other.value); } - this.timestamp = other.timestamp; + this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -310686,16 +452527,16 @@ public getKeyCclTime_args(getKeyCclTime_args other) { } } - public getKeyCclTime_args deepCopy() { - return new getKeyCclTime_args(this); + public verifyKeyValueRecord_args deepCopy() { + return new verifyKeyValueRecord_args(this); } @Override public void clear() { this.key = null; - this.ccl = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.value = null; + setRecordIsSet(false); + this.record = 0; this.creds = null; this.transaction = null; this.environment = null; @@ -310705,7 +452546,7 @@ public String getKey() { return this.key; } - public getKeyCclTime_args setKey(String key) { + public verifyKeyValueRecord_args setKey(String key) { this.key = key; return this; } @@ -310728,67 +452569,67 @@ public void setKeyIsSet(boolean value) { } } - public String getCcl() { - return this.ccl; + public com.cinchapi.concourse.thrift.TObject getValue() { + return this.value; } - public getKeyCclTime_args setCcl(String ccl) { - this.ccl = ccl; + public verifyKeyValueRecord_args setValue( + com.cinchapi.concourse.thrift.TObject value) { + this.value = value; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetValue() { + this.value = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field value is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetValue() { + return this.value != null; } - public void setCclIsSet(boolean value) { + public void setValueIsSet(boolean value) { if(!value) { - this.ccl = null; + this.value = null; } } - public long getTimestamp() { - return this.timestamp; + public long getRecord() { + return this.record; } - public getKeyCclTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); + public verifyKeyValueRecord_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); return this; } - public void unsetTimestamp() { + public void unsetRecord() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + __RECORD_ISSET_ID); } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field record is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); } - public void setTimestampIsSet(boolean value) { + public void setRecordIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + __RECORD_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyCclTime_args setCreds( + public verifyKeyValueRecord_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -310816,7 +452657,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyCclTime_args setTransaction( + public verifyKeyValueRecord_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -310844,7 +452685,7 @@ public String getEnvironment() { return this.environment; } - public getKeyCclTime_args setEnvironment(String environment) { + public verifyKeyValueRecord_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -310878,21 +452719,21 @@ public void setFieldValue(_Fields field, Object value) { } break; - case CCL: + case VALUE: if(value == null) { - unsetCcl(); + unsetValue(); } else { - setCcl((String) value); + setValue((com.cinchapi.concourse.thrift.TObject) value); } break; - case TIMESTAMP: + case RECORD: if(value == null) { - unsetTimestamp(); + unsetRecord(); } else { - setTimestamp((Long) value); + setRecord((Long) value); } break; @@ -310932,11 +452773,11 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case CCL: - return getCcl(); + case VALUE: + return getValue(); - case TIMESTAMP: - return getTimestamp(); + case RECORD: + return getRecord(); case CREDS: return getCreds(); @@ -310963,10 +452804,10 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case CCL: - return isSetCcl(); - case TIMESTAMP: - return isSetTimestamp(); + case VALUE: + return isSetValue(); + case RECORD: + return isSetRecord(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -310981,12 +452822,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCclTime_args) - return this.equals((getKeyCclTime_args) that); + if(that instanceof verifyKeyValueRecord_args) + return this.equals((verifyKeyValueRecord_args) that); return false; } - public boolean equals(getKeyCclTime_args that) { + public boolean equals(verifyKeyValueRecord_args that) { if(that == null) return false; @@ -310999,21 +452840,21 @@ public boolean equals(getKeyCclTime_args that) { return false; } - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_value = true && this.isSetValue(); + boolean that_present_value = true && that.isSetValue(); + if(this_present_value || that_present_value) { + if(!(this_present_value && that_present_value)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.value.equals(that.value)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) return false; - if(this.timestamp != that.timestamp) + if(this.record != that.record) return false; } @@ -311056,15 +452897,15 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_value = true && (isSetValue()); + list.add(present_value); + if(present_value) + list.add(value); - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -311085,7 +452926,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyCclTime_args other) { + public int compareTo(verifyKeyValueRecord_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -311105,26 +452946,26 @@ public int compareTo(getKeyCclTime_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetValue()) + .compareTo(other.isSetValue()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetValue()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.value, other.value); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetRecord()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.record, other.record); if(lastComparison != 0) { return lastComparison; } @@ -311184,7 +453025,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCclTime_args("); + StringBuilder sb = new StringBuilder("verifyKeyValueRecord_args("); boolean first = true; sb.append("key:"); @@ -311197,18 +453038,18 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("value:"); + if(this.value == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.value); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); + sb.append("record:"); + sb.append(this.record); first = false; if(!first) sb.append(", "); @@ -311247,6 +453088,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(value != null) { + value.validate(); + } if(creds != null) { creds.validate(); } @@ -311283,18 +453127,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCclTime_argsStandardSchemeFactory + private static class verifyKeyValueRecord_argsStandardSchemeFactory implements SchemeFactory { - public getKeyCclTime_argsStandardScheme getScheme() { - return new getKeyCclTime_argsStandardScheme(); + public verifyKeyValueRecord_argsStandardScheme getScheme() { + return new verifyKeyValueRecord_argsStandardScheme(); } } - private static class getKeyCclTime_argsStandardScheme - extends StandardScheme { + private static class verifyKeyValueRecord_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCclTime_args struct) + verifyKeyValueRecord_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -311314,20 +453158,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + case 2: // VALUE + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP + case 3: // RECORD if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -311380,7 +453225,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCclTime_args struct) + verifyKeyValueRecord_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -311390,13 +453235,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.value != null) { + oprot.writeFieldBegin(VALUE_FIELD_DESC); + struct.value.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); @@ -311419,29 +453264,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyCclTime_argsTupleSchemeFactory + private static class verifyKeyValueRecord_argsTupleSchemeFactory implements SchemeFactory { - public getKeyCclTime_argsTupleScheme getScheme() { - return new getKeyCclTime_argsTupleScheme(); + public verifyKeyValueRecord_argsTupleScheme getScheme() { + return new verifyKeyValueRecord_argsTupleScheme(); } } - private static class getKeyCclTime_argsTupleScheme - extends TupleScheme { + private static class verifyKeyValueRecord_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCclTime_args struct) + verifyKeyValueRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetCcl()) { + if(struct.isSetValue()) { optionals.set(1); } - if(struct.isSetTimestamp()) { + if(struct.isSetRecord()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -311457,11 +453302,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetValue()) { + struct.value.write(oprot); } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -311476,7 +453321,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCclTime_args struct) + verifyKeyValueRecord_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); @@ -311485,12 +453330,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -311511,38 +453357,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyCclTime_result implements - org.apache.thrift.TBase, + public static class verifyKeyValueRecord_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCclTime_result"); + "verifyKeyValueRecord_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCclTime_resultStandardSchemeFactory()); + new verifyKeyValueRecord_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCclTime_resultTupleSchemeFactory()); + new verifyKeyValueRecord_resultTupleSchemeFactory()); } - public Map success; // required + public boolean success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -311552,8 +453395,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -311577,8 +453419,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -311623,6 +453463,8 @@ public String getFieldName() { } // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -311630,13 +453472,8 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -311652,56 +453489,31 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyCclTime_result.class, metaDataMap); + verifyKeyValueRecord_result.class, metaDataMap); } - public getKeyCclTime_result() {} + public verifyKeyValueRecord_result() {} - public getKeyCclTime_result( - Map success, + public verifyKeyValueRecord_result(boolean success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; + setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeyCclTime_result(getKeyCclTime_result other) { - if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success.size()); - for (Map.Entry other_element : other.success - .entrySet()) { - - Long other_element_key = other_element.getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value = other_element - .getValue(); - - Long __this__success_copy_key = other_element_key; - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value); - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); - } - this.success = __this__success; - } + public verifyKeyValueRecord_result(verifyKeyValueRecord_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -311711,52 +453523,37 @@ public getKeyCclTime_result(getKeyCclTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public getKeyCclTime_result deepCopy() { - return new getKeyCclTime_result(this); + public verifyKeyValueRecord_result deepCopy() { + return new verifyKeyValueRecord_result(this); } @Override public void clear() { - this.success = null; + setSuccessIsSet(false); + this.success = false; this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, - com.cinchapi.concourse.thrift.TObject val) { - if(this.success == null) { - this.success = new LinkedHashMap(); - } - this.success.put(key, val); - } - - public Map getSuccess() { + public boolean isSuccess() { return this.success; } - public getKeyCclTime_result setSuccess( - Map success) { + public verifyKeyValueRecord_result setSuccess(boolean success) { this.success = success; + setSuccessIsSet(true); return this; } public void unsetSuccess() { - this.success = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __SUCCESS_ISSET_ID); } /** @@ -311764,20 +453561,19 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return this.success != null; + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - if(!value) { - this.success = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __SUCCESS_ISSET_ID, value); } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyCclTime_result setEx( + public verifyKeyValueRecord_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -311805,7 +453601,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyCclTime_result setEx2( + public verifyKeyValueRecord_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -311829,12 +453625,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getKeyCclTime_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public verifyKeyValueRecord_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -311857,34 +453653,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public getKeyCclTime_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -311892,8 +453660,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Map) value); + setSuccess((Boolean) value); } break; @@ -311920,16 +453687,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -311939,7 +453697,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return getSuccess(); + return isSuccess(); case EX: return getEx(); @@ -311950,9 +453708,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -311975,8 +453730,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -311985,21 +453738,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCclTime_result) - return this.equals((getKeyCclTime_result) that); + if(that instanceof verifyKeyValueRecord_result) + return this.equals((verifyKeyValueRecord_result) that); return false; } - public boolean equals(getKeyCclTime_result that) { + public boolean equals(verifyKeyValueRecord_result that) { if(that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); + boolean this_present_success = true; + boolean that_present_success = true; if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(!this.success.equals(that.success)) + if(this.success != that.success) return false; } @@ -312030,15 +453783,6 @@ public boolean equals(getKeyCclTime_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -312046,7 +453790,7 @@ public boolean equals(getKeyCclTime_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); + boolean present_success = true; list.add(present_success); if(present_success) list.add(success); @@ -312066,16 +453810,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(getKeyCclTime_result other) { + public int compareTo(verifyKeyValueRecord_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -312131,18 +453870,6 @@ public int compareTo(getKeyCclTime_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -312162,16 +453889,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCclTime_result("); + StringBuilder sb = new StringBuilder( + "verifyKeyValueRecord_result("); boolean first = true; sb.append("success:"); - if(this.success == null) { - sb.append("null"); - } - else { - sb.append(this.success); - } + sb.append(this.success); first = false; if(!first) sb.append(", "); @@ -312203,16 +453926,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -312237,6 +453950,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -312246,18 +453963,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCclTime_resultStandardSchemeFactory + private static class verifyKeyValueRecord_resultStandardSchemeFactory implements SchemeFactory { - public getKeyCclTime_resultStandardScheme getScheme() { - return new getKeyCclTime_resultStandardScheme(); + public verifyKeyValueRecord_resultStandardScheme getScheme() { + return new verifyKeyValueRecord_resultStandardScheme(); } } - private static class getKeyCclTime_resultStandardScheme - extends StandardScheme { + private static class verifyKeyValueRecord_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCclTime_result struct) + verifyKeyValueRecord_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -312268,22 +453985,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map2250 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map2250.size); - long _key2251; - com.cinchapi.concourse.thrift.TObject _val2252; - for (int _i2253 = 0; _i2253 < _map2250.size; ++_i2253) { - _key2251 = iprot.readI64(); - _val2252 = new com.cinchapi.concourse.thrift.TObject(); - _val2252.read(iprot); - struct.success.put(_key2251, _val2252); - } - iprot.readMapEnd(); - } + if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { @@ -312315,7 +454018,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -312324,17 +454027,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -312349,25 +454041,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCclTime_result struct) + verifyKeyValueRecord_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.success != null) { + if(struct.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, - struct.success.size())); - for (Map.Entry _iter2254 : struct.success - .entrySet()) { - oprot.writeI64(_iter2254.getKey()); - _iter2254.getValue().write(oprot); - } - oprot.writeMapEnd(); - } + oprot.writeBool(struct.success); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -312385,30 +454066,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeyCclTime_resultTupleSchemeFactory + private static class verifyKeyValueRecord_resultTupleSchemeFactory implements SchemeFactory { - public getKeyCclTime_resultTupleScheme getScheme() { - return new getKeyCclTime_resultTupleScheme(); + public verifyKeyValueRecord_resultTupleScheme getScheme() { + return new verifyKeyValueRecord_resultTupleScheme(); } } - private static class getKeyCclTime_resultTupleScheme - extends TupleScheme { + private static class verifyKeyValueRecord_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCclTime_result struct) + verifyKeyValueRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -312424,19 +454100,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry _iter2255 : struct.success - .entrySet()) { - oprot.writeI64(_iter2255.getKey()); - _iter2255.getValue().write(oprot); - } - } + oprot.writeBool(struct.success); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -312447,34 +454113,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCclTime_result struct) + verifyKeyValueRecord_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map2256 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map2256.size); - long _key2257; - com.cinchapi.concourse.thrift.TObject _val2258; - for (int _i2259 = 0; _i2259 < _map2256.size; ++_i2259) { - _key2257 = iprot.readI64(); - _val2258 = new com.cinchapi.concourse.thrift.TObject(); - _val2258.read(iprot); - struct.success.put(_key2257, _val2258); - } - } + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -312488,55 +454136,52 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class getKeyCclTimestr_args implements - org.apache.thrift.TBase, + public static class verifyKeyValueRecordTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCclTimestr_args"); + "verifyKeyValueRecordTime_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( + "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 3); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCclTimestr_argsStandardSchemeFactory()); + new verifyKeyValueRecordTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCclTimestr_argsTupleSchemeFactory()); + new verifyKeyValueRecordTime_argsTupleSchemeFactory()); } public String key; // required - public String ccl; // required - public String timestamp; // required + public com.cinchapi.concourse.thrift.TObject value; // required + public long record; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -312547,11 +454192,12 @@ public static class getKeyCclTimestr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - CCL((short) 2, "ccl"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + VALUE((short) 2, "value"), + RECORD((short) 3, "record"), + TIMESTAMP((short) 4, "timestamp"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -312569,15 +454215,17 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // CCL - return CCL; - case 3: // TIMESTAMP + case 2: // VALUE + return VALUE; + case 3: // RECORD + return RECORD; + case 4: // TIMESTAMP return TIMESTAMP; - case 4: // CREDS + case 5: // CREDS return CREDS; - case 5: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -312623,6 +454271,9 @@ public String getFieldName() { } // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 1; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -312632,16 +454283,22 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.VALUE, + new org.apache.thrift.meta_data.FieldMetaData("value", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -312661,19 +454318,23 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyCclTimestr_args.class, metaDataMap); + verifyKeyValueRecordTime_args.class, metaDataMap); } - public getKeyCclTimestr_args() {} + public verifyKeyValueRecordTime_args() {} - public getKeyCclTimestr_args(String key, String ccl, String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + public verifyKeyValueRecordTime_args(String key, + com.cinchapi.concourse.thrift.TObject value, long record, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.ccl = ccl; + this.value = value; + this.record = record; + setRecordIsSet(true); this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -312682,16 +454343,18 @@ public getKeyCclTimestr_args(String key, String ccl, String timestamp, /** * Performs a deep copy on other. */ - public getKeyCclTimestr_args(getKeyCclTimestr_args other) { + public verifyKeyValueRecordTime_args( + verifyKeyValueRecordTime_args other) { + __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } - if(other.isSetCcl()) { - this.ccl = other.ccl; - } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + if(other.isSetValue()) { + this.value = new com.cinchapi.concourse.thrift.TObject( + other.value); } + this.record = other.record; + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -312705,15 +454368,18 @@ public getKeyCclTimestr_args(getKeyCclTimestr_args other) { } } - public getKeyCclTimestr_args deepCopy() { - return new getKeyCclTimestr_args(this); + public verifyKeyValueRecordTime_args deepCopy() { + return new verifyKeyValueRecordTime_args(this); } @Override public void clear() { this.key = null; - this.ccl = null; - this.timestamp = null; + this.value = null; + setRecordIsSet(false); + this.record = 0; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; @@ -312723,7 +454389,7 @@ public String getKey() { return this.key; } - public getKeyCclTimestr_args setKey(String key) { + public verifyKeyValueRecordTime_args setKey(String key) { this.key = key; return this; } @@ -312746,44 +454412,75 @@ public void setKeyIsSet(boolean value) { } } - public String getCcl() { - return this.ccl; + public com.cinchapi.concourse.thrift.TObject getValue() { + return this.value; } - public getKeyCclTimestr_args setCcl(String ccl) { - this.ccl = ccl; + public verifyKeyValueRecordTime_args setValue( + com.cinchapi.concourse.thrift.TObject value) { + this.value = value; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetValue() { + this.value = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field value is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetValue() { + return this.value != null; } - public void setCclIsSet(boolean value) { + public void setValueIsSet(boolean value) { if(!value) { - this.ccl = null; + this.value = null; } } - public String getTimestamp() { + public long getRecord() { + return this.record; + } + + public verifyKeyValueRecordTime_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); + return this; + } + + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); + } + + /** + * Returns true if field record is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + } + + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public long getTimestamp() { return this.timestamp; } - public getKeyCclTimestr_args setTimestamp(String timestamp) { + public verifyKeyValueRecordTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; + setTimestampIsSet(true); return this; } public void unsetTimestamp() { - this.timestamp = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** @@ -312791,20 +454488,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return this.timestamp != null; + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - if(!value) { - this.timestamp = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeyCclTimestr_args setCreds( + public verifyKeyValueRecordTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -312832,7 +454529,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeyCclTimestr_args setTransaction( + public verifyKeyValueRecordTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -312860,7 +454557,8 @@ public String getEnvironment() { return this.environment; } - public getKeyCclTimestr_args setEnvironment(String environment) { + public verifyKeyValueRecordTime_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -312894,12 +454592,21 @@ public void setFieldValue(_Fields field, Object value) { } break; - case CCL: + case VALUE: if(value == null) { - unsetCcl(); + unsetValue(); } else { - setCcl((String) value); + setValue((com.cinchapi.concourse.thrift.TObject) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); } break; @@ -312908,7 +454615,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((String) value); + setTimestamp((Long) value); } break; @@ -312948,8 +454655,11 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case CCL: - return getCcl(); + case VALUE: + return getValue(); + + case RECORD: + return getRecord(); case TIMESTAMP: return getTimestamp(); @@ -312979,8 +454689,10 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case CCL: - return isSetCcl(); + case VALUE: + return isSetValue(); + case RECORD: + return isSetRecord(); case TIMESTAMP: return isSetTimestamp(); case CREDS: @@ -312997,12 +454709,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCclTimestr_args) - return this.equals((getKeyCclTimestr_args) that); + if(that instanceof verifyKeyValueRecordTime_args) + return this.equals((verifyKeyValueRecordTime_args) that); return false; } - public boolean equals(getKeyCclTimestr_args that) { + public boolean equals(verifyKeyValueRecordTime_args that) { if(that == null) return false; @@ -313015,21 +454727,30 @@ public boolean equals(getKeyCclTimestr_args that) { return false; } - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_value = true && this.isSetValue(); + boolean that_present_value = true && that.isSetValue(); + if(this_present_value || that_present_value) { + if(!(this_present_value && that_present_value)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.value.equals(that.value)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(this.timestamp != that.timestamp) return false; } @@ -313072,12 +454793,17 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_value = true && (isSetValue()); + list.add(present_value); + if(present_value) + list.add(value); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -313101,7 +454827,7 @@ public int hashCode() { } @Override - public int compareTo(getKeyCclTimestr_args other) { + public int compareTo(verifyKeyValueRecordTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -313121,14 +454847,26 @@ public int compareTo(getKeyCclTimestr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetValue()) + .compareTo(other.isSetValue()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetValue()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.value, other.value); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); if(lastComparison != 0) { return lastComparison; } @@ -313200,7 +454938,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCclTimestr_args("); + StringBuilder sb = new StringBuilder( + "verifyKeyValueRecordTime_args("); boolean first = true; sb.append("key:"); @@ -313213,23 +454952,23 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("value:"); + if(this.value == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.value); } first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; if(!first) sb.append(", "); sb.append("timestamp:"); - if(this.timestamp == null) { - sb.append("null"); - } - else { - sb.append(this.timestamp); - } + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -313268,6 +455007,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(value != null) { + value.validate(); + } if(creds != null) { creds.validate(); } @@ -313291,6 +455033,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -313300,18 +455046,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCclTimestr_argsStandardSchemeFactory + private static class verifyKeyValueRecordTime_argsStandardSchemeFactory implements SchemeFactory { - public getKeyCclTimestr_argsStandardScheme getScheme() { - return new getKeyCclTimestr_argsStandardScheme(); + public verifyKeyValueRecordTime_argsStandardScheme getScheme() { + return new verifyKeyValueRecordTime_argsStandardScheme(); } } - private static class getKeyCclTimestr_argsStandardScheme - extends StandardScheme { + private static class verifyKeyValueRecordTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCclTimestr_args struct) + verifyKeyValueRecordTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -313331,19 +455077,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + case 2: // VALUE + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); + case 3: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { @@ -313351,7 +455108,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // CREDS + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -313362,7 +455119,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -313373,7 +455130,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -313397,7 +455154,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCclTimestr_args struct) + verifyKeyValueRecordTime_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -313407,16 +455164,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); - oprot.writeFieldEnd(); - } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + if(struct.value != null) { + oprot.writeFieldBegin(VALUE_FIELD_DESC); + struct.value.write(oprot); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -313438,49 +455196,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeyCclTimestr_argsTupleSchemeFactory + private static class verifyKeyValueRecordTime_argsTupleSchemeFactory implements SchemeFactory { - public getKeyCclTimestr_argsTupleScheme getScheme() { - return new getKeyCclTimestr_argsTupleScheme(); + public verifyKeyValueRecordTime_argsTupleScheme getScheme() { + return new verifyKeyValueRecordTime_argsTupleScheme(); } } - private static class getKeyCclTimestr_argsTupleScheme - extends TupleScheme { + private static class verifyKeyValueRecordTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCclTimestr_args struct) + verifyKeyValueRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetCcl()) { + if(struct.isSetValue()) { optionals.set(1); } - if(struct.isSetTimestamp()) { + if(struct.isSetRecord()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetValue()) { + struct.value.write(oprot); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -313495,33 +455259,38 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCclTimestr_args struct) + verifyKeyValueRecordTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); } if(incoming.get(3)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -313530,38 +455299,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeyCclTimestr_result implements - org.apache.thrift.TBase, + public static class verifyKeyValueRecordTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeyCclTimestr_result"); + "verifyKeyValueRecordTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeyCclTimestr_resultStandardSchemeFactory()); + new verifyKeyValueRecordTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeyCclTimestr_resultTupleSchemeFactory()); + new verifyKeyValueRecordTime_resultTupleSchemeFactory()); } - public Map success; // required + public boolean success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -313571,8 +455337,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -313596,8 +455361,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -313642,6 +455405,8 @@ public String getFieldName() { } // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -313649,13 +455414,8 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class)))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -313671,56 +455431,32 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeyCclTimestr_result.class, metaDataMap); + verifyKeyValueRecordTime_result.class, metaDataMap); } - public getKeyCclTimestr_result() {} + public verifyKeyValueRecordTime_result() {} - public getKeyCclTimestr_result( - Map success, + public verifyKeyValueRecordTime_result(boolean success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; + setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeyCclTimestr_result(getKeyCclTimestr_result other) { - if(other.isSetSuccess()) { - Map __this__success = new LinkedHashMap( - other.success.size()); - for (Map.Entry other_element : other.success - .entrySet()) { - - Long other_element_key = other_element.getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value = other_element - .getValue(); - - Long __this__success_copy_key = other_element_key; - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value); - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); - } - this.success = __this__success; - } + public verifyKeyValueRecordTime_result( + verifyKeyValueRecordTime_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -313730,52 +455466,37 @@ public getKeyCclTimestr_result(getKeyCclTimestr_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public getKeyCclTimestr_result deepCopy() { - return new getKeyCclTimestr_result(this); + public verifyKeyValueRecordTime_result deepCopy() { + return new verifyKeyValueRecordTime_result(this); } @Override public void clear() { - this.success = null; + setSuccessIsSet(false); + this.success = false; this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; - } - - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, - com.cinchapi.concourse.thrift.TObject val) { - if(this.success == null) { - this.success = new LinkedHashMap(); - } - this.success.put(key, val); - } - - public Map getSuccess() { + public boolean isSuccess() { return this.success; } - public getKeyCclTimestr_result setSuccess( - Map success) { + public verifyKeyValueRecordTime_result setSuccess(boolean success) { this.success = success; + setSuccessIsSet(true); return this; } public void unsetSuccess() { - this.success = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __SUCCESS_ISSET_ID); } /** @@ -313783,20 +455504,19 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return this.success != null; + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - if(!value) { - this.success = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __SUCCESS_ISSET_ID, value); } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeyCclTimestr_result setEx( + public verifyKeyValueRecordTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -313824,7 +455544,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeyCclTimestr_result setEx2( + public verifyKeyValueRecordTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -313848,12 +455568,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getKeyCclTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public verifyKeyValueRecordTime_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -313876,34 +455596,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public getKeyCclTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -313911,8 +455603,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Map) value); + setSuccess((Boolean) value); } break; @@ -313939,16 +455630,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -313958,7 +455640,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return getSuccess(); + return isSuccess(); case EX: return getEx(); @@ -313969,9 +455651,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -313994,8 +455673,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -314004,21 +455681,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeyCclTimestr_result) - return this.equals((getKeyCclTimestr_result) that); + if(that instanceof verifyKeyValueRecordTime_result) + return this.equals((verifyKeyValueRecordTime_result) that); return false; } - public boolean equals(getKeyCclTimestr_result that) { + public boolean equals(verifyKeyValueRecordTime_result that) { if(that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); + boolean this_present_success = true; + boolean that_present_success = true; if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(!this.success.equals(that.success)) + if(this.success != that.success) return false; } @@ -314049,15 +455726,6 @@ public boolean equals(getKeyCclTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -314065,7 +455733,7 @@ public boolean equals(getKeyCclTimestr_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); + boolean present_success = true; list.add(present_success); if(present_success) list.add(success); @@ -314085,16 +455753,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(getKeyCclTimestr_result other) { + public int compareTo(verifyKeyValueRecordTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -314150,18 +455813,6 @@ public int compareTo(getKeyCclTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -314181,16 +455832,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeyCclTimestr_result("); + StringBuilder sb = new StringBuilder( + "verifyKeyValueRecordTime_result("); boolean first = true; sb.append("success:"); - if(this.success == null) { - sb.append("null"); - } - else { - sb.append(this.success); - } + sb.append(this.success); first = false; if(!first) sb.append(", "); @@ -314222,16 +455869,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -314256,6 +455893,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -314265,18 +455906,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeyCclTimestr_resultStandardSchemeFactory + private static class verifyKeyValueRecordTime_resultStandardSchemeFactory implements SchemeFactory { - public getKeyCclTimestr_resultStandardScheme getScheme() { - return new getKeyCclTimestr_resultStandardScheme(); + public verifyKeyValueRecordTime_resultStandardScheme getScheme() { + return new verifyKeyValueRecordTime_resultStandardScheme(); } } - private static class getKeyCclTimestr_resultStandardScheme - extends StandardScheme { + private static class verifyKeyValueRecordTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeyCclTimestr_result struct) + verifyKeyValueRecordTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -314287,22 +455928,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map2260 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap( - 2 * _map2260.size); - long _key2261; - com.cinchapi.concourse.thrift.TObject _val2262; - for (int _i2263 = 0; _i2263 < _map2260.size; ++_i2263) { - _key2261 = iprot.readI64(); - _val2262 = new com.cinchapi.concourse.thrift.TObject(); - _val2262.read(iprot); - struct.success.put(_key2261, _val2262); - } - iprot.readMapEnd(); - } + if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { @@ -314334,7 +455961,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -314343,17 +455970,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -314368,25 +455984,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeyCclTimestr_result struct) + verifyKeyValueRecordTime_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.success != null) { + if(struct.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, - struct.success.size())); - for (Map.Entry _iter2264 : struct.success - .entrySet()) { - oprot.writeI64(_iter2264.getKey()); - _iter2264.getValue().write(oprot); - } - oprot.writeMapEnd(); - } + oprot.writeBool(struct.success); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -314404,30 +456009,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeyCclTimestr_resultTupleSchemeFactory + private static class verifyKeyValueRecordTime_resultTupleSchemeFactory implements SchemeFactory { - public getKeyCclTimestr_resultTupleScheme getScheme() { - return new getKeyCclTimestr_resultTupleScheme(); + public verifyKeyValueRecordTime_resultTupleScheme getScheme() { + return new verifyKeyValueRecordTime_resultTupleScheme(); } } - private static class getKeyCclTimestr_resultTupleScheme - extends TupleScheme { + private static class verifyKeyValueRecordTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeyCclTimestr_result struct) + verifyKeyValueRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -314443,19 +456043,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry _iter2265 : struct.success - .entrySet()) { - oprot.writeI64(_iter2265.getKey()); - _iter2265.getValue().write(oprot); - } - } + oprot.writeBool(struct.success); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -314466,34 +456056,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeyCclTimestr_result struct) + verifyKeyValueRecordTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map2266 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - struct.success = new LinkedHashMap( - 2 * _map2266.size); - long _key2267; - com.cinchapi.concourse.thrift.TObject _val2268; - for (int _i2269 = 0; _i2269 < _map2266.size; ++_i2269) { - _key2267 = iprot.readI64(); - _val2268 = new com.cinchapi.concourse.thrift.TObject(); - _val2268.read(iprot); - struct.success.put(_key2267, _val2268); - } - } + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -314507,51 +456079,53 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class getKeysCriteria_args implements - org.apache.thrift.TBase, + public static class verifyKeyValueRecordTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCriteria_args"); + "verifyKeyValueRecordTimestr_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( + "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( + "record", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCriteria_argsStandardSchemeFactory()); + new verifyKeyValueRecordTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCriteria_argsTupleSchemeFactory()); + new verifyKeyValueRecordTimestr_argsTupleSchemeFactory()); } - public List keys; // required - public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String key; // required + public com.cinchapi.concourse.thrift.TObject value; // required + public long record; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -314561,11 +456135,13 @@ public static class getKeysCriteria_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CRITERIA((short) 2, "criteria"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + VALUE((short) 2, "value"), + RECORD((short) 3, "record"), + TIMESTAMP((short) 4, "timestamp"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -314581,15 +456157,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CRITERIA - return CRITERIA; - case 3: // CREDS + case 1: // KEY + return KEY; + case 2: // VALUE + return VALUE; + case 3: // RECORD + return RECORD; + case 4: // TIMESTAMP + return TIMESTAMP; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -314635,23 +456215,33 @@ public String getFieldName() { } // isset id assignments + private static final int __RECORD_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.VALUE, + new org.apache.thrift.meta_data.FieldMetaData("value", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); + com.cinchapi.concourse.thrift.TObject.class))); + tmpMap.put(_Fields.RECORD, + new org.apache.thrift.meta_data.FieldMetaData("record", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -314671,19 +456261,23 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysCriteria_args.class, metaDataMap); + verifyKeyValueRecordTimestr_args.class, metaDataMap); } - public getKeysCriteria_args() {} + public verifyKeyValueRecordTimestr_args() {} - public getKeysCriteria_args(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, + public verifyKeyValueRecordTimestr_args(String key, + com.cinchapi.concourse.thrift.TObject value, long record, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.criteria = criteria; + this.key = key; + this.value = value; + this.record = record; + setRecordIsSet(true); + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -314692,14 +456286,19 @@ public getKeysCriteria_args(List keys, /** * Performs a deep copy on other. */ - public getKeysCriteria_args(getKeysCriteria_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; + public verifyKeyValueRecordTimestr_args( + verifyKeyValueRecordTimestr_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; } - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + if(other.isSetValue()) { + this.value = new com.cinchapi.concourse.thrift.TObject( + other.value); + } + this.record = other.record; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -314714,86 +456313,129 @@ public getKeysCriteria_args(getKeysCriteria_args other) { } } - public getKeysCriteria_args deepCopy() { - return new getKeysCriteria_args(this); + public verifyKeyValueRecordTimestr_args deepCopy() { + return new verifyKeyValueRecordTimestr_args(this); } @Override public void clear() { - this.keys = null; - this.criteria = null; + this.key = null; + this.value = null; + setRecordIsSet(false); + this.record = 0; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); + public String getKey() { + return this.key; } - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); + public verifyKeyValueRecordTimestr_args setKey(String key) { + this.key = key; + return this; } - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; } - this.keys.add(elem); } - public List getKeys() { - return this.keys; + public com.cinchapi.concourse.thrift.TObject getValue() { + return this.value; } - public getKeysCriteria_args setKeys(List keys) { - this.keys = keys; + public verifyKeyValueRecordTimestr_args setValue( + com.cinchapi.concourse.thrift.TObject value) { + this.value = value; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetValue() { + this.value = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field value is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetValue() { + return this.value != null; } - public void setKeysIsSet(boolean value) { + public void setValueIsSet(boolean value) { if(!value) { - this.keys = null; + this.value = null; } } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public long getRecord() { + return this.record; } - public getKeysCriteria_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public verifyKeyValueRecordTimestr_args setRecord(long record) { + this.record = record; + setRecordIsSet(true); return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetRecord() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __RECORD_ISSET_ID); } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field record is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetRecord() { + return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); } - public void setCriteriaIsSet(boolean value) { + public void setRecordIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __RECORD_ISSET_ID, value); + } + + public String getTimestamp() { + return this.timestamp; + } + + public verifyKeyValueRecordTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { if(!value) { - this.criteria = null; + this.timestamp = null; } } @@ -314801,7 +456443,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysCriteria_args setCreds( + public verifyKeyValueRecordTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -314829,7 +456471,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysCriteria_args setTransaction( + public verifyKeyValueRecordTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -314857,7 +456499,8 @@ public String getEnvironment() { return this.environment; } - public getKeysCriteria_args setEnvironment(String environment) { + public verifyKeyValueRecordTimestr_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -314882,22 +456525,39 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case KEY: if(value == null) { - unsetKeys(); + unsetKey(); } else { - setKeys((List) value); + setKey((String) value); } break; - case CRITERIA: + case VALUE: if(value == null) { - unsetCriteria(); + unsetValue(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setValue((com.cinchapi.concourse.thrift.TObject) value); + } + break; + + case RECORD: + if(value == null) { + unsetRecord(); + } + else { + setRecord((Long) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); } break; @@ -314934,11 +456594,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case KEY: + return getKey(); - case CRITERIA: - return getCriteria(); + case VALUE: + return getValue(); + + case RECORD: + return getRecord(); + + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -314963,10 +456629,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case CRITERIA: - return isSetCriteria(); + case KEY: + return isSetKey(); + case VALUE: + return isSetValue(); + case RECORD: + return isSetRecord(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -314981,30 +456651,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCriteria_args) - return this.equals((getKeysCriteria_args) that); + if(that instanceof verifyKeyValueRecordTimestr_args) + return this.equals((verifyKeyValueRecordTimestr_args) that); return false; } - public boolean equals(getKeysCriteria_args that) { + public boolean equals(verifyKeyValueRecordTimestr_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.keys.equals(that.keys)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_value = true && this.isSetValue(); + boolean that_present_value = true && that.isSetValue(); + if(this_present_value || that_present_value) { + if(!(this_present_value && that_present_value)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.value.equals(that.value)) + return false; + } + + boolean this_present_record = true; + boolean that_present_record = true; + if(this_present_record || that_present_record) { + if(!(this_present_record && that_present_record)) + return false; + if(this.record != that.record) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -315042,15 +456730,25 @@ public boolean equals(getKeysCriteria_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_value = true && (isSetValue()); + list.add(present_value); + if(present_value) + list.add(value); + + boolean present_record = true; + list.add(present_record); + if(present_record) + list.add(record); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -315071,7 +456769,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysCriteria_args other) { + public int compareTo(verifyKeyValueRecordTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -315079,26 +456777,50 @@ public int compareTo(getKeysCriteria_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetValue()) + .compareTo(other.isSetValue()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetValue()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.value, other.value); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetRecord()) + .compareTo(other.isSetRecord()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetRecord()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.record, other.record); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -315158,25 +456880,41 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysCriteria_args("); + StringBuilder sb = new StringBuilder( + "verifyKeyValueRecordTimestr_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("value:"); + if(this.value == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.value); + } + first = false; + if(!first) + sb.append(", "); + sb.append("record:"); + sb.append(this.record); + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); } first = false; if(!first) @@ -315216,8 +456954,8 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); + if(value != null) { + value.validate(); } if(creds != null) { creds.validate(); @@ -315242,6 +456980,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -315251,18 +456993,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCriteria_argsStandardSchemeFactory + private static class verifyKeyValueRecordTimestr_argsStandardSchemeFactory implements SchemeFactory { - public getKeysCriteria_argsStandardScheme getScheme() { - return new getKeysCriteria_argsStandardScheme(); + public verifyKeyValueRecordTimestr_argsStandardScheme getScheme() { + return new verifyKeyValueRecordTimestr_argsStandardScheme(); } } - private static class getKeysCriteria_argsStandardScheme - extends StandardScheme { + private static class verifyKeyValueRecordTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCriteria_args struct) + verifyKeyValueRecordTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -315272,39 +457014,48 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list2270 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list2270.size); - String _elem2271; - for (int _i2272 = 0; _i2272 < _list2270.size; ++_i2272) { - _elem2271 = iprot.readString(); - struct.keys.add(_elem2271); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CRITERIA + case 2: // VALUE if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 3: // RECORD + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -315315,7 +457066,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -315326,7 +457077,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -315350,28 +457101,27 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCriteria_args struct) + verifyKeyValueRecordTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter2273 : struct.keys) { - oprot.writeString(_iter2273); - } - oprot.writeListEnd(); - } + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.value != null) { + oprot.writeFieldBegin(VALUE_FIELD_DESC); + struct.value.write(oprot); + oprot.writeFieldEnd(); + } + oprot.writeFieldBegin(RECORD_FIELD_DESC); + oprot.writeI64(struct.record); + oprot.writeFieldEnd(); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -315395,48 +457145,55 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysCriteria_argsTupleSchemeFactory + private static class verifyKeyValueRecordTimestr_argsTupleSchemeFactory implements SchemeFactory { - public getKeysCriteria_argsTupleScheme getScheme() { - return new getKeysCriteria_argsTupleScheme(); + public verifyKeyValueRecordTimestr_argsTupleScheme getScheme() { + return new verifyKeyValueRecordTimestr_argsTupleScheme(); } } - private static class getKeysCriteria_argsTupleScheme - extends TupleScheme { + private static class verifyKeyValueRecordTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteria_args struct) + verifyKeyValueRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetCriteria()) { + if(struct.isSetValue()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetRecord()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetTimestamp()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter2274 : struct.keys) { - oprot.writeString(_iter2274); - } - } + if(struct.isSetTransaction()) { + optionals.set(5); } - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetValue()) { + struct.value.write(oprot); + } + if(struct.isSetRecord()) { + oprot.writeI64(struct.record); + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -315451,40 +457208,38 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteria_args struct) + verifyKeyValueRecordTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list2275 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list2275.size); - String _elem2276; - for (int _i2277 = 0; _i2277 < _list2275.size; ++_i2277) { - _elem2276 = iprot.readString(); - struct.keys.add(_elem2276); - } - } - struct.setKeysIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + struct.value = new com.cinchapi.concourse.thrift.TObject(); + struct.value.read(iprot); + struct.setValueIsSet(true); } if(incoming.get(2)) { + struct.record = iprot.readI64(); + struct.setRecordIsSet(true); + } + if(incoming.get(3)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -315493,35 +457248,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysCriteria_result implements - org.apache.thrift.TBase, + public static class verifyKeyValueRecordTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCriteria_result"); + "verifyKeyValueRecordTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCriteria_resultStandardSchemeFactory()); + new verifyKeyValueRecordTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCriteria_resultTupleSchemeFactory()); + new verifyKeyValueRecordTimestr_resultTupleSchemeFactory()); } - public Map> success; // required + public boolean success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -315531,7 +457289,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -315555,6 +457314,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -315599,6 +457360,8 @@ public String getFieldName() { } // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -315606,17 +457369,8 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -315632,66 +457386,39 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysCriteria_result.class, metaDataMap); + verifyKeyValueRecordTimestr_result.class, metaDataMap); } - public getKeysCriteria_result() {} + public verifyKeyValueRecordTimestr_result() {} - public getKeysCriteria_result( - Map> success, + public verifyKeyValueRecordTimestr_result(boolean success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; + setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeysCriteria_result(getKeysCriteria_result other) { - if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( - other.success.size()); - for (Map.Entry> other_element : other.success - .entrySet()) { - - Long other_element_key = other_element.getKey(); - Map other_element_value = other_element - .getValue(); - - Long __this__success_copy_key = other_element_key; - - Map __this__success_copy_value = new LinkedHashMap( - other_element_value.size()); - for (Map.Entry other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); - } - this.success = __this__success; - } + public verifyKeyValueRecordTimestr_result( + verifyKeyValueRecordTimestr_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -315701,47 +457428,42 @@ public getKeysCriteria_result(getKeysCriteria_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public getKeysCriteria_result deepCopy() { - return new getKeysCriteria_result(this); + public verifyKeyValueRecordTimestr_result deepCopy() { + return new verifyKeyValueRecordTimestr_result(this); } @Override public void clear() { - this.success = null; + setSuccessIsSet(false); + this.success = false; this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, - Map val) { - if(this.success == null) { - this.success = new LinkedHashMap>(); - } - this.success.put(key, val); - } - - public Map> getSuccess() { + public boolean isSuccess() { return this.success; } - public getKeysCriteria_result setSuccess( - Map> success) { + public verifyKeyValueRecordTimestr_result setSuccess(boolean success) { this.success = success; + setSuccessIsSet(true); return this; } public void unsetSuccess() { - this.success = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __SUCCESS_ISSET_ID); } /** @@ -315749,20 +457471,19 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return this.success != null; + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); } public void setSuccessIsSet(boolean value) { - if(!value) { - this.success = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __SUCCESS_ISSET_ID, value); } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysCriteria_result setEx( + public verifyKeyValueRecordTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -315790,7 +457511,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysCriteria_result setEx2( + public verifyKeyValueRecordTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -315814,12 +457535,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeysCriteria_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public verifyKeyValueRecordTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -315842,6 +457563,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public verifyKeyValueRecordTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -315849,8 +457598,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Map>) value); + setSuccess((Boolean) value); } break; @@ -315877,7 +457625,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -315887,7 +457644,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return getSuccess(); + return isSuccess(); case EX: return getEx(); @@ -315898,6 +457655,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -315920,6 +457680,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -315928,21 +457690,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCriteria_result) - return this.equals((getKeysCriteria_result) that); + if(that instanceof verifyKeyValueRecordTimestr_result) + return this.equals((verifyKeyValueRecordTimestr_result) that); return false; } - public boolean equals(getKeysCriteria_result that) { + public boolean equals(verifyKeyValueRecordTimestr_result that) { if(that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); + boolean this_present_success = true; + boolean that_present_success = true; if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(!this.success.equals(that.success)) + if(this.success != that.success) return false; } @@ -315973,6 +457735,15 @@ public boolean equals(getKeysCriteria_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -315980,7 +457751,7 @@ public boolean equals(getKeysCriteria_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); + boolean present_success = true; list.add(present_success); if(present_success) list.add(success); @@ -316000,11 +457771,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(getKeysCriteria_result other) { + public int compareTo(verifyKeyValueRecordTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -316060,6 +457836,18 @@ public int compareTo(getKeysCriteria_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -316079,16 +457867,12 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysCriteria_result("); + StringBuilder sb = new StringBuilder( + "verifyKeyValueRecordTimestr_result("); boolean first = true; sb.append("success:"); - if(this.success == null) { - sb.append("null"); - } - else { - sb.append(this.success); - } + sb.append(this.success); first = false; if(!first) sb.append(", "); @@ -316120,6 +457904,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -316144,6 +457938,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -316153,18 +457951,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCriteria_resultStandardSchemeFactory + private static class verifyKeyValueRecordTimestr_resultStandardSchemeFactory implements SchemeFactory { - public getKeysCriteria_resultStandardScheme getScheme() { - return new getKeysCriteria_resultStandardScheme(); + public verifyKeyValueRecordTimestr_resultStandardScheme getScheme() { + return new verifyKeyValueRecordTimestr_resultStandardScheme(); } } - private static class getKeysCriteria_resultStandardScheme - extends StandardScheme { + private static class verifyKeyValueRecordTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCriteria_result struct) + verifyKeyValueRecordTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -316175,35 +457973,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map2278 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map2278.size); - long _key2279; - Map _val2280; - for (int _i2281 = 0; _i2281 < _map2278.size; ++_i2281) { - _key2279 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2282 = iprot - .readMapBegin(); - _val2280 = new LinkedHashMap( - 2 * _map2282.size); - String _key2283; - com.cinchapi.concourse.thrift.TObject _val2284; - for (int _i2285 = 0; _i2285 < _map2282.size; ++_i2285) { - _key2283 = iprot.readString(); - _val2284 = new com.cinchapi.concourse.thrift.TObject(); - _val2284.read(iprot); - _val2280.put(_key2283, _val2284); - } - iprot.readMapEnd(); - } - struct.success.put(_key2279, _val2280); - } - iprot.readMapEnd(); - } + if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { @@ -316235,7 +458006,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -316244,6 +458015,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -316258,37 +458040,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCriteria_result struct) + verifyKeyValueRecordTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.success != null) { + if(struct.isSetSuccess()) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - struct.success.size())); - for (Map.Entry> _iter2286 : struct.success - .entrySet()) { - oprot.writeI64(_iter2286.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - _iter2286.getValue().size())); - for (Map.Entry _iter2287 : _iter2286 - .getValue().entrySet()) { - oprot.writeString(_iter2287.getKey()); - _iter2287.getValue().write(oprot); - } - oprot.writeMapEnd(); - } - } - oprot.writeMapEnd(); - } + oprot.writeBool(struct.success); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -316306,25 +458065,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeysCriteria_resultTupleSchemeFactory + private static class verifyKeyValueRecordTimestr_resultTupleSchemeFactory implements SchemeFactory { - public getKeysCriteria_resultTupleScheme getScheme() { - return new getKeysCriteria_resultTupleScheme(); + public verifyKeyValueRecordTimestr_resultTupleScheme getScheme() { + return new verifyKeyValueRecordTimestr_resultTupleScheme(); } } - private static class getKeysCriteria_resultTupleScheme - extends TupleScheme { + private static class verifyKeyValueRecordTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteria_result struct) + verifyKeyValueRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -316340,23 +458104,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2288 : struct.success - .entrySet()) { - oprot.writeI64(_iter2288.getKey()); - { - oprot.writeI32(_iter2288.getValue().size()); - for (Map.Entry _iter2289 : _iter2288 - .getValue().entrySet()) { - oprot.writeString(_iter2289.getKey()); - _iter2289.getValue().write(oprot); - } - } - } - } + oprot.writeBool(struct.success); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -316367,45 +458120,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteria_result struct) + verifyKeyValueRecordTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map2290 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map2290.size); - long _key2291; - Map _val2292; - for (int _i2293 = 0; _i2293 < _map2290.size; ++_i2293) { - _key2291 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2294 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val2292 = new LinkedHashMap( - 2 * _map2294.size); - String _key2295; - com.cinchapi.concourse.thrift.TObject _val2296; - for (int _i2297 = 0; _i2297 < _map2294.size; ++_i2297) { - _key2295 = iprot.readString(); - _val2296 = new com.cinchapi.concourse.thrift.TObject(); - _val2296.read(iprot); - _val2292.put(_key2295, _val2296); - } - } - struct.success.put(_key2291, _val2292); - } - } + struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -316419,27 +458146,32 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class getKeysCcl_args implements - org.apache.thrift.TBase, + public static class jsonifyRecords_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCcl_args"); + "jsonifyRecords_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField IDENTIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "identifier", org.apache.thrift.protocol.TType.BOOL, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -316452,13 +458184,13 @@ public static class getKeysCcl_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCcl_argsStandardSchemeFactory()); + new jsonifyRecords_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCcl_argsTupleSchemeFactory()); + new jsonifyRecords_argsTupleSchemeFactory()); } - public List keys; // required - public String ccl; // required + public List records; // required + public boolean identifier; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -316468,8 +458200,8 @@ public static class getKeysCcl_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CCL((short) 2, "ccl"), + RECORDS((short) 1, "records"), + IDENTIFIER((short) 2, "identifier"), CREDS((short) 3, "creds"), TRANSACTION((short) 4, "transaction"), ENVIRONMENT((short) 5, "environment"); @@ -316488,10 +458220,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CCL - return CCL; + case 1: // RECORDS + return RECORDS; + case 2: // IDENTIFIER + return IDENTIFIER; case 3: // CREDS return CREDS; case 4: // TRANSACTION @@ -316542,22 +458274,24 @@ public String getFieldName() { } // isset id assignments + private static final int __IDENTIFIER_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.IDENTIFIER, + new org.apache.thrift.meta_data.FieldMetaData("identifier", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -316576,19 +458310,20 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(getKeysCcl_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + jsonifyRecords_args.class, metaDataMap); } - public getKeysCcl_args() {} + public jsonifyRecords_args() {} - public getKeysCcl_args(List keys, String ccl, + public jsonifyRecords_args(List records, boolean identifier, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.ccl = ccl; + this.records = records; + this.identifier = identifier; + setIdentifierIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -316597,14 +458332,13 @@ public getKeysCcl_args(List keys, String ccl, /** * Performs a deep copy on other. */ - public getKeysCcl_args(getKeysCcl_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; - } - if(other.isSetCcl()) { - this.ccl = other.ccl; + public jsonifyRecords_args(jsonifyRecords_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; } + this.identifier = other.identifier; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -316618,93 +458352,96 @@ public getKeysCcl_args(getKeysCcl_args other) { } } - public getKeysCcl_args deepCopy() { - return new getKeysCcl_args(this); + public jsonifyRecords_args deepCopy() { + return new jsonifyRecords_args(this); } @Override public void clear() { - this.keys = null; - this.ccl = null; + this.records = null; + setIdentifierIsSet(false); + this.identifier = false; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); } - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); } - this.keys.add(elem); + this.records.add(elem); } - public List getKeys() { - return this.keys; + public List getRecords() { + return this.records; } - public getKeysCcl_args setKeys(List keys) { - this.keys = keys; + public jsonifyRecords_args setRecords(List records) { + this.records = records; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetRecords() { + this.records = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetRecords() { + return this.records != null; } - public void setKeysIsSet(boolean value) { + public void setRecordsIsSet(boolean value) { if(!value) { - this.keys = null; + this.records = null; } } - public String getCcl() { - return this.ccl; + public boolean isIdentifier() { + return this.identifier; } - public getKeysCcl_args setCcl(String ccl) { - this.ccl = ccl; + public jsonifyRecords_args setIdentifier(boolean identifier) { + this.identifier = identifier; + setIdentifierIsSet(true); return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetIdentifier() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __IDENTIFIER_ISSET_ID); } /** - * Returns true if field ccl is set (has been assigned a value) and - * false otherwise + * Returns true if field identifier is set (has been assigned a value) + * and false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetIdentifier() { + return EncodingUtils.testBit(__isset_bitfield, + __IDENTIFIER_ISSET_ID); } - public void setCclIsSet(boolean value) { - if(!value) { - this.ccl = null; - } + public void setIdentifierIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __IDENTIFIER_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysCcl_args setCreds( + public jsonifyRecords_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -316732,7 +458469,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysCcl_args setTransaction( + public jsonifyRecords_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -316760,7 +458497,7 @@ public String getEnvironment() { return this.environment; } - public getKeysCcl_args setEnvironment(String environment) { + public jsonifyRecords_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -316785,21 +458522,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case RECORDS: if(value == null) { - unsetKeys(); + unsetRecords(); } else { - setKeys((List) value); + setRecords((List) value); } break; - case CCL: + case IDENTIFIER: if(value == null) { - unsetCcl(); + unsetIdentifier(); } else { - setCcl((String) value); + setIdentifier((Boolean) value); } break; @@ -316836,11 +458573,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); + case RECORDS: + return getRecords(); - case CCL: - return getCcl(); + case IDENTIFIER: + return isIdentifier(); case CREDS: return getCreds(); @@ -316865,10 +458602,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case CCL: - return isSetCcl(); + case RECORDS: + return isSetRecords(); + case IDENTIFIER: + return isSetIdentifier(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -316883,30 +458620,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCcl_args) - return this.equals((getKeysCcl_args) that); + if(that instanceof jsonifyRecords_args) + return this.equals((jsonifyRecords_args) that); return false; } - public boolean equals(getKeysCcl_args that) { + public boolean equals(jsonifyRecords_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(!this.keys.equals(that.keys)) + if(!this.records.equals(that.records)) return false; } - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_identifier = true; + boolean that_present_identifier = true; + if(this_present_identifier || that_present_identifier) { + if(!(this_present_identifier && that_present_identifier)) return false; - if(!this.ccl.equals(that.ccl)) + if(this.identifier != that.identifier) return false; } @@ -316944,15 +458681,15 @@ public boolean equals(getKeysCcl_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_identifier = true; + list.add(present_identifier); + if(present_identifier) + list.add(identifier); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -316973,7 +458710,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysCcl_args other) { + public int compareTo(jsonifyRecords_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -316981,26 +458718,26 @@ public int compareTo(getKeysCcl_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetIdentifier()) + .compareTo(other.isSetIdentifier()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetIdentifier()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.identifier, other.identifier); if(lastComparison != 0) { return lastComparison; } @@ -317060,26 +458797,21 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysCcl_args("); + StringBuilder sb = new StringBuilder("jsonifyRecords_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("records:"); + if(this.records == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.records); } first = false; if(!first) sb.append(", "); - sb.append("ccl:"); - if(this.ccl == null) { - sb.append("null"); - } - else { - sb.append(this.ccl); - } + sb.append("identifier:"); + sb.append(this.identifier); first = false; if(!first) sb.append(", "); @@ -317141,6 +458873,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -317150,18 +458886,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCcl_argsStandardSchemeFactory + private static class jsonifyRecords_argsStandardSchemeFactory implements SchemeFactory { - public getKeysCcl_argsStandardScheme getScheme() { - return new getKeysCcl_argsStandardScheme(); + public jsonifyRecords_argsStandardScheme getScheme() { + return new jsonifyRecords_argsStandardScheme(); } } - private static class getKeysCcl_argsStandardScheme - extends StandardScheme { + private static class jsonifyRecords_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCcl_args struct) + jsonifyRecords_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -317171,31 +458907,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS + case 1: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2298 = iprot + org.apache.thrift.protocol.TList _list3758 = iprot .readListBegin(); - struct.keys = new ArrayList( - _list2298.size); - String _elem2299; - for (int _i2300 = 0; _i2300 < _list2298.size; ++_i2300) { - _elem2299 = iprot.readString(); - struct.keys.add(_elem2299); + struct.records = new ArrayList( + _list3758.size); + long _elem3759; + for (int _i3760 = 0; _i3760 < _list3758.size; ++_i3760) { + _elem3759 = iprot.readI64(); + struct.records.add(_elem3759); } iprot.readListEnd(); } - struct.setKeysIsSet(true); + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + case 2: // IDENTIFIER + if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.identifier = iprot.readBool(); + struct.setIdentifierIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -317248,30 +458984,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCcl_args struct) + jsonifyRecords_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter2301 : struct.keys) { - oprot.writeString(_iter2301); + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter3761 : struct.records) { + oprot.writeI64(_iter3761); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(IDENTIFIER_FIELD_DESC); + oprot.writeBool(struct.identifier); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -317293,26 +459027,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysCcl_argsTupleSchemeFactory + private static class jsonifyRecords_argsTupleSchemeFactory implements SchemeFactory { - public getKeysCcl_argsTupleScheme getScheme() { - return new getKeysCcl_argsTupleScheme(); + public jsonifyRecords_argsTupleScheme getScheme() { + return new jsonifyRecords_argsTupleScheme(); } } - private static class getKeysCcl_argsTupleScheme - extends TupleScheme { + private static class jsonifyRecords_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCcl_args struct) + jsonifyRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetRecords()) { optionals.set(0); } - if(struct.isSetCcl()) { + if(struct.isSetIdentifier()) { optionals.set(1); } if(struct.isSetCreds()) { @@ -317325,16 +459059,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(4); } oprot.writeBitSet(optionals, 5); - if(struct.isSetKeys()) { + if(struct.isSetRecords()) { { - oprot.writeI32(struct.keys.size()); - for (String _iter2302 : struct.keys) { - oprot.writeString(_iter2302); + oprot.writeI32(struct.records.size()); + for (long _iter3762 : struct.records) { + oprot.writeI64(_iter3762); } } } - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetIdentifier()) { + oprot.writeBool(struct.identifier); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -317349,27 +459083,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCcl_args struct) + jsonifyRecords_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2303 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TList _list3763 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.keys = new ArrayList(_list2303.size); - String _elem2304; - for (int _i2305 = 0; _i2305 < _list2303.size; ++_i2305) { - _elem2304 = iprot.readString(); - struct.keys.add(_elem2304); + struct.records = new ArrayList(_list3763.size); + long _elem3764; + for (int _i3765 = 0; _i3765 < _list3763.size; ++_i3765) { + _elem3764 = iprot.readI64(); + struct.records.add(_elem3764); } } - struct.setKeysIsSet(true); + struct.setRecordsIsSet(true); } if(incoming.get(1)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.identifier = iprot.readBool(); + struct.setIdentifierIsSet(true); } if(incoming.get(2)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -317390,38 +459124,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysCcl_result implements - org.apache.thrift.TBase, + public static class jsonifyRecords_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCcl_result"); + "jsonifyRecords_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.STRING, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCcl_resultStandardSchemeFactory()); + new jsonifyRecords_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCcl_resultTupleSchemeFactory()); + new jsonifyRecords_resultTupleSchemeFactory()); } - public Map> success; // required + public String success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -317431,8 +459162,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -317456,8 +459186,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -317509,17 +459237,8 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -317535,72 +459254,30 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(getKeysCcl_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + jsonifyRecords_result.class, metaDataMap); } - public getKeysCcl_result() {} + public jsonifyRecords_result() {} - public getKeysCcl_result( - Map> success, + public jsonifyRecords_result(String success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeysCcl_result(getKeysCcl_result other) { + public jsonifyRecords_result(jsonifyRecords_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( - other.success.size()); - for (Map.Entry> other_element : other.success - .entrySet()) { - - Long other_element_key = other_element.getKey(); - Map other_element_value = other_element - .getValue(); - - Long __this__success_copy_key = other_element_key; - - Map __this__success_copy_value = new LinkedHashMap( - other_element_value.size()); - for (Map.Entry other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); - } - this.success = __this__success; + this.success = other.success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -317611,17 +459288,13 @@ public getKeysCcl_result(getKeysCcl_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public getKeysCcl_result deepCopy() { - return new getKeysCcl_result(this); + public jsonifyRecords_result deepCopy() { + return new jsonifyRecords_result(this); } @Override @@ -317630,27 +459303,13 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; - } - - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, - Map val) { - if(this.success == null) { - this.success = new LinkedHashMap>(); - } - this.success.put(key, val); } - public Map> getSuccess() { + public String getSuccess() { return this.success; } - public getKeysCcl_result setSuccess( - Map> success) { + public jsonifyRecords_result setSuccess(String success) { this.success = success; return this; } @@ -317677,7 +459336,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysCcl_result setEx( + public jsonifyRecords_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -317705,7 +459364,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysCcl_result setEx2( + public jsonifyRecords_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -317729,12 +459388,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getKeysCcl_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public jsonifyRecords_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -317757,34 +459416,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public getKeysCcl_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -317792,8 +459423,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Map>) value); + setSuccess((String) value); } break; @@ -317820,16 +459450,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -317850,9 +459471,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -317875,8 +459493,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -317885,12 +459501,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCcl_result) - return this.equals((getKeysCcl_result) that); + if(that instanceof jsonifyRecords_result) + return this.equals((jsonifyRecords_result) that); return false; } - public boolean equals(getKeysCcl_result that) { + public boolean equals(jsonifyRecords_result that) { if(that == null) return false; @@ -317930,15 +459546,6 @@ public boolean equals(getKeysCcl_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -317966,16 +459573,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(getKeysCcl_result other) { + public int compareTo(jsonifyRecords_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -318031,18 +459633,6 @@ public int compareTo(getKeysCcl_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -318062,7 +459652,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysCcl_result("); + StringBuilder sb = new StringBuilder("jsonifyRecords_result("); boolean first = true; sb.append("success:"); @@ -318103,16 +459693,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -318146,18 +459726,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCcl_resultStandardSchemeFactory + private static class jsonifyRecords_resultStandardSchemeFactory implements SchemeFactory { - public getKeysCcl_resultStandardScheme getScheme() { - return new getKeysCcl_resultStandardScheme(); + public jsonifyRecords_resultStandardScheme getScheme() { + return new jsonifyRecords_resultStandardScheme(); } } - private static class getKeysCcl_resultStandardScheme - extends StandardScheme { + private static class jsonifyRecords_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCcl_result struct) + jsonifyRecords_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -318168,35 +459748,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map2306 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map2306.size); - long _key2307; - Map _val2308; - for (int _i2309 = 0; _i2309 < _map2306.size; ++_i2309) { - _key2307 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2310 = iprot - .readMapBegin(); - _val2308 = new LinkedHashMap( - 2 * _map2310.size); - String _key2311; - com.cinchapi.concourse.thrift.TObject _val2312; - for (int _i2313 = 0; _i2313 < _map2310.size; ++_i2313) { - _key2311 = iprot.readString(); - _val2312 = new com.cinchapi.concourse.thrift.TObject(); - _val2312.read(iprot); - _val2308.put(_key2311, _val2312); - } - iprot.readMapEnd(); - } - struct.success.put(_key2307, _val2308); - } - iprot.readMapEnd(); - } + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.success = iprot.readString(); struct.setSuccessIsSet(true); } else { @@ -318228,7 +459781,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -318237,17 +459790,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -318262,37 +459804,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCcl_result struct) + jsonifyRecords_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - struct.success.size())); - for (Map.Entry> _iter2314 : struct.success - .entrySet()) { - oprot.writeI64(_iter2314.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - _iter2314.getValue().size())); - for (Map.Entry _iter2315 : _iter2314 - .getValue().entrySet()) { - oprot.writeString(_iter2315.getKey()); - _iter2315.getValue().write(oprot); - } - oprot.writeMapEnd(); - } - } - oprot.writeMapEnd(); - } + oprot.writeString(struct.success); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -318310,30 +459829,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeysCcl_resultTupleSchemeFactory + private static class jsonifyRecords_resultTupleSchemeFactory implements SchemeFactory { - public getKeysCcl_resultTupleScheme getScheme() { - return new getKeysCcl_resultTupleScheme(); + public jsonifyRecords_resultTupleScheme getScheme() { + return new jsonifyRecords_resultTupleScheme(); } } - private static class getKeysCcl_resultTupleScheme - extends TupleScheme { + private static class jsonifyRecords_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCcl_result struct) + jsonifyRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -318349,26 +459863,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2316 : struct.success - .entrySet()) { - oprot.writeI64(_iter2316.getKey()); - { - oprot.writeI32(_iter2316.getValue().size()); - for (Map.Entry _iter2317 : _iter2316 - .getValue().entrySet()) { - oprot.writeString(_iter2317.getKey()); - _iter2317.getValue().write(oprot); - } - } - } - } + oprot.writeString(struct.success); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -318379,48 +459876,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCcl_result struct) + jsonifyRecords_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map2318 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map2318.size); - long _key2319; - Map _val2320; - for (int _i2321 = 0; _i2321 < _map2318.size; ++_i2321) { - _key2319 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2322 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val2320 = new LinkedHashMap( - 2 * _map2322.size); - String _key2323; - com.cinchapi.concourse.thrift.TObject _val2324; - for (int _i2325 = 0; _i2325 < _map2322.size; ++_i2325) { - _key2323 = iprot.readString(); - _val2324 = new com.cinchapi.concourse.thrift.TObject(); - _val2324.read(iprot); - _val2320.put(_key2323, _val2324); - } - } - struct.success.put(_key2319, _val2320); - } - } + struct.success = iprot.readString(); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -318434,34 +459899,29 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class getKeysCriteriaTime_args implements - org.apache.thrift.TBase, + public static class jsonifyRecordsTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCriteriaTime_args"); + "jsonifyRecordsTime_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); + private static final org.apache.thrift.protocol.TField IDENTIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "identifier", org.apache.thrift.protocol.TType.BOOL, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -318474,14 +459934,14 @@ public static class getKeysCriteriaTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCriteriaTime_argsStandardSchemeFactory()); + new jsonifyRecordsTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCriteriaTime_argsTupleSchemeFactory()); + new jsonifyRecordsTime_argsTupleSchemeFactory()); } - public List keys; // required - public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public List records; // required public long timestamp; // required + public boolean identifier; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -318491,9 +459951,9 @@ public static class getKeysCriteriaTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CRITERIA((short) 2, "criteria"), - TIMESTAMP((short) 3, "timestamp"), + RECORDS((short) 1, "records"), + TIMESTAMP((short) 2, "timestamp"), + IDENTIFIER((short) 3, "identifier"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -318512,12 +459972,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CRITERIA - return CRITERIA; - case 3: // TIMESTAMP + case 1: // RECORDS + return RECORDS; + case 2: // TIMESTAMP return TIMESTAMP; + case 3: // IDENTIFIER + return IDENTIFIER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -318569,29 +460029,29 @@ public String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; + private static final int __IDENTIFIER_ISSET_ID = 1; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.IDENTIFIER, + new org.apache.thrift.meta_data.FieldMetaData("identifier", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -318611,21 +460071,22 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysCriteriaTime_args.class, metaDataMap); + jsonifyRecordsTime_args.class, metaDataMap); } - public getKeysCriteriaTime_args() {} + public jsonifyRecordsTime_args() {} - public getKeysCriteriaTime_args(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public jsonifyRecordsTime_args(List records, long timestamp, + boolean identifier, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.criteria = criteria; + this.records = records; this.timestamp = timestamp; setTimestampIsSet(true); + this.identifier = identifier; + setIdentifierIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -318634,17 +460095,14 @@ public getKeysCriteriaTime_args(List keys, /** * Performs a deep copy on other. */ - public getKeysCriteriaTime_args(getKeysCriteriaTime_args other) { + public jsonifyRecordsTime_args(jsonifyRecordsTime_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; - } - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; } this.timestamp = other.timestamp; + this.identifier = other.identifier; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -318658,125 +460116,127 @@ public getKeysCriteriaTime_args(getKeysCriteriaTime_args other) { } } - public getKeysCriteriaTime_args deepCopy() { - return new getKeysCriteriaTime_args(this); + public jsonifyRecordsTime_args deepCopy() { + return new jsonifyRecordsTime_args(this); } @Override public void clear() { - this.keys = null; - this.criteria = null; + this.records = null; setTimestampIsSet(false); this.timestamp = 0; + setIdentifierIsSet(false); + this.identifier = false; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); } - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); } - this.keys.add(elem); + this.records.add(elem); } - public List getKeys() { - return this.keys; + public List getRecords() { + return this.records; } - public getKeysCriteriaTime_args setKeys(List keys) { - this.keys = keys; + public jsonifyRecordsTime_args setRecords(List records) { + this.records = records; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetRecords() { + this.records = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetRecords() { + return this.records != null; } - public void setKeysIsSet(boolean value) { + public void setRecordsIsSet(boolean value) { if(!value) { - this.keys = null; + this.records = null; } } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public long getTimestamp() { + return this.timestamp; } - public getKeysCriteriaTime_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public jsonifyRecordsTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field criteria is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } - public void setCriteriaIsSet(boolean value) { - if(!value) { - this.criteria = null; - } + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } - public long getTimestamp() { - return this.timestamp; + public boolean isIdentifier() { + return this.identifier; } - public getKeysCriteriaTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); + public jsonifyRecordsTime_args setIdentifier(boolean identifier) { + this.identifier = identifier; + setIdentifierIsSet(true); return this; } - public void unsetTimestamp() { + public void unsetIdentifier() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + __IDENTIFIER_ISSET_ID); } /** - * Returns true if field timestamp is set (has been assigned a value) + * Returns true if field identifier is set (has been assigned a value) * and false otherwise */ - public boolean isSetTimestamp() { + public boolean isSetIdentifier() { return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + __IDENTIFIER_ISSET_ID); } - public void setTimestampIsSet(boolean value) { + public void setIdentifierIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + __IDENTIFIER_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysCriteriaTime_args setCreds( + public jsonifyRecordsTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -318804,7 +460264,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysCriteriaTime_args setTransaction( + public jsonifyRecordsTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -318832,7 +460292,7 @@ public String getEnvironment() { return this.environment; } - public getKeysCriteriaTime_args setEnvironment(String environment) { + public jsonifyRecordsTime_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -318857,31 +460317,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case RECORDS: if(value == null) { - unsetKeys(); + unsetRecords(); } else { - setKeys((List) value); + setRecords((List) value); } break; - case CRITERIA: + case TIMESTAMP: if(value == null) { - unsetCriteria(); + unsetTimestamp(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setTimestamp((Long) value); } break; - case TIMESTAMP: + case IDENTIFIER: if(value == null) { - unsetTimestamp(); + unsetIdentifier(); } else { - setTimestamp((Long) value); + setIdentifier((Boolean) value); } break; @@ -318918,15 +460377,15 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); - - case CRITERIA: - return getCriteria(); + case RECORDS: + return getRecords(); case TIMESTAMP: return getTimestamp(); + case IDENTIFIER: + return isIdentifier(); + case CREDS: return getCreds(); @@ -318950,12 +460409,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case CRITERIA: - return isSetCriteria(); + case RECORDS: + return isSetRecords(); case TIMESTAMP: return isSetTimestamp(); + case IDENTIFIER: + return isSetIdentifier(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -318970,30 +460429,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCriteriaTime_args) - return this.equals((getKeysCriteriaTime_args) that); + if(that instanceof jsonifyRecordsTime_args) + return this.equals((jsonifyRecordsTime_args) that); return false; } - public boolean equals(getKeysCriteriaTime_args that) { + public boolean equals(jsonifyRecordsTime_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) - return false; - if(!this.keys.equals(that.keys)) - return false; - } - - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.records.equals(that.records)) return false; } @@ -319006,6 +460456,15 @@ public boolean equals(getKeysCriteriaTime_args that) { return false; } + boolean this_present_identifier = true; + boolean that_present_identifier = true; + if(this_present_identifier || that_present_identifier) { + if(!(this_present_identifier && that_present_identifier)) + return false; + if(this.identifier != that.identifier) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -319040,21 +460499,21 @@ public boolean equals(getKeysCriteriaTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); - - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_identifier = true; + list.add(present_identifier); + if(present_identifier) + list.add(identifier); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -319074,7 +460533,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysCriteriaTime_args other) { + public int compareTo(jsonifyRecordsTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -319082,38 +460541,38 @@ public int compareTo(getKeysCriteriaTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetIdentifier()) + .compareTo(other.isSetIdentifier()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetIdentifier()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.identifier, other.identifier); if(lastComparison != 0) { return lastComparison; } @@ -319173,31 +460632,26 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysCriteriaTime_args("); + StringBuilder sb = new StringBuilder("jsonifyRecordsTime_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { + sb.append("records:"); + if(this.records == null) { sb.append("null"); } else { - sb.append(this.keys); + sb.append(this.records); } first = false; if(!first) sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { - sb.append("null"); - } - else { - sb.append(this.criteria); - } + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); + sb.append("identifier:"); + sb.append(this.identifier); first = false; if(!first) sb.append(", "); @@ -319236,9 +460690,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); - } if(creds != null) { creds.validate(); } @@ -319275,18 +460726,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCriteriaTime_argsStandardSchemeFactory + private static class jsonifyRecordsTime_argsStandardSchemeFactory implements SchemeFactory { - public getKeysCriteriaTime_argsStandardScheme getScheme() { - return new getKeysCriteriaTime_argsStandardScheme(); + public jsonifyRecordsTime_argsStandardScheme getScheme() { + return new jsonifyRecordsTime_argsStandardScheme(); } } - private static class getKeysCriteriaTime_argsStandardScheme - extends StandardScheme { + private static class jsonifyRecordsTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCriteriaTime_args struct) + jsonifyRecordsTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -319296,42 +460747,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS + case 1: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2326 = iprot + org.apache.thrift.protocol.TList _list3766 = iprot .readListBegin(); - struct.keys = new ArrayList( - _list2326.size); - String _elem2327; - for (int _i2328 = 0; _i2328 < _list2326.size; ++_i2328) { - _elem2327 = iprot.readString(); - struct.keys.add(_elem2327); + struct.records = new ArrayList( + _list3766.size); + long _elem3767; + for (int _i3768 = 0; _i3768 < _list3766.size; ++_i3768) { + _elem3767 = iprot.readI64(); + struct.records.add(_elem3767); } iprot.readListEnd(); } - struct.setKeysIsSet(true); + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + case 3: // IDENTIFIER + if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.identifier = iprot.readBool(); + struct.setIdentifierIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -319384,33 +460834,31 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCriteriaTime_args struct) + jsonifyRecordsTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter2329 : struct.keys) { - oprot.writeString(_iter2329); + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter3769 : struct.records) { + oprot.writeI64(_iter3769); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); + oprot.writeFieldBegin(IDENTIFIER_FIELD_DESC); + oprot.writeBool(struct.identifier); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -319432,29 +460880,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysCriteriaTime_argsTupleSchemeFactory + private static class jsonifyRecordsTime_argsTupleSchemeFactory implements SchemeFactory { - public getKeysCriteriaTime_argsTupleScheme getScheme() { - return new getKeysCriteriaTime_argsTupleScheme(); + public jsonifyRecordsTime_argsTupleScheme getScheme() { + return new jsonifyRecordsTime_argsTupleScheme(); } } - private static class getKeysCriteriaTime_argsTupleScheme - extends TupleScheme { + private static class jsonifyRecordsTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteriaTime_args struct) + jsonifyRecordsTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetRecords()) { optionals.set(0); } - if(struct.isSetCriteria()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetTimestamp()) { + if(struct.isSetIdentifier()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -319467,20 +460915,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { + if(struct.isSetRecords()) { { - oprot.writeI32(struct.keys.size()); - for (String _iter2330 : struct.keys) { - oprot.writeString(_iter2330); + oprot.writeI32(struct.records.size()); + for (long _iter3770 : struct.records) { + oprot.writeI64(_iter3770); } } } - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); - } if(struct.isSetTimestamp()) { oprot.writeI64(struct.timestamp); } + if(struct.isSetIdentifier()) { + oprot.writeBool(struct.identifier); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -319494,33 +460942,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteriaTime_args struct) + jsonifyRecordsTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2331 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TList _list3771 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.keys = new ArrayList(_list2331.size); - String _elem2332; - for (int _i2333 = 0; _i2333 < _list2331.size; ++_i2333) { - _elem2332 = iprot.readString(); - struct.keys.add(_elem2332); + struct.records = new ArrayList(_list3771.size); + long _elem3772; + for (int _i3773 = 0; _i3773 < _list3771.size; ++_i3773) { + _elem3772 = iprot.readI64(); + struct.records.add(_elem3772); } } - struct.setKeysIsSet(true); + struct.setRecordsIsSet(true); } if(incoming.get(1)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); - } - if(incoming.get(2)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } + if(incoming.get(2)) { + struct.identifier = iprot.readBool(); + struct.setIdentifierIsSet(true); + } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -319540,16 +460987,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysCriteriaTime_result implements - org.apache.thrift.TBase, + public static class jsonifyRecordsTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCriteriaTime_result"); + "jsonifyRecordsTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.STRING, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -319560,12 +461007,12 @@ public static class getKeysCriteriaTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCriteriaTime_resultStandardSchemeFactory()); + new jsonifyRecordsTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCriteriaTime_resultTupleSchemeFactory()); + new jsonifyRecordsTime_resultTupleSchemeFactory()); } - public Map> success; // required + public String success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -319653,17 +461100,8 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -319681,13 +461119,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysCriteriaTime_result.class, metaDataMap); + jsonifyRecordsTime_result.class, metaDataMap); } - public getKeysCriteriaTime_result() {} + public jsonifyRecordsTime_result() {} - public getKeysCriteriaTime_result( - Map> success, + public jsonifyRecordsTime_result(String success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -319701,43 +461138,9 @@ public getKeysCriteriaTime_result( /** * Performs a deep copy on other. */ - public getKeysCriteriaTime_result(getKeysCriteriaTime_result other) { + public jsonifyRecordsTime_result(jsonifyRecordsTime_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( - other.success.size()); - for (Map.Entry> other_element : other.success - .entrySet()) { - - Long other_element_key = other_element.getKey(); - Map other_element_value = other_element - .getValue(); - - Long __this__success_copy_key = other_element_key; - - Map __this__success_copy_value = new LinkedHashMap( - other_element_value.size()); - for (Map.Entry other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); - } - this.success = __this__success; + this.success = other.success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -319753,8 +461156,8 @@ public getKeysCriteriaTime_result(getKeysCriteriaTime_result other) { } } - public getKeysCriteriaTime_result deepCopy() { - return new getKeysCriteriaTime_result(this); + public jsonifyRecordsTime_result deepCopy() { + return new jsonifyRecordsTime_result(this); } @Override @@ -319765,24 +461168,11 @@ public void clear() { this.ex3 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, - Map val) { - if(this.success == null) { - this.success = new LinkedHashMap>(); - } - this.success.put(key, val); - } - - public Map> getSuccess() { + public String getSuccess() { return this.success; } - public getKeysCriteriaTime_result setSuccess( - Map> success) { + public jsonifyRecordsTime_result setSuccess(String success) { this.success = success; return this; } @@ -319809,7 +461199,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysCriteriaTime_result setEx( + public jsonifyRecordsTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -319837,7 +461227,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysCriteriaTime_result setEx2( + public jsonifyRecordsTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -319865,7 +461255,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getKeysCriteriaTime_result setEx3( + public jsonifyRecordsTime_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -319896,8 +461286,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Map>) value); + setSuccess((String) value); } break; @@ -319975,12 +461364,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCriteriaTime_result) - return this.equals((getKeysCriteriaTime_result) that); + if(that instanceof jsonifyRecordsTime_result) + return this.equals((jsonifyRecordsTime_result) that); return false; } - public boolean equals(getKeysCriteriaTime_result that) { + public boolean equals(jsonifyRecordsTime_result that) { if(that == null) return false; @@ -320051,7 +461440,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysCriteriaTime_result other) { + public int compareTo(jsonifyRecordsTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -320126,7 +461515,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysCriteriaTime_result("); + StringBuilder sb = new StringBuilder("jsonifyRecordsTime_result("); boolean first = true; sb.append("success:"); @@ -320200,18 +461589,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCriteriaTime_resultStandardSchemeFactory + private static class jsonifyRecordsTime_resultStandardSchemeFactory implements SchemeFactory { - public getKeysCriteriaTime_resultStandardScheme getScheme() { - return new getKeysCriteriaTime_resultStandardScheme(); + public jsonifyRecordsTime_resultStandardScheme getScheme() { + return new jsonifyRecordsTime_resultStandardScheme(); } } - private static class getKeysCriteriaTime_resultStandardScheme - extends StandardScheme { + private static class jsonifyRecordsTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCriteriaTime_result struct) + jsonifyRecordsTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -320222,35 +461611,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map2334 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map2334.size); - long _key2335; - Map _val2336; - for (int _i2337 = 0; _i2337 < _map2334.size; ++_i2337) { - _key2335 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2338 = iprot - .readMapBegin(); - _val2336 = new LinkedHashMap( - 2 * _map2338.size); - String _key2339; - com.cinchapi.concourse.thrift.TObject _val2340; - for (int _i2341 = 0; _i2341 < _map2338.size; ++_i2341) { - _key2339 = iprot.readString(); - _val2340 = new com.cinchapi.concourse.thrift.TObject(); - _val2340.read(iprot); - _val2336.put(_key2339, _val2340); - } - iprot.readMapEnd(); - } - struct.success.put(_key2335, _val2336); - } - iprot.readMapEnd(); - } + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.success = iprot.readString(); struct.setSuccessIsSet(true); } else { @@ -320305,37 +461667,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCriteriaTime_result struct) + jsonifyRecordsTime_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - struct.success.size())); - for (Map.Entry> _iter2342 : struct.success - .entrySet()) { - oprot.writeI64(_iter2342.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - _iter2342.getValue().size())); - for (Map.Entry _iter2343 : _iter2342 - .getValue().entrySet()) { - oprot.writeString(_iter2343.getKey()); - _iter2343.getValue().write(oprot); - } - oprot.writeMapEnd(); - } - } - oprot.writeMapEnd(); - } + oprot.writeString(struct.success); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -320359,19 +461698,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysCriteriaTime_resultTupleSchemeFactory + private static class jsonifyRecordsTime_resultTupleSchemeFactory implements SchemeFactory { - public getKeysCriteriaTime_resultTupleScheme getScheme() { - return new getKeysCriteriaTime_resultTupleScheme(); + public jsonifyRecordsTime_resultTupleScheme getScheme() { + return new jsonifyRecordsTime_resultTupleScheme(); } } - private static class getKeysCriteriaTime_resultTupleScheme - extends TupleScheme { + private static class jsonifyRecordsTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteriaTime_result struct) + jsonifyRecordsTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -320389,21 +461728,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, } oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2344 : struct.success - .entrySet()) { - oprot.writeI64(_iter2344.getKey()); - { - oprot.writeI32(_iter2344.getValue().size()); - for (Map.Entry _iter2345 : _iter2344 - .getValue().entrySet()) { - oprot.writeString(_iter2345.getKey()); - _iter2345.getValue().write(oprot); - } - } - } - } + oprot.writeString(struct.success); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -320418,41 +461743,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteriaTime_result struct) + jsonifyRecordsTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map2346 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map2346.size); - long _key2347; - Map _val2348; - for (int _i2349 = 0; _i2349 < _map2346.size; ++_i2349) { - _key2347 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2350 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val2348 = new LinkedHashMap( - 2 * _map2350.size); - String _key2351; - com.cinchapi.concourse.thrift.TObject _val2352; - for (int _i2353 = 0; _i2353 < _map2350.size; ++_i2353) { - _key2351 = iprot.readString(); - _val2352 = new com.cinchapi.concourse.thrift.TObject(); - _val2352.read(iprot); - _val2348.put(_key2351, _val2352); - } - } - struct.success.put(_key2347, _val2348); - } - } + struct.success = iprot.readString(); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -320475,21 +461771,21 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysCriteriaTimestr_args implements - org.apache.thrift.TBase, + public static class jsonifyRecordsTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCriteriaTimestr_args"); + "jsonifyRecordsTimestr_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( + "records", org.apache.thrift.protocol.TType.LIST, (short) 1); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + (short) 2); + private static final org.apache.thrift.protocol.TField IDENTIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "identifier", org.apache.thrift.protocol.TType.BOOL, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -320502,14 +461798,14 @@ public static class getKeysCriteriaTimestr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCriteriaTimestr_argsStandardSchemeFactory()); + new jsonifyRecordsTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCriteriaTimestr_argsTupleSchemeFactory()); + new jsonifyRecordsTimestr_argsTupleSchemeFactory()); } - public List keys; // required - public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public List records; // required public String timestamp; // required + public boolean identifier; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -320519,9 +461815,9 @@ public static class getKeysCriteriaTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CRITERIA((short) 2, "criteria"), - TIMESTAMP((short) 3, "timestamp"), + RECORDS((short) 1, "records"), + TIMESTAMP((short) 2, "timestamp"), + IDENTIFIER((short) 3, "identifier"), CREDS((short) 4, "creds"), TRANSACTION((short) 5, "transaction"), ENVIRONMENT((short) 6, "environment"); @@ -320540,12 +461836,12 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CRITERIA - return CRITERIA; - case 3: // TIMESTAMP + case 1: // RECORDS + return RECORDS; + case 2: // TIMESTAMP return TIMESTAMP; + case 3: // IDENTIFIER + return IDENTIFIER; case 4: // CREDS return CREDS; case 5: // TRANSACTION @@ -320596,28 +461892,29 @@ public String getFieldName() { } // isset id assignments + private static final int __IDENTIFIER_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", + tmpMap.put(_Fields.RECORDS, + new org.apache.thrift.meta_data.FieldMetaData("records", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.IDENTIFIER, + new org.apache.thrift.meta_data.FieldMetaData("identifier", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -320637,21 +461934,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysCriteriaTimestr_args.class, metaDataMap); + jsonifyRecordsTimestr_args.class, metaDataMap); } - public getKeysCriteriaTimestr_args() {} + public jsonifyRecordsTimestr_args() {} - public getKeysCriteriaTimestr_args(List keys, - com.cinchapi.concourse.thrift.TCriteria criteria, - String timestamp, + public jsonifyRecordsTimestr_args(List records, String timestamp, + boolean identifier, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.criteria = criteria; + this.records = records; this.timestamp = timestamp; + this.identifier = identifier; + setIdentifierIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -320660,18 +461957,16 @@ public getKeysCriteriaTimestr_args(List keys, /** * Performs a deep copy on other. */ - public getKeysCriteriaTimestr_args(getKeysCriteriaTimestr_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; - } - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + public jsonifyRecordsTimestr_args(jsonifyRecordsTimestr_args other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetRecords()) { + List __this__records = new ArrayList(other.records); + this.records = __this__records; } if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } + this.identifier = other.identifier; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -320685,122 +461980,124 @@ public getKeysCriteriaTimestr_args(getKeysCriteriaTimestr_args other) { } } - public getKeysCriteriaTimestr_args deepCopy() { - return new getKeysCriteriaTimestr_args(this); + public jsonifyRecordsTimestr_args deepCopy() { + return new jsonifyRecordsTimestr_args(this); } @Override public void clear() { - this.keys = null; - this.criteria = null; + this.records = null; this.timestamp = null; + setIdentifierIsSet(false); + this.identifier = false; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); + public int getRecordsSize() { + return (this.records == null) ? 0 : this.records.size(); } - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); + public java.util.Iterator getRecordsIterator() { + return (this.records == null) ? null : this.records.iterator(); } - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); + public void addToRecords(long elem) { + if(this.records == null) { + this.records = new ArrayList(); } - this.keys.add(elem); + this.records.add(elem); } - public List getKeys() { - return this.keys; + public List getRecords() { + return this.records; } - public getKeysCriteriaTimestr_args setKeys(List keys) { - this.keys = keys; + public jsonifyRecordsTimestr_args setRecords(List records) { + this.records = records; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetRecords() { + this.records = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field records is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetRecords() { + return this.records != null; } - public void setKeysIsSet(boolean value) { + public void setRecordsIsSet(boolean value) { if(!value) { - this.keys = null; + this.records = null; } } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public String getTimestamp() { + return this.timestamp; } - public getKeysCriteriaTimestr_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public jsonifyRecordsTimestr_args setTimestamp(String timestamp) { + this.timestamp = timestamp; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetTimestamp() { + this.timestamp = null; } /** - * Returns true if field criteria is set (has been assigned a value) and - * false otherwise + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetTimestamp() { + return this.timestamp != null; } - public void setCriteriaIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { if(!value) { - this.criteria = null; + this.timestamp = null; } } - public String getTimestamp() { - return this.timestamp; + public boolean isIdentifier() { + return this.identifier; } - public getKeysCriteriaTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; + public jsonifyRecordsTimestr_args setIdentifier(boolean identifier) { + this.identifier = identifier; + setIdentifierIsSet(true); return this; } - public void unsetTimestamp() { - this.timestamp = null; + public void unsetIdentifier() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __IDENTIFIER_ISSET_ID); } /** - * Returns true if field timestamp is set (has been assigned a value) + * Returns true if field identifier is set (has been assigned a value) * and false otherwise */ - public boolean isSetTimestamp() { - return this.timestamp != null; + public boolean isSetIdentifier() { + return EncodingUtils.testBit(__isset_bitfield, + __IDENTIFIER_ISSET_ID); } - public void setTimestampIsSet(boolean value) { - if(!value) { - this.timestamp = null; - } + public void setIdentifierIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __IDENTIFIER_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysCriteriaTimestr_args setCreds( + public jsonifyRecordsTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -320828,7 +462125,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysCriteriaTimestr_args setTransaction( + public jsonifyRecordsTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -320856,7 +462153,7 @@ public String getEnvironment() { return this.environment; } - public getKeysCriteriaTimestr_args setEnvironment(String environment) { + public jsonifyRecordsTimestr_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -320881,31 +462178,30 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: + case RECORDS: if(value == null) { - unsetKeys(); + unsetRecords(); } else { - setKeys((List) value); + setRecords((List) value); } break; - case CRITERIA: + case TIMESTAMP: if(value == null) { - unsetCriteria(); + unsetTimestamp(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setTimestamp((String) value); } break; - case TIMESTAMP: + case IDENTIFIER: if(value == null) { - unsetTimestamp(); + unsetIdentifier(); } else { - setTimestamp((String) value); + setIdentifier((Boolean) value); } break; @@ -320942,15 +462238,15 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); - - case CRITERIA: - return getCriteria(); + case RECORDS: + return getRecords(); case TIMESTAMP: return getTimestamp(); + case IDENTIFIER: + return isIdentifier(); + case CREDS: return getCreds(); @@ -320974,12 +462270,12 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case CRITERIA: - return isSetCriteria(); + case RECORDS: + return isSetRecords(); case TIMESTAMP: return isSetTimestamp(); + case IDENTIFIER: + return isSetIdentifier(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -320994,30 +462290,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCriteriaTimestr_args) - return this.equals((getKeysCriteriaTimestr_args) that); + if(that instanceof jsonifyRecordsTimestr_args) + return this.equals((jsonifyRecordsTimestr_args) that); return false; } - public boolean equals(getKeysCriteriaTimestr_args that) { + public boolean equals(jsonifyRecordsTimestr_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) - return false; - if(!this.keys.equals(that.keys)) - return false; - } - - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_records = true && this.isSetRecords(); + boolean that_present_records = true && that.isSetRecords(); + if(this_present_records || that_present_records) { + if(!(this_present_records && that_present_records)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.records.equals(that.records)) return false; } @@ -321030,6 +462317,15 @@ public boolean equals(getKeysCriteriaTimestr_args that) { return false; } + boolean this_present_identifier = true; + boolean that_present_identifier = true; + if(this_present_identifier || that_present_identifier) { + if(!(this_present_identifier && that_present_identifier)) + return false; + if(this.identifier != that.identifier) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -321064,21 +462360,21 @@ public boolean equals(getKeysCriteriaTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); - - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_records = true && (isSetRecords()); + list.add(present_records); + if(present_records) + list.add(records); boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); + boolean present_identifier = true; + list.add(present_identifier); + if(present_identifier) + list.add(identifier); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -321098,7 +462394,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysCriteriaTimestr_args other) { + public int compareTo(jsonifyRecordsTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -321106,38 +462402,38 @@ public int compareTo(getKeysCriteriaTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); + lastComparison = Boolean.valueOf(isSetRecords()) + .compareTo(other.isSetRecords()); if(lastComparison != 0) { return lastComparison; } - if(isSetKeys()) { + if(isSetRecords()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); + .compareTo(this.records, other.records); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetIdentifier()) + .compareTo(other.isSetIdentifier()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetIdentifier()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.identifier, other.identifier); if(lastComparison != 0) { return lastComparison; } @@ -321197,26 +462493,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "getKeysCriteriaTimestr_args("); + StringBuilder sb = new StringBuilder("jsonifyRecordsTimestr_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { - sb.append("null"); - } - else { - sb.append(this.keys); - } - first = false; - if(!first) - sb.append(", "); - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("records:"); + if(this.records == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.records); } first = false; if(!first) @@ -321229,6 +462514,11 @@ public String toString() { sb.append(this.timestamp); } first = false; + if(!first) + sb.append(", "); + sb.append("identifier:"); + sb.append(this.identifier); + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -321266,9 +462556,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); - } if(creds != null) { creds.validate(); } @@ -321292,6 +462579,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -321301,18 +462592,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCriteriaTimestr_argsStandardSchemeFactory + private static class jsonifyRecordsTimestr_argsStandardSchemeFactory implements SchemeFactory { - public getKeysCriteriaTimestr_argsStandardScheme getScheme() { - return new getKeysCriteriaTimestr_argsStandardScheme(); + public jsonifyRecordsTimestr_argsStandardScheme getScheme() { + return new jsonifyRecordsTimestr_argsStandardScheme(); } } - private static class getKeysCriteriaTimestr_argsStandardScheme - extends StandardScheme { + private static class jsonifyRecordsTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCriteriaTimestr_args struct) + jsonifyRecordsTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -321322,42 +462613,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS + case 1: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2354 = iprot + org.apache.thrift.protocol.TList _list3774 = iprot .readListBegin(); - struct.keys = new ArrayList( - _list2354.size); - String _elem2355; - for (int _i2356 = 0; _i2356 < _list2354.size; ++_i2356) { - _elem2355 = iprot.readString(); - struct.keys.add(_elem2355); + struct.records = new ArrayList( + _list3774.size); + long _elem3775; + for (int _i3776 = 0; _i3776 < _list3774.size; ++_i3776) { + _elem3775 = iprot.readI64(); + struct.records.add(_elem3775); } iprot.readListEnd(); } - struct.setKeysIsSet(true); + struct.setRecordsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + case 3: // IDENTIFIER + if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.identifier = iprot.readBool(); + struct.setIdentifierIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -321410,35 +462700,33 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCriteriaTimestr_args struct) + jsonifyRecordsTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); + if(struct.records != null) { + oprot.writeFieldBegin(RECORDS_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter2357 : struct.keys) { - oprot.writeString(_iter2357); + org.apache.thrift.protocol.TType.I64, + struct.records.size())); + for (long _iter3777 : struct.records) { + oprot.writeI64(_iter3777); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); - oprot.writeFieldEnd(); - } if(struct.timestamp != null) { oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } + oprot.writeFieldBegin(IDENTIFIER_FIELD_DESC); + oprot.writeBool(struct.identifier); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -321460,29 +462748,29 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysCriteriaTimestr_argsTupleSchemeFactory + private static class jsonifyRecordsTimestr_argsTupleSchemeFactory implements SchemeFactory { - public getKeysCriteriaTimestr_argsTupleScheme getScheme() { - return new getKeysCriteriaTimestr_argsTupleScheme(); + public jsonifyRecordsTimestr_argsTupleScheme getScheme() { + return new jsonifyRecordsTimestr_argsTupleScheme(); } } - private static class getKeysCriteriaTimestr_argsTupleScheme - extends TupleScheme { + private static class jsonifyRecordsTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteriaTimestr_args struct) + jsonifyRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetRecords()) { optionals.set(0); } - if(struct.isSetCriteria()) { + if(struct.isSetTimestamp()) { optionals.set(1); } - if(struct.isSetTimestamp()) { + if(struct.isSetIdentifier()) { optionals.set(2); } if(struct.isSetCreds()) { @@ -321495,20 +462783,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, optionals.set(5); } oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { + if(struct.isSetRecords()) { { - oprot.writeI32(struct.keys.size()); - for (String _iter2358 : struct.keys) { - oprot.writeString(_iter2358); + oprot.writeI32(struct.records.size()); + for (long _iter3778 : struct.records) { + oprot.writeI64(_iter3778); } } } - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); - } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); } + if(struct.isSetIdentifier()) { + oprot.writeBool(struct.identifier); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -321522,33 +462810,32 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteriaTimestr_args struct) + jsonifyRecordsTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2359 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, + org.apache.thrift.protocol.TList _list3779 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.keys = new ArrayList(_list2359.size); - String _elem2360; - for (int _i2361 = 0; _i2361 < _list2359.size; ++_i2361) { - _elem2360 = iprot.readString(); - struct.keys.add(_elem2360); + struct.records = new ArrayList(_list3779.size); + long _elem3780; + for (int _i3781 = 0; _i3781 < _list3779.size; ++_i3781) { + _elem3780 = iprot.readI64(); + struct.records.add(_elem3780); } } - struct.setKeysIsSet(true); + struct.setRecordsIsSet(true); } if(incoming.get(1)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); - } - if(incoming.get(2)) { struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } + if(incoming.get(2)) { + struct.identifier = iprot.readBool(); + struct.setIdentifierIsSet(true); + } if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -321568,16 +462855,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysCriteriaTimestr_result implements - org.apache.thrift.TBase, + public static class jsonifyRecordsTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCriteriaTimestr_result"); + "jsonifyRecordsTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.STRING, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -321590,12 +462877,12 @@ public static class getKeysCriteriaTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCriteriaTimestr_resultStandardSchemeFactory()); + new jsonifyRecordsTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCriteriaTimestr_resultTupleSchemeFactory()); + new jsonifyRecordsTimestr_resultTupleSchemeFactory()); } - public Map> success; // required + public String success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.ParseException ex3; // required @@ -321687,17 +462974,8 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -321720,13 +462998,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysCriteriaTimestr_result.class, metaDataMap); + jsonifyRecordsTimestr_result.class, metaDataMap); } - public getKeysCriteriaTimestr_result() {} + public jsonifyRecordsTimestr_result() {} - public getKeysCriteriaTimestr_result( - Map> success, + public jsonifyRecordsTimestr_result(String success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -321742,44 +463019,10 @@ public getKeysCriteriaTimestr_result( /** * Performs a deep copy on other. */ - public getKeysCriteriaTimestr_result( - getKeysCriteriaTimestr_result other) { + public jsonifyRecordsTimestr_result( + jsonifyRecordsTimestr_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( - other.success.size()); - for (Map.Entry> other_element : other.success - .entrySet()) { - - Long other_element_key = other_element.getKey(); - Map other_element_value = other_element - .getValue(); - - Long __this__success_copy_key = other_element_key; - - Map __this__success_copy_value = new LinkedHashMap( - other_element_value.size()); - for (Map.Entry other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); - } - this.success = __this__success; + this.success = other.success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -321799,8 +463042,8 @@ public getKeysCriteriaTimestr_result( } } - public getKeysCriteriaTimestr_result deepCopy() { - return new getKeysCriteriaTimestr_result(this); + public jsonifyRecordsTimestr_result deepCopy() { + return new jsonifyRecordsTimestr_result(this); } @Override @@ -321812,24 +463055,11 @@ public void clear() { this.ex4 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(long key, - Map val) { - if(this.success == null) { - this.success = new LinkedHashMap>(); - } - this.success.put(key, val); - } - - public Map> getSuccess() { + public String getSuccess() { return this.success; } - public getKeysCriteriaTimestr_result setSuccess( - Map> success) { + public jsonifyRecordsTimestr_result setSuccess(String success) { this.success = success; return this; } @@ -321856,7 +463086,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysCriteriaTimestr_result setEx( + public jsonifyRecordsTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -321884,7 +463114,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysCriteriaTimestr_result setEx2( + public jsonifyRecordsTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -321912,7 +463142,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public getKeysCriteriaTimestr_result setEx3( + public jsonifyRecordsTimestr_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -321940,7 +463170,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public getKeysCriteriaTimestr_result setEx4( + public jsonifyRecordsTimestr_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -321971,8 +463201,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Map>) value); + setSuccess((String) value); } break; @@ -322064,12 +463293,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCriteriaTimestr_result) - return this.equals((getKeysCriteriaTimestr_result) that); + if(that instanceof jsonifyRecordsTimestr_result) + return this.equals((jsonifyRecordsTimestr_result) that); return false; } - public boolean equals(getKeysCriteriaTimestr_result that) { + public boolean equals(jsonifyRecordsTimestr_result that) { if(that == null) return false; @@ -322154,7 +463383,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysCriteriaTimestr_result other) { + public int compareTo(jsonifyRecordsTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -322242,7 +463471,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "getKeysCriteriaTimestr_result("); + "jsonifyRecordsTimestr_result("); boolean first = true; sb.append("success:"); @@ -322326,18 +463555,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCriteriaTimestr_resultStandardSchemeFactory + private static class jsonifyRecordsTimestr_resultStandardSchemeFactory implements SchemeFactory { - public getKeysCriteriaTimestr_resultStandardScheme getScheme() { - return new getKeysCriteriaTimestr_resultStandardScheme(); + public jsonifyRecordsTimestr_resultStandardScheme getScheme() { + return new jsonifyRecordsTimestr_resultStandardScheme(); } } - private static class getKeysCriteriaTimestr_resultStandardScheme - extends StandardScheme { + private static class jsonifyRecordsTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCriteriaTimestr_result struct) + jsonifyRecordsTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -322348,35 +463577,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map2362 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map2362.size); - long _key2363; - Map _val2364; - for (int _i2365 = 0; _i2365 < _map2362.size; ++_i2365) { - _key2363 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2366 = iprot - .readMapBegin(); - _val2364 = new LinkedHashMap( - 2 * _map2366.size); - String _key2367; - com.cinchapi.concourse.thrift.TObject _val2368; - for (int _i2369 = 0; _i2369 < _map2366.size; ++_i2369) { - _key2367 = iprot.readString(); - _val2368 = new com.cinchapi.concourse.thrift.TObject(); - _val2368.read(iprot); - _val2364.put(_key2367, _val2368); - } - iprot.readMapEnd(); - } - struct.success.put(_key2363, _val2364); - } - iprot.readMapEnd(); - } + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.success = iprot.readString(); struct.setSuccessIsSet(true); } else { @@ -322442,37 +463644,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCriteriaTimestr_result struct) + jsonifyRecordsTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - struct.success.size())); - for (Map.Entry> _iter2370 : struct.success - .entrySet()) { - oprot.writeI64(_iter2370.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - _iter2370.getValue().size())); - for (Map.Entry _iter2371 : _iter2370 - .getValue().entrySet()) { - oprot.writeString(_iter2371.getKey()); - _iter2371.getValue().write(oprot); - } - oprot.writeMapEnd(); - } - } - oprot.writeMapEnd(); - } + oprot.writeString(struct.success); oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -322501,19 +463680,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysCriteriaTimestr_resultTupleSchemeFactory + private static class jsonifyRecordsTimestr_resultTupleSchemeFactory implements SchemeFactory { - public getKeysCriteriaTimestr_resultTupleScheme getScheme() { - return new getKeysCriteriaTimestr_resultTupleScheme(); + public jsonifyRecordsTimestr_resultTupleScheme getScheme() { + return new jsonifyRecordsTimestr_resultTupleScheme(); } } - private static class getKeysCriteriaTimestr_resultTupleScheme - extends TupleScheme { + private static class jsonifyRecordsTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteriaTimestr_result struct) + jsonifyRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -322534,21 +463713,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, } oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2372 : struct.success - .entrySet()) { - oprot.writeI64(_iter2372.getKey()); - { - oprot.writeI32(_iter2372.getValue().size()); - for (Map.Entry _iter2373 : _iter2372 - .getValue().entrySet()) { - oprot.writeString(_iter2373.getKey()); - _iter2373.getValue().write(oprot); - } - } - } - } + oprot.writeString(struct.success); } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -322566,41 +463731,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCriteriaTimestr_result struct) + jsonifyRecordsTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map2374 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, - iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map2374.size); - long _key2375; - Map _val2376; - for (int _i2377 = 0; _i2377 < _map2374.size; ++_i2377) { - _key2375 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2378 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val2376 = new LinkedHashMap( - 2 * _map2378.size); - String _key2379; - com.cinchapi.concourse.thrift.TObject _val2380; - for (int _i2381 = 0; _i2381 < _map2378.size; ++_i2381) { - _key2379 = iprot.readString(); - _val2380 = new com.cinchapi.concourse.thrift.TObject(); - _val2380.read(iprot); - _val2376.put(_key2379, _val2380); - } - } - struct.success.put(_key2375, _val2376); - } - } + struct.success = iprot.readString(); struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -322628,40 +463764,34 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysCclTime_args implements - org.apache.thrift.TBase, + public static class findCriteria_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCclTime_args"); + "findCriteria_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 3); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCclTime_argsStandardSchemeFactory()); + new findCriteria_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCclTime_argsTupleSchemeFactory()); + new findCriteria_argsTupleSchemeFactory()); } - public List keys; // required - public String ccl; // required - public long timestamp; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -322671,12 +463801,10 @@ public static class getKeysCclTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CCL((short) 2, "ccl"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CRITERIA((short) 1, "criteria"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); private static final Map byName = new LinkedHashMap(); @@ -322692,17 +463820,13 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CCL - return CCL; - case 3: // TIMESTAMP - return TIMESTAMP; - case 4: // CREDS + case 1: // CRITERIA + return CRITERIA; + case 2: // CREDS return CREDS; - case 5: // TRANSACTION + case 3: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 4: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -322748,29 +463872,16 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -322789,21 +463900,19 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysCclTime_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(findCriteria_args.class, metaDataMap); } - public getKeysCclTime_args() {} + public findCriteria_args() {} - public getKeysCclTime_args(List keys, String ccl, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public findCriteria_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.ccl = ccl; - this.timestamp = timestamp; - setTimestampIsSet(true); + this.criteria = criteria; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -322812,16 +463921,11 @@ public getKeysCclTime_args(List keys, String ccl, /** * Performs a deep copy on other. */ - public getKeysCclTime_args(getKeysCclTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; - } - if(other.isSetCcl()) { - this.ccl = other.ccl; + public findCriteria_args(findCriteria_args other) { + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -322835,124 +463939,51 @@ public getKeysCclTime_args(getKeysCclTime_args other) { } } - public getKeysCclTime_args deepCopy() { - return new getKeysCclTime_args(this); + public findCriteria_args deepCopy() { + return new findCriteria_args(this); } @Override public void clear() { - this.keys = null; - this.ccl = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.criteria = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; - } - - public getKeysCclTime_args setKeys(List keys) { - this.keys = keys; - return this; - } - - public void unsetKeys() { - this.keys = null; - } - - /** - * Returns true if field keys is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKeys() { - return this.keys != null; - } - - public void setKeysIsSet(boolean value) { - if(!value) { - this.keys = null; - } - } - - public String getCcl() { - return this.ccl; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public getKeysCclTime_args setCcl(String ccl) { - this.ccl = ccl; + public findCriteria_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setCclIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.ccl = null; + this.criteria = null; } } - public long getTimestamp() { - return this.timestamp; - } - - public getKeysCclTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); - return this; - } - - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); - } - - /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise - */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); - } - - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); - } - public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysCclTime_args setCreds( + public findCriteria_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -322980,7 +464011,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysCclTime_args setTransaction( + public findCriteria_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -323008,7 +464039,7 @@ public String getEnvironment() { return this.environment; } - public getKeysCclTime_args setEnvironment(String environment) { + public findCriteria_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -323033,30 +464064,13 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: - if(value == null) { - unsetKeys(); - } - else { - setKeys((List) value); - } - break; - - case CCL: - if(value == null) { - unsetCcl(); - } - else { - setCcl((String) value); - } - break; - - case TIMESTAMP: + case CRITERIA: if(value == null) { - unsetTimestamp(); + unsetCriteria(); } else { - setTimestamp((Long) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; @@ -323093,14 +464107,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); - - case CCL: - return getCcl(); - - case TIMESTAMP: - return getTimestamp(); + case CRITERIA: + return getCriteria(); case CREDS: return getCreds(); @@ -323125,12 +464133,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case CCL: - return isSetCcl(); - case TIMESTAMP: - return isSetTimestamp(); + case CRITERIA: + return isSetCriteria(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -323145,39 +464149,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCclTime_args) - return this.equals((getKeysCclTime_args) that); + if(that instanceof findCriteria_args) + return this.equals((findCriteria_args) that); return false; } - public boolean equals(getKeysCclTime_args that) { + public boolean equals(findCriteria_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) - return false; - if(!this.keys.equals(that.keys)) - return false; - } - - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) - return false; - if(!this.ccl.equals(that.ccl)) - return false; - } - - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(this.timestamp != that.timestamp) + if(!this.criteria.equals(that.criteria)) return false; } @@ -323215,20 +464201,10 @@ public boolean equals(getKeysCclTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); - - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); - - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -323249,7 +464225,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysCclTime_args other) { + public int compareTo(findCriteria_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -323257,38 +464233,14 @@ public int compareTo(getKeysCclTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKeys()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetCcl()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } @@ -323348,32 +464300,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysCclTime_args("); + StringBuilder sb = new StringBuilder("findCriteria_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { - sb.append("null"); - } - else { - sb.append(this.keys); - } - first = false; - if(!first) - sb.append(", "); - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.criteria); } first = false; - if(!first) - sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); - first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -323411,6 +464348,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } if(creds != null) { creds.validate(); } @@ -323434,10 +464374,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -323447,18 +464383,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCclTime_argsStandardSchemeFactory + private static class findCriteria_argsStandardSchemeFactory implements SchemeFactory { - public getKeysCclTime_argsStandardScheme getScheme() { - return new getKeysCclTime_argsStandardScheme(); + public findCriteria_argsStandardScheme getScheme() { + return new findCriteria_argsStandardScheme(); } } - private static class getKeysCclTime_argsStandardScheme - extends StandardScheme { + private static class findCriteria_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCclTime_args struct) + findCriteria_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -323468,48 +464404,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list2382 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list2382.size); - String _elem2383; - for (int _i2384 = 0; _i2384 < _list2382.size; ++_i2384) { - _elem2383 = iprot.readString(); - struct.keys.add(_elem2383); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 2: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -323520,7 +464426,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 3: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -323531,7 +464437,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 4: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -323555,33 +464461,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCclTime_args struct) + findCriteria_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter2385 : struct.keys) { - oprot.writeString(_iter2385); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -323603,54 +464492,37 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysCclTime_argsTupleSchemeFactory + private static class findCriteria_argsTupleSchemeFactory implements SchemeFactory { - public getKeysCclTime_argsTupleScheme getScheme() { - return new getKeysCclTime_argsTupleScheme(); + public findCriteria_argsTupleScheme getScheme() { + return new findCriteria_argsTupleScheme(); } } - private static class getKeysCclTime_argsTupleScheme - extends TupleScheme { + private static class findCriteria_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCclTime_args struct) + findCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetCriteria()) { optionals.set(0); } - if(struct.isSetCcl()) { - optionals.set(1); - } - if(struct.isSetTimestamp()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(1); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(2); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter2386 : struct.keys) { - oprot.writeString(_iter2386); - } - } - } - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + optionals.set(3); } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeBitSet(optionals, 4); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -323665,43 +464537,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCclTime_args struct) + findCriteria_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list2387 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list2387.size); - String _elem2388; - for (int _i2389 = 0; _i2389 < _list2387.size; ++_i2389) { - _elem2388 = iprot.readString(); - struct.keys.add(_elem2388); - } - } - struct.setKeysIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); - } - if(incoming.get(2)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(2)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(3)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -323710,38 +464565,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysCclTime_result implements - org.apache.thrift.TBase, + public static class findCriteria_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCclTime_result"); + "findCriteria_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCclTime_resultStandardSchemeFactory()); + new findCriteria_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCclTime_resultTupleSchemeFactory()); + new findCriteria_resultTupleSchemeFactory()); } - public Map> success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -323751,8 +464603,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -323776,8 +464627,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -323829,17 +464678,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -323855,71 +464697,31 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysCclTime_result.class, metaDataMap); + findCriteria_result.class, metaDataMap); } - public getKeysCclTime_result() {} + public findCriteria_result() {} - public getKeysCclTime_result( - Map> success, + public findCriteria_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeysCclTime_result(getKeysCclTime_result other) { + public findCriteria_result(findCriteria_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( - other.success.size()); - for (Map.Entry> other_element : other.success - .entrySet()) { - - Long other_element_key = other_element.getKey(); - Map other_element_value = other_element - .getValue(); - - Long __this__success_copy_key = other_element_key; - - Map __this__success_copy_value = new LinkedHashMap( - other_element_value.size()); - for (Map.Entry other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); - } + Set __this__success = new LinkedHashSet( + other.success); this.success = __this__success; } if(other.isSetEx()) { @@ -323931,17 +464733,13 @@ public getKeysCclTime_result(getKeysCclTime_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public getKeysCclTime_result deepCopy() { - return new getKeysCclTime_result(this); + public findCriteria_result deepCopy() { + return new findCriteria_result(this); } @Override @@ -323950,27 +464748,28 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, - Map val) { + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(long elem) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashSet(); } - this.success.put(key, val); + this.success.add(elem); } - public Map> getSuccess() { + public Set getSuccess() { return this.success; } - public getKeysCclTime_result setSuccess( - Map> success) { + public findCriteria_result setSuccess(Set success) { this.success = success; return this; } @@ -323997,7 +464796,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysCclTime_result setEx( + public findCriteria_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -324025,7 +464824,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysCclTime_result setEx2( + public findCriteria_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -324049,12 +464848,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getKeysCclTime_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public findCriteria_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -324077,34 +464876,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public getKeysCclTime_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -324112,8 +464883,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Map>) value); + setSuccess((Set) value); } break; @@ -324140,16 +464910,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -324170,9 +464931,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -324195,8 +464953,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -324205,12 +464961,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCclTime_result) - return this.equals((getKeysCclTime_result) that); + if(that instanceof findCriteria_result) + return this.equals((findCriteria_result) that); return false; } - public boolean equals(getKeysCclTime_result that) { + public boolean equals(findCriteria_result that) { if(that == null) return false; @@ -324250,15 +465006,6 @@ public boolean equals(getKeysCclTime_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -324286,16 +465033,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(getKeysCclTime_result other) { + public int compareTo(findCriteria_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -324351,18 +465093,6 @@ public int compareTo(getKeysCclTime_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -324382,7 +465112,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysCclTime_result("); + StringBuilder sb = new StringBuilder("findCriteria_result("); boolean first = true; sb.append("success:"); @@ -324423,16 +465153,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -324466,18 +465186,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCclTime_resultStandardSchemeFactory + private static class findCriteria_resultStandardSchemeFactory implements SchemeFactory { - public getKeysCclTime_resultStandardScheme getScheme() { - return new getKeysCclTime_resultStandardScheme(); + public findCriteria_resultStandardScheme getScheme() { + return new findCriteria_resultStandardScheme(); } } - private static class getKeysCclTime_resultStandardScheme - extends StandardScheme { + private static class findCriteria_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCclTime_result struct) + findCriteria_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -324488,34 +465208,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TMap _map2390 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map2390.size); - long _key2391; - Map _val2392; - for (int _i2393 = 0; _i2393 < _map2390.size; ++_i2393) { - _key2391 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2394 = iprot - .readMapBegin(); - _val2392 = new LinkedHashMap( - 2 * _map2394.size); - String _key2395; - com.cinchapi.concourse.thrift.TObject _val2396; - for (int _i2397 = 0; _i2397 < _map2394.size; ++_i2397) { - _key2395 = iprot.readString(); - _val2396 = new com.cinchapi.concourse.thrift.TObject(); - _val2396.read(iprot); - _val2392.put(_key2395, _val2396); - } - iprot.readMapEnd(); - } - struct.success.put(_key2391, _val2392); + org.apache.thrift.protocol.TSet _set3782 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set3782.size); + long _elem3783; + for (int _i3784 = 0; _i3784 < _set3782.size; ++_i3784) { + _elem3783 = iprot.readI64(); + struct.success.add(_elem3783); } - iprot.readMapEnd(); + iprot.readSetEnd(); } struct.setSuccessIsSet(true); } @@ -324548,7 +465252,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -324557,17 +465261,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -324582,7 +465275,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCclTime_result struct) + findCriteria_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -324590,28 +465283,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter2398 : struct.success - .entrySet()) { - oprot.writeI64(_iter2398.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - _iter2398.getValue().size())); - for (Map.Entry _iter2399 : _iter2398 - .getValue().entrySet()) { - oprot.writeString(_iter2399.getKey()); - _iter2399.getValue().write(oprot); - } - oprot.writeMapEnd(); - } + for (long _iter3785 : struct.success) { + oprot.writeI64(_iter3785); } - oprot.writeMapEnd(); + oprot.writeSetEnd(); } oprot.writeFieldEnd(); } @@ -324630,30 +465308,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeysCclTime_resultTupleSchemeFactory + private static class findCriteria_resultTupleSchemeFactory implements SchemeFactory { - public getKeysCclTime_resultTupleScheme getScheme() { - return new getKeysCclTime_resultTupleScheme(); + public findCriteria_resultTupleScheme getScheme() { + return new findCriteria_resultTupleScheme(); } } - private static class getKeysCclTime_resultTupleScheme - extends TupleScheme { + private static class findCriteria_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCclTime_result struct) + findCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -324669,24 +465342,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2400 : struct.success - .entrySet()) { - oprot.writeI64(_iter2400.getKey()); - { - oprot.writeI32(_iter2400.getValue().size()); - for (Map.Entry _iter2401 : _iter2400 - .getValue().entrySet()) { - oprot.writeString(_iter2401.getKey()); - _iter2401.getValue().write(oprot); - } - } + for (long _iter3786 : struct.success) { + oprot.writeI64(_iter3786); } } } @@ -324699,46 +465360,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCclTime_result struct) + findCriteria_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2402 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TSet _set3787 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map2402.size); - long _key2403; - Map _val2404; - for (int _i2405 = 0; _i2405 < _map2402.size; ++_i2405) { - _key2403 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2406 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val2404 = new LinkedHashMap( - 2 * _map2406.size); - String _key2407; - com.cinchapi.concourse.thrift.TObject _val2408; - for (int _i2409 = 0; _i2409 < _map2406.size; ++_i2409) { - _key2407 = iprot.readString(); - _val2408 = new com.cinchapi.concourse.thrift.TObject(); - _val2408.read(iprot); - _val2404.put(_key2407, _val2408); - } - } - struct.success.put(_key2403, _val2404); + struct.success = new LinkedHashSet( + 2 * _set3787.size); + long _elem3788; + for (int _i3789 = 0; _i3789 < _set3787.size; ++_i3789) { + _elem3788 = iprot.readI64(); + struct.success.add(_elem3788); } } struct.setSuccessIsSet(true); @@ -324754,55 +465394,46 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class getKeysCclTimestr_args implements - org.apache.thrift.TBase, + public static class findCriteriaOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCclTimestr_args"); + "findCriteriaOrder_args"); - private static final org.apache.thrift.protocol.TField KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "keys", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 2); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 3); + private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( + "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCclTimestr_argsStandardSchemeFactory()); + new findCriteriaOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCclTimestr_argsTupleSchemeFactory()); + new findCriteriaOrder_argsTupleSchemeFactory()); } - public List keys; // required - public String ccl; // required - public String timestamp; // required + public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -324812,12 +465443,11 @@ public static class getKeysCclTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEYS((short) 1, "keys"), - CCL((short) 2, "ccl"), - TIMESTAMP((short) 3, "timestamp"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CRITERIA((short) 1, "criteria"), + ORDER((short) 2, "order"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -324833,17 +465463,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEYS - return KEYS; - case 2: // CCL - return CCL; - case 3: // TIMESTAMP - return TIMESTAMP; - case 4: // CREDS + case 1: // CRITERIA + return CRITERIA; + case 2: // ORDER + return ORDER; + case 3: // CREDS return CREDS; - case 5: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -324893,23 +465521,18 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEYS, - new org.apache.thrift.meta_data.FieldMetaData("keys", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData( - org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.CRITERIA, + new org.apache.thrift.meta_data.FieldMetaData("criteria", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TCriteria.class))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -324929,20 +465552,20 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysCclTimestr_args.class, metaDataMap); + findCriteriaOrder_args.class, metaDataMap); } - public getKeysCclTimestr_args() {} + public findCriteriaOrder_args() {} - public getKeysCclTimestr_args(List keys, String ccl, - String timestamp, + public findCriteriaOrder_args( + com.cinchapi.concourse.thrift.TCriteria criteria, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.keys = keys; - this.ccl = ccl; - this.timestamp = timestamp; + this.criteria = criteria; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -324951,16 +465574,14 @@ public getKeysCclTimestr_args(List keys, String ccl, /** * Performs a deep copy on other. */ - public getKeysCclTimestr_args(getKeysCclTimestr_args other) { - if(other.isSetKeys()) { - List __this__keys = new ArrayList(other.keys); - this.keys = __this__keys; - } - if(other.isSetCcl()) { - this.ccl = other.ccl; + public findCriteriaOrder_args(findCriteriaOrder_args other) { + if(other.isSetCriteria()) { + this.criteria = new com.cinchapi.concourse.thrift.TCriteria( + other.criteria); } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -324975,113 +465596,72 @@ public getKeysCclTimestr_args(getKeysCclTimestr_args other) { } } - public getKeysCclTimestr_args deepCopy() { - return new getKeysCclTimestr_args(this); + public findCriteriaOrder_args deepCopy() { + return new findCriteriaOrder_args(this); } @Override public void clear() { - this.keys = null; - this.ccl = null; - this.timestamp = null; + this.criteria = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getKeysSize() { - return (this.keys == null) ? 0 : this.keys.size(); - } - - public java.util.Iterator getKeysIterator() { - return (this.keys == null) ? null : this.keys.iterator(); - } - - public void addToKeys(String elem) { - if(this.keys == null) { - this.keys = new ArrayList(); - } - this.keys.add(elem); - } - - public List getKeys() { - return this.keys; + public com.cinchapi.concourse.thrift.TCriteria getCriteria() { + return this.criteria; } - public getKeysCclTimestr_args setKeys(List keys) { - this.keys = keys; + public findCriteriaOrder_args setCriteria( + com.cinchapi.concourse.thrift.TCriteria criteria) { + this.criteria = criteria; return this; } - public void unsetKeys() { - this.keys = null; + public void unsetCriteria() { + this.criteria = null; } /** - * Returns true if field keys is set (has been assigned a value) and + * Returns true if field criteria is set (has been assigned a value) and * false otherwise */ - public boolean isSetKeys() { - return this.keys != null; + public boolean isSetCriteria() { + return this.criteria != null; } - public void setKeysIsSet(boolean value) { + public void setCriteriaIsSet(boolean value) { if(!value) { - this.keys = null; + this.criteria = null; } } - public String getCcl() { - return this.ccl; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public getKeysCclTimestr_args setCcl(String ccl) { - this.ccl = ccl; + public findCriteriaOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; - } - - public void setCclIsSet(boolean value) { - if(!value) { - this.ccl = null; - } - } - - public String getTimestamp() { - return this.timestamp; - } - - public getKeysCclTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; - return this; - } - - public void unsetTimestamp() { - this.timestamp = null; - } - - /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise - */ - public boolean isSetTimestamp() { - return this.timestamp != null; + public boolean isSetOrder() { + return this.order != null; } - public void setTimestampIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.timestamp = null; + this.order = null; } } @@ -325089,7 +465669,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public getKeysCclTimestr_args setCreds( + public findCriteriaOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -325117,7 +465697,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public getKeysCclTimestr_args setTransaction( + public findCriteriaOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -325145,7 +465725,7 @@ public String getEnvironment() { return this.environment; } - public getKeysCclTimestr_args setEnvironment(String environment) { + public findCriteriaOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -325170,30 +465750,22 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEYS: - if(value == null) { - unsetKeys(); - } - else { - setKeys((List) value); - } - break; - - case CCL: + case CRITERIA: if(value == null) { - unsetCcl(); + unsetCriteria(); } else { - setCcl((String) value); + setCriteria( + (com.cinchapi.concourse.thrift.TCriteria) value); } break; - case TIMESTAMP: + case ORDER: if(value == null) { - unsetTimestamp(); + unsetOrder(); } else { - setTimestamp((String) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -325230,14 +465802,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEYS: - return getKeys(); - - case CCL: - return getCcl(); + case CRITERIA: + return getCriteria(); - case TIMESTAMP: - return getTimestamp(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -325262,12 +465831,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEYS: - return isSetKeys(); - case CCL: - return isSetCcl(); - case TIMESTAMP: - return isSetTimestamp(); + case CRITERIA: + return isSetCriteria(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -325282,39 +465849,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCclTimestr_args) - return this.equals((getKeysCclTimestr_args) that); + if(that instanceof findCriteriaOrder_args) + return this.equals((findCriteriaOrder_args) that); return false; } - public boolean equals(getKeysCclTimestr_args that) { + public boolean equals(findCriteriaOrder_args that) { if(that == null) return false; - boolean this_present_keys = true && this.isSetKeys(); - boolean that_present_keys = true && that.isSetKeys(); - if(this_present_keys || that_present_keys) { - if(!(this_present_keys && that_present_keys)) - return false; - if(!this.keys.equals(that.keys)) - return false; - } - - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_criteria = true && this.isSetCriteria(); + boolean that_present_criteria = true && that.isSetCriteria(); + if(this_present_criteria || that_present_criteria) { + if(!(this_present_criteria && that_present_criteria)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.criteria.equals(that.criteria)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(!this.order.equals(that.order)) return false; } @@ -325352,20 +465910,15 @@ public boolean equals(getKeysCclTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_keys = true && (isSetKeys()); - list.add(present_keys); - if(present_keys) - list.add(keys); - - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_criteria = true && (isSetCriteria()); + list.add(present_criteria); + if(present_criteria) + list.add(criteria); - boolean present_timestamp = true && (isSetTimestamp()); - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -325386,7 +465939,7 @@ public int hashCode() { } @Override - public int compareTo(getKeysCclTimestr_args other) { + public int compareTo(findCriteriaOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -325394,38 +465947,26 @@ public int compareTo(getKeysCclTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKeys()) - .compareTo(other.isSetKeys()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKeys()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.keys, other.keys); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetCriteria()) + .compareTo(other.isSetCriteria()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetCriteria()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.criteria, other.criteria); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -325485,35 +466026,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysCclTimestr_args("); + StringBuilder sb = new StringBuilder("findCriteriaOrder_args("); boolean first = true; - sb.append("keys:"); - if(this.keys == null) { - sb.append("null"); - } - else { - sb.append(this.keys); - } - first = false; - if(!first) - sb.append(", "); - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("criteria:"); + if(this.criteria == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.criteria); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.order); } first = false; if(!first) @@ -325553,6 +466084,12 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(criteria != null) { + criteria.validate(); + } + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -325585,18 +466122,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCclTimestr_argsStandardSchemeFactory + private static class findCriteriaOrder_argsStandardSchemeFactory implements SchemeFactory { - public getKeysCclTimestr_argsStandardScheme getScheme() { - return new getKeysCclTimestr_argsStandardScheme(); + public findCriteriaOrder_argsStandardScheme getScheme() { + return new findCriteriaOrder_argsStandardScheme(); } } - private static class getKeysCclTimestr_argsStandardScheme - extends StandardScheme { + private static class findCriteriaOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCclTimestr_args struct) + findCriteriaOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -325606,48 +466143,29 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEYS - if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list2410 = iprot - .readListBegin(); - struct.keys = new ArrayList( - _list2410.size); - String _elem2411; - for (int _i2412 = 0; _i2412 < _list2410.size; ++_i2412) { - _elem2411 = iprot.readString(); - struct.keys.add(_elem2411); - } - iprot.readListEnd(); - } - struct.setKeysIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // CCL - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + case 1: // CRITERIA + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + case 2: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -325658,7 +466176,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -325669,7 +466187,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -325693,33 +466211,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCclTimestr_args struct) + findCriteriaOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.keys != null) { - oprot.writeFieldBegin(KEYS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - struct.keys.size())); - for (String _iter2413 : struct.keys) { - oprot.writeString(_iter2413); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.criteria != null) { + oprot.writeFieldBegin(CRITERIA_FIELD_DESC); + struct.criteria.write(oprot); oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -325743,54 +466247,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class getKeysCclTimestr_argsTupleSchemeFactory + private static class findCriteriaOrder_argsTupleSchemeFactory implements SchemeFactory { - public getKeysCclTimestr_argsTupleScheme getScheme() { - return new getKeysCclTimestr_argsTupleScheme(); + public findCriteriaOrder_argsTupleScheme getScheme() { + return new findCriteriaOrder_argsTupleScheme(); } } - private static class getKeysCclTimestr_argsTupleScheme - extends TupleScheme { + private static class findCriteriaOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCclTimestr_args struct) + findCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKeys()) { + if(struct.isSetCriteria()) { optionals.set(0); } - if(struct.isSetCcl()) { + if(struct.isSetOrder()) { optionals.set(1); } - if(struct.isSetTimestamp()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKeys()) { - { - oprot.writeI32(struct.keys.size()); - for (String _iter2414 : struct.keys) { - oprot.writeString(_iter2414); - } - } + optionals.set(4); } - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + oprot.writeBitSet(optionals, 5); + if(struct.isSetCriteria()) { + struct.criteria.write(oprot); } - if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -325805,43 +466298,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCclTimestr_args struct) + findCriteriaOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list2415 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, - iprot.readI32()); - struct.keys = new ArrayList(_list2415.size); - String _elem2416; - for (int _i2417 = 0; _i2417 < _list2415.size; ++_i2417) { - _elem2416 = iprot.readString(); - struct.keys.add(_elem2416); - } - } - struct.setKeysIsSet(true); + struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); + struct.criteria.read(iprot); + struct.setCriteriaIsSet(true); } if(incoming.get(1)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(2)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -325850,38 +466331,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class getKeysCclTimestr_result implements - org.apache.thrift.TBase, + public static class findCriteriaOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "getKeysCclTimestr_result"); + "findCriteriaOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.MAP, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new getKeysCclTimestr_resultStandardSchemeFactory()); + new findCriteriaOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new getKeysCclTimestr_resultTupleSchemeFactory()); + new findCriteriaOrder_resultTupleSchemeFactory()); } - public Map> success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -325891,8 +466369,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -325916,8 +466393,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -325969,17 +466444,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64), - new org.apache.thrift.meta_data.MapMetaData( - org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))))); + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -325995,71 +466463,31 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - getKeysCclTimestr_result.class, metaDataMap); + findCriteriaOrder_result.class, metaDataMap); } - public getKeysCclTimestr_result() {} + public findCriteriaOrder_result() {} - public getKeysCclTimestr_result( - Map> success, + public findCriteriaOrder_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public getKeysCclTimestr_result(getKeysCclTimestr_result other) { + public findCriteriaOrder_result(findCriteriaOrder_result other) { if(other.isSetSuccess()) { - Map> __this__success = new LinkedHashMap>( - other.success.size()); - for (Map.Entry> other_element : other.success - .entrySet()) { - - Long other_element_key = other_element.getKey(); - Map other_element_value = other_element - .getValue(); - - Long __this__success_copy_key = other_element_key; - - Map __this__success_copy_value = new LinkedHashMap( - other_element_value.size()); - for (Map.Entry other_element_value_element : other_element_value - .entrySet()) { - - String other_element_value_element_key = other_element_value_element - .getKey(); - com.cinchapi.concourse.thrift.TObject other_element_value_element_value = other_element_value_element - .getValue(); - - String __this__success_copy_value_copy_key = other_element_value_element_key; - - com.cinchapi.concourse.thrift.TObject __this__success_copy_value_copy_value = new com.cinchapi.concourse.thrift.TObject( - other_element_value_element_value); - - __this__success_copy_value.put( - __this__success_copy_value_copy_key, - __this__success_copy_value_copy_value); - } - - __this__success.put(__this__success_copy_key, - __this__success_copy_value); - } + Set __this__success = new LinkedHashSet( + other.success); this.success = __this__success; } if(other.isSetEx()) { @@ -326071,17 +466499,13 @@ public getKeysCclTimestr_result(getKeysCclTimestr_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public getKeysCclTimestr_result deepCopy() { - return new getKeysCclTimestr_result(this); + public findCriteriaOrder_result deepCopy() { + return new findCriteriaOrder_result(this); } @Override @@ -326090,27 +466514,28 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } public int getSuccessSize() { return (this.success == null) ? 0 : this.success.size(); } - public void putToSuccess(long key, - Map val) { + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(long elem) { if(this.success == null) { - this.success = new LinkedHashMap>(); + this.success = new LinkedHashSet(); } - this.success.put(key, val); + this.success.add(elem); } - public Map> getSuccess() { + public Set getSuccess() { return this.success; } - public getKeysCclTimestr_result setSuccess( - Map> success) { + public findCriteriaOrder_result setSuccess(Set success) { this.success = success; return this; } @@ -326137,7 +466562,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public getKeysCclTimestr_result setEx( + public findCriteriaOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -326165,7 +466590,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public getKeysCclTimestr_result setEx2( + public findCriteriaOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -326189,12 +466614,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public getKeysCclTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public findCriteriaOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -326217,34 +466642,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public getKeysCclTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -326252,8 +466649,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess( - (Map>) value); + setSuccess((Set) value); } break; @@ -326280,16 +466676,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -326310,9 +466697,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -326335,8 +466719,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -326345,12 +466727,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof getKeysCclTimestr_result) - return this.equals((getKeysCclTimestr_result) that); + if(that instanceof findCriteriaOrder_result) + return this.equals((findCriteriaOrder_result) that); return false; } - public boolean equals(getKeysCclTimestr_result that) { + public boolean equals(findCriteriaOrder_result that) { if(that == null) return false; @@ -326390,15 +466772,6 @@ public boolean equals(getKeysCclTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -326426,16 +466799,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(getKeysCclTimestr_result other) { + public int compareTo(findCriteriaOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -326491,18 +466859,6 @@ public int compareTo(getKeysCclTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -326522,7 +466878,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("getKeysCclTimestr_result("); + StringBuilder sb = new StringBuilder("findCriteriaOrder_result("); boolean first = true; sb.append("success:"); @@ -326563,16 +466919,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -326606,18 +466952,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class getKeysCclTimestr_resultStandardSchemeFactory + private static class findCriteriaOrder_resultStandardSchemeFactory implements SchemeFactory { - public getKeysCclTimestr_resultStandardScheme getScheme() { - return new getKeysCclTimestr_resultStandardScheme(); + public findCriteriaOrder_resultStandardScheme getScheme() { + return new findCriteriaOrder_resultStandardScheme(); } } - private static class getKeysCclTimestr_resultStandardScheme - extends StandardScheme { + private static class findCriteriaOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - getKeysCclTimestr_result struct) + findCriteriaOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -326628,34 +466974,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TMap _map2418 = iprot - .readMapBegin(); - struct.success = new LinkedHashMap>( - 2 * _map2418.size); - long _key2419; - Map _val2420; - for (int _i2421 = 0; _i2421 < _map2418.size; ++_i2421) { - _key2419 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2422 = iprot - .readMapBegin(); - _val2420 = new LinkedHashMap( - 2 * _map2422.size); - String _key2423; - com.cinchapi.concourse.thrift.TObject _val2424; - for (int _i2425 = 0; _i2425 < _map2422.size; ++_i2425) { - _key2423 = iprot.readString(); - _val2424 = new com.cinchapi.concourse.thrift.TObject(); - _val2424.read(iprot); - _val2420.put(_key2423, _val2424); - } - iprot.readMapEnd(); - } - struct.success.put(_key2419, _val2420); + org.apache.thrift.protocol.TSet _set3790 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set3790.size); + long _elem3791; + for (int _i3792 = 0; _i3792 < _set3790.size; ++_i3792) { + _elem3791 = iprot.readI64(); + struct.success.add(_elem3791); } - iprot.readMapEnd(); + iprot.readSetEnd(); } struct.setSuccessIsSet(true); } @@ -326688,7 +467018,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -326697,17 +467027,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -326722,7 +467041,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - getKeysCclTimestr_result struct) + findCriteriaOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -326730,28 +467049,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap( + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry> _iter2426 : struct.success - .entrySet()) { - oprot.writeI64(_iter2426.getKey()); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - _iter2426.getValue().size())); - for (Map.Entry _iter2427 : _iter2426 - .getValue().entrySet()) { - oprot.writeString(_iter2427.getKey()); - _iter2427.getValue().write(oprot); - } - oprot.writeMapEnd(); - } + for (long _iter3793 : struct.success) { + oprot.writeI64(_iter3793); } - oprot.writeMapEnd(); + oprot.writeSetEnd(); } oprot.writeFieldEnd(); } @@ -326770,30 +467074,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class getKeysCclTimestr_resultTupleSchemeFactory + private static class findCriteriaOrder_resultTupleSchemeFactory implements SchemeFactory { - public getKeysCclTimestr_resultTupleScheme getScheme() { - return new getKeysCclTimestr_resultTupleScheme(); + public findCriteriaOrder_resultTupleScheme getScheme() { + return new findCriteriaOrder_resultTupleScheme(); } } - private static class getKeysCclTimestr_resultTupleScheme - extends TupleScheme { + private static class findCriteriaOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - getKeysCclTimestr_result struct) + findCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -326809,24 +467108,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2428 : struct.success - .entrySet()) { - oprot.writeI64(_iter2428.getKey()); - { - oprot.writeI32(_iter2428.getValue().size()); - for (Map.Entry _iter2429 : _iter2428 - .getValue().entrySet()) { - oprot.writeString(_iter2429.getKey()); - _iter2429.getValue().write(oprot); - } - } + for (long _iter3794 : struct.success) { + oprot.writeI64(_iter3794); } } } @@ -326839,46 +467126,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - getKeysCclTimestr_result struct) + findCriteriaOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2430 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TSet _set3795 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, - org.apache.thrift.protocol.TType.MAP, iprot.readI32()); - struct.success = new LinkedHashMap>( - 2 * _map2430.size); - long _key2431; - Map _val2432; - for (int _i2433 = 0; _i2433 < _map2430.size; ++_i2433) { - _key2431 = iprot.readI64(); - { - org.apache.thrift.protocol.TMap _map2434 = new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - iprot.readI32()); - _val2432 = new LinkedHashMap( - 2 * _map2434.size); - String _key2435; - com.cinchapi.concourse.thrift.TObject _val2436; - for (int _i2437 = 0; _i2437 < _map2434.size; ++_i2437) { - _key2435 = iprot.readString(); - _val2436 = new com.cinchapi.concourse.thrift.TObject(); - _val2436.read(iprot); - _val2432.put(_key2435, _val2436); - } - } - struct.success.put(_key2431, _val2432); + struct.success = new LinkedHashSet( + 2 * _set3795.size); + long _elem3796; + for (int _i3797 = 0; _i3797 < _set3795.size; ++_i3797) { + _elem3796 = iprot.readI64(); + struct.success.add(_elem3796); } } struct.setSuccessIsSet(true); @@ -326894,54 +467160,43 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class verifyKeyValueRecord_args implements - org.apache.thrift.TBase, + public static class findCcl_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "verifyKeyValueRecord_args"); + "findCcl_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( - "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 3); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 3); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new verifyKeyValueRecord_argsStandardSchemeFactory()); + new findCcl_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new verifyKeyValueRecord_argsTupleSchemeFactory()); + new findCcl_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TObject value; // required - public long record; // required + public String ccl; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -326951,12 +467206,10 @@ public static class verifyKeyValueRecord_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - VALUE((short) 2, "value"), - RECORD((short) 3, "record"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + CCL((short) 1, "ccl"), + CREDS((short) 2, "creds"), + TRANSACTION((short) 3, "transaction"), + ENVIRONMENT((short) 4, "environment"); private static final Map byName = new LinkedHashMap(); @@ -326972,17 +467225,13 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // VALUE - return VALUE; - case 3: // RECORD - return RECORD; - case 4: // CREDS + case 1: // CCL + return CCL; + case 2: // CREDS return CREDS; - case 5: // TRANSACTION + case 3: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 4: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -327028,28 +467277,15 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.VALUE, - new org.apache.thrift.meta_data.FieldMetaData("value", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -327068,22 +467304,18 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - verifyKeyValueRecord_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(findCcl_args.class, metaDataMap); } - public verifyKeyValueRecord_args() {} + public findCcl_args() {} - public verifyKeyValueRecord_args(String key, - com.cinchapi.concourse.thrift.TObject value, long record, + public findCcl_args(String ccl, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.value = value; - this.record = record; - setRecordIsSet(true); + this.ccl = ccl; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -327092,16 +467324,10 @@ public verifyKeyValueRecord_args(String key, /** * Performs a deep copy on other. */ - public verifyKeyValueRecord_args(verifyKeyValueRecord_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; - } - if(other.isSetValue()) { - this.value = new com.cinchapi.concourse.thrift.TObject( - other.value); + public findCcl_args(findCcl_args other) { + if(other.isSetCcl()) { + this.ccl = other.ccl; } - this.record = other.record; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -327115,109 +467341,50 @@ public verifyKeyValueRecord_args(verifyKeyValueRecord_args other) { } } - public verifyKeyValueRecord_args deepCopy() { - return new verifyKeyValueRecord_args(this); + public findCcl_args deepCopy() { + return new findCcl_args(this); } @Override public void clear() { - this.key = null; - this.value = null; - setRecordIsSet(false); - this.record = 0; + this.ccl = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; - } - - public verifyKeyValueRecord_args setKey(String key) { - this.key = key; - return this; - } - - public void unsetKey() { - this.key = null; - } - - /** - * Returns true if field key is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetKey() { - return this.key != null; - } - - public void setKeyIsSet(boolean value) { - if(!value) { - this.key = null; - } - } - - public com.cinchapi.concourse.thrift.TObject getValue() { - return this.value; + public String getCcl() { + return this.ccl; } - public verifyKeyValueRecord_args setValue( - com.cinchapi.concourse.thrift.TObject value) { - this.value = value; + public findCcl_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetValue() { - this.value = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field value is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetValue() { - return this.value != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setValueIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.value = null; + this.ccl = null; } } - public long getRecord() { - return this.record; - } - - public verifyKeyValueRecord_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); - } - - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public verifyKeyValueRecord_args setCreds( + public findCcl_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -327245,7 +467412,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public verifyKeyValueRecord_args setTransaction( + public findCcl_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -327273,7 +467440,7 @@ public String getEnvironment() { return this.environment; } - public verifyKeyValueRecord_args setEnvironment(String environment) { + public findCcl_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -327298,30 +467465,12 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case VALUE: - if(value == null) { - unsetValue(); - } - else { - setValue((com.cinchapi.concourse.thrift.TObject) value); - } - break; - - case RECORD: + case CCL: if(value == null) { - unsetRecord(); + unsetCcl(); } else { - setRecord((Long) value); + setCcl((String) value); } break; @@ -327358,14 +467507,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case VALUE: - return getValue(); - - case RECORD: - return getRecord(); + case CCL: + return getCcl(); case CREDS: return getCreds(); @@ -327390,12 +467533,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case VALUE: - return isSetValue(); - case RECORD: - return isSetRecord(); + case CCL: + return isSetCcl(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -327410,39 +467549,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof verifyKeyValueRecord_args) - return this.equals((verifyKeyValueRecord_args) that); + if(that instanceof findCcl_args) + return this.equals((findCcl_args) that); return false; } - public boolean equals(verifyKeyValueRecord_args that) { + public boolean equals(findCcl_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_value = true && this.isSetValue(); - boolean that_present_value = true && that.isSetValue(); - if(this_present_value || that_present_value) { - if(!(this_present_value && that_present_value)) - return false; - if(!this.value.equals(that.value)) - return false; - } - - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(this.record != that.record) + if(!this.ccl.equals(that.ccl)) return false; } @@ -327480,20 +467601,10 @@ public boolean equals(verifyKeyValueRecord_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_value = true && (isSetValue()); - list.add(present_value); - if(present_value) - list.add(value); - - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -327514,7 +467625,7 @@ public int hashCode() { } @Override - public int compareTo(verifyKeyValueRecord_args other) { + public int compareTo(findCcl_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -327522,38 +467633,14 @@ public int compareTo(verifyKeyValueRecord_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetValue()) - .compareTo(other.isSetValue()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.value, other.value); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } @@ -327613,32 +467700,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("verifyKeyValueRecord_args("); + StringBuilder sb = new StringBuilder("findCcl_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { - sb.append("null"); - } - else { - sb.append(this.key); - } - first = false; - if(!first) - sb.append(", "); - sb.append("value:"); - if(this.value == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.value); + sb.append(this.ccl); } first = false; - if(!first) - sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -327676,9 +467748,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(value != null) { - value.validate(); - } if(creds != null) { creds.validate(); } @@ -327702,10 +467771,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -327715,19 +467780,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class verifyKeyValueRecord_argsStandardSchemeFactory + private static class findCcl_argsStandardSchemeFactory implements SchemeFactory { - public verifyKeyValueRecord_argsStandardScheme getScheme() { - return new verifyKeyValueRecord_argsStandardScheme(); + public findCcl_argsStandardScheme getScheme() { + return new findCcl_argsStandardScheme(); } } - private static class verifyKeyValueRecord_argsStandardScheme - extends StandardScheme { + private static class findCcl_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - verifyKeyValueRecord_args struct) - throws org.apache.thrift.TException { + findCcl_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -327736,38 +467800,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY + case 1: // CCL if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 2: // VALUE - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 2: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -327778,7 +467821,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 3: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -327789,7 +467832,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 4: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -327813,24 +467856,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - verifyKeyValueRecord_args struct) - throws org.apache.thrift.TException { + findCcl_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); - oprot.writeFieldEnd(); - } - if(struct.value != null) { - oprot.writeFieldBegin(VALUE_FIELD_DESC); - struct.value.write(oprot); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -327852,49 +467886,36 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class verifyKeyValueRecord_argsTupleSchemeFactory + private static class findCcl_argsTupleSchemeFactory implements SchemeFactory { - public verifyKeyValueRecord_argsTupleScheme getScheme() { - return new verifyKeyValueRecord_argsTupleScheme(); + public findCcl_argsTupleScheme getScheme() { + return new findCcl_argsTupleScheme(); } } - private static class verifyKeyValueRecord_argsTupleScheme - extends TupleScheme { + private static class findCcl_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecord_args struct) - throws org.apache.thrift.TException { + findCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetValue()) { - optionals.set(1); - } - if(struct.isSetRecord()) { - optionals.set(2); - } if(struct.isSetCreds()) { - optionals.set(3); + optionals.set(1); } if(struct.isSetTransaction()) { - optionals.set(4); + optionals.set(2); } if(struct.isSetEnvironment()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if(struct.isSetKey()) { - oprot.writeString(struct.key); - } - if(struct.isSetValue()) { - struct.value.write(oprot); + optionals.set(3); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + oprot.writeBitSet(optionals, 4); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -327909,34 +467930,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecord_args struct) - throws org.apache.thrift.TException { + findCcl_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); - } - if(incoming.get(2)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - if(incoming.get(3)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(2)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(3)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -327945,35 +467956,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class verifyKeyValueRecord_result implements - org.apache.thrift.TBase, + public static class findCcl_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "verifyKeyValueRecord_result"); + "findCcl_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new verifyKeyValueRecord_resultStandardSchemeFactory()); + new findCcl_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new verifyKeyValueRecord_resultTupleSchemeFactory()); + new findCcl_resultTupleSchemeFactory()); } - public boolean success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -327983,7 +467997,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -328007,6 +468022,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -328051,8 +468068,6 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -328060,8 +468075,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -328077,31 +468094,40 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - verifyKeyValueRecord_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(findCcl_result.class, metaDataMap); } - public verifyKeyValueRecord_result() {} + public findCcl_result() {} - public verifyKeyValueRecord_result(boolean success, + public findCcl_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; - setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public verifyKeyValueRecord_result(verifyKeyValueRecord_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public findCcl_result(findCcl_result other) { + if(other.isSetSuccess()) { + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -328111,37 +468137,54 @@ public verifyKeyValueRecord_result(verifyKeyValueRecord_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public verifyKeyValueRecord_result deepCopy() { - return new verifyKeyValueRecord_result(this); + public findCcl_result deepCopy() { + return new findCcl_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } - public boolean isSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(long elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { return this.success; } - public verifyKeyValueRecord_result setSuccess(boolean success) { + public findCcl_result setSuccess(Set success) { this.success = success; - setSuccessIsSet(true); return this; } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __SUCCESS_ISSET_ID); + this.success = null; } /** @@ -328149,19 +468192,20 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __SUCCESS_ISSET_ID, value); + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public verifyKeyValueRecord_result setEx( + public findCcl_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -328189,7 +468233,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public verifyKeyValueRecord_result setEx2( + public findCcl_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -328213,12 +468257,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public verifyKeyValueRecord_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public findCcl_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -328241,6 +468285,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public findCcl_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -328248,7 +468320,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Boolean) value); + setSuccess((Set) value); } break; @@ -328275,7 +468347,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -328285,7 +468366,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); case EX: return getEx(); @@ -328296,6 +468377,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -328318,6 +468402,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -328326,21 +468412,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof verifyKeyValueRecord_result) - return this.equals((verifyKeyValueRecord_result) that); + if(that instanceof findCcl_result) + return this.equals((findCcl_result) that); return false; } - public boolean equals(verifyKeyValueRecord_result that) { + public boolean equals(findCcl_result that) { if(that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(this.success != that.success) + if(!this.success.equals(that.success)) return false; } @@ -328371,6 +468457,15 @@ public boolean equals(verifyKeyValueRecord_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -328378,7 +468473,7 @@ public boolean equals(verifyKeyValueRecord_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if(present_success) list.add(success); @@ -328398,11 +468493,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(verifyKeyValueRecord_result other) { + public int compareTo(findCcl_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -328458,6 +468558,18 @@ public int compareTo(verifyKeyValueRecord_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -328477,12 +468589,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "verifyKeyValueRecord_result("); + StringBuilder sb = new StringBuilder("findCcl_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } first = false; if(!first) sb.append(", "); @@ -328514,6 +468630,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -328538,10 +468664,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -328551,19 +468673,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class verifyKeyValueRecord_resultStandardSchemeFactory + private static class findCcl_resultStandardSchemeFactory implements SchemeFactory { - public verifyKeyValueRecord_resultStandardScheme getScheme() { - return new verifyKeyValueRecord_resultStandardScheme(); + public findCcl_resultStandardScheme getScheme() { + return new findCcl_resultStandardScheme(); } } - private static class verifyKeyValueRecord_resultStandardScheme - extends StandardScheme { + private static class findCcl_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - verifyKeyValueRecord_result struct) - throws org.apache.thrift.TException { + findCcl_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -328573,8 +468694,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set3798 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set3798.size); + long _elem3799; + for (int _i3800 = 0; _i3800 < _set3798.size; ++_i3800) { + _elem3799 = iprot.readI64(); + struct.success.add(_elem3799); + } + iprot.readSetEnd(); + } struct.setSuccessIsSet(true); } else { @@ -328606,7 +468738,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -328615,6 +468747,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -328629,14 +468772,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - verifyKeyValueRecord_result struct) - throws org.apache.thrift.TException { + findCcl_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.isSetSuccess()) { + if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + struct.success.size())); + for (long _iter3801 : struct.success) { + oprot.writeI64(_iter3801); + } + oprot.writeSetEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -328654,26 +468804,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class verifyKeyValueRecord_resultTupleSchemeFactory + private static class findCcl_resultTupleSchemeFactory implements SchemeFactory { - public verifyKeyValueRecord_resultTupleScheme getScheme() { - return new verifyKeyValueRecord_resultTupleScheme(); + public findCcl_resultTupleScheme getScheme() { + return new findCcl_resultTupleScheme(); } } - private static class verifyKeyValueRecord_resultTupleScheme - extends TupleScheme { + private static class findCcl_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecord_result struct) - throws org.apache.thrift.TException { + findCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetSuccess()) { @@ -328688,9 +468842,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - oprot.writeBool(struct.success); + { + oprot.writeI32(struct.success.size()); + for (long _iter3802 : struct.success) { + oprot.writeI64(_iter3802); + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -328701,16 +468863,29 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecord_result struct) - throws org.apache.thrift.TException { + findCcl_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.success = iprot.readBool(); + { + org.apache.thrift.protocol.TSet _set3803 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set3803.size); + long _elem3804; + for (int _i3805 = 0; _i3805 < _set3803.size; ++_i3805) { + _elem3804 = iprot.readI64(); + struct.success.add(_elem3804); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -328724,52 +468899,51 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class verifyKeyValueRecordTime_args implements - org.apache.thrift.TBase, + public static class findCclOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "verifyKeyValueRecordTime_args"); + "findCclOrder_args"); - private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( - "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( - "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 3); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 4); + private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 6); + (short) 4); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 7); + (short) 5); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new verifyKeyValueRecordTime_argsStandardSchemeFactory()); + new findCclOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new verifyKeyValueRecordTime_argsTupleSchemeFactory()); + new findCclOrder_argsTupleSchemeFactory()); } - public String key; // required - public com.cinchapi.concourse.thrift.TObject value; // required - public long record; // required - public long timestamp; // required + public String ccl; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -328779,13 +468953,11 @@ public static class verifyKeyValueRecordTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - KEY((short) 1, "key"), - VALUE((short) 2, "value"), - RECORD((short) 3, "record"), - TIMESTAMP((short) 4, "timestamp"), - CREDS((short) 5, "creds"), - TRANSACTION((short) 6, "transaction"), - ENVIRONMENT((short) 7, "environment"); + CCL((short) 1, "ccl"), + ORDER((short) 2, "order"), + CREDS((short) 3, "creds"), + TRANSACTION((short) 4, "transaction"), + ENVIRONMENT((short) 5, "environment"); private static final Map byName = new LinkedHashMap(); @@ -328801,19 +468973,15 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // KEY - return KEY; - case 2: // VALUE - return VALUE; - case 3: // RECORD - return RECORD; - case 4: // TIMESTAMP - return TIMESTAMP; - case 5: // CREDS + case 1: // CCL + return CCL; + case 2: // ORDER + return ORDER; + case 3: // CREDS return CREDS; - case 6: // TRANSACTION + case 4: // TRANSACTION return TRANSACTION; - case 7: // ENVIRONMENT + case 5: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -328859,34 +469027,21 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private static final int __TIMESTAMP_ISSET_ID = 1; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.KEY, - new org.apache.thrift.meta_data.FieldMetaData("key", + tmpMap.put(_Fields.CCL, + new org.apache.thrift.meta_data.FieldMetaData("ccl", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.VALUE, - new org.apache.thrift.meta_data.FieldMetaData("value", + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -328905,24 +469060,20 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - verifyKeyValueRecordTime_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(findCclOrder_args.class, metaDataMap); } - public verifyKeyValueRecordTime_args() {} + public findCclOrder_args() {} - public verifyKeyValueRecordTime_args(String key, - com.cinchapi.concourse.thrift.TObject value, long record, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + public findCclOrder_args(String ccl, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.key = key; - this.value = value; - this.record = record; - setRecordIsSet(true); - this.timestamp = timestamp; - setTimestampIsSet(true); + this.ccl = ccl; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -328931,18 +469082,14 @@ public verifyKeyValueRecordTime_args(String key, /** * Performs a deep copy on other. */ - public verifyKeyValueRecordTime_args( - verifyKeyValueRecordTime_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetKey()) { - this.key = other.key; + public findCclOrder_args(findCclOrder_args other) { + if(other.isSetCcl()) { + this.ccl = other.ccl; } - if(other.isSetValue()) { - this.value = new com.cinchapi.concourse.thrift.TObject( - other.value); + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.record = other.record; - this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -328956,140 +469103,79 @@ public verifyKeyValueRecordTime_args( } } - public verifyKeyValueRecordTime_args deepCopy() { - return new verifyKeyValueRecordTime_args(this); + public findCclOrder_args deepCopy() { + return new findCclOrder_args(this); } @Override public void clear() { - this.key = null; - this.value = null; - setRecordIsSet(false); - this.record = 0; - setTimestampIsSet(false); - this.timestamp = 0; + this.ccl = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getKey() { - return this.key; + public String getCcl() { + return this.ccl; } - public verifyKeyValueRecordTime_args setKey(String key) { - this.key = key; + public findCclOrder_args setCcl(String ccl) { + this.ccl = ccl; return this; } - public void unsetKey() { - this.key = null; + public void unsetCcl() { + this.ccl = null; } /** - * Returns true if field key is set (has been assigned a value) and + * Returns true if field ccl is set (has been assigned a value) and * false otherwise */ - public boolean isSetKey() { - return this.key != null; + public boolean isSetCcl() { + return this.ccl != null; } - public void setKeyIsSet(boolean value) { + public void setCclIsSet(boolean value) { if(!value) { - this.key = null; + this.ccl = null; } } - public com.cinchapi.concourse.thrift.TObject getValue() { - return this.value; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public verifyKeyValueRecordTime_args setValue( - com.cinchapi.concourse.thrift.TObject value) { - this.value = value; + public findCclOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetValue() { - this.value = null; + public void unsetOrder() { + this.order = null; } /** - * Returns true if field value is set (has been assigned a value) and + * Returns true if field order is set (has been assigned a value) and * false otherwise */ - public boolean isSetValue() { - return this.value != null; + public boolean isSetOrder() { + return this.order != null; } - public void setValueIsSet(boolean value) { + public void setOrderIsSet(boolean value) { if(!value) { - this.value = null; + this.order = null; } } - public long getRecord() { - return this.record; - } - - public verifyKeyValueRecordTime_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); - } - - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); - } - - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); - } - - public long getTimestamp() { - return this.timestamp; - } - - public verifyKeyValueRecordTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); - return this; - } - - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); - } - - /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise - */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); - } - - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); - } - public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public verifyKeyValueRecordTime_args setCreds( + public findCclOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -329117,7 +469203,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public verifyKeyValueRecordTime_args setTransaction( + public findCclOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -329145,8 +469231,7 @@ public String getEnvironment() { return this.environment; } - public verifyKeyValueRecordTime_args setEnvironment( - String environment) { + public findCclOrder_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -329171,39 +469256,21 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY: - if(value == null) { - unsetKey(); - } - else { - setKey((String) value); - } - break; - - case VALUE: - if(value == null) { - unsetValue(); - } - else { - setValue((com.cinchapi.concourse.thrift.TObject) value); - } - break; - - case RECORD: + case CCL: if(value == null) { - unsetRecord(); + unsetCcl(); } else { - setRecord((Long) value); + setCcl((String) value); } break; - case TIMESTAMP: + case ORDER: if(value == null) { - unsetTimestamp(); + unsetOrder(); } else { - setTimestamp((Long) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -329240,17 +469307,11 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case KEY: - return getKey(); - - case VALUE: - return getValue(); - - case RECORD: - return getRecord(); + case CCL: + return getCcl(); - case TIMESTAMP: - return getTimestamp(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -329275,14 +469336,10 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY: - return isSetKey(); - case VALUE: - return isSetValue(); - case RECORD: - return isSetRecord(); - case TIMESTAMP: - return isSetTimestamp(); + case CCL: + return isSetCcl(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -329297,48 +469354,30 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof verifyKeyValueRecordTime_args) - return this.equals((verifyKeyValueRecordTime_args) that); + if(that instanceof findCclOrder_args) + return this.equals((findCclOrder_args) that); return false; } - public boolean equals(verifyKeyValueRecordTime_args that) { + public boolean equals(findCclOrder_args that) { if(that == null) return false; - boolean this_present_key = true && this.isSetKey(); - boolean that_present_key = true && that.isSetKey(); - if(this_present_key || that_present_key) { - if(!(this_present_key && that_present_key)) - return false; - if(!this.key.equals(that.key)) - return false; - } - - boolean this_present_value = true && this.isSetValue(); - boolean that_present_value = true && that.isSetValue(); - if(this_present_value || that_present_value) { - if(!(this_present_value && that_present_value)) - return false; - if(!this.value.equals(that.value)) - return false; - } - - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_ccl = true && this.isSetCcl(); + boolean that_present_ccl = true && that.isSetCcl(); + if(this_present_ccl || that_present_ccl) { + if(!(this_present_ccl && that_present_ccl)) return false; - if(this.record != that.record) + if(!this.ccl.equals(that.ccl)) return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(this.timestamp != that.timestamp) + if(!this.order.equals(that.order)) return false; } @@ -329376,25 +469415,15 @@ public boolean equals(verifyKeyValueRecordTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key = true && (isSetKey()); - list.add(present_key); - if(present_key) - list.add(key); - - boolean present_value = true && (isSetValue()); - list.add(present_value); - if(present_value) - list.add(value); + boolean present_ccl = true && (isSetCcl()); + list.add(present_ccl); + if(present_ccl) + list.add(ccl); - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); - - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -329415,7 +469444,7 @@ public int hashCode() { } @Override - public int compareTo(verifyKeyValueRecordTime_args other) { + public int compareTo(findCclOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -329423,50 +469452,26 @@ public int compareTo(verifyKeyValueRecordTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey()) - .compareTo(other.isSetKey()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetKey()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.key, other.key); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetValue()) - .compareTo(other.isSetValue()); + lastComparison = Boolean.valueOf(isSetCcl()) + .compareTo(other.isSetCcl()); if(lastComparison != 0) { return lastComparison; } - if(isSetValue()) { + if(isSetCcl()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.value, other.value); + .compareTo(this.ccl, other.ccl); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetTimestamp()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -329526,38 +469531,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "verifyKeyValueRecordTime_args("); + StringBuilder sb = new StringBuilder("findCclOrder_args("); boolean first = true; - sb.append("key:"); - if(this.key == null) { + sb.append("ccl:"); + if(this.ccl == null) { sb.append("null"); } else { - sb.append(this.key); + sb.append(this.ccl); } first = false; if(!first) sb.append(", "); - sb.append("value:"); - if(this.value == null) { + sb.append("order:"); + if(this.order == null) { sb.append("null"); } else { - sb.append(this.value); + sb.append(this.order); } first = false; - if(!first) - sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); - first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -329595,8 +469589,8 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(value != null) { - value.validate(); + if(order != null) { + order.validate(); } if(creds != null) { creds.validate(); @@ -329621,10 +469615,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -329634,18 +469624,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class verifyKeyValueRecordTime_argsStandardSchemeFactory + private static class findCclOrder_argsStandardSchemeFactory implements SchemeFactory { - public verifyKeyValueRecordTime_argsStandardScheme getScheme() { - return new verifyKeyValueRecordTime_argsStandardScheme(); + public findCclOrder_argsStandardScheme getScheme() { + return new findCclOrder_argsStandardScheme(); } } - private static class verifyKeyValueRecordTime_argsStandardScheme - extends StandardScheme { + private static class findCclOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - verifyKeyValueRecordTime_args struct) + findCclOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -329655,48 +469645,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // KEY + case 1: // CCL if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // VALUE + case 2: // ORDER if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 4: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 5: // CREDS + case 3: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -329707,7 +469677,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // TRANSACTION + case 4: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -329718,7 +469688,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 7: // ENVIRONMENT + case 5: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -329742,27 +469712,21 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - verifyKeyValueRecordTime_args struct) + findCclOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.key != null) { - oprot.writeFieldBegin(KEY_FIELD_DESC); - oprot.writeString(struct.key); + if(struct.ccl != null) { + oprot.writeFieldBegin(CCL_FIELD_DESC); + oprot.writeString(struct.ccl); oprot.writeFieldEnd(); } - if(struct.value != null) { - oprot.writeFieldBegin(VALUE_FIELD_DESC); - struct.value.write(oprot); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -329784,55 +469748,43 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class verifyKeyValueRecordTime_argsTupleSchemeFactory + private static class findCclOrder_argsTupleSchemeFactory implements SchemeFactory { - public verifyKeyValueRecordTime_argsTupleScheme getScheme() { - return new verifyKeyValueRecordTime_argsTupleScheme(); + public findCclOrder_argsTupleScheme getScheme() { + return new findCclOrder_argsTupleScheme(); } } - private static class verifyKeyValueRecordTime_argsTupleScheme - extends TupleScheme { + private static class findCclOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecordTime_args struct) + findCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetKey()) { + if(struct.isSetCcl()) { optionals.set(0); } - if(struct.isSetValue()) { + if(struct.isSetOrder()) { optionals.set(1); } - if(struct.isSetRecord()) { - optionals.set(2); - } - if(struct.isSetTimestamp()) { - optionals.set(3); - } if(struct.isSetCreds()) { - optionals.set(4); + optionals.set(2); } if(struct.isSetTransaction()) { - optionals.set(5); + optionals.set(3); } if(struct.isSetEnvironment()) { - optionals.set(6); - } - oprot.writeBitSet(optionals, 7); - if(struct.isSetKey()) { - oprot.writeString(struct.key); - } - if(struct.isSetValue()) { - struct.value.write(oprot); + optionals.set(4); } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + oprot.writeBitSet(optionals, 5); + if(struct.isSetCcl()) { + oprot.writeString(struct.ccl); } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -329847,38 +469799,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecordTime_args struct) + findCclOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(7); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.key = iprot.readString(); - struct.setKeyIsSet(true); + struct.ccl = iprot.readString(); + struct.setCclIsSet(true); } if(incoming.get(1)) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(2)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); - } - if(incoming.get(3)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); - } - if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(3)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(6)) { + if(incoming.get(4)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -329887,35 +469831,38 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class verifyKeyValueRecordTime_result implements - org.apache.thrift.TBase, + public static class findCclOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "verifyKeyValueRecordTime_result"); + "findCclOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new verifyKeyValueRecordTime_resultStandardSchemeFactory()); + new findCclOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new verifyKeyValueRecordTime_resultTupleSchemeFactory()); + new findCclOrder_resultTupleSchemeFactory()); } - public boolean success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -329925,7 +469872,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -329949,6 +469897,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -329993,8 +469943,6 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -330002,8 +469950,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -330019,32 +469969,40 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - verifyKeyValueRecordTime_result.class, metaDataMap); + findCclOrder_result.class, metaDataMap); } - public verifyKeyValueRecordTime_result() {} + public findCclOrder_result() {} - public verifyKeyValueRecordTime_result(boolean success, + public findCclOrder_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; - setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public verifyKeyValueRecordTime_result( - verifyKeyValueRecordTime_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public findCclOrder_result(findCclOrder_result other) { + if(other.isSetSuccess()) { + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -330054,37 +470012,54 @@ public verifyKeyValueRecordTime_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public verifyKeyValueRecordTime_result deepCopy() { - return new verifyKeyValueRecordTime_result(this); + public findCclOrder_result deepCopy() { + return new findCclOrder_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } - public boolean isSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(long elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { return this.success; } - public verifyKeyValueRecordTime_result setSuccess(boolean success) { + public findCclOrder_result setSuccess(Set success) { this.success = success; - setSuccessIsSet(true); return this; } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __SUCCESS_ISSET_ID); + this.success = null; } /** @@ -330092,19 +470067,20 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __SUCCESS_ISSET_ID, value); + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public verifyKeyValueRecordTime_result setEx( + public findCclOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -330132,7 +470108,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public verifyKeyValueRecordTime_result setEx2( + public findCclOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -330156,12 +470132,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public verifyKeyValueRecordTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public findCclOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -330184,6 +470160,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public findCclOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -330191,7 +470195,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Boolean) value); + setSuccess((Set) value); } break; @@ -330218,7 +470222,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -330228,7 +470241,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); case EX: return getEx(); @@ -330239,6 +470252,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -330261,6 +470277,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -330269,21 +470287,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof verifyKeyValueRecordTime_result) - return this.equals((verifyKeyValueRecordTime_result) that); + if(that instanceof findCclOrder_result) + return this.equals((findCclOrder_result) that); return false; } - public boolean equals(verifyKeyValueRecordTime_result that) { + public boolean equals(findCclOrder_result that) { if(that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(this.success != that.success) + if(!this.success.equals(that.success)) return false; } @@ -330314,6 +470332,15 @@ public boolean equals(verifyKeyValueRecordTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -330321,7 +470348,7 @@ public boolean equals(verifyKeyValueRecordTime_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if(present_success) list.add(success); @@ -330341,11 +470368,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(verifyKeyValueRecordTime_result other) { + public int compareTo(findCclOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -330401,6 +470433,18 @@ public int compareTo(verifyKeyValueRecordTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -330420,12 +470464,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "verifyKeyValueRecordTime_result("); + StringBuilder sb = new StringBuilder("findCclOrder_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } first = false; if(!first) sb.append(", "); @@ -330457,6 +470505,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -330481,10 +470539,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -330494,18 +470548,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class verifyKeyValueRecordTime_resultStandardSchemeFactory + private static class findCclOrder_resultStandardSchemeFactory implements SchemeFactory { - public verifyKeyValueRecordTime_resultStandardScheme getScheme() { - return new verifyKeyValueRecordTime_resultStandardScheme(); + public findCclOrder_resultStandardScheme getScheme() { + return new findCclOrder_resultStandardScheme(); } } - private static class verifyKeyValueRecordTime_resultStandardScheme - extends StandardScheme { + private static class findCclOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - verifyKeyValueRecordTime_result struct) + findCclOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -330516,8 +470570,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set3806 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set3806.size); + long _elem3807; + for (int _i3808 = 0; _i3808 < _set3806.size; ++_i3808) { + _elem3807 = iprot.readI64(); + struct.success.add(_elem3807); + } + iprot.readSetEnd(); + } struct.setSuccessIsSet(true); } else { @@ -330549,7 +470614,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -330558,6 +470623,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -330572,14 +470648,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - verifyKeyValueRecordTime_result struct) + findCclOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.isSetSuccess()) { + if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + struct.success.size())); + for (long _iter3809 : struct.success) { + oprot.writeI64(_iter3809); + } + oprot.writeSetEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -330597,25 +470681,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class verifyKeyValueRecordTime_resultTupleSchemeFactory + private static class findCclOrder_resultTupleSchemeFactory implements SchemeFactory { - public verifyKeyValueRecordTime_resultTupleScheme getScheme() { - return new verifyKeyValueRecordTime_resultTupleScheme(); + public findCclOrder_resultTupleScheme getScheme() { + return new findCclOrder_resultTupleScheme(); } } - private static class verifyKeyValueRecordTime_resultTupleScheme - extends TupleScheme { + private static class findCclOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecordTime_result struct) + findCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -330631,9 +470720,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { - oprot.writeBool(struct.success); + { + oprot.writeI32(struct.success.size()); + for (long _iter3810 : struct.success) { + oprot.writeI64(_iter3810); + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -330644,16 +470741,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecordTime_result struct) + findCclOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { - struct.success = iprot.readBool(); + { + org.apache.thrift.protocol.TSet _set3811 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set3811.size); + long _elem3812; + for (int _i3813 = 0; _i3813 < _set3811.size; ++_i3813) { + _elem3812 = iprot.readI64(); + struct.success.add(_elem3812); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -330667,53 +470778,58 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class verifyKeyValueRecordTimestr_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorValues_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "verifyKeyValueRecordTimestr_args"); + "findKeyOperatorValues_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField( - "value", org.apache.thrift.protocol.TType.STRUCT, (short) 2); - private static final org.apache.thrift.protocol.TField RECORD_FIELD_DESC = new org.apache.thrift.protocol.TField( - "record", org.apache.thrift.protocol.TType.I64, (short) 3); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 4); + private static final org.apache.thrift.protocol.TField OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField( + "operator", org.apache.thrift.protocol.TType.I32, (short) 2); + private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( + "values", org.apache.thrift.protocol.TType.LIST, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 6); + (short) 5); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 7); + (short) 6); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new verifyKeyValueRecordTimestr_argsStandardSchemeFactory()); + new findKeyOperatorValues_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new verifyKeyValueRecordTimestr_argsTupleSchemeFactory()); + new findKeyOperatorValues_argsTupleSchemeFactory()); } public String key; // required - public com.cinchapi.concourse.thrift.TObject value; // required - public long record; // required - public String timestamp; // required + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator operator; // required + public List values; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -330724,12 +470840,15 @@ public static class verifyKeyValueRecordTimestr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - VALUE((short) 2, "value"), - RECORD((short) 3, "record"), - TIMESTAMP((short) 4, "timestamp"), - CREDS((short) 5, "creds"), - TRANSACTION((short) 6, "transaction"), - ENVIRONMENT((short) 7, "environment"); + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + OPERATOR((short) 2, "operator"), + VALUES((short) 3, "values"), + CREDS((short) 4, "creds"), + TRANSACTION((short) 5, "transaction"), + ENVIRONMENT((short) 6, "environment"); private static final Map byName = new LinkedHashMap(); @@ -330747,17 +470866,15 @@ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { case 1: // KEY return KEY; - case 2: // VALUE - return VALUE; - case 3: // RECORD - return RECORD; - case 4: // TIMESTAMP - return TIMESTAMP; - case 5: // CREDS + case 2: // OPERATOR + return OPERATOR; + case 3: // VALUES + return VALUES; + case 4: // CREDS return CREDS; - case 6: // TRANSACTION + case 5: // TRANSACTION return TRANSACTION; - case 7: // ENVIRONMENT + case 6: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -330803,8 +470920,6 @@ public String getFieldName() { } // isset id assignments - private static final int __RECORD_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -330814,22 +470929,20 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.VALUE, - new org.apache.thrift.meta_data.FieldMetaData("value", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TObject.class))); - tmpMap.put(_Fields.RECORD, - new org.apache.thrift.meta_data.FieldMetaData("record", + tmpMap.put(_Fields.OPERATOR, + new org.apache.thrift.meta_data.FieldMetaData("operator", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Operator.class))); + tmpMap.put(_Fields.VALUES, + new org.apache.thrift.meta_data.FieldMetaData("values", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -330849,23 +470962,21 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - verifyKeyValueRecordTimestr_args.class, metaDataMap); + findKeyOperatorValues_args.class, metaDataMap); } - public verifyKeyValueRecordTimestr_args() {} + public findKeyOperatorValues_args() {} - public verifyKeyValueRecordTimestr_args(String key, - com.cinchapi.concourse.thrift.TObject value, long record, - String timestamp, + public findKeyOperatorValues_args(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; - this.value = value; - this.record = record; - setRecordIsSet(true); - this.timestamp = timestamp; + this.operator = operator; + this.values = values; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -330874,19 +470985,22 @@ public verifyKeyValueRecordTimestr_args(String key, /** * Performs a deep copy on other. */ - public verifyKeyValueRecordTimestr_args( - verifyKeyValueRecordTimestr_args other) { - __isset_bitfield = other.__isset_bitfield; + public findKeyOperatorValues_args(findKeyOperatorValues_args other) { if(other.isSetKey()) { this.key = other.key; } - if(other.isSetValue()) { - this.value = new com.cinchapi.concourse.thrift.TObject( - other.value); + if(other.isSetOperator()) { + this.operator = other.operator; } - this.record = other.record; - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + if(other.isSetValues()) { + List __this__values = new ArrayList( + other.values.size()); + for (com.cinchapi.concourse.thrift.TObject other_element : other.values) { + __this__values + .add(new com.cinchapi.concourse.thrift.TObject( + other_element)); + } + this.values = __this__values; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -330901,17 +471015,15 @@ public verifyKeyValueRecordTimestr_args( } } - public verifyKeyValueRecordTimestr_args deepCopy() { - return new verifyKeyValueRecordTimestr_args(this); + public findKeyOperatorValues_args deepCopy() { + return new findKeyOperatorValues_args(this); } @Override public void clear() { this.key = null; - this.value = null; - setRecordIsSet(false); - this.record = 0; - this.timestamp = null; + this.operator = null; + this.values = null; this.creds = null; this.transaction = null; this.environment = null; @@ -330921,7 +471033,7 @@ public String getKey() { return this.key; } - public verifyKeyValueRecordTimestr_args setKey(String key) { + public findKeyOperatorValues_args setKey(String key) { this.key = key; return this; } @@ -330944,86 +471056,82 @@ public void setKeyIsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.TObject getValue() { - return this.value; + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator getOperator() { + return this.operator; } - public verifyKeyValueRecordTimestr_args setValue( - com.cinchapi.concourse.thrift.TObject value) { - this.value = value; + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public findKeyOperatorValues_args setOperator( + com.cinchapi.concourse.thrift.Operator operator) { + this.operator = operator; return this; } - public void unsetValue() { - this.value = null; + public void unsetOperator() { + this.operator = null; } /** - * Returns true if field value is set (has been assigned a value) and + * Returns true if field operator is set (has been assigned a value) and * false otherwise */ - public boolean isSetValue() { - return this.value != null; + public boolean isSetOperator() { + return this.operator != null; } - public void setValueIsSet(boolean value) { + public void setOperatorIsSet(boolean value) { if(!value) { - this.value = null; + this.operator = null; } } - public long getRecord() { - return this.record; - } - - public verifyKeyValueRecordTimestr_args setRecord(long record) { - this.record = record; - setRecordIsSet(true); - return this; - } - - public void unsetRecord() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __RECORD_ISSET_ID); + public int getValuesSize() { + return (this.values == null) ? 0 : this.values.size(); } - /** - * Returns true if field record is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetRecord() { - return EncodingUtils.testBit(__isset_bitfield, __RECORD_ISSET_ID); + public java.util.Iterator getValuesIterator() { + return (this.values == null) ? null : this.values.iterator(); } - public void setRecordIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __RECORD_ISSET_ID, value); + public void addToValues(com.cinchapi.concourse.thrift.TObject elem) { + if(this.values == null) { + this.values = new ArrayList(); + } + this.values.add(elem); } - public String getTimestamp() { - return this.timestamp; + public List getValues() { + return this.values; } - public verifyKeyValueRecordTimestr_args setTimestamp(String timestamp) { - this.timestamp = timestamp; + public findKeyOperatorValues_args setValues( + List values) { + this.values = values; return this; } - public void unsetTimestamp() { - this.timestamp = null; + public void unsetValues() { + this.values = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field values is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return this.timestamp != null; + public boolean isSetValues() { + return this.values != null; } - public void setTimestampIsSet(boolean value) { + public void setValuesIsSet(boolean value) { if(!value) { - this.timestamp = null; + this.values = null; } } @@ -331031,7 +471139,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public verifyKeyValueRecordTimestr_args setCreds( + public findKeyOperatorValues_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -331059,7 +471167,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public verifyKeyValueRecordTimestr_args setTransaction( + public findKeyOperatorValues_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -331087,8 +471195,7 @@ public String getEnvironment() { return this.environment; } - public verifyKeyValueRecordTimestr_args setEnvironment( - String environment) { + public findKeyOperatorValues_args setEnvironment(String environment) { this.environment = environment; return this; } @@ -331122,30 +471229,22 @@ public void setFieldValue(_Fields field, Object value) { } break; - case VALUE: - if(value == null) { - unsetValue(); - } - else { - setValue((com.cinchapi.concourse.thrift.TObject) value); - } - break; - - case RECORD: + case OPERATOR: if(value == null) { - unsetRecord(); + unsetOperator(); } else { - setRecord((Long) value); + setOperator((com.cinchapi.concourse.thrift.Operator) value); } break; - case TIMESTAMP: + case VALUES: if(value == null) { - unsetTimestamp(); + unsetValues(); } else { - setTimestamp((String) value); + setValues( + (List) value); } break; @@ -331185,14 +471284,11 @@ public Object getFieldValue(_Fields field) { case KEY: return getKey(); - case VALUE: - return getValue(); - - case RECORD: - return getRecord(); + case OPERATOR: + return getOperator(); - case TIMESTAMP: - return getTimestamp(); + case VALUES: + return getValues(); case CREDS: return getCreds(); @@ -331219,12 +471315,10 @@ public boolean isSet(_Fields field) { switch (field) { case KEY: return isSetKey(); - case VALUE: - return isSetValue(); - case RECORD: - return isSetRecord(); - case TIMESTAMP: - return isSetTimestamp(); + case OPERATOR: + return isSetOperator(); + case VALUES: + return isSetValues(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -331239,12 +471333,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof verifyKeyValueRecordTimestr_args) - return this.equals((verifyKeyValueRecordTimestr_args) that); + if(that instanceof findKeyOperatorValues_args) + return this.equals((findKeyOperatorValues_args) that); return false; } - public boolean equals(verifyKeyValueRecordTimestr_args that) { + public boolean equals(findKeyOperatorValues_args that) { if(that == null) return false; @@ -331257,30 +471351,21 @@ public boolean equals(verifyKeyValueRecordTimestr_args that) { return false; } - boolean this_present_value = true && this.isSetValue(); - boolean that_present_value = true && that.isSetValue(); - if(this_present_value || that_present_value) { - if(!(this_present_value && that_present_value)) - return false; - if(!this.value.equals(that.value)) - return false; - } - - boolean this_present_record = true; - boolean that_present_record = true; - if(this_present_record || that_present_record) { - if(!(this_present_record && that_present_record)) + boolean this_present_operator = true && this.isSetOperator(); + boolean that_present_operator = true && that.isSetOperator(); + if(this_present_operator || that_present_operator) { + if(!(this_present_operator && that_present_operator)) return false; - if(this.record != that.record) + if(!this.operator.equals(that.operator)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_values = true && this.isSetValues(); + boolean that_present_values = true && that.isSetValues(); + if(this_present_values || that_present_values) { + if(!(this_present_values && that_present_values)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(!this.values.equals(that.values)) return false; } @@ -331323,20 +471408,15 @@ public int hashCode() { if(present_key) list.add(key); - boolean present_value = true && (isSetValue()); - list.add(present_value); - if(present_value) - list.add(value); - - boolean present_record = true; - list.add(present_record); - if(present_record) - list.add(record); + boolean present_operator = true && (isSetOperator()); + list.add(present_operator); + if(present_operator) + list.add(operator.getValue()); - boolean present_timestamp = true && (isSetTimestamp()); - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_values = true && (isSetValues()); + list.add(present_values); + if(present_values) + list.add(values); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -331357,7 +471437,7 @@ public int hashCode() { } @Override - public int compareTo(verifyKeyValueRecordTimestr_args other) { + public int compareTo(findKeyOperatorValues_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -331377,38 +471457,26 @@ public int compareTo(verifyKeyValueRecordTimestr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetValue()) - .compareTo(other.isSetValue()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.value, other.value); - if(lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetRecord()) - .compareTo(other.isSetRecord()); + lastComparison = Boolean.valueOf(isSetOperator()) + .compareTo(other.isSetOperator()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecord()) { + if(isSetOperator()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.record, other.record); + .compareTo(this.operator, other.operator); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetValues()) + .compareTo(other.isSetValues()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetValues()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.values, other.values); if(lastComparison != 0) { return lastComparison; } @@ -331468,8 +471536,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder( - "verifyKeyValueRecordTimestr_args("); + StringBuilder sb = new StringBuilder("findKeyOperatorValues_args("); boolean first = true; sb.append("key:"); @@ -331482,27 +471549,22 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("value:"); - if(this.value == null) { + sb.append("operator:"); + if(this.operator == null) { sb.append("null"); } else { - sb.append(this.value); + sb.append(this.operator); } first = false; if(!first) sb.append(", "); - sb.append("record:"); - sb.append(this.record); - first = false; - if(!first) - sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("values:"); + if(this.values == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.values); } first = false; if(!first) @@ -331542,9 +471604,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(value != null) { - value.validate(); - } if(creds != null) { creds.validate(); } @@ -331568,10 +471627,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -331581,18 +471636,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class verifyKeyValueRecordTimestr_argsStandardSchemeFactory + private static class findKeyOperatorValues_argsStandardSchemeFactory implements SchemeFactory { - public verifyKeyValueRecordTimestr_argsStandardScheme getScheme() { - return new verifyKeyValueRecordTimestr_argsStandardScheme(); + public findKeyOperatorValues_argsStandardScheme getScheme() { + return new findKeyOperatorValues_argsStandardScheme(); } } - private static class verifyKeyValueRecordTimestr_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorValues_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - verifyKeyValueRecordTimestr_args struct) + findKeyOperatorValues_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -331612,38 +471667,40 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 2: // VALUE - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 3: // RECORD - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + case 2: // OPERATOR + if(schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); + case 3: // VALUES + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3814 = iprot + .readListBegin(); + struct.values = new ArrayList( + _list3814.size); + com.cinchapi.concourse.thrift.TObject _elem3815; + for (int _i3816 = 0; _i3816 < _list3814.size; ++_i3816) { + _elem3815 = new com.cinchapi.concourse.thrift.TObject(); + _elem3815.read(iprot); + struct.values.add(_elem3815); + } + iprot.readListEnd(); + } + struct.setValuesIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 5: // CREDS + case 4: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -331654,7 +471711,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // TRANSACTION + case 5: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -331665,7 +471722,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 7: // ENVIRONMENT + case 6: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -331689,7 +471746,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - verifyKeyValueRecordTimestr_args struct) + findKeyOperatorValues_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -331699,17 +471756,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.key); oprot.writeFieldEnd(); } - if(struct.value != null) { - oprot.writeFieldBegin(VALUE_FIELD_DESC); - struct.value.write(oprot); + if(struct.operator != null) { + oprot.writeFieldBegin(OPERATOR_FIELD_DESC); + oprot.writeI32(struct.operator.getValue()); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(RECORD_FIELD_DESC); - oprot.writeI64(struct.record); - oprot.writeFieldEnd(); - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + if(struct.values != null) { + oprot.writeFieldBegin(VALUES_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, + struct.values.size())); + for (com.cinchapi.concourse.thrift.TObject _iter3817 : struct.values) { + _iter3817.write(oprot); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -331733,55 +471796,54 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class verifyKeyValueRecordTimestr_argsTupleSchemeFactory + private static class findKeyOperatorValues_argsTupleSchemeFactory implements SchemeFactory { - public verifyKeyValueRecordTimestr_argsTupleScheme getScheme() { - return new verifyKeyValueRecordTimestr_argsTupleScheme(); + public findKeyOperatorValues_argsTupleScheme getScheme() { + return new findKeyOperatorValues_argsTupleScheme(); } } - private static class verifyKeyValueRecordTimestr_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorValues_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecordTimestr_args struct) + findKeyOperatorValues_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetValue()) { + if(struct.isSetOperator()) { optionals.set(1); } - if(struct.isSetRecord()) { + if(struct.isSetValues()) { optionals.set(2); } - if(struct.isSetTimestamp()) { - optionals.set(3); - } if(struct.isSetCreds()) { - optionals.set(4); + optionals.set(3); } if(struct.isSetTransaction()) { - optionals.set(5); + optionals.set(4); } if(struct.isSetEnvironment()) { - optionals.set(6); + optionals.set(5); } - oprot.writeBitSet(optionals, 7); + oprot.writeBitSet(optionals, 6); if(struct.isSetKey()) { oprot.writeString(struct.key); } - if(struct.isSetValue()) { - struct.value.write(oprot); - } - if(struct.isSetRecord()) { - oprot.writeI64(struct.record); + if(struct.isSetOperator()) { + oprot.writeI32(struct.operator.getValue()); } - if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + if(struct.isSetValues()) { + { + oprot.writeI32(struct.values.size()); + for (com.cinchapi.concourse.thrift.TObject _iter3818 : struct.values) { + _iter3818.write(oprot); + } + } } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -331796,38 +471858,46 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecordTimestr_args struct) + findKeyOperatorValues_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(7); + BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.value = new com.cinchapi.concourse.thrift.TObject(); - struct.value.read(iprot); - struct.setValueIsSet(true); + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); } if(incoming.get(2)) { - struct.record = iprot.readI64(); - struct.setRecordIsSet(true); + { + org.apache.thrift.protocol.TList _list3819 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + struct.values = new ArrayList( + _list3819.size); + com.cinchapi.concourse.thrift.TObject _elem3820; + for (int _i3821 = 0; _i3821 < _list3819.size; ++_i3821) { + _elem3820 = new com.cinchapi.concourse.thrift.TObject(); + _elem3820.read(iprot); + struct.values.add(_elem3820); + } + } + struct.setValuesIsSet(true); } if(incoming.get(3)) { - struct.timestamp = iprot.readString(); - struct.setTimestampIsSet(true); - } - if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(4)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(6)) { + if(incoming.get(5)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -331836,38 +471906,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class verifyKeyValueRecordTimestr_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorValues_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "verifyKeyValueRecordTimestr_result"); + "findKeyOperatorValues_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.BOOL, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new verifyKeyValueRecordTimestr_resultStandardSchemeFactory()); + new findKeyOperatorValues_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new verifyKeyValueRecordTimestr_resultTupleSchemeFactory()); + new findKeyOperatorValues_resultTupleSchemeFactory()); } - public boolean success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -331877,8 +471944,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -331902,8 +471968,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -331948,8 +472012,6 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -331957,8 +472019,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -331974,39 +472038,34 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - verifyKeyValueRecordTimestr_result.class, metaDataMap); + findKeyOperatorValues_result.class, metaDataMap); } - public verifyKeyValueRecordTimestr_result() {} + public findKeyOperatorValues_result() {} - public verifyKeyValueRecordTimestr_result(boolean success, + public findKeyOperatorValues_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; - setSuccessIsSet(true); this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public verifyKeyValueRecordTimestr_result( - verifyKeyValueRecordTimestr_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public findKeyOperatorValues_result( + findKeyOperatorValues_result other) { + if(other.isSetSuccess()) { + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; + } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( other.ex); @@ -332016,42 +472075,49 @@ public verifyKeyValueRecordTimestr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public verifyKeyValueRecordTimestr_result deepCopy() { - return new verifyKeyValueRecordTimestr_result(this); + public findKeyOperatorValues_result deepCopy() { + return new findKeyOperatorValues_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } - public boolean isSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(long elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { return this.success; } - public verifyKeyValueRecordTimestr_result setSuccess(boolean success) { + public findKeyOperatorValues_result setSuccess(Set success) { this.success = success; - setSuccessIsSet(true); return this; } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __SUCCESS_ISSET_ID); + this.success = null; } /** @@ -332059,19 +472125,20 @@ public void unsetSuccess() { * false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __SUCCESS_ISSET_ID, value); + if(!value) { + this.success = null; + } } public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public verifyKeyValueRecordTimestr_result setEx( + public findKeyOperatorValues_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -332099,7 +472166,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public verifyKeyValueRecordTimestr_result setEx2( + public findKeyOperatorValues_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -332123,12 +472190,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public verifyKeyValueRecordTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public findKeyOperatorValues_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -332151,34 +472218,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public verifyKeyValueRecordTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -332186,7 +472225,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((Boolean) value); + setSuccess((Set) value); } break; @@ -332213,16 +472252,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -332232,7 +472262,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); case EX: return getEx(); @@ -332243,9 +472273,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -332268,8 +472295,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -332278,21 +472303,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof verifyKeyValueRecordTimestr_result) - return this.equals((verifyKeyValueRecordTimestr_result) that); + if(that instanceof findKeyOperatorValues_result) + return this.equals((findKeyOperatorValues_result) that); return false; } - public boolean equals(verifyKeyValueRecordTimestr_result that) { + public boolean equals(findKeyOperatorValues_result that) { if(that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); if(this_present_success || that_present_success) { if(!(this_present_success && that_present_success)) return false; - if(this.success != that.success) + if(!this.success.equals(that.success)) return false; } @@ -332323,15 +472348,6 @@ public boolean equals(verifyKeyValueRecordTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -332339,7 +472355,7 @@ public boolean equals(verifyKeyValueRecordTimestr_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if(present_success) list.add(success); @@ -332359,16 +472375,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(verifyKeyValueRecordTimestr_result other) { + public int compareTo(findKeyOperatorValues_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -332424,18 +472435,6 @@ public int compareTo(verifyKeyValueRecordTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -332456,11 +472455,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "verifyKeyValueRecordTimestr_result("); + "findKeyOperatorValues_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if(this.success == null) { + sb.append("null"); + } + else { + sb.append(this.success); + } first = false; if(!first) sb.append(", "); @@ -332492,16 +472496,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -332526,10 +472520,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -332539,18 +472529,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class verifyKeyValueRecordTimestr_resultStandardSchemeFactory + private static class findKeyOperatorValues_resultStandardSchemeFactory implements SchemeFactory { - public verifyKeyValueRecordTimestr_resultStandardScheme getScheme() { - return new verifyKeyValueRecordTimestr_resultStandardScheme(); + public findKeyOperatorValues_resultStandardScheme getScheme() { + return new findKeyOperatorValues_resultStandardScheme(); } } - private static class verifyKeyValueRecordTimestr_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorValues_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - verifyKeyValueRecordTimestr_result struct) + findKeyOperatorValues_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -332561,8 +472551,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set3822 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set3822.size); + long _elem3823; + for (int _i3824 = 0; _i3824 < _set3822.size; ++_i3824) { + _elem3823 = iprot.readI64(); + struct.success.add(_elem3823); + } + iprot.readSetEnd(); + } struct.setSuccessIsSet(true); } else { @@ -332594,7 +472595,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -332603,17 +472604,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -332628,14 +472618,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - verifyKeyValueRecordTimestr_result struct) + findKeyOperatorValues_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.isSetSuccess()) { + if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + struct.success.size())); + for (long _iter3825 : struct.success) { + oprot.writeI64(_iter3825); + } + oprot.writeSetEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -332653,30 +472651,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class verifyKeyValueRecordTimestr_resultTupleSchemeFactory + private static class findKeyOperatorValues_resultTupleSchemeFactory implements SchemeFactory { - public verifyKeyValueRecordTimestr_resultTupleScheme getScheme() { - return new verifyKeyValueRecordTimestr_resultTupleScheme(); + public findKeyOperatorValues_resultTupleScheme getScheme() { + return new findKeyOperatorValues_resultTupleScheme(); } } - private static class verifyKeyValueRecordTimestr_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorValues_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecordTimestr_result struct) + findKeyOperatorValues_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -332692,12 +472685,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - oprot.writeBool(struct.success); + { + oprot.writeI32(struct.success.size()); + for (long _iter3826 : struct.success) { + oprot.writeI64(_iter3826); + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -332708,19 +472703,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - verifyKeyValueRecordTimestr_result struct) + findKeyOperatorValues_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.success = iprot.readBool(); + { + org.apache.thrift.protocol.TSet _set3827 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set3827.size); + long _elem3828; + for (int _i3829 = 0; _i3829 < _set3827.size; ++_i3829) { + _elem3828 = iprot.readI64(); + struct.success.add(_elem3828); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -332734,51 +472737,56 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class jsonifyRecords_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorValuesOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "jsonifyRecords_args"); + "findKeyOperatorValuesOrder_args"); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 1); - private static final org.apache.thrift.protocol.TField IDENTIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField( - "identifier", org.apache.thrift.protocol.TType.BOOL, (short) 2); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField( + "operator", org.apache.thrift.protocol.TType.I32, (short) 2); + private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( + "values", org.apache.thrift.protocol.TType.LIST, (short) 3); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 4); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 5); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new jsonifyRecords_argsStandardSchemeFactory()); + new findKeyOperatorValuesOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new jsonifyRecords_argsTupleSchemeFactory()); + new findKeyOperatorValuesOrder_argsTupleSchemeFactory()); } - public List records; // required - public boolean identifier; // required + public String key; // required + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator operator; // required + public List values; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -332788,11 +472796,17 @@ public static class jsonifyRecords_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORDS((short) 1, "records"), - IDENTIFIER((short) 2, "identifier"), - CREDS((short) 3, "creds"), - TRANSACTION((short) 4, "transaction"), - ENVIRONMENT((short) 5, "environment"); + KEY((short) 1, "key"), + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + OPERATOR((short) 2, "operator"), + VALUES((short) 3, "values"), + ORDER((short) 4, "order"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -332808,15 +472822,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORDS - return RECORDS; - case 2: // IDENTIFIER - return IDENTIFIER; - case 3: // CREDS + case 1: // KEY + return KEY; + case 2: // OPERATOR + return OPERATOR; + case 3: // VALUES + return VALUES; + case 4: // ORDER + return ORDER; + case 5: // CREDS return CREDS; - case 4: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -332862,24 +472880,35 @@ public String getFieldName() { } // isset id assignments - private static final int __IDENTIFIER_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.OPERATOR, + new org.apache.thrift.meta_data.FieldMetaData("operator", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Operator.class))); + tmpMap.put(_Fields.VALUES, + new org.apache.thrift.meta_data.FieldMetaData("values", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); - tmpMap.put(_Fields.IDENTIFIER, - new org.apache.thrift.meta_data.FieldMetaData("identifier", + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -332899,19 +472928,23 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - jsonifyRecords_args.class, metaDataMap); + findKeyOperatorValuesOrder_args.class, metaDataMap); } - public jsonifyRecords_args() {} + public findKeyOperatorValuesOrder_args() {} - public jsonifyRecords_args(List records, boolean identifier, + public findKeyOperatorValuesOrder_args(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.records = records; - this.identifier = identifier; - setIdentifierIsSet(true); + this.key = key; + this.operator = operator; + this.values = values; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -332920,13 +472953,28 @@ public jsonifyRecords_args(List records, boolean identifier, /** * Performs a deep copy on other. */ - public jsonifyRecords_args(jsonifyRecords_args other) { - __isset_bitfield = other.__isset_bitfield; - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + public findKeyOperatorValuesOrder_args( + findKeyOperatorValuesOrder_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetOperator()) { + this.operator = other.operator; + } + if(other.isSetValues()) { + List __this__values = new ArrayList( + other.values.size()); + for (com.cinchapi.concourse.thrift.TObject other_element : other.values) { + __this__values + .add(new com.cinchapi.concourse.thrift.TObject( + other_element)); + } + this.values = __this__values; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.identifier = other.identifier; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -332940,96 +472988,160 @@ public jsonifyRecords_args(jsonifyRecords_args other) { } } - public jsonifyRecords_args deepCopy() { - return new jsonifyRecords_args(this); + public findKeyOperatorValuesOrder_args deepCopy() { + return new findKeyOperatorValuesOrder_args(this); } @Override public void clear() { - this.records = null; - setIdentifierIsSet(false); - this.identifier = false; + this.key = null; + this.operator = null; + this.values = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); + public String getKey() { + return this.key; } - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); + public findKeyOperatorValuesOrder_args setKey(String key) { + this.key = key; + return this; } - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; } - this.records.add(elem); } - public List getRecords() { - return this.records; + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator getOperator() { + return this.operator; } - public jsonifyRecords_args setRecords(List records) { - this.records = records; + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public findKeyOperatorValuesOrder_args setOperator( + com.cinchapi.concourse.thrift.Operator operator) { + this.operator = operator; return this; } - public void unsetRecords() { - this.records = null; + public void unsetOperator() { + this.operator = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field operator is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetOperator() { + return this.operator != null; } - public void setRecordsIsSet(boolean value) { + public void setOperatorIsSet(boolean value) { if(!value) { - this.records = null; + this.operator = null; } } - public boolean isIdentifier() { - return this.identifier; + public int getValuesSize() { + return (this.values == null) ? 0 : this.values.size(); } - public jsonifyRecords_args setIdentifier(boolean identifier) { - this.identifier = identifier; - setIdentifierIsSet(true); + public java.util.Iterator getValuesIterator() { + return (this.values == null) ? null : this.values.iterator(); + } + + public void addToValues(com.cinchapi.concourse.thrift.TObject elem) { + if(this.values == null) { + this.values = new ArrayList(); + } + this.values.add(elem); + } + + public List getValues() { + return this.values; + } + + public findKeyOperatorValuesOrder_args setValues( + List values) { + this.values = values; return this; } - public void unsetIdentifier() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __IDENTIFIER_ISSET_ID); + public void unsetValues() { + this.values = null; } /** - * Returns true if field identifier is set (has been assigned a value) - * and false otherwise + * Returns true if field values is set (has been assigned a value) and + * false otherwise */ - public boolean isSetIdentifier() { - return EncodingUtils.testBit(__isset_bitfield, - __IDENTIFIER_ISSET_ID); + public boolean isSetValues() { + return this.values != null; } - public void setIdentifierIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __IDENTIFIER_ISSET_ID, value); + public void setValuesIsSet(boolean value) { + if(!value) { + this.values = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public findKeyOperatorValuesOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public jsonifyRecords_args setCreds( + public findKeyOperatorValuesOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -333057,7 +473169,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public jsonifyRecords_args setTransaction( + public findKeyOperatorValuesOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -333085,7 +473197,8 @@ public String getEnvironment() { return this.environment; } - public jsonifyRecords_args setEnvironment(String environment) { + public findKeyOperatorValuesOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -333110,21 +473223,40 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORDS: + case KEY: if(value == null) { - unsetRecords(); + unsetKey(); } else { - setRecords((List) value); + setKey((String) value); } break; - case IDENTIFIER: + case OPERATOR: if(value == null) { - unsetIdentifier(); + unsetOperator(); } else { - setIdentifier((Boolean) value); + setOperator((com.cinchapi.concourse.thrift.Operator) value); + } + break; + + case VALUES: + if(value == null) { + unsetValues(); + } + else { + setValues( + (List) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -333161,11 +473293,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORDS: - return getRecords(); + case KEY: + return getKey(); - case IDENTIFIER: - return isIdentifier(); + case OPERATOR: + return getOperator(); + + case VALUES: + return getValues(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -333190,10 +473328,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORDS: - return isSetRecords(); - case IDENTIFIER: - return isSetIdentifier(); + case KEY: + return isSetKey(); + case OPERATOR: + return isSetOperator(); + case VALUES: + return isSetValues(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -333208,30 +473350,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof jsonifyRecords_args) - return this.equals((jsonifyRecords_args) that); + if(that instanceof findKeyOperatorValuesOrder_args) + return this.equals((findKeyOperatorValuesOrder_args) that); return false; } - public boolean equals(jsonifyRecords_args that) { + public boolean equals(findKeyOperatorValuesOrder_args that) { if(that == null) return false; - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.records.equals(that.records)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_identifier = true; - boolean that_present_identifier = true; - if(this_present_identifier || that_present_identifier) { - if(!(this_present_identifier && that_present_identifier)) + boolean this_present_operator = true && this.isSetOperator(); + boolean that_present_operator = true && that.isSetOperator(); + if(this_present_operator || that_present_operator) { + if(!(this_present_operator && that_present_operator)) return false; - if(this.identifier != that.identifier) + if(!this.operator.equals(that.operator)) + return false; + } + + boolean this_present_values = true && this.isSetValues(); + boolean that_present_values = true && that.isSetValues(); + if(this_present_values || that_present_values) { + if(!(this_present_values && that_present_values)) + return false; + if(!this.values.equals(that.values)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -333269,15 +473429,25 @@ public boolean equals(jsonifyRecords_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_identifier = true; - list.add(present_identifier); - if(present_identifier) - list.add(identifier); + boolean present_operator = true && (isSetOperator()); + list.add(present_operator); + if(present_operator) + list.add(operator.getValue()); + + boolean present_values = true && (isSetValues()); + list.add(present_values); + if(present_values) + list.add(values); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -333298,7 +473468,7 @@ public int hashCode() { } @Override - public int compareTo(jsonifyRecords_args other) { + public int compareTo(findKeyOperatorValuesOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -333306,26 +473476,50 @@ public int compareTo(jsonifyRecords_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIdentifier()) - .compareTo(other.isSetIdentifier()); + lastComparison = Boolean.valueOf(isSetOperator()) + .compareTo(other.isSetOperator()); if(lastComparison != 0) { return lastComparison; } - if(isSetIdentifier()) { + if(isSetOperator()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.identifier, other.identifier); + .compareTo(this.operator, other.operator); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValues()) + .compareTo(other.isSetValues()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetValues()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.values, other.values); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -333385,21 +473579,47 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("jsonifyRecords_args("); + StringBuilder sb = new StringBuilder( + "findKeyOperatorValuesOrder_args("); boolean first = true; - sb.append("records:"); - if(this.records == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("identifier:"); - sb.append(this.identifier); + sb.append("operator:"); + if(this.operator == null) { + sb.append("null"); + } + else { + sb.append(this.operator); + } + first = false; + if(!first) + sb.append(", "); + sb.append("values:"); + if(this.values == null) { + sb.append("null"); + } + else { + sb.append(this.values); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -333438,6 +473658,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -333461,10 +473684,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -333474,18 +473693,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class jsonifyRecords_argsStandardSchemeFactory + private static class findKeyOperatorValuesOrder_argsStandardSchemeFactory implements SchemeFactory { - public jsonifyRecords_argsStandardScheme getScheme() { - return new jsonifyRecords_argsStandardScheme(); + public findKeyOperatorValuesOrder_argsStandardScheme getScheme() { + return new findKeyOperatorValuesOrder_argsStandardScheme(); } } - private static class jsonifyRecords_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorValuesOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - jsonifyRecords_args struct) + findKeyOperatorValuesOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -333495,38 +473714,61 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORDS + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // OPERATOR + if(schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // VALUES if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2438 = iprot + org.apache.thrift.protocol.TList _list3830 = iprot .readListBegin(); - struct.records = new ArrayList( - _list2438.size); - long _elem2439; - for (int _i2440 = 0; _i2440 < _list2438.size; ++_i2440) { - _elem2439 = iprot.readI64(); - struct.records.add(_elem2439); + struct.values = new ArrayList( + _list3830.size); + com.cinchapi.concourse.thrift.TObject _elem3831; + for (int _i3832 = 0; _i3832 < _list3830.size; ++_i3832) { + _elem3831 = new com.cinchapi.concourse.thrift.TObject(); + _elem3831.read(iprot); + struct.values.add(_elem3831); } iprot.readListEnd(); } - struct.setRecordsIsSet(true); + struct.setValuesIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // IDENTIFIER - if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.identifier = iprot.readBool(); - struct.setIdentifierIsSet(true); + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // CREDS + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -333537,7 +473779,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -333548,7 +473790,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -333572,28 +473814,40 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - jsonifyRecords_args struct) + findKeyOperatorValuesOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.operator != null) { + oprot.writeFieldBegin(OPERATOR_FIELD_DESC); + oprot.writeI32(struct.operator.getValue()); + oprot.writeFieldEnd(); + } + if(struct.values != null) { + oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter2441 : struct.records) { - oprot.writeI64(_iter2441); + org.apache.thrift.protocol.TType.STRUCT, + struct.values.size())); + for (com.cinchapi.concourse.thrift.TObject _iter3833 : struct.values) { + _iter3833.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(IDENTIFIER_FIELD_DESC); - oprot.writeBool(struct.identifier); - oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -333615,48 +473869,60 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class jsonifyRecords_argsTupleSchemeFactory + private static class findKeyOperatorValuesOrder_argsTupleSchemeFactory implements SchemeFactory { - public jsonifyRecords_argsTupleScheme getScheme() { - return new jsonifyRecords_argsTupleScheme(); + public findKeyOperatorValuesOrder_argsTupleScheme getScheme() { + return new findKeyOperatorValuesOrder_argsTupleScheme(); } } - private static class jsonifyRecords_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorValuesOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecords_args struct) + findKeyOperatorValuesOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecords()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetIdentifier()) { + if(struct.isSetOperator()) { optionals.set(1); } - if(struct.isSetCreds()) { + if(struct.isSetValues()) { optionals.set(2); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(3); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(4); } - oprot.writeBitSet(optionals, 5); - if(struct.isSetRecords()) { + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetOperator()) { + oprot.writeI32(struct.operator.getValue()); + } + if(struct.isSetValues()) { { - oprot.writeI32(struct.records.size()); - for (long _iter2442 : struct.records) { - oprot.writeI64(_iter2442); + oprot.writeI32(struct.values.size()); + for (com.cinchapi.concourse.thrift.TObject _iter3834 : struct.values) { + _iter3834.write(oprot); } } } - if(struct.isSetIdentifier()) { - oprot.writeBool(struct.identifier); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -333671,39 +473937,51 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecords_args struct) + findKeyOperatorValuesOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); + } + if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2443 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TList _list3835 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.records = new ArrayList(_list2443.size); - long _elem2444; - for (int _i2445 = 0; _i2445 < _list2443.size; ++_i2445) { - _elem2444 = iprot.readI64(); - struct.records.add(_elem2444); + struct.values = new ArrayList( + _list3835.size); + com.cinchapi.concourse.thrift.TObject _elem3836; + for (int _i3837 = 0; _i3837 < _list3835.size; ++_i3837) { + _elem3836 = new com.cinchapi.concourse.thrift.TObject(); + _elem3836.read(iprot); + struct.values.add(_elem3836); } } - struct.setRecordsIsSet(true); + struct.setValuesIsSet(true); } - if(incoming.get(1)) { - struct.identifier = iprot.readBool(); - struct.setIdentifierIsSet(true); + if(incoming.get(3)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -333712,16 +473990,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class jsonifyRecords_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorValuesOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "jsonifyRecords_result"); + "findKeyOperatorValuesOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.STRING, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -333732,12 +474010,12 @@ public static class jsonifyRecords_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new jsonifyRecords_resultStandardSchemeFactory()); + new findKeyOperatorValuesOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new jsonifyRecords_resultTupleSchemeFactory()); + new findKeyOperatorValuesOrder_resultTupleSchemeFactory()); } - public String success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -333825,8 +474103,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -333844,12 +474124,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - jsonifyRecords_result.class, metaDataMap); + findKeyOperatorValuesOrder_result.class, metaDataMap); } - public jsonifyRecords_result() {} + public findKeyOperatorValuesOrder_result() {} - public jsonifyRecords_result(String success, + public findKeyOperatorValuesOrder_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -333863,9 +474143,12 @@ public jsonifyRecords_result(String success, /** * Performs a deep copy on other. */ - public jsonifyRecords_result(jsonifyRecords_result other) { + public findKeyOperatorValuesOrder_result( + findKeyOperatorValuesOrder_result other) { if(other.isSetSuccess()) { - this.success = other.success; + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -333881,8 +474164,8 @@ public jsonifyRecords_result(jsonifyRecords_result other) { } } - public jsonifyRecords_result deepCopy() { - return new jsonifyRecords_result(this); + public findKeyOperatorValuesOrder_result deepCopy() { + return new findKeyOperatorValuesOrder_result(this); } @Override @@ -333893,11 +474176,26 @@ public void clear() { this.ex3 = null; } - public String getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(long elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { return this.success; } - public jsonifyRecords_result setSuccess(String success) { + public findKeyOperatorValuesOrder_result setSuccess(Set success) { this.success = success; return this; } @@ -333924,7 +474222,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public jsonifyRecords_result setEx( + public findKeyOperatorValuesOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -333952,7 +474250,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public jsonifyRecords_result setEx2( + public findKeyOperatorValuesOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -333980,7 +474278,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public jsonifyRecords_result setEx3( + public findKeyOperatorValuesOrder_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -334011,7 +474309,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((String) value); + setSuccess((Set) value); } break; @@ -334089,12 +474387,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof jsonifyRecords_result) - return this.equals((jsonifyRecords_result) that); + if(that instanceof findKeyOperatorValuesOrder_result) + return this.equals((findKeyOperatorValuesOrder_result) that); return false; } - public boolean equals(jsonifyRecords_result that) { + public boolean equals(findKeyOperatorValuesOrder_result that) { if(that == null) return false; @@ -334165,7 +474463,7 @@ public int hashCode() { } @Override - public int compareTo(jsonifyRecords_result other) { + public int compareTo(findKeyOperatorValuesOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -334240,7 +474538,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("jsonifyRecords_result("); + StringBuilder sb = new StringBuilder( + "findKeyOperatorValuesOrder_result("); boolean first = true; sb.append("success:"); @@ -334314,18 +474613,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class jsonifyRecords_resultStandardSchemeFactory + private static class findKeyOperatorValuesOrder_resultStandardSchemeFactory implements SchemeFactory { - public jsonifyRecords_resultStandardScheme getScheme() { - return new jsonifyRecords_resultStandardScheme(); + public findKeyOperatorValuesOrder_resultStandardScheme getScheme() { + return new findKeyOperatorValuesOrder_resultStandardScheme(); } } - private static class jsonifyRecords_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorValuesOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - jsonifyRecords_result struct) + findKeyOperatorValuesOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -334336,8 +474635,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.success = iprot.readString(); + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set3838 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set3838.size); + long _elem3839; + for (int _i3840 = 0; _i3840 < _set3838.size; ++_i3840) { + _elem3839 = iprot.readI64(); + struct.success.add(_elem3839); + } + iprot.readSetEnd(); + } struct.setSuccessIsSet(true); } else { @@ -334392,14 +474702,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - jsonifyRecords_result struct) + findKeyOperatorValuesOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeString(struct.success); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + struct.success.size())); + for (long _iter3841 : struct.success) { + oprot.writeI64(_iter3841); + } + oprot.writeSetEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -334423,19 +474741,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class jsonifyRecords_resultTupleSchemeFactory + private static class findKeyOperatorValuesOrder_resultTupleSchemeFactory implements SchemeFactory { - public jsonifyRecords_resultTupleScheme getScheme() { - return new jsonifyRecords_resultTupleScheme(); + public findKeyOperatorValuesOrder_resultTupleScheme getScheme() { + return new findKeyOperatorValuesOrder_resultTupleScheme(); } } - private static class jsonifyRecords_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorValuesOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecords_result struct) + findKeyOperatorValuesOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -334453,7 +474771,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, } oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - oprot.writeString(struct.success); + { + oprot.writeI32(struct.success.size()); + for (long _iter3842 : struct.success) { + oprot.writeI64(_iter3842); + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -334468,12 +474791,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecords_result struct) + findKeyOperatorValuesOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.success = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set3843 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set3843.size); + long _elem3844; + for (int _i3845 = 0; _i3845 < _set3843.size; ++_i3845) { + _elem3844 = iprot.readI64(); + struct.success.add(_elem3844); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -334496,40 +474830,47 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class jsonifyRecordsTime_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorValuesTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "jsonifyRecordsTime_args"); + "findKeyOperatorValuesTime_args"); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField( + "operator", org.apache.thrift.protocol.TType.I32, (short) 2); + private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( + "values", org.apache.thrift.protocol.TType.LIST, (short) 3); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField IDENTIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField( - "identifier", org.apache.thrift.protocol.TType.BOOL, (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new jsonifyRecordsTime_argsStandardSchemeFactory()); + new findKeyOperatorValuesTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new jsonifyRecordsTime_argsTupleSchemeFactory()); + new findKeyOperatorValuesTime_argsTupleSchemeFactory()); } - public List records; // required + public String key; // required + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator operator; // required + public List values; // required public long timestamp; // required - public boolean identifier; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -334539,12 +474880,17 @@ public static class jsonifyRecordsTime_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORDS((short) 1, "records"), - TIMESTAMP((short) 2, "timestamp"), - IDENTIFIER((short) 3, "identifier"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + KEY((short) 1, "key"), + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + OPERATOR((short) 2, "operator"), + VALUES((short) 3, "values"), + TIMESTAMP((short) 4, "timestamp"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -334560,17 +474906,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORDS - return RECORDS; - case 2: // TIMESTAMP + case 1: // KEY + return KEY; + case 2: // OPERATOR + return OPERATOR; + case 3: // VALUES + return VALUES; + case 4: // TIMESTAMP return TIMESTAMP; - case 3: // IDENTIFIER - return IDENTIFIER; - case 4: // CREDS + case 5: // CREDS return CREDS; - case 5: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -334617,29 +474965,35 @@ public String getFieldName() { // isset id assignments private static final int __TIMESTAMP_ISSET_ID = 0; - private static final int __IDENTIFIER_ISSET_ID = 1; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.OPERATOR, + new org.apache.thrift.meta_data.FieldMetaData("operator", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Operator.class))); + tmpMap.put(_Fields.VALUES, + new org.apache.thrift.meta_data.FieldMetaData("values", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.IDENTIFIER, - new org.apache.thrift.meta_data.FieldMetaData("identifier", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -334659,22 +475013,23 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - jsonifyRecordsTime_args.class, metaDataMap); + findKeyOperatorValuesTime_args.class, metaDataMap); } - public jsonifyRecordsTime_args() {} + public findKeyOperatorValuesTime_args() {} - public jsonifyRecordsTime_args(List records, long timestamp, - boolean identifier, - com.cinchapi.concourse.thrift.AccessToken creds, + public findKeyOperatorValuesTime_args(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.records = records; + this.key = key; + this.operator = operator; + this.values = values; this.timestamp = timestamp; setTimestampIsSet(true); - this.identifier = identifier; - setIdentifierIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -334683,14 +475038,26 @@ public jsonifyRecordsTime_args(List records, long timestamp, /** * Performs a deep copy on other. */ - public jsonifyRecordsTime_args(jsonifyRecordsTime_args other) { + public findKeyOperatorValuesTime_args( + findKeyOperatorValuesTime_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetOperator()) { + this.operator = other.operator; + } + if(other.isSetValues()) { + List __this__values = new ArrayList( + other.values.size()); + for (com.cinchapi.concourse.thrift.TObject other_element : other.values) { + __this__values + .add(new com.cinchapi.concourse.thrift.TObject( + other_element)); + } + this.values = __this__values; } this.timestamp = other.timestamp; - this.identifier = other.identifier; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -334704,127 +475071,162 @@ public jsonifyRecordsTime_args(jsonifyRecordsTime_args other) { } } - public jsonifyRecordsTime_args deepCopy() { - return new jsonifyRecordsTime_args(this); + public findKeyOperatorValuesTime_args deepCopy() { + return new findKeyOperatorValuesTime_args(this); } @Override public void clear() { - this.records = null; + this.key = null; + this.operator = null; + this.values = null; setTimestampIsSet(false); this.timestamp = 0; - setIdentifierIsSet(false); - this.identifier = false; this.creds = null; this.transaction = null; this.environment = null; } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); + public String getKey() { + return this.key; } - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); + public findKeyOperatorValuesTime_args setKey(String key) { + this.key = key; + return this; } - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; } - this.records.add(elem); } - public List getRecords() { - return this.records; + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator getOperator() { + return this.operator; } - public jsonifyRecordsTime_args setRecords(List records) { - this.records = records; + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public findKeyOperatorValuesTime_args setOperator( + com.cinchapi.concourse.thrift.Operator operator) { + this.operator = operator; return this; } - public void unsetRecords() { - this.records = null; + public void unsetOperator() { + this.operator = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field operator is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetOperator() { + return this.operator != null; } - public void setRecordsIsSet(boolean value) { + public void setOperatorIsSet(boolean value) { if(!value) { - this.records = null; + this.operator = null; } } - public long getTimestamp() { - return this.timestamp; + public int getValuesSize() { + return (this.values == null) ? 0 : this.values.size(); } - public jsonifyRecordsTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); + public java.util.Iterator getValuesIterator() { + return (this.values == null) ? null : this.values.iterator(); + } + + public void addToValues(com.cinchapi.concourse.thrift.TObject elem) { + if(this.values == null) { + this.values = new ArrayList(); + } + this.values.add(elem); + } + + public List getValues() { + return this.values; + } + + public findKeyOperatorValuesTime_args setValues( + List values) { + this.values = values; return this; } - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public void unsetValues() { + this.values = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field values is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public boolean isSetValues() { + return this.values != null; } - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + public void setValuesIsSet(boolean value) { + if(!value) { + this.values = null; + } } - public boolean isIdentifier() { - return this.identifier; + public long getTimestamp() { + return this.timestamp; } - public jsonifyRecordsTime_args setIdentifier(boolean identifier) { - this.identifier = identifier; - setIdentifierIsSet(true); + public findKeyOperatorValuesTime_args setTimestamp(long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); return this; } - public void unsetIdentifier() { + public void unsetTimestamp() { __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __IDENTIFIER_ISSET_ID); + __TIMESTAMP_ISSET_ID); } /** - * Returns true if field identifier is set (has been assigned a value) + * Returns true if field timestamp is set (has been assigned a value) * and false otherwise */ - public boolean isSetIdentifier() { + public boolean isSetTimestamp() { return EncodingUtils.testBit(__isset_bitfield, - __IDENTIFIER_ISSET_ID); + __TIMESTAMP_ISSET_ID); } - public void setIdentifierIsSet(boolean value) { + public void setTimestampIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __IDENTIFIER_ISSET_ID, value); + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public jsonifyRecordsTime_args setCreds( + public findKeyOperatorValuesTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -334852,7 +475254,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public jsonifyRecordsTime_args setTransaction( + public findKeyOperatorValuesTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -334880,7 +475282,8 @@ public String getEnvironment() { return this.environment; } - public jsonifyRecordsTime_args setEnvironment(String environment) { + public findKeyOperatorValuesTime_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -334905,30 +475308,40 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORDS: + case KEY: if(value == null) { - unsetRecords(); + unsetKey(); } else { - setRecords((List) value); + setKey((String) value); } break; - case TIMESTAMP: + case OPERATOR: if(value == null) { - unsetTimestamp(); + unsetOperator(); } else { - setTimestamp((Long) value); + setOperator((com.cinchapi.concourse.thrift.Operator) value); } break; - case IDENTIFIER: + case VALUES: if(value == null) { - unsetIdentifier(); + unsetValues(); } else { - setIdentifier((Boolean) value); + setValues( + (List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); } break; @@ -334965,15 +475378,18 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORDS: - return getRecords(); + case KEY: + return getKey(); + + case OPERATOR: + return getOperator(); + + case VALUES: + return getValues(); case TIMESTAMP: return getTimestamp(); - case IDENTIFIER: - return isIdentifier(); - case CREDS: return getCreds(); @@ -334997,12 +475413,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORDS: - return isSetRecords(); + case KEY: + return isSetKey(); + case OPERATOR: + return isSetOperator(); + case VALUES: + return isSetValues(); case TIMESTAMP: return isSetTimestamp(); - case IDENTIFIER: - return isSetIdentifier(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -335017,21 +475435,39 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof jsonifyRecordsTime_args) - return this.equals((jsonifyRecordsTime_args) that); + if(that instanceof findKeyOperatorValuesTime_args) + return this.equals((findKeyOperatorValuesTime_args) that); return false; } - public boolean equals(jsonifyRecordsTime_args that) { + public boolean equals(findKeyOperatorValuesTime_args that) { if(that == null) return false; - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.records.equals(that.records)) + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_operator = true && this.isSetOperator(); + boolean that_present_operator = true && that.isSetOperator(); + if(this_present_operator || that_present_operator) { + if(!(this_present_operator && that_present_operator)) + return false; + if(!this.operator.equals(that.operator)) + return false; + } + + boolean this_present_values = true && this.isSetValues(); + boolean that_present_values = true && that.isSetValues(); + if(this_present_values || that_present_values) { + if(!(this_present_values && that_present_values)) + return false; + if(!this.values.equals(that.values)) return false; } @@ -335044,15 +475480,6 @@ public boolean equals(jsonifyRecordsTime_args that) { return false; } - boolean this_present_identifier = true; - boolean that_present_identifier = true; - if(this_present_identifier || that_present_identifier) { - if(!(this_present_identifier && that_present_identifier)) - return false; - if(this.identifier != that.identifier) - return false; - } - boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -335087,21 +475514,26 @@ public boolean equals(jsonifyRecordsTime_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_operator = true && (isSetOperator()); + list.add(present_operator); + if(present_operator) + list.add(operator.getValue()); + + boolean present_values = true && (isSetValues()); + list.add(present_values); + if(present_values) + list.add(values); boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); - boolean present_identifier = true; - list.add(present_identifier); - if(present_identifier) - list.add(identifier); - boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -335121,7 +475553,7 @@ public int hashCode() { } @Override - public int compareTo(jsonifyRecordsTime_args other) { + public int compareTo(findKeyOperatorValuesTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -335129,38 +475561,50 @@ public int compareTo(jsonifyRecordsTime_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.key, other.key); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetOperator()) + .compareTo(other.isSetOperator()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetOperator()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.operator, other.operator); if(lastComparison != 0) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIdentifier()) - .compareTo(other.isSetIdentifier()); + lastComparison = Boolean.valueOf(isSetValues()) + .compareTo(other.isSetValues()); if(lastComparison != 0) { return lastComparison; } - if(isSetIdentifier()) { + if(isSetValues()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.identifier, other.identifier); + .compareTo(this.values, other.values); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -335220,26 +475664,42 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("jsonifyRecordsTime_args("); + StringBuilder sb = new StringBuilder( + "findKeyOperatorValuesTime_args("); boolean first = true; - sb.append("records:"); - if(this.records == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); + sb.append("operator:"); + if(this.operator == null) { + sb.append("null"); + } + else { + sb.append(this.operator); + } first = false; if(!first) sb.append(", "); - sb.append("identifier:"); - sb.append(this.identifier); + sb.append("values:"); + if(this.values == null) { + sb.append("null"); + } + else { + sb.append(this.values); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -335314,18 +475774,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class jsonifyRecordsTime_argsStandardSchemeFactory + private static class findKeyOperatorValuesTime_argsStandardSchemeFactory implements SchemeFactory { - public jsonifyRecordsTime_argsStandardScheme getScheme() { - return new jsonifyRecordsTime_argsStandardScheme(); + public findKeyOperatorValuesTime_argsStandardScheme getScheme() { + return new findKeyOperatorValuesTime_argsStandardScheme(); } } - private static class jsonifyRecordsTime_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorValuesTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - jsonifyRecordsTime_args struct) + findKeyOperatorValuesTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -335335,28 +475795,50 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORDS + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // OPERATOR + if(schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // VALUES if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2446 = iprot + org.apache.thrift.protocol.TList _list3846 = iprot .readListBegin(); - struct.records = new ArrayList( - _list2446.size); - long _elem2447; - for (int _i2448 = 0; _i2448 < _list2446.size; ++_i2448) { - _elem2447 = iprot.readI64(); - struct.records.add(_elem2447); + struct.values = new ArrayList( + _list3846.size); + com.cinchapi.concourse.thrift.TObject _elem3847; + for (int _i3848 = 0; _i3848 < _list3846.size; ++_i3848) { + _elem3847 = new com.cinchapi.concourse.thrift.TObject(); + _elem3847.read(iprot); + struct.values.add(_elem3847); } iprot.readListEnd(); } - struct.setRecordsIsSet(true); + struct.setValuesIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP + case 4: // TIMESTAMP if(schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); @@ -335366,17 +475848,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // IDENTIFIER - if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.identifier = iprot.readBool(); - struct.setIdentifierIsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; - case 4: // CREDS + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -335387,7 +475859,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -335398,7 +475870,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -335422,20 +475894,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - jsonifyRecordsTime_args struct) + findKeyOperatorValuesTime_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.operator != null) { + oprot.writeFieldBegin(OPERATOR_FIELD_DESC); + oprot.writeI32(struct.operator.getValue()); + oprot.writeFieldEnd(); + } + if(struct.values != null) { + oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter2449 : struct.records) { - oprot.writeI64(_iter2449); + org.apache.thrift.protocol.TType.STRUCT, + struct.values.size())); + for (com.cinchapi.concourse.thrift.TObject _iter3849 : struct.values) { + _iter3849.write(oprot); } oprot.writeListEnd(); } @@ -335444,9 +475926,6 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); oprot.writeI64(struct.timestamp); oprot.writeFieldEnd(); - oprot.writeFieldBegin(IDENTIFIER_FIELD_DESC); - oprot.writeBool(struct.identifier); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -335468,55 +475947,61 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class jsonifyRecordsTime_argsTupleSchemeFactory + private static class findKeyOperatorValuesTime_argsTupleSchemeFactory implements SchemeFactory { - public jsonifyRecordsTime_argsTupleScheme getScheme() { - return new jsonifyRecordsTime_argsTupleScheme(); + public findKeyOperatorValuesTime_argsTupleScheme getScheme() { + return new findKeyOperatorValuesTime_argsTupleScheme(); } } - private static class jsonifyRecordsTime_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorValuesTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecordsTime_args struct) + findKeyOperatorValuesTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecords()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetOperator()) { optionals.set(1); } - if(struct.isSetIdentifier()) { + if(struct.isSetValues()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); - if(struct.isSetRecords()) { + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetOperator()) { + oprot.writeI32(struct.operator.getValue()); + } + if(struct.isSetValues()) { { - oprot.writeI32(struct.records.size()); - for (long _iter2450 : struct.records) { - oprot.writeI64(_iter2450); + oprot.writeI32(struct.values.size()); + for (com.cinchapi.concourse.thrift.TObject _iter3850 : struct.values) { + _iter3850.write(oprot); } } } if(struct.isSetTimestamp()) { oprot.writeI64(struct.timestamp); } - if(struct.isSetIdentifier()) { - oprot.writeBool(struct.identifier); - } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -335530,43 +476015,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecordsTime_args struct) + findKeyOperatorValuesTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); + } + if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2451 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TList _list3851 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.records = new ArrayList(_list2451.size); - long _elem2452; - for (int _i2453 = 0; _i2453 < _list2451.size; ++_i2453) { - _elem2452 = iprot.readI64(); - struct.records.add(_elem2452); + struct.values = new ArrayList( + _list3851.size); + com.cinchapi.concourse.thrift.TObject _elem3852; + for (int _i3853 = 0; _i3853 < _list3851.size; ++_i3853) { + _elem3852 = new com.cinchapi.concourse.thrift.TObject(); + _elem3852.read(iprot); + struct.values.add(_elem3852); } } - struct.setRecordsIsSet(true); + struct.setValuesIsSet(true); } - if(incoming.get(1)) { + if(incoming.get(3)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } - if(incoming.get(2)) { - struct.identifier = iprot.readBool(); - struct.setIdentifierIsSet(true); - } - if(incoming.get(3)) { + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -335575,16 +476067,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class jsonifyRecordsTime_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorValuesTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "jsonifyRecordsTime_result"); + "findKeyOperatorValuesTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.STRING, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -335595,12 +476087,12 @@ public static class jsonifyRecordsTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new jsonifyRecordsTime_resultStandardSchemeFactory()); + new findKeyOperatorValuesTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new jsonifyRecordsTime_resultTupleSchemeFactory()); + new findKeyOperatorValuesTime_resultTupleSchemeFactory()); } - public String success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required public com.cinchapi.concourse.thrift.PermissionException ex3; // required @@ -335688,8 +476180,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -335707,12 +476201,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - jsonifyRecordsTime_result.class, metaDataMap); + findKeyOperatorValuesTime_result.class, metaDataMap); } - public jsonifyRecordsTime_result() {} + public findKeyOperatorValuesTime_result() {} - public jsonifyRecordsTime_result(String success, + public findKeyOperatorValuesTime_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.PermissionException ex3) { @@ -335726,9 +476220,12 @@ public jsonifyRecordsTime_result(String success, /** * Performs a deep copy on other. */ - public jsonifyRecordsTime_result(jsonifyRecordsTime_result other) { + public findKeyOperatorValuesTime_result( + findKeyOperatorValuesTime_result other) { if(other.isSetSuccess()) { - this.success = other.success; + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -335744,8 +476241,8 @@ public jsonifyRecordsTime_result(jsonifyRecordsTime_result other) { } } - public jsonifyRecordsTime_result deepCopy() { - return new jsonifyRecordsTime_result(this); + public findKeyOperatorValuesTime_result deepCopy() { + return new findKeyOperatorValuesTime_result(this); } @Override @@ -335756,11 +476253,26 @@ public void clear() { this.ex3 = null; } - public String getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(long elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { return this.success; } - public jsonifyRecordsTime_result setSuccess(String success) { + public findKeyOperatorValuesTime_result setSuccess(Set success) { this.success = success; return this; } @@ -335787,7 +476299,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public jsonifyRecordsTime_result setEx( + public findKeyOperatorValuesTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -335815,7 +476327,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public jsonifyRecordsTime_result setEx2( + public findKeyOperatorValuesTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -335843,7 +476355,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public jsonifyRecordsTime_result setEx3( + public findKeyOperatorValuesTime_result setEx3( com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; @@ -335874,7 +476386,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((String) value); + setSuccess((Set) value); } break; @@ -335952,12 +476464,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof jsonifyRecordsTime_result) - return this.equals((jsonifyRecordsTime_result) that); + if(that instanceof findKeyOperatorValuesTime_result) + return this.equals((findKeyOperatorValuesTime_result) that); return false; } - public boolean equals(jsonifyRecordsTime_result that) { + public boolean equals(findKeyOperatorValuesTime_result that) { if(that == null) return false; @@ -336028,7 +476540,7 @@ public int hashCode() { } @Override - public int compareTo(jsonifyRecordsTime_result other) { + public int compareTo(findKeyOperatorValuesTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -336103,7 +476615,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("jsonifyRecordsTime_result("); + StringBuilder sb = new StringBuilder( + "findKeyOperatorValuesTime_result("); boolean first = true; sb.append("success:"); @@ -336177,18 +476690,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class jsonifyRecordsTime_resultStandardSchemeFactory + private static class findKeyOperatorValuesTime_resultStandardSchemeFactory implements SchemeFactory { - public jsonifyRecordsTime_resultStandardScheme getScheme() { - return new jsonifyRecordsTime_resultStandardScheme(); + public findKeyOperatorValuesTime_resultStandardScheme getScheme() { + return new findKeyOperatorValuesTime_resultStandardScheme(); } } - private static class jsonifyRecordsTime_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorValuesTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - jsonifyRecordsTime_result struct) + findKeyOperatorValuesTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -336199,8 +476712,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.success = iprot.readString(); + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set3854 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set3854.size); + long _elem3855; + for (int _i3856 = 0; _i3856 < _set3854.size; ++_i3856) { + _elem3855 = iprot.readI64(); + struct.success.add(_elem3855); + } + iprot.readSetEnd(); + } struct.setSuccessIsSet(true); } else { @@ -336255,14 +476779,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - jsonifyRecordsTime_result struct) + findKeyOperatorValuesTime_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeString(struct.success); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + struct.success.size())); + for (long _iter3857 : struct.success) { + oprot.writeI64(_iter3857); + } + oprot.writeSetEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -336286,19 +476818,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class jsonifyRecordsTime_resultTupleSchemeFactory + private static class findKeyOperatorValuesTime_resultTupleSchemeFactory implements SchemeFactory { - public jsonifyRecordsTime_resultTupleScheme getScheme() { - return new jsonifyRecordsTime_resultTupleScheme(); + public findKeyOperatorValuesTime_resultTupleScheme getScheme() { + return new findKeyOperatorValuesTime_resultTupleScheme(); } } - private static class jsonifyRecordsTime_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorValuesTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecordsTime_result struct) + findKeyOperatorValuesTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -336316,7 +476848,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, } oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - oprot.writeString(struct.success); + { + oprot.writeI32(struct.success.size()); + for (long _iter3858 : struct.success) { + oprot.writeI64(_iter3858); + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -336331,12 +476868,23 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecordsTime_result struct) + findKeyOperatorValuesTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.success = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set3859 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set3859.size); + long _elem3860; + for (int _i3861 = 0; _i3861 < _set3859.size; ++_i3861) { + _elem3860 = iprot.readI64(); + struct.success.add(_elem3860); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -336359,41 +476907,50 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class jsonifyRecordsTimestr_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorValuesTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "jsonifyRecordsTimestr_args"); + "findKeyOperatorValuesTimeOrder_args"); - private static final org.apache.thrift.protocol.TField RECORDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "records", org.apache.thrift.protocol.TType.LIST, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField( + "operator", org.apache.thrift.protocol.TType.I32, (short) 2); + private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( + "values", org.apache.thrift.protocol.TType.LIST, (short) 3); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 2); - private static final org.apache.thrift.protocol.TField IDENTIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField( - "identifier", org.apache.thrift.protocol.TType.BOOL, (short) 3); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 4); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 6); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 7); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 8); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new jsonifyRecordsTimestr_argsStandardSchemeFactory()); + new findKeyOperatorValuesTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new jsonifyRecordsTimestr_argsTupleSchemeFactory()); + new findKeyOperatorValuesTimeOrder_argsTupleSchemeFactory()); } - public List records; // required - public String timestamp; // required - public boolean identifier; // required + public String key; // required + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator operator; // required + public List values; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -336403,12 +476960,18 @@ public static class jsonifyRecordsTimestr_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - RECORDS((short) 1, "records"), - TIMESTAMP((short) 2, "timestamp"), - IDENTIFIER((short) 3, "identifier"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + KEY((short) 1, "key"), + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + OPERATOR((short) 2, "operator"), + VALUES((short) 3, "values"), + TIMESTAMP((short) 4, "timestamp"), + ORDER((short) 5, "order"), + CREDS((short) 6, "creds"), + TRANSACTION((short) 7, "transaction"), + ENVIRONMENT((short) 8, "environment"); private static final Map byName = new LinkedHashMap(); @@ -336424,17 +476987,21 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // RECORDS - return RECORDS; - case 2: // TIMESTAMP + case 1: // KEY + return KEY; + case 2: // OPERATOR + return OPERATOR; + case 3: // VALUES + return VALUES; + case 4: // TIMESTAMP return TIMESTAMP; - case 3: // IDENTIFIER - return IDENTIFIER; - case 4: // CREDS + case 5: // ORDER + return ORDER; + case 6: // CREDS return CREDS; - case 5: // TRANSACTION + case 7: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 8: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -336480,29 +477047,42 @@ public String getFieldName() { } // isset id assignments - private static final int __IDENTIFIER_ISSET_ID = 0; + private static final int __TIMESTAMP_ISSET_ID = 0; private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.RECORDS, - new org.apache.thrift.meta_data.FieldMetaData("records", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.OPERATOR, + new org.apache.thrift.meta_data.FieldMetaData("operator", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Operator.class))); + tmpMap.put(_Fields.VALUES, + new org.apache.thrift.meta_data.FieldMetaData("values", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.ListMetaData( org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64)))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.IDENTIFIER, - new org.apache.thrift.meta_data.FieldMetaData("identifier", + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -336522,21 +477102,25 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - jsonifyRecordsTimestr_args.class, metaDataMap); + findKeyOperatorValuesTimeOrder_args.class, metaDataMap); } - public jsonifyRecordsTimestr_args() {} + public findKeyOperatorValuesTimeOrder_args() {} - public jsonifyRecordsTimestr_args(List records, String timestamp, - boolean identifier, + public findKeyOperatorValuesTimeOrder_args(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.records = records; + this.key = key; + this.operator = operator; + this.values = values; this.timestamp = timestamp; - this.identifier = identifier; - setIdentifierIsSet(true); + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -336545,16 +477129,30 @@ public jsonifyRecordsTimestr_args(List records, String timestamp, /** * Performs a deep copy on other. */ - public jsonifyRecordsTimestr_args(jsonifyRecordsTimestr_args other) { + public findKeyOperatorValuesTimeOrder_args( + findKeyOperatorValuesTimeOrder_args other) { __isset_bitfield = other.__isset_bitfield; - if(other.isSetRecords()) { - List __this__records = new ArrayList(other.records); - this.records = __this__records; + if(other.isSetKey()) { + this.key = other.key; } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; + if(other.isSetOperator()) { + this.operator = other.operator; + } + if(other.isSetValues()) { + List __this__values = new ArrayList( + other.values.size()); + for (com.cinchapi.concourse.thrift.TObject other_element : other.values) { + __this__values + .add(new com.cinchapi.concourse.thrift.TObject( + other_element)); + } + this.values = __this__values; + } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } - this.identifier = other.identifier; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -336568,74 +477166,143 @@ public jsonifyRecordsTimestr_args(jsonifyRecordsTimestr_args other) { } } - public jsonifyRecordsTimestr_args deepCopy() { - return new jsonifyRecordsTimestr_args(this); + public findKeyOperatorValuesTimeOrder_args deepCopy() { + return new findKeyOperatorValuesTimeOrder_args(this); } @Override public void clear() { - this.records = null; - this.timestamp = null; - setIdentifierIsSet(false); - this.identifier = false; + this.key = null; + this.operator = null; + this.values = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public int getRecordsSize() { - return (this.records == null) ? 0 : this.records.size(); + public String getKey() { + return this.key; + } + + public findKeyOperatorValuesTimeOrder_args setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator getOperator() { + return this.operator; + } + + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public findKeyOperatorValuesTimeOrder_args setOperator( + com.cinchapi.concourse.thrift.Operator operator) { + this.operator = operator; + return this; + } + + public void unsetOperator() { + this.operator = null; + } + + /** + * Returns true if field operator is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOperator() { + return this.operator != null; + } + + public void setOperatorIsSet(boolean value) { + if(!value) { + this.operator = null; + } } - public java.util.Iterator getRecordsIterator() { - return (this.records == null) ? null : this.records.iterator(); + public int getValuesSize() { + return (this.values == null) ? 0 : this.values.size(); } - public void addToRecords(long elem) { - if(this.records == null) { - this.records = new ArrayList(); + public java.util.Iterator getValuesIterator() { + return (this.values == null) ? null : this.values.iterator(); + } + + public void addToValues(com.cinchapi.concourse.thrift.TObject elem) { + if(this.values == null) { + this.values = new ArrayList(); } - this.records.add(elem); + this.values.add(elem); } - public List getRecords() { - return this.records; + public List getValues() { + return this.values; } - public jsonifyRecordsTimestr_args setRecords(List records) { - this.records = records; + public findKeyOperatorValuesTimeOrder_args setValues( + List values) { + this.values = values; return this; } - public void unsetRecords() { - this.records = null; + public void unsetValues() { + this.values = null; } /** - * Returns true if field records is set (has been assigned a value) and + * Returns true if field values is set (has been assigned a value) and * false otherwise */ - public boolean isSetRecords() { - return this.records != null; + public boolean isSetValues() { + return this.values != null; } - public void setRecordsIsSet(boolean value) { + public void setValuesIsSet(boolean value) { if(!value) { - this.records = null; + this.values = null; } } - public String getTimestamp() { + public long getTimestamp() { return this.timestamp; } - public jsonifyRecordsTimestr_args setTimestamp(String timestamp) { + public findKeyOperatorValuesTimeOrder_args setTimestamp( + long timestamp) { this.timestamp = timestamp; + setTimestampIsSet(true); return this; } public void unsetTimestamp() { - this.timestamp = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** @@ -336643,49 +477310,48 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return this.timestamp != null; + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - if(!value) { - this.timestamp = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } - public boolean isIdentifier() { - return this.identifier; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public jsonifyRecordsTimestr_args setIdentifier(boolean identifier) { - this.identifier = identifier; - setIdentifierIsSet(true); + public findKeyOperatorValuesTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetIdentifier() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __IDENTIFIER_ISSET_ID); + public void unsetOrder() { + this.order = null; } /** - * Returns true if field identifier is set (has been assigned a value) - * and false otherwise + * Returns true if field order is set (has been assigned a value) and + * false otherwise */ - public boolean isSetIdentifier() { - return EncodingUtils.testBit(__isset_bitfield, - __IDENTIFIER_ISSET_ID); + public boolean isSetOrder() { + return this.order != null; } - public void setIdentifierIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __IDENTIFIER_ISSET_ID, value); + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public jsonifyRecordsTimestr_args setCreds( + public findKeyOperatorValuesTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -336713,7 +477379,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public jsonifyRecordsTimestr_args setTransaction( + public findKeyOperatorValuesTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -336741,7 +477407,8 @@ public String getEnvironment() { return this.environment; } - public jsonifyRecordsTimestr_args setEnvironment(String environment) { + public findKeyOperatorValuesTimeOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -336766,12 +477433,31 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case RECORDS: + case KEY: if(value == null) { - unsetRecords(); + unsetKey(); } else { - setRecords((List) value); + setKey((String) value); + } + break; + + case OPERATOR: + if(value == null) { + unsetOperator(); + } + else { + setOperator((com.cinchapi.concourse.thrift.Operator) value); + } + break; + + case VALUES: + if(value == null) { + unsetValues(); + } + else { + setValues( + (List) value); } break; @@ -336780,16 +477466,16 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((String) value); + setTimestamp((Long) value); } break; - case IDENTIFIER: + case ORDER: if(value == null) { - unsetIdentifier(); + unsetOrder(); } else { - setIdentifier((Boolean) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -336826,14 +477512,20 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case RECORDS: - return getRecords(); + case KEY: + return getKey(); + + case OPERATOR: + return getOperator(); + + case VALUES: + return getValues(); case TIMESTAMP: return getTimestamp(); - case IDENTIFIER: - return isIdentifier(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -336858,12 +477550,16 @@ public boolean isSet(_Fields field) { } switch (field) { - case RECORDS: - return isSetRecords(); + case KEY: + return isSetKey(); + case OPERATOR: + return isSetOperator(); + case VALUES: + return isSetValues(); case TIMESTAMP: return isSetTimestamp(); - case IDENTIFIER: - return isSetIdentifier(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -336878,39 +477574,57 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof jsonifyRecordsTimestr_args) - return this.equals((jsonifyRecordsTimestr_args) that); + if(that instanceof findKeyOperatorValuesTimeOrder_args) + return this.equals((findKeyOperatorValuesTimeOrder_args) that); return false; } - public boolean equals(jsonifyRecordsTimestr_args that) { + public boolean equals(findKeyOperatorValuesTimeOrder_args that) { if(that == null) return false; - boolean this_present_records = true && this.isSetRecords(); - boolean that_present_records = true && that.isSetRecords(); - if(this_present_records || that_present_records) { - if(!(this_present_records && that_present_records)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.records.equals(that.records)) + if(!this.key.equals(that.key)) return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); + boolean this_present_operator = true && this.isSetOperator(); + boolean that_present_operator = true && that.isSetOperator(); + if(this_present_operator || that_present_operator) { + if(!(this_present_operator && that_present_operator)) + return false; + if(!this.operator.equals(that.operator)) + return false; + } + + boolean this_present_values = true && this.isSetValues(); + boolean that_present_values = true && that.isSetValues(); + if(this_present_values || that_present_values) { + if(!(this_present_values && that_present_values)) + return false; + if(!this.values.equals(that.values)) + return false; + } + + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(this.timestamp != that.timestamp) return false; } - boolean this_present_identifier = true; - boolean that_present_identifier = true; - if(this_present_identifier || that_present_identifier) { - if(!(this_present_identifier && that_present_identifier)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(this.identifier != that.identifier) + if(!this.order.equals(that.order)) return false; } @@ -336948,20 +477662,30 @@ public boolean equals(jsonifyRecordsTimestr_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_records = true && (isSetRecords()); - list.add(present_records); - if(present_records) - list.add(records); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_operator = true && (isSetOperator()); + list.add(present_operator); + if(present_operator) + list.add(operator.getValue()); + + boolean present_values = true && (isSetValues()); + list.add(present_values); + if(present_values) + list.add(values); + + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); - boolean present_identifier = true; - list.add(present_identifier); - if(present_identifier) - list.add(identifier); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -336982,7 +477706,7 @@ public int hashCode() { } @Override - public int compareTo(jsonifyRecordsTimestr_args other) { + public int compareTo(findKeyOperatorValuesTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -336990,14 +477714,38 @@ public int compareTo(jsonifyRecordsTimestr_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetRecords()) - .compareTo(other.isSetRecords()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetRecords()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.records, other.records); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOperator()) + .compareTo(other.isSetOperator()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOperator()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.operator, other.operator); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValues()) + .compareTo(other.isSetValues()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetValues()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.values, other.values); if(lastComparison != 0) { return lastComparison; } @@ -337014,14 +477762,14 @@ public int compareTo(jsonifyRecordsTimestr_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetIdentifier()) - .compareTo(other.isSetIdentifier()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetIdentifier()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.identifier, other.identifier); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -337081,31 +477829,52 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("jsonifyRecordsTimestr_args("); + StringBuilder sb = new StringBuilder( + "findKeyOperatorValuesTimeOrder_args("); boolean first = true; - sb.append("records:"); - if(this.records == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.records); + sb.append(this.key); } first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - if(this.timestamp == null) { + sb.append("operator:"); + if(this.operator == null) { sb.append("null"); } else { - sb.append(this.timestamp); + sb.append(this.operator); } first = false; if(!first) sb.append(", "); - sb.append("identifier:"); - sb.append(this.identifier); + sb.append("values:"); + if(this.values == null) { + sb.append("null"); + } + else { + sb.append(this.values); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -337144,6 +477913,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -337180,18 +477952,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class jsonifyRecordsTimestr_argsStandardSchemeFactory + private static class findKeyOperatorValuesTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public jsonifyRecordsTimestr_argsStandardScheme getScheme() { - return new jsonifyRecordsTimestr_argsStandardScheme(); + public findKeyOperatorValuesTimeOrder_argsStandardScheme getScheme() { + return new findKeyOperatorValuesTimeOrder_argsStandardScheme(); } } - private static class jsonifyRecordsTimestr_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorValuesTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - jsonifyRecordsTimestr_args struct) + findKeyOperatorValuesTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -337201,30 +477973,52 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // RECORDS + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // OPERATOR + if(schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // VALUES if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2454 = iprot + org.apache.thrift.protocol.TList _list3862 = iprot .readListBegin(); - struct.records = new ArrayList( - _list2454.size); - long _elem2455; - for (int _i2456 = 0; _i2456 < _list2454.size; ++_i2456) { - _elem2455 = iprot.readI64(); - struct.records.add(_elem2455); + struct.values = new ArrayList( + _list3862.size); + com.cinchapi.concourse.thrift.TObject _elem3863; + for (int _i3864 = 0; _i3864 < _list3862.size; ++_i3864) { + _elem3863 = new com.cinchapi.concourse.thrift.TObject(); + _elem3863.read(iprot); + struct.values.add(_elem3863); } iprot.readListEnd(); } - struct.setRecordsIsSet(true); + struct.setValuesIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); + case 4: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { @@ -337232,17 +478026,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // IDENTIFIER - if(schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.identifier = iprot.readBool(); - struct.setIdentifierIsSet(true); + case 5: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // CREDS + case 6: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -337253,7 +478048,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 7: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -337264,7 +478059,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 8: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -337288,33 +478083,43 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - jsonifyRecordsTimestr_args struct) + findKeyOperatorValuesTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.records != null) { - oprot.writeFieldBegin(RECORDS_FIELD_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.operator != null) { + oprot.writeFieldBegin(OPERATOR_FIELD_DESC); + oprot.writeI32(struct.operator.getValue()); + oprot.writeFieldEnd(); + } + if(struct.values != null) { + oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, - struct.records.size())); - for (long _iter2457 : struct.records) { - oprot.writeI64(_iter2457); + org.apache.thrift.protocol.TType.STRUCT, + struct.values.size())); + for (com.cinchapi.concourse.thrift.TObject _iter3865 : struct.values) { + _iter3865.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } - oprot.writeFieldBegin(IDENTIFIER_FIELD_DESC); - oprot.writeBool(struct.identifier); - oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -337336,54 +478141,66 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class jsonifyRecordsTimestr_argsTupleSchemeFactory + private static class findKeyOperatorValuesTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public jsonifyRecordsTimestr_argsTupleScheme getScheme() { - return new jsonifyRecordsTimestr_argsTupleScheme(); + public findKeyOperatorValuesTimeOrder_argsTupleScheme getScheme() { + return new findKeyOperatorValuesTimeOrder_argsTupleScheme(); } } - private static class jsonifyRecordsTimestr_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorValuesTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecordsTimestr_args struct) + findKeyOperatorValuesTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetRecords()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetTimestamp()) { + if(struct.isSetOperator()) { optionals.set(1); } - if(struct.isSetIdentifier()) { + if(struct.isSetValues()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); - if(struct.isSetRecords()) { + if(struct.isSetTransaction()) { + optionals.set(6); + } + if(struct.isSetEnvironment()) { + optionals.set(7); + } + oprot.writeBitSet(optionals, 8); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetOperator()) { + oprot.writeI32(struct.operator.getValue()); + } + if(struct.isSetValues()) { { - oprot.writeI32(struct.records.size()); - for (long _iter2458 : struct.records) { - oprot.writeI64(_iter2458); + oprot.writeI32(struct.values.size()); + for (com.cinchapi.concourse.thrift.TObject _iter3866 : struct.values) { + _iter3866.write(oprot); } } } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); } - if(struct.isSetIdentifier()) { - oprot.writeBool(struct.identifier); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -337398,43 +478215,55 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecordsTimestr_args struct) + findKeyOperatorValuesTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(8); if(incoming.get(0)) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + if(incoming.get(1)) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); + } + if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2459 = new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.I64, + org.apache.thrift.protocol.TList _list3867 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.records = new ArrayList(_list2459.size); - long _elem2460; - for (int _i2461 = 0; _i2461 < _list2459.size; ++_i2461) { - _elem2460 = iprot.readI64(); - struct.records.add(_elem2460); + struct.values = new ArrayList( + _list3867.size); + com.cinchapi.concourse.thrift.TObject _elem3868; + for (int _i3869 = 0; _i3869 < _list3867.size; ++_i3869) { + _elem3868 = new com.cinchapi.concourse.thrift.TObject(); + _elem3868.read(iprot); + struct.values.add(_elem3868); } } - struct.setRecordsIsSet(true); + struct.setValuesIsSet(true); } - if(incoming.get(1)) { - struct.timestamp = iprot.readString(); + if(incoming.get(3)) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } - if(incoming.get(2)) { - struct.identifier = iprot.readBool(); - struct.setIdentifierIsSet(true); + if(incoming.get(4)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(5)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(7)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -337443,38 +478272,35 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class jsonifyRecordsTimestr_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorValuesTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "jsonifyRecordsTimestr_result"); + "findKeyOperatorValuesTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "success", org.apache.thrift.protocol.TType.STRING, (short) 0); + "success", org.apache.thrift.protocol.TType.SET, (short) 0); private static final org.apache.thrift.protocol.TField EX_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex", org.apache.thrift.protocol.TType.STRUCT, (short) 1); private static final org.apache.thrift.protocol.TField EX2_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); - private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new jsonifyRecordsTimestr_resultStandardSchemeFactory()); + new findKeyOperatorValuesTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new jsonifyRecordsTimestr_resultTupleSchemeFactory()); + new findKeyOperatorValuesTimeOrder_resultTupleSchemeFactory()); } - public String success; // required + public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.ParseException ex3; // required - public com.cinchapi.concourse.thrift.PermissionException ex4; // required + public com.cinchapi.concourse.thrift.PermissionException ex3; // required /** * The set of fields this struct contains, along with convenience @@ -337484,8 +478310,7 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"), - EX4((short) 4, "ex4"); + EX3((short) 3, "ex3"); private static final Map byName = new LinkedHashMap(); @@ -337509,8 +478334,6 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; - case 4: // EX4 - return EX4; default: return null; } @@ -337562,8 +478385,10 @@ public String getFieldName() { tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + new org.apache.thrift.meta_data.SetMetaData( + org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64)))); tmpMap.put(_Fields.EX, new org.apache.thrift.meta_data.FieldMetaData("ex", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -337579,38 +478404,33 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.EX4, - new org.apache.thrift.meta_data.FieldMetaData("ex4", - org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - jsonifyRecordsTimestr_result.class, metaDataMap); + findKeyOperatorValuesTimeOrder_result.class, metaDataMap); } - public jsonifyRecordsTimestr_result() {} + public findKeyOperatorValuesTimeOrder_result() {} - public jsonifyRecordsTimestr_result(String success, + public findKeyOperatorValuesTimeOrder_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.ParseException ex3, - com.cinchapi.concourse.thrift.PermissionException ex4) { + com.cinchapi.concourse.thrift.PermissionException ex3) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; - this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public jsonifyRecordsTimestr_result( - jsonifyRecordsTimestr_result other) { + public findKeyOperatorValuesTimeOrder_result( + findKeyOperatorValuesTimeOrder_result other) { if(other.isSetSuccess()) { - this.success = other.success; + Set __this__success = new LinkedHashSet( + other.success); + this.success = __this__success; } if(other.isSetEx()) { this.ex = new com.cinchapi.concourse.thrift.SecurityException( @@ -337621,17 +478441,13 @@ public jsonifyRecordsTimestr_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.ParseException( + this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( other.ex3); } - if(other.isSetEx4()) { - this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( - other.ex4); - } } - public jsonifyRecordsTimestr_result deepCopy() { - return new jsonifyRecordsTimestr_result(this); + public findKeyOperatorValuesTimeOrder_result deepCopy() { + return new findKeyOperatorValuesTimeOrder_result(this); } @Override @@ -337640,14 +478456,29 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; - this.ex4 = null; } - public String getSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(long elem) { + if(this.success == null) { + this.success = new LinkedHashSet(); + } + this.success.add(elem); + } + + public Set getSuccess() { return this.success; } - public jsonifyRecordsTimestr_result setSuccess(String success) { + public findKeyOperatorValuesTimeOrder_result setSuccess( + Set success) { this.success = success; return this; } @@ -337674,7 +478505,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public jsonifyRecordsTimestr_result setEx( + public findKeyOperatorValuesTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -337702,7 +478533,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public jsonifyRecordsTimestr_result setEx2( + public findKeyOperatorValuesTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -337726,12 +478557,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.ParseException getEx3() { + public com.cinchapi.concourse.thrift.PermissionException getEx3() { return this.ex3; } - public jsonifyRecordsTimestr_result setEx3( - com.cinchapi.concourse.thrift.ParseException ex3) { + public findKeyOperatorValuesTimeOrder_result setEx3( + com.cinchapi.concourse.thrift.PermissionException ex3) { this.ex3 = ex3; return this; } @@ -337754,34 +478585,6 @@ public void setEx3IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx4() { - return this.ex4; - } - - public jsonifyRecordsTimestr_result setEx4( - com.cinchapi.concourse.thrift.PermissionException ex4) { - this.ex4 = ex4; - return this; - } - - public void unsetEx4() { - this.ex4 = null; - } - - /** - * Returns true if field ex4 is set (has been assigned a value) and - * false otherwise - */ - public boolean isSetEx4() { - return this.ex4 != null; - } - - public void setEx4IsSet(boolean value) { - if(!value) { - this.ex4 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -337789,7 +478592,7 @@ public void setFieldValue(_Fields field, Object value) { unsetSuccess(); } else { - setSuccess((String) value); + setSuccess((Set) value); } break; @@ -337816,16 +478619,7 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.ParseException) value); - } - break; - - case EX4: - if(value == null) { - unsetEx4(); - } - else { - setEx4((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -337846,9 +478640,6 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); - case EX4: - return getEx4(); - } throw new IllegalStateException(); } @@ -337871,8 +478662,6 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); - case EX4: - return isSetEx4(); } throw new IllegalStateException(); } @@ -337881,12 +478670,13 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof jsonifyRecordsTimestr_result) - return this.equals((jsonifyRecordsTimestr_result) that); + if(that instanceof findKeyOperatorValuesTimeOrder_result) + return this + .equals((findKeyOperatorValuesTimeOrder_result) that); return false; } - public boolean equals(jsonifyRecordsTimestr_result that) { + public boolean equals(findKeyOperatorValuesTimeOrder_result that) { if(that == null) return false; @@ -337926,15 +478716,6 @@ public boolean equals(jsonifyRecordsTimestr_result that) { return false; } - boolean this_present_ex4 = true && this.isSetEx4(); - boolean that_present_ex4 = true && that.isSetEx4(); - if(this_present_ex4 || that_present_ex4) { - if(!(this_present_ex4 && that_present_ex4)) - return false; - if(!this.ex4.equals(that.ex4)) - return false; - } - return true; } @@ -337962,16 +478743,11 @@ public int hashCode() { if(present_ex3) list.add(ex3); - boolean present_ex4 = true && (isSetEx4()); - list.add(present_ex4); - if(present_ex4) - list.add(ex4); - return list.hashCode(); } @Override - public int compareTo(jsonifyRecordsTimestr_result other) { + public int compareTo(findKeyOperatorValuesTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -338027,18 +478803,6 @@ public int compareTo(jsonifyRecordsTimestr_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetEx4()) - .compareTo(other.isSetEx4()); - if(lastComparison != 0) { - return lastComparison; - } - if(isSetEx4()) { - lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ex4, other.ex4); - if(lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -338059,7 +478823,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "jsonifyRecordsTimestr_result("); + "findKeyOperatorValuesTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -338100,16 +478864,6 @@ public String toString() { sb.append(this.ex3); } first = false; - if(!first) - sb.append(", "); - sb.append("ex4:"); - if(this.ex4 == null) { - sb.append("null"); - } - else { - sb.append(this.ex4); - } - first = false; sb.append(")"); return sb.toString(); } @@ -338143,18 +478897,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class jsonifyRecordsTimestr_resultStandardSchemeFactory + private static class findKeyOperatorValuesTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public jsonifyRecordsTimestr_resultStandardScheme getScheme() { - return new jsonifyRecordsTimestr_resultStandardScheme(); + public findKeyOperatorValuesTimeOrder_resultStandardScheme getScheme() { + return new findKeyOperatorValuesTimeOrder_resultStandardScheme(); } } - private static class jsonifyRecordsTimestr_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorValuesTimeOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - jsonifyRecordsTimestr_result struct) + findKeyOperatorValuesTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -338165,8 +478919,19 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } switch (schemeField.id) { case 0: // SUCCESS - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.success = iprot.readString(); + if(schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set3870 = iprot + .readSetBegin(); + struct.success = new LinkedHashSet( + 2 * _set3870.size); + long _elem3871; + for (int _i3872 = 0; _i3872 < _set3870.size; ++_i3872) { + _elem3871 = iprot.readI64(); + struct.success.add(_elem3871); + } + iprot.readSetEnd(); + } struct.setSuccessIsSet(true); } else { @@ -338198,7 +478963,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -338207,17 +478972,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // EX4 - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } - else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, - schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -338232,14 +478986,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - jsonifyRecordsTimestr_result struct) + findKeyOperatorValuesTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if(struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeString(struct.success); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + struct.success.size())); + for (long _iter3873 : struct.success) { + oprot.writeI64(_iter3873); + } + oprot.writeSetEnd(); + } oprot.writeFieldEnd(); } if(struct.ex != null) { @@ -338257,30 +479019,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } - if(struct.ex4 != null) { - oprot.writeFieldBegin(EX4_FIELD_DESC); - struct.ex4.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class jsonifyRecordsTimestr_resultTupleSchemeFactory + private static class findKeyOperatorValuesTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public jsonifyRecordsTimestr_resultTupleScheme getScheme() { - return new jsonifyRecordsTimestr_resultTupleScheme(); + public findKeyOperatorValuesTimeOrder_resultTupleScheme getScheme() { + return new findKeyOperatorValuesTimeOrder_resultTupleScheme(); } } - private static class jsonifyRecordsTimestr_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorValuesTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecordsTimestr_result struct) + findKeyOperatorValuesTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -338296,12 +479053,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - if(struct.isSetEx4()) { - optionals.set(4); - } - oprot.writeBitSet(optionals, 5); + oprot.writeBitSet(optionals, 4); if(struct.isSetSuccess()) { - oprot.writeString(struct.success); + { + oprot.writeI32(struct.success.size()); + for (long _iter3874 : struct.success) { + oprot.writeI64(_iter3874); + } + } } if(struct.isSetEx()) { struct.ex.write(oprot); @@ -338312,19 +479071,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } - if(struct.isSetEx4()) { - struct.ex4.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - jsonifyRecordsTimestr_result struct) + findKeyOperatorValuesTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(5); + BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { - struct.success = iprot.readString(); + { + org.apache.thrift.protocol.TSet _set3875 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TType.I64, + iprot.readI32()); + struct.success = new LinkedHashSet( + 2 * _set3875.size); + long _elem3876; + for (int _i3877 = 0; _i3877 < _set3875.size; ++_i3877) { + _elem3876 = iprot.readI64(); + struct.success.add(_elem3876); + } + } struct.setSuccessIsSet(true); } if(incoming.get(1)) { @@ -338338,48 +479105,57 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); + struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } - if(incoming.get(4)) { - struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); - struct.ex4.read(iprot); - struct.setEx4IsSet(true); - } } } } - public static class findCriteria_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorValuesTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findCriteria_args"); + "findKeyOperatorValuesTimestr_args"); - private static final org.apache.thrift.protocol.TField CRITERIA_FIELD_DESC = new org.apache.thrift.protocol.TField( - "criteria", org.apache.thrift.protocol.TType.STRUCT, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField( + "operator", org.apache.thrift.protocol.TType.I32, (short) 2); + private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( + "values", org.apache.thrift.protocol.TType.LIST, (short) 3); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 6); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 7); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findCriteria_argsStandardSchemeFactory()); + new findKeyOperatorValuesTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findCriteria_argsTupleSchemeFactory()); + new findKeyOperatorValuesTimestr_argsTupleSchemeFactory()); } - public com.cinchapi.concourse.thrift.TCriteria criteria; // required + public String key; // required + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator operator; // required + public List values; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -338389,10 +479165,17 @@ public static class findCriteria_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CRITERIA((short) 1, "criteria"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEY((short) 1, "key"), + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + OPERATOR((short) 2, "operator"), + VALUES((short) 3, "values"), + TIMESTAMP((short) 4, "timestamp"), + CREDS((short) 5, "creds"), + TRANSACTION((short) 6, "transaction"), + ENVIRONMENT((short) 7, "environment"); private static final Map byName = new LinkedHashMap(); @@ -338408,13 +479191,19 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CRITERIA - return CRITERIA; - case 2: // CREDS + case 1: // KEY + return KEY; + case 2: // OPERATOR + return OPERATOR; + case 3: // VALUES + return VALUES; + case 4: // TIMESTAMP + return TIMESTAMP; + case 5: // CREDS return CREDS; - case 3: // TRANSACTION + case 6: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 7: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -338464,12 +479253,30 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CRITERIA, - new org.apache.thrift.meta_data.FieldMetaData("criteria", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, - com.cinchapi.concourse.thrift.TCriteria.class))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.OPERATOR, + new org.apache.thrift.meta_data.FieldMetaData("operator", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Operator.class))); + tmpMap.put(_Fields.VALUES, + new org.apache.thrift.meta_data.FieldMetaData("values", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -338488,19 +479295,24 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(findCriteria_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + findKeyOperatorValuesTimestr_args.class, metaDataMap); } - public findCriteria_args() {} + public findKeyOperatorValuesTimestr_args() {} - public findCriteria_args( - com.cinchapi.concourse.thrift.TCriteria criteria, + public findKeyOperatorValuesTimestr_args(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.criteria = criteria; + this.key = key; + this.operator = operator; + this.values = values; + this.timestamp = timestamp; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -338509,10 +479321,26 @@ public findCriteria_args( /** * Performs a deep copy on other. */ - public findCriteria_args(findCriteria_args other) { - if(other.isSetCriteria()) { - this.criteria = new com.cinchapi.concourse.thrift.TCriteria( - other.criteria); + public findKeyOperatorValuesTimestr_args( + findKeyOperatorValuesTimestr_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetOperator()) { + this.operator = other.operator; + } + if(other.isSetValues()) { + List __this__values = new ArrayList( + other.values.size()); + for (com.cinchapi.concourse.thrift.TObject other_element : other.values) { + __this__values + .add(new com.cinchapi.concourse.thrift.TObject( + other_element)); + } + this.values = __this__values; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -338527,43 +479355,152 @@ public findCriteria_args(findCriteria_args other) { } } - public findCriteria_args deepCopy() { - return new findCriteria_args(this); + public findKeyOperatorValuesTimestr_args deepCopy() { + return new findKeyOperatorValuesTimestr_args(this); } @Override public void clear() { - this.criteria = null; + this.key = null; + this.operator = null; + this.values = null; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; } - public com.cinchapi.concourse.thrift.TCriteria getCriteria() { - return this.criteria; + public String getKey() { + return this.key; } - public findCriteria_args setCriteria( - com.cinchapi.concourse.thrift.TCriteria criteria) { - this.criteria = criteria; + public findKeyOperatorValuesTimestr_args setKey(String key) { + this.key = key; return this; } - public void unsetCriteria() { - this.criteria = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field criteria is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetCriteria() { - return this.criteria != null; + public boolean isSetKey() { + return this.key != null; } - public void setCriteriaIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.criteria = null; + this.key = null; + } + } + + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator getOperator() { + return this.operator; + } + + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public findKeyOperatorValuesTimestr_args setOperator( + com.cinchapi.concourse.thrift.Operator operator) { + this.operator = operator; + return this; + } + + public void unsetOperator() { + this.operator = null; + } + + /** + * Returns true if field operator is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOperator() { + return this.operator != null; + } + + public void setOperatorIsSet(boolean value) { + if(!value) { + this.operator = null; + } + } + + public int getValuesSize() { + return (this.values == null) ? 0 : this.values.size(); + } + + public java.util.Iterator getValuesIterator() { + return (this.values == null) ? null : this.values.iterator(); + } + + public void addToValues(com.cinchapi.concourse.thrift.TObject elem) { + if(this.values == null) { + this.values = new ArrayList(); + } + this.values.add(elem); + } + + public List getValues() { + return this.values; + } + + public findKeyOperatorValuesTimestr_args setValues( + List values) { + this.values = values; + return this; + } + + public void unsetValues() { + this.values = null; + } + + /** + * Returns true if field values is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetValues() { + return this.values != null; + } + + public void setValuesIsSet(boolean value) { + if(!value) { + this.values = null; + } + } + + public String getTimestamp() { + return this.timestamp; + } + + public findKeyOperatorValuesTimestr_args setTimestamp( + String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; } } @@ -338571,7 +479508,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public findCriteria_args setCreds( + public findKeyOperatorValuesTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -338599,7 +479536,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public findCriteria_args setTransaction( + public findKeyOperatorValuesTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -338627,7 +479564,8 @@ public String getEnvironment() { return this.environment; } - public findCriteria_args setEnvironment(String environment) { + public findKeyOperatorValuesTimestr_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -338652,13 +479590,40 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CRITERIA: + case KEY: if(value == null) { - unsetCriteria(); + unsetKey(); } else { - setCriteria( - (com.cinchapi.concourse.thrift.TCriteria) value); + setKey((String) value); + } + break; + + case OPERATOR: + if(value == null) { + unsetOperator(); + } + else { + setOperator((com.cinchapi.concourse.thrift.Operator) value); + } + break; + + case VALUES: + if(value == null) { + unsetValues(); + } + else { + setValues( + (List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); } break; @@ -338695,8 +479660,17 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CRITERIA: - return getCriteria(); + case KEY: + return getKey(); + + case OPERATOR: + return getOperator(); + + case VALUES: + return getValues(); + + case TIMESTAMP: + return getTimestamp(); case CREDS: return getCreds(); @@ -338721,8 +479695,14 @@ public boolean isSet(_Fields field) { } switch (field) { - case CRITERIA: - return isSetCriteria(); + case KEY: + return isSetKey(); + case OPERATOR: + return isSetOperator(); + case VALUES: + return isSetValues(); + case TIMESTAMP: + return isSetTimestamp(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -338737,21 +479717,48 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findCriteria_args) - return this.equals((findCriteria_args) that); + if(that instanceof findKeyOperatorValuesTimestr_args) + return this.equals((findKeyOperatorValuesTimestr_args) that); return false; } - public boolean equals(findCriteria_args that) { + public boolean equals(findKeyOperatorValuesTimestr_args that) { if(that == null) return false; - boolean this_present_criteria = true && this.isSetCriteria(); - boolean that_present_criteria = true && that.isSetCriteria(); - if(this_present_criteria || that_present_criteria) { - if(!(this_present_criteria && that_present_criteria)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.criteria.equals(that.criteria)) + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_operator = true && this.isSetOperator(); + boolean that_present_operator = true && that.isSetOperator(); + if(this_present_operator || that_present_operator) { + if(!(this_present_operator && that_present_operator)) + return false; + if(!this.operator.equals(that.operator)) + return false; + } + + boolean this_present_values = true && this.isSetValues(); + boolean that_present_values = true && that.isSetValues(); + if(this_present_values || that_present_values) { + if(!(this_present_values && that_present_values)) + return false; + if(!this.values.equals(that.values)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -338789,10 +479796,25 @@ public boolean equals(findCriteria_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_criteria = true && (isSetCriteria()); - list.add(present_criteria); - if(present_criteria) - list.add(criteria); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_operator = true && (isSetOperator()); + list.add(present_operator); + if(present_operator) + list.add(operator.getValue()); + + boolean present_values = true && (isSetValues()); + list.add(present_values); + if(present_values) + list.add(values); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -338813,7 +479835,7 @@ public int hashCode() { } @Override - public int compareTo(findCriteria_args other) { + public int compareTo(findKeyOperatorValuesTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -338821,14 +479843,50 @@ public int compareTo(findCriteria_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCriteria()) - .compareTo(other.isSetCriteria()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetCriteria()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.criteria, other.criteria); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOperator()) + .compareTo(other.isSetOperator()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOperator()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.operator, other.operator); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValues()) + .compareTo(other.isSetValues()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetValues()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.values, other.values); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); if(lastComparison != 0) { return lastComparison; } @@ -338888,15 +479946,46 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("findCriteria_args("); + StringBuilder sb = new StringBuilder( + "findKeyOperatorValuesTimestr_args("); boolean first = true; - sb.append("criteria:"); - if(this.criteria == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.criteria); + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("operator:"); + if(this.operator == null) { + sb.append("null"); + } + else { + sb.append(this.operator); + } + first = false; + if(!first) + sb.append(", "); + sb.append("values:"); + if(this.values == null) { + sb.append("null"); + } + else { + sb.append(this.values); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); } first = false; if(!first) @@ -338936,9 +480025,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if(criteria != null) { - criteria.validate(); - } if(creds != null) { creds.validate(); } @@ -338971,18 +480057,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findCriteria_argsStandardSchemeFactory + private static class findKeyOperatorValuesTimestr_argsStandardSchemeFactory implements SchemeFactory { - public findCriteria_argsStandardScheme getScheme() { - return new findCriteria_argsStandardScheme(); + public findKeyOperatorValuesTimestr_argsStandardScheme getScheme() { + return new findKeyOperatorValuesTimestr_argsStandardScheme(); } } - private static class findCriteria_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorValuesTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findCriteria_args struct) + findKeyOperatorValuesTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -338992,18 +480078,60 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CRITERIA - if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // OPERATOR + if(schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // VALUES + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3878 = iprot + .readListBegin(); + struct.values = new ArrayList( + _list3878.size); + com.cinchapi.concourse.thrift.TObject _elem3879; + for (int _i3880 = 0; _i3880 < _list3878.size; ++_i3880) { + _elem3879 = new com.cinchapi.concourse.thrift.TObject(); + _elem3879.read(iprot); + struct.values.add(_elem3879); + } + iprot.readListEnd(); + } + struct.setValuesIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -339014,7 +480142,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 6: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -339025,7 +480153,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 7: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -339049,14 +480177,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findCriteria_args struct) + findKeyOperatorValuesTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.criteria != null) { - oprot.writeFieldBegin(CRITERIA_FIELD_DESC); - struct.criteria.write(oprot); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.operator != null) { + oprot.writeFieldBegin(OPERATOR_FIELD_DESC); + oprot.writeI32(struct.operator.getValue()); + oprot.writeFieldEnd(); + } + if(struct.values != null) { + oprot.writeFieldBegin(VALUES_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, + struct.values.size())); + for (com.cinchapi.concourse.thrift.TObject _iter3881 : struct.values) { + _iter3881.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -339080,37 +480232,60 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findCriteria_argsTupleSchemeFactory + private static class findKeyOperatorValuesTimestr_argsTupleSchemeFactory implements SchemeFactory { - public findCriteria_argsTupleScheme getScheme() { - return new findCriteria_argsTupleScheme(); + public findKeyOperatorValuesTimestr_argsTupleScheme getScheme() { + return new findKeyOperatorValuesTimestr_argsTupleScheme(); } } - private static class findCriteria_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorValuesTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findCriteria_args struct) + findKeyOperatorValuesTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCriteria()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetOperator()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetValues()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetTimestamp()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetCriteria()) { - struct.criteria.write(oprot); + if(struct.isSetCreds()) { + optionals.set(4); + } + if(struct.isSetTransaction()) { + optionals.set(5); + } + if(struct.isSetEnvironment()) { + optionals.set(6); + } + oprot.writeBitSet(optionals, 7); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetOperator()) { + oprot.writeI32(struct.operator.getValue()); + } + if(struct.isSetValues()) { + { + oprot.writeI32(struct.values.size()); + for (com.cinchapi.concourse.thrift.TObject _iter3882 : struct.values) { + _iter3882.write(oprot); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -339125,26 +480300,50 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findCriteria_args struct) + findKeyOperatorValuesTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(7); if(incoming.get(0)) { - struct.criteria = new com.cinchapi.concourse.thrift.TCriteria(); - struct.criteria.read(iprot); - struct.setCriteriaIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); + } + if(incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list3883 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + struct.values = new ArrayList( + _list3883.size); + com.cinchapi.concourse.thrift.TObject _elem3884; + for (int _i3885 = 0; _i3885 < _list3883.size; ++_i3885) { + _elem3884 = new com.cinchapi.concourse.thrift.TObject(); + _elem3884.read(iprot); + struct.values.add(_elem3884); + } + } + struct.setValuesIsSet(true); + } + if(incoming.get(3)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(5)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(6)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -339153,13 +480352,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findCriteria_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorValuesTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findCriteria_result"); + "findKeyOperatorValuesTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.SET, (short) 0); @@ -339169,19 +480368,22 @@ public static class findCriteria_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findCriteria_resultStandardSchemeFactory()); + new findKeyOperatorValuesTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findCriteria_resultTupleSchemeFactory()); + new findKeyOperatorValuesTimestr_resultTupleSchemeFactory()); } public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -339191,7 +480393,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -339215,6 +480418,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -339285,28 +480490,36 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findCriteria_result.class, metaDataMap); + findKeyOperatorValuesTimestr_result.class, metaDataMap); } - public findCriteria_result() {} + public findKeyOperatorValuesTimestr_result() {} - public findCriteria_result(Set success, + public findKeyOperatorValuesTimestr_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public findCriteria_result(findCriteria_result other) { + public findKeyOperatorValuesTimestr_result( + findKeyOperatorValuesTimestr_result other) { if(other.isSetSuccess()) { Set __this__success = new LinkedHashSet( other.success); @@ -339321,13 +480534,17 @@ public findCriteria_result(findCriteria_result other) { other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public findCriteria_result deepCopy() { - return new findCriteria_result(this); + public findKeyOperatorValuesTimestr_result deepCopy() { + return new findKeyOperatorValuesTimestr_result(this); } @Override @@ -339336,6 +480553,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -339357,7 +480575,8 @@ public Set getSuccess() { return this.success; } - public findCriteria_result setSuccess(Set success) { + public findKeyOperatorValuesTimestr_result setSuccess( + Set success) { this.success = success; return this; } @@ -339384,7 +480603,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public findCriteria_result setEx( + public findKeyOperatorValuesTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -339412,7 +480631,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public findCriteria_result setEx2( + public findKeyOperatorValuesTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -339436,12 +480655,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public findCriteria_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public findKeyOperatorValuesTimestr_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -339464,6 +480683,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public findKeyOperatorValuesTimestr_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -339498,7 +480745,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -339519,6 +480775,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -339541,6 +480800,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -339549,12 +480810,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findCriteria_result) - return this.equals((findCriteria_result) that); + if(that instanceof findKeyOperatorValuesTimestr_result) + return this.equals((findKeyOperatorValuesTimestr_result) that); return false; } - public boolean equals(findCriteria_result that) { + public boolean equals(findKeyOperatorValuesTimestr_result that) { if(that == null) return false; @@ -339594,6 +480855,15 @@ public boolean equals(findCriteria_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -339621,11 +480891,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(findCriteria_result other) { + public int compareTo(findKeyOperatorValuesTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -339681,6 +480956,18 @@ public int compareTo(findCriteria_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -339700,7 +480987,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("findCriteria_result("); + StringBuilder sb = new StringBuilder( + "findKeyOperatorValuesTimestr_result("); boolean first = true; sb.append("success:"); @@ -339741,6 +481029,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -339774,18 +481072,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findCriteria_resultStandardSchemeFactory + private static class findKeyOperatorValuesTimestr_resultStandardSchemeFactory implements SchemeFactory { - public findCriteria_resultStandardScheme getScheme() { - return new findCriteria_resultStandardScheme(); + public findKeyOperatorValuesTimestr_resultStandardScheme getScheme() { + return new findKeyOperatorValuesTimestr_resultStandardScheme(); } } - private static class findCriteria_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorValuesTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findCriteria_result struct) + findKeyOperatorValuesTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -339798,14 +481096,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set2462 = iprot + org.apache.thrift.protocol.TSet _set3886 = iprot .readSetBegin(); struct.success = new LinkedHashSet( - 2 * _set2462.size); - long _elem2463; - for (int _i2464 = 0; _i2464 < _set2462.size; ++_i2464) { - _elem2463 = iprot.readI64(); - struct.success.add(_elem2463); + 2 * _set3886.size); + long _elem3887; + for (int _i3888 = 0; _i3888 < _set3886.size; ++_i3888) { + _elem3887 = iprot.readI64(); + struct.success.add(_elem3887); } iprot.readSetEnd(); } @@ -339840,7 +481138,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -339849,6 +481147,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -339863,7 +481172,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findCriteria_result struct) + findKeyOperatorValuesTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -339874,8 +481183,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, struct.success.size())); - for (long _iter2465 : struct.success) { - oprot.writeI64(_iter2465); + for (long _iter3889 : struct.success) { + oprot.writeI64(_iter3889); } oprot.writeSetEnd(); } @@ -339896,25 +481205,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class findCriteria_resultTupleSchemeFactory + private static class findKeyOperatorValuesTimestr_resultTupleSchemeFactory implements SchemeFactory { - public findCriteria_resultTupleScheme getScheme() { - return new findCriteria_resultTupleScheme(); + public findKeyOperatorValuesTimestr_resultTupleScheme getScheme() { + return new findKeyOperatorValuesTimestr_resultTupleScheme(); } } - private static class findCriteria_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorValuesTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findCriteria_result struct) + findKeyOperatorValuesTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -339930,12 +481244,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter2466 : struct.success) { - oprot.writeI64(_iter2466); + for (long _iter3890 : struct.success) { + oprot.writeI64(_iter3890); } } } @@ -339948,25 +481265,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findCriteria_result struct) + findKeyOperatorValuesTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set2467 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set3891 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.success = new LinkedHashSet( - 2 * _set2467.size); - long _elem2468; - for (int _i2469 = 0; _i2469 < _set2467.size; ++_i2469) { - _elem2468 = iprot.readI64(); - struct.success.add(_elem2468); + 2 * _set3891.size); + long _elem3892; + for (int _i3893 = 0; _i3893 < _set3891.size; ++_i3893) { + _elem3892 = iprot.readI64(); + struct.success.add(_elem3892); } } struct.setSuccessIsSet(true); @@ -339982,43 +481302,65 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class findCcl_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorValuesTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findCcl_args"); + "findKeyOperatorValuesTimestrOrder_args"); - private static final org.apache.thrift.protocol.TField CCL_FIELD_DESC = new org.apache.thrift.protocol.TField( - "ccl", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField( + "operator", org.apache.thrift.protocol.TType.I32, (short) 2); + private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( + "values", org.apache.thrift.protocol.TType.LIST, (short) 3); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 4); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 6); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 3); + (short) 7); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 4); + (short) 8); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findCcl_argsStandardSchemeFactory()); + new findKeyOperatorValuesTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findCcl_argsTupleSchemeFactory()); + new findKeyOperatorValuesTimestrOrder_argsTupleSchemeFactory()); } - public String ccl; // required + public String key; // required + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator operator; // required + public List values; // required + public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -340028,10 +481370,18 @@ public static class findCcl_args implements * methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CCL((short) 1, "ccl"), - CREDS((short) 2, "creds"), - TRANSACTION((short) 3, "transaction"), - ENVIRONMENT((short) 4, "environment"); + KEY((short) 1, "key"), + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + OPERATOR((short) 2, "operator"), + VALUES((short) 3, "values"), + TIMESTAMP((short) 4, "timestamp"), + ORDER((short) 5, "order"), + CREDS((short) 6, "creds"), + TRANSACTION((short) 7, "transaction"), + ENVIRONMENT((short) 8, "environment"); private static final Map byName = new LinkedHashMap(); @@ -340047,13 +481397,21 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { */ public static _Fields findByThriftId(int fieldId) { switch (fieldId) { - case 1: // CCL - return CCL; - case 2: // CREDS + case 1: // KEY + return KEY; + case 2: // OPERATOR + return OPERATOR; + case 3: // VALUES + return VALUES; + case 4: // TIMESTAMP + return TIMESTAMP; + case 5: // ORDER + return ORDER; + case 6: // CREDS return CREDS; - case 3: // TRANSACTION + case 7: // TRANSACTION return TRANSACTION; - case 4: // ENVIRONMENT + case 8: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -340103,11 +481461,36 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( _Fields.class); - tmpMap.put(_Fields.CCL, - new org.apache.thrift.meta_data.FieldMetaData("ccl", + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.OPERATOR, + new org.apache.thrift.meta_data.FieldMetaData("operator", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.EnumMetaData( + org.apache.thrift.protocol.TType.ENUM, + com.cinchapi.concourse.thrift.Operator.class))); + tmpMap.put(_Fields.VALUES, + new org.apache.thrift.meta_data.FieldMetaData("values", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TObject.class)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -340126,18 +481509,25 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(findCcl_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + findKeyOperatorValuesTimestrOrder_args.class, metaDataMap); } - public findCcl_args() {} + public findKeyOperatorValuesTimestrOrder_args() {} - public findCcl_args(String ccl, + public findKeyOperatorValuesTimestrOrder_args(String key, + com.cinchapi.concourse.thrift.Operator operator, + List values, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); - this.ccl = ccl; + this.key = key; + this.operator = operator; + this.values = values; + this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -340146,9 +481536,30 @@ public findCcl_args(String ccl, /** * Performs a deep copy on other. */ - public findCcl_args(findCcl_args other) { - if(other.isSetCcl()) { - this.ccl = other.ccl; + public findKeyOperatorValuesTimestrOrder_args( + findKeyOperatorValuesTimestrOrder_args other) { + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetOperator()) { + this.operator = other.operator; + } + if(other.isSetValues()) { + List __this__values = new ArrayList( + other.values.size()); + for (com.cinchapi.concourse.thrift.TObject other_element : other.values) { + __this__values + .add(new com.cinchapi.concourse.thrift.TObject( + other_element)); + } + this.values = __this__values; + } + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( @@ -340163,42 +481574,181 @@ public findCcl_args(findCcl_args other) { } } - public findCcl_args deepCopy() { - return new findCcl_args(this); + public findKeyOperatorValuesTimestrOrder_args deepCopy() { + return new findKeyOperatorValuesTimestrOrder_args(this); } @Override public void clear() { - this.ccl = null; + this.key = null; + this.operator = null; + this.values = null; + this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; } - public String getCcl() { - return this.ccl; + public String getKey() { + return this.key; } - public findCcl_args setCcl(String ccl) { - this.ccl = ccl; + public findKeyOperatorValuesTimestrOrder_args setKey(String key) { + this.key = key; return this; } - public void unsetCcl() { - this.ccl = null; + public void unsetKey() { + this.key = null; } /** - * Returns true if field ccl is set (has been assigned a value) and + * Returns true if field key is set (has been assigned a value) and * false otherwise */ - public boolean isSetCcl() { - return this.ccl != null; + public boolean isSetKey() { + return this.key != null; } - public void setCclIsSet(boolean value) { + public void setKeyIsSet(boolean value) { if(!value) { - this.ccl = null; + this.key = null; + } + } + + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public com.cinchapi.concourse.thrift.Operator getOperator() { + return this.operator; + } + + /** + * + * @see com.cinchapi.concourse.thrift.Operator + */ + public findKeyOperatorValuesTimestrOrder_args setOperator( + com.cinchapi.concourse.thrift.Operator operator) { + this.operator = operator; + return this; + } + + public void unsetOperator() { + this.operator = null; + } + + /** + * Returns true if field operator is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOperator() { + return this.operator != null; + } + + public void setOperatorIsSet(boolean value) { + if(!value) { + this.operator = null; + } + } + + public int getValuesSize() { + return (this.values == null) ? 0 : this.values.size(); + } + + public java.util.Iterator getValuesIterator() { + return (this.values == null) ? null : this.values.iterator(); + } + + public void addToValues(com.cinchapi.concourse.thrift.TObject elem) { + if(this.values == null) { + this.values = new ArrayList(); + } + this.values.add(elem); + } + + public List getValues() { + return this.values; + } + + public findKeyOperatorValuesTimestrOrder_args setValues( + List values) { + this.values = values; + return this; + } + + public void unsetValues() { + this.values = null; + } + + /** + * Returns true if field values is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetValues() { + return this.values != null; + } + + public void setValuesIsSet(boolean value) { + if(!value) { + this.values = null; + } + } + + public String getTimestamp() { + return this.timestamp; + } + + public findKeyOperatorValuesTimestrOrder_args setTimestamp( + String timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public findKeyOperatorValuesTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; } } @@ -340206,7 +481756,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public findCcl_args setCreds( + public findKeyOperatorValuesTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -340234,7 +481784,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public findCcl_args setTransaction( + public findKeyOperatorValuesTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -340262,7 +481812,8 @@ public String getEnvironment() { return this.environment; } - public findCcl_args setEnvironment(String environment) { + public findKeyOperatorValuesTimestrOrder_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -340287,12 +481838,49 @@ public void setEnvironmentIsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { - case CCL: + case KEY: if(value == null) { - unsetCcl(); + unsetKey(); } else { - setCcl((String) value); + setKey((String) value); + } + break; + + case OPERATOR: + if(value == null) { + unsetOperator(); + } + else { + setOperator((com.cinchapi.concourse.thrift.Operator) value); + } + break; + + case VALUES: + if(value == null) { + unsetValues(); + } + else { + setValues( + (List) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((String) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -340329,8 +481917,20 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case CCL: - return getCcl(); + case KEY: + return getKey(); + + case OPERATOR: + return getOperator(); + + case VALUES: + return getValues(); + + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -340355,8 +481955,16 @@ public boolean isSet(_Fields field) { } switch (field) { - case CCL: - return isSetCcl(); + case KEY: + return isSetKey(); + case OPERATOR: + return isSetOperator(); + case VALUES: + return isSetValues(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -340371,21 +481979,58 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findCcl_args) - return this.equals((findCcl_args) that); + if(that instanceof findKeyOperatorValuesTimestrOrder_args) + return this + .equals((findKeyOperatorValuesTimestrOrder_args) that); return false; } - public boolean equals(findCcl_args that) { + public boolean equals(findKeyOperatorValuesTimestrOrder_args that) { if(that == null) return false; - boolean this_present_ccl = true && this.isSetCcl(); - boolean that_present_ccl = true && that.isSetCcl(); - if(this_present_ccl || that_present_ccl) { - if(!(this_present_ccl && that_present_ccl)) + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) return false; - if(!this.ccl.equals(that.ccl)) + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_operator = true && this.isSetOperator(); + boolean that_present_operator = true && that.isSetOperator(); + if(this_present_operator || that_present_operator) { + if(!(this_present_operator && that_present_operator)) + return false; + if(!this.operator.equals(that.operator)) + return false; + } + + boolean this_present_values = true && this.isSetValues(); + boolean that_present_values = true && that.isSetValues(); + if(this_present_values || that_present_values) { + if(!(this_present_values && that_present_values)) + return false; + if(!this.values.equals(that.values)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) return false; } @@ -340423,10 +482068,30 @@ public boolean equals(findCcl_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_ccl = true && (isSetCcl()); - list.add(present_ccl); - if(present_ccl) - list.add(ccl); + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_operator = true && (isSetOperator()); + list.add(present_operator); + if(present_operator) + list.add(operator.getValue()); + + boolean present_values = true && (isSetValues()); + list.add(present_values); + if(present_values) + list.add(values); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -340447,7 +482112,7 @@ public int hashCode() { } @Override - public int compareTo(findCcl_args other) { + public int compareTo(findKeyOperatorValuesTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -340455,14 +482120,62 @@ public int compareTo(findCcl_args other) { int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetCcl()) - .compareTo(other.isSetCcl()); + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); if(lastComparison != 0) { return lastComparison; } - if(isSetCcl()) { + if(isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.ccl, other.ccl); + .compareTo(this.key, other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOperator()) + .compareTo(other.isSetOperator()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOperator()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.operator, other.operator); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValues()) + .compareTo(other.isSetValues()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetValues()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.values, other.values); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -340522,15 +482235,56 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("findCcl_args("); + StringBuilder sb = new StringBuilder( + "findKeyOperatorValuesTimestrOrder_args("); boolean first = true; - sb.append("ccl:"); - if(this.ccl == null) { + sb.append("key:"); + if(this.key == null) { sb.append("null"); } else { - sb.append(this.ccl); + sb.append(this.key); + } + first = false; + if(!first) + sb.append(", "); + sb.append("operator:"); + if(this.operator == null) { + sb.append("null"); + } + else { + sb.append(this.operator); + } + first = false; + if(!first) + sb.append(", "); + sb.append("values:"); + if(this.values == null) { + sb.append("null"); + } + else { + sb.append(this.values); + } + first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); } first = false; if(!first) @@ -340570,6 +482324,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -340602,18 +482359,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findCcl_argsStandardSchemeFactory + private static class findKeyOperatorValuesTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public findCcl_argsStandardScheme getScheme() { - return new findCcl_argsStandardScheme(); + public findKeyOperatorValuesTimestrOrder_argsStandardScheme getScheme() { + return new findKeyOperatorValuesTimestrOrder_argsStandardScheme(); } } - private static class findCcl_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorValuesTimestrOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findCcl_args struct) throws org.apache.thrift.TException { + findKeyOperatorValuesTimestrOrder_args struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -340622,17 +482380,71 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; } switch (schemeField.id) { - case 1: // CCL + case 1: // KEY if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // CREDS + case 2: // OPERATOR + if(schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // VALUES + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list3894 = iprot + .readListBegin(); + struct.values = new ArrayList( + _list3894.size); + com.cinchapi.concourse.thrift.TObject _elem3895; + for (int _i3896 = 0; _i3896 < _list3894.size; ++_i3896) { + _elem3895 = new com.cinchapi.concourse.thrift.TObject(); + _elem3895.read(iprot); + struct.values.add(_elem3895); + } + iprot.readListEnd(); + } + struct.setValuesIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 4: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -340643,7 +482455,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 3: // TRANSACTION + case 7: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -340654,7 +482466,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // ENVIRONMENT + case 8: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -340678,13 +482490,43 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findCcl_args struct) throws org.apache.thrift.TException { + findKeyOperatorValuesTimestrOrder_args struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if(struct.ccl != null) { - oprot.writeFieldBegin(CCL_FIELD_DESC); - oprot.writeString(struct.ccl); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.operator != null) { + oprot.writeFieldBegin(OPERATOR_FIELD_DESC); + oprot.writeI32(struct.operator.getValue()); + oprot.writeFieldEnd(); + } + if(struct.values != null) { + oprot.writeFieldBegin(VALUES_FIELD_DESC); + { + oprot.writeListBegin( + new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, + struct.values.size())); + for (com.cinchapi.concourse.thrift.TObject _iter3897 : struct.values) { + _iter3897.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); oprot.writeFieldEnd(); } if(struct.creds != null) { @@ -340708,36 +482550,66 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findCcl_argsTupleSchemeFactory + private static class findKeyOperatorValuesTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public findCcl_argsTupleScheme getScheme() { - return new findCcl_argsTupleScheme(); + public findKeyOperatorValuesTimestrOrder_argsTupleScheme getScheme() { + return new findKeyOperatorValuesTimestrOrder_argsTupleScheme(); } } - private static class findCcl_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorValuesTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findCcl_args struct) throws org.apache.thrift.TException { + findKeyOperatorValuesTimestrOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if(struct.isSetCcl()) { + if(struct.isSetKey()) { optionals.set(0); } - if(struct.isSetCreds()) { + if(struct.isSetOperator()) { optionals.set(1); } - if(struct.isSetTransaction()) { + if(struct.isSetValues()) { optionals.set(2); } - if(struct.isSetEnvironment()) { + if(struct.isSetTimestamp()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); - if(struct.isSetCcl()) { - oprot.writeString(struct.ccl); + if(struct.isSetOrder()) { + optionals.set(4); + } + if(struct.isSetCreds()) { + optionals.set(5); + } + if(struct.isSetTransaction()) { + optionals.set(6); + } + if(struct.isSetEnvironment()) { + optionals.set(7); + } + oprot.writeBitSet(optionals, 8); + if(struct.isSetKey()) { + oprot.writeString(struct.key); + } + if(struct.isSetOperator()) { + oprot.writeI32(struct.operator.getValue()); + } + if(struct.isSetValues()) { + { + oprot.writeI32(struct.values.size()); + for (com.cinchapi.concourse.thrift.TObject _iter3898 : struct.values) { + _iter3898.write(oprot); + } + } + } + if(struct.isSetTimestamp()) { + oprot.writeString(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -340752,24 +482624,55 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findCcl_args struct) throws org.apache.thrift.TException { + findKeyOperatorValuesTimestrOrder_args struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(8); if(incoming.get(0)) { - struct.ccl = iprot.readString(); - struct.setCclIsSet(true); + struct.key = iprot.readString(); + struct.setKeyIsSet(true); } if(incoming.get(1)) { + struct.operator = com.cinchapi.concourse.thrift.Operator + .findByValue(iprot.readI32()); + struct.setOperatorIsSet(true); + } + if(incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list3899 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + struct.values = new ArrayList( + _list3899.size); + com.cinchapi.concourse.thrift.TObject _elem3900; + for (int _i3901 = 0; _i3901 < _list3899.size; ++_i3901) { + _elem3900 = new com.cinchapi.concourse.thrift.TObject(); + _elem3900.read(iprot); + struct.values.add(_elem3900); + } + } + struct.setValuesIsSet(true); + } + if(incoming.get(3)) { + struct.timestamp = iprot.readString(); + struct.setTimestampIsSet(true); + } + if(incoming.get(4)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(5)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(2)) { + if(incoming.get(6)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(3)) { + if(incoming.get(7)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -340778,13 +482681,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findCcl_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorValuesTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findCcl_result"); + "findKeyOperatorValuesTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.SET, (short) 0); @@ -340800,9 +482703,9 @@ public static class findCcl_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findCcl_resultStandardSchemeFactory()); + new findKeyOperatorValuesTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findCcl_resultTupleSchemeFactory()); + new findKeyOperatorValuesTimestrOrder_resultTupleSchemeFactory()); } public Set success; // required @@ -340922,13 +482825,14 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData - .addStructMetaDataMap(findCcl_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( + findKeyOperatorValuesTimestrOrder_result.class, + metaDataMap); } - public findCcl_result() {} + public findKeyOperatorValuesTimestrOrder_result() {} - public findCcl_result(Set success, + public findKeyOperatorValuesTimestrOrder_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -340944,7 +482848,8 @@ public findCcl_result(Set success, /** * Performs a deep copy on other. */ - public findCcl_result(findCcl_result other) { + public findKeyOperatorValuesTimestrOrder_result( + findKeyOperatorValuesTimestrOrder_result other) { if(other.isSetSuccess()) { Set __this__success = new LinkedHashSet( other.success); @@ -340968,8 +482873,8 @@ public findCcl_result(findCcl_result other) { } } - public findCcl_result deepCopy() { - return new findCcl_result(this); + public findKeyOperatorValuesTimestrOrder_result deepCopy() { + return new findKeyOperatorValuesTimestrOrder_result(this); } @Override @@ -341000,7 +482905,8 @@ public Set getSuccess() { return this.success; } - public findCcl_result setSuccess(Set success) { + public findKeyOperatorValuesTimestrOrder_result setSuccess( + Set success) { this.success = success; return this; } @@ -341027,7 +482933,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public findCcl_result setEx( + public findKeyOperatorValuesTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -341055,7 +482961,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public findCcl_result setEx2( + public findKeyOperatorValuesTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -341083,7 +482989,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public findCcl_result setEx3( + public findKeyOperatorValuesTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -341111,7 +483017,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public findCcl_result setEx4( + public findKeyOperatorValuesTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -341234,12 +483140,13 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findCcl_result) - return this.equals((findCcl_result) that); + if(that instanceof findKeyOperatorValuesTimestrOrder_result) + return this.equals( + (findKeyOperatorValuesTimestrOrder_result) that); return false; } - public boolean equals(findCcl_result that) { + public boolean equals(findKeyOperatorValuesTimestrOrder_result that) { if(that == null) return false; @@ -341324,7 +483231,7 @@ public int hashCode() { } @Override - public int compareTo(findCcl_result other) { + public int compareTo(findKeyOperatorValuesTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -341411,7 +483318,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("findCcl_result("); + StringBuilder sb = new StringBuilder( + "findKeyOperatorValuesTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -341495,18 +483403,20 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findCcl_resultStandardSchemeFactory + private static class findKeyOperatorValuesTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public findCcl_resultStandardScheme getScheme() { - return new findCcl_resultStandardScheme(); + public findKeyOperatorValuesTimestrOrder_resultStandardScheme getScheme() { + return new findKeyOperatorValuesTimestrOrder_resultStandardScheme(); } } - private static class findCcl_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorValuesTimestrOrder_resultStandardScheme + extends + StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findCcl_result struct) throws org.apache.thrift.TException { + findKeyOperatorValuesTimestrOrder_result struct) + throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) { @@ -341518,14 +483428,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set2470 = iprot + org.apache.thrift.protocol.TSet _set3902 = iprot .readSetBegin(); struct.success = new LinkedHashSet( - 2 * _set2470.size); - long _elem2471; - for (int _i2472 = 0; _i2472 < _set2470.size; ++_i2472) { - _elem2471 = iprot.readI64(); - struct.success.add(_elem2471); + 2 * _set3902.size); + long _elem3903; + for (int _i3904 = 0; _i3904 < _set3902.size; ++_i3904) { + _elem3903 = iprot.readI64(); + struct.success.add(_elem3903); } iprot.readSetEnd(); } @@ -341594,7 +483504,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findCcl_result struct) throws org.apache.thrift.TException { + findKeyOperatorValuesTimestrOrder_result struct) + throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -341604,8 +483515,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, struct.success.size())); - for (long _iter2473 : struct.success) { - oprot.writeI64(_iter2473); + for (long _iter3905 : struct.success) { + oprot.writeI64(_iter3905); } oprot.writeSetEnd(); } @@ -341637,19 +483548,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findCcl_resultTupleSchemeFactory + private static class findKeyOperatorValuesTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public findCcl_resultTupleScheme getScheme() { - return new findCcl_resultTupleScheme(); + public findKeyOperatorValuesTimestrOrder_resultTupleScheme getScheme() { + return new findKeyOperatorValuesTimestrOrder_resultTupleScheme(); } } - private static class findCcl_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorValuesTimestrOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findCcl_result struct) throws org.apache.thrift.TException { + findKeyOperatorValuesTimestrOrder_result struct) + throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if(struct.isSetSuccess()) { @@ -341671,8 +483583,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter2474 : struct.success) { - oprot.writeI64(_iter2474); + for (long _iter3906 : struct.success) { + oprot.writeI64(_iter3906); } } } @@ -341692,20 +483604,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findCcl_result struct) throws org.apache.thrift.TException { + findKeyOperatorValuesTimestrOrder_result struct) + throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set2475 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set3907 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.success = new LinkedHashSet( - 2 * _set2475.size); - long _elem2476; - for (int _i2477 = 0; _i2477 < _set2475.size; ++_i2477) { - _elem2476 = iprot.readI64(); - struct.success.add(_elem2476); + 2 * _set3907.size); + long _elem3908; + for (int _i3909 = 0; _i3909 < _set3907.size; ++_i3909) { + _elem3908 = iprot.readI64(); + struct.success.add(_elem3908); } } struct.setSuccessIsSet(true); @@ -341735,18 +483648,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findKeyOperatorValues_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValues_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorValues_args"); + "findKeyOperatorstrValues_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField( - "operator", org.apache.thrift.protocol.TType.I32, (short) 2); + "operator", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( "values", org.apache.thrift.protocol.TType.LIST, (short) 3); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -341761,17 +483674,13 @@ public static class findKeyOperatorValues_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorValues_argsStandardSchemeFactory()); + new findKeyOperatorstrValues_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorValues_argsTupleSchemeFactory()); + new findKeyOperatorstrValues_argsTupleSchemeFactory()); } public String key; // required - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ - public com.cinchapi.concourse.thrift.Operator operator; // required + public String operator; // required public List values; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required @@ -341783,10 +483692,6 @@ public static class findKeyOperatorValues_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ OPERATOR((short) 2, "operator"), VALUES((short) 3, "values"), CREDS((short) 4, "creds"), @@ -341875,9 +483780,8 @@ public String getFieldName() { tmpMap.put(_Fields.OPERATOR, new org.apache.thrift.meta_data.FieldMetaData("operator", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Operator.class))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.VALUES, new org.apache.thrift.meta_data.FieldMetaData("values", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -341905,13 +483809,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorValues_args.class, metaDataMap); + findKeyOperatorstrValues_args.class, metaDataMap); } - public findKeyOperatorValues_args() {} + public findKeyOperatorstrValues_args() {} - public findKeyOperatorValues_args(String key, - com.cinchapi.concourse.thrift.Operator operator, + public findKeyOperatorstrValues_args(String key, String operator, List values, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, @@ -341928,7 +483831,8 @@ public findKeyOperatorValues_args(String key, /** * Performs a deep copy on other. */ - public findKeyOperatorValues_args(findKeyOperatorValues_args other) { + public findKeyOperatorstrValues_args( + findKeyOperatorstrValues_args other) { if(other.isSetKey()) { this.key = other.key; } @@ -341958,8 +483862,8 @@ public findKeyOperatorValues_args(findKeyOperatorValues_args other) { } } - public findKeyOperatorValues_args deepCopy() { - return new findKeyOperatorValues_args(this); + public findKeyOperatorstrValues_args deepCopy() { + return new findKeyOperatorstrValues_args(this); } @Override @@ -341976,7 +483880,7 @@ public String getKey() { return this.key; } - public findKeyOperatorValues_args setKey(String key) { + public findKeyOperatorstrValues_args setKey(String key) { this.key = key; return this; } @@ -341999,20 +483903,11 @@ public void setKeyIsSet(boolean value) { } } - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ - public com.cinchapi.concourse.thrift.Operator getOperator() { + public String getOperator() { return this.operator; } - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ - public findKeyOperatorValues_args setOperator( - com.cinchapi.concourse.thrift.Operator operator) { + public findKeyOperatorstrValues_args setOperator(String operator) { this.operator = operator; return this; } @@ -342054,7 +483949,7 @@ public List getValues() { return this.values; } - public findKeyOperatorValues_args setValues( + public findKeyOperatorstrValues_args setValues( List values) { this.values = values; return this; @@ -342082,7 +483977,7 @@ public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public findKeyOperatorValues_args setCreds( + public findKeyOperatorstrValues_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -342110,7 +484005,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public findKeyOperatorValues_args setTransaction( + public findKeyOperatorstrValues_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -342138,7 +484033,8 @@ public String getEnvironment() { return this.environment; } - public findKeyOperatorValues_args setEnvironment(String environment) { + public findKeyOperatorstrValues_args setEnvironment( + String environment) { this.environment = environment; return this; } @@ -342177,7 +484073,7 @@ public void setFieldValue(_Fields field, Object value) { unsetOperator(); } else { - setOperator((com.cinchapi.concourse.thrift.Operator) value); + setOperator((String) value); } break; @@ -342276,12 +484172,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorValues_args) - return this.equals((findKeyOperatorValues_args) that); + if(that instanceof findKeyOperatorstrValues_args) + return this.equals((findKeyOperatorstrValues_args) that); return false; } - public boolean equals(findKeyOperatorValues_args that) { + public boolean equals(findKeyOperatorstrValues_args that) { if(that == null) return false; @@ -342354,7 +484250,7 @@ public int hashCode() { boolean present_operator = true && (isSetOperator()); list.add(present_operator); if(present_operator) - list.add(operator.getValue()); + list.add(operator); boolean present_values = true && (isSetValues()); list.add(present_values); @@ -342380,7 +484276,7 @@ public int hashCode() { } @Override - public int compareTo(findKeyOperatorValues_args other) { + public int compareTo(findKeyOperatorstrValues_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -342479,7 +484375,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { - StringBuilder sb = new StringBuilder("findKeyOperatorValues_args("); + StringBuilder sb = new StringBuilder( + "findKeyOperatorstrValues_args("); boolean first = true; sb.append("key:"); @@ -342579,18 +484476,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorValues_argsStandardSchemeFactory + private static class findKeyOperatorstrValues_argsStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorValues_argsStandardScheme getScheme() { - return new findKeyOperatorValues_argsStandardScheme(); + public findKeyOperatorstrValues_argsStandardScheme getScheme() { + return new findKeyOperatorstrValues_argsStandardScheme(); } } - private static class findKeyOperatorValues_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValues_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorValues_args struct) + findKeyOperatorstrValues_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -342611,9 +484508,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 2: // OPERATOR - if(schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.operator = com.cinchapi.concourse.thrift.Operator - .findByValue(iprot.readI32()); + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.operator = iprot.readString(); struct.setOperatorIsSet(true); } else { @@ -342624,15 +484520,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 3: // VALUES if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2478 = iprot + org.apache.thrift.protocol.TList _list3910 = iprot .readListBegin(); struct.values = new ArrayList( - _list2478.size); - com.cinchapi.concourse.thrift.TObject _elem2479; - for (int _i2480 = 0; _i2480 < _list2478.size; ++_i2480) { - _elem2479 = new com.cinchapi.concourse.thrift.TObject(); - _elem2479.read(iprot); - struct.values.add(_elem2479); + _list3910.size); + com.cinchapi.concourse.thrift.TObject _elem3911; + for (int _i3912 = 0; _i3912 < _list3910.size; ++_i3912) { + _elem3911 = new com.cinchapi.concourse.thrift.TObject(); + _elem3911.read(iprot); + struct.values.add(_elem3911); } iprot.readListEnd(); } @@ -342689,7 +484585,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorValues_args struct) + findKeyOperatorstrValues_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -342701,7 +484597,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } if(struct.operator != null) { oprot.writeFieldBegin(OPERATOR_FIELD_DESC); - oprot.writeI32(struct.operator.getValue()); + oprot.writeString(struct.operator); oprot.writeFieldEnd(); } if(struct.values != null) { @@ -342711,8 +484607,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.values.size())); - for (com.cinchapi.concourse.thrift.TObject _iter2481 : struct.values) { - _iter2481.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3913 : struct.values) { + _iter3913.write(oprot); } oprot.writeListEnd(); } @@ -342739,19 +484635,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findKeyOperatorValues_argsTupleSchemeFactory + private static class findKeyOperatorstrValues_argsTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorValues_argsTupleScheme getScheme() { - return new findKeyOperatorValues_argsTupleScheme(); + public findKeyOperatorstrValues_argsTupleScheme getScheme() { + return new findKeyOperatorstrValues_argsTupleScheme(); } } - private static class findKeyOperatorValues_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValues_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValues_args struct) + findKeyOperatorstrValues_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -342778,13 +484674,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, oprot.writeString(struct.key); } if(struct.isSetOperator()) { - oprot.writeI32(struct.operator.getValue()); + oprot.writeString(struct.operator); } if(struct.isSetValues()) { { oprot.writeI32(struct.values.size()); - for (com.cinchapi.concourse.thrift.TObject _iter2482 : struct.values) { - _iter2482.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3914 : struct.values) { + _iter3914.write(oprot); } } } @@ -342801,7 +484697,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValues_args struct) + findKeyOperatorstrValues_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(6); @@ -342810,22 +484706,21 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.operator = com.cinchapi.concourse.thrift.Operator - .findByValue(iprot.readI32()); + struct.operator = iprot.readString(); struct.setOperatorIsSet(true); } if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2483 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list3915 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.values = new ArrayList( - _list2483.size); - com.cinchapi.concourse.thrift.TObject _elem2484; - for (int _i2485 = 0; _i2485 < _list2483.size; ++_i2485) { - _elem2484 = new com.cinchapi.concourse.thrift.TObject(); - _elem2484.read(iprot); - struct.values.add(_elem2484); + _list3915.size); + com.cinchapi.concourse.thrift.TObject _elem3916; + for (int _i3917 = 0; _i3917 < _list3915.size; ++_i3917) { + _elem3916 = new com.cinchapi.concourse.thrift.TObject(); + _elem3916.read(iprot); + struct.values.add(_elem3916); } } struct.setValuesIsSet(true); @@ -342849,13 +484744,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findKeyOperatorValues_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValues_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorValues_result"); + "findKeyOperatorstrValues_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.SET, (short) 0); @@ -342865,19 +484760,22 @@ public static class findKeyOperatorValues_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorValues_resultStandardSchemeFactory()); + new findKeyOperatorstrValues_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorValues_resultTupleSchemeFactory()); + new findKeyOperatorstrValues_resultTupleSchemeFactory()); } public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -342887,7 +484785,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -342911,6 +484810,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -342981,29 +484882,36 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorValues_result.class, metaDataMap); + findKeyOperatorstrValues_result.class, metaDataMap); } - public findKeyOperatorValues_result() {} + public findKeyOperatorstrValues_result() {} - public findKeyOperatorValues_result(Set success, + public findKeyOperatorstrValues_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public findKeyOperatorValues_result( - findKeyOperatorValues_result other) { + public findKeyOperatorstrValues_result( + findKeyOperatorstrValues_result other) { if(other.isSetSuccess()) { Set __this__success = new LinkedHashSet( other.success); @@ -343018,13 +484926,17 @@ public findKeyOperatorValues_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public findKeyOperatorValues_result deepCopy() { - return new findKeyOperatorValues_result(this); + public findKeyOperatorstrValues_result deepCopy() { + return new findKeyOperatorstrValues_result(this); } @Override @@ -343033,6 +484945,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -343054,7 +484967,7 @@ public Set getSuccess() { return this.success; } - public findKeyOperatorValues_result setSuccess(Set success) { + public findKeyOperatorstrValues_result setSuccess(Set success) { this.success = success; return this; } @@ -343081,7 +484994,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public findKeyOperatorValues_result setEx( + public findKeyOperatorstrValues_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -343109,7 +485022,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public findKeyOperatorValues_result setEx2( + public findKeyOperatorstrValues_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -343133,12 +485046,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public findKeyOperatorValues_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public findKeyOperatorstrValues_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -343161,6 +485074,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public findKeyOperatorstrValues_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -343195,7 +485136,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -343216,6 +485166,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -343238,6 +485191,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -343246,12 +485201,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorValues_result) - return this.equals((findKeyOperatorValues_result) that); + if(that instanceof findKeyOperatorstrValues_result) + return this.equals((findKeyOperatorstrValues_result) that); return false; } - public boolean equals(findKeyOperatorValues_result that) { + public boolean equals(findKeyOperatorstrValues_result that) { if(that == null) return false; @@ -343291,6 +485246,15 @@ public boolean equals(findKeyOperatorValues_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -343318,11 +485282,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(findKeyOperatorValues_result other) { + public int compareTo(findKeyOperatorstrValues_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -343378,6 +485347,18 @@ public int compareTo(findKeyOperatorValues_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -343398,7 +485379,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorValues_result("); + "findKeyOperatorstrValues_result("); boolean first = true; sb.append("success:"); @@ -343439,6 +485420,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -343472,18 +485463,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorValues_resultStandardSchemeFactory + private static class findKeyOperatorstrValues_resultStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorValues_resultStandardScheme getScheme() { - return new findKeyOperatorValues_resultStandardScheme(); + public findKeyOperatorstrValues_resultStandardScheme getScheme() { + return new findKeyOperatorstrValues_resultStandardScheme(); } } - private static class findKeyOperatorValues_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValues_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorValues_result struct) + findKeyOperatorstrValues_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -343496,14 +485487,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set2486 = iprot + org.apache.thrift.protocol.TSet _set3918 = iprot .readSetBegin(); struct.success = new LinkedHashSet( - 2 * _set2486.size); - long _elem2487; - for (int _i2488 = 0; _i2488 < _set2486.size; ++_i2488) { - _elem2487 = iprot.readI64(); - struct.success.add(_elem2487); + 2 * _set3918.size); + long _elem3919; + for (int _i3920 = 0; _i3920 < _set3918.size; ++_i3920) { + _elem3919 = iprot.readI64(); + struct.success.add(_elem3919); } iprot.readSetEnd(); } @@ -343538,7 +485529,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -343547,6 +485538,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -343561,7 +485563,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorValues_result struct) + findKeyOperatorstrValues_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -343572,8 +485574,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, struct.success.size())); - for (long _iter2489 : struct.success) { - oprot.writeI64(_iter2489); + for (long _iter3921 : struct.success) { + oprot.writeI64(_iter3921); } oprot.writeSetEnd(); } @@ -343594,25 +485596,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class findKeyOperatorValues_resultTupleSchemeFactory + private static class findKeyOperatorstrValues_resultTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorValues_resultTupleScheme getScheme() { - return new findKeyOperatorValues_resultTupleScheme(); + public findKeyOperatorstrValues_resultTupleScheme getScheme() { + return new findKeyOperatorstrValues_resultTupleScheme(); } } - private static class findKeyOperatorValues_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValues_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValues_result struct) + findKeyOperatorstrValues_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -343628,12 +485635,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter2490 : struct.success) { - oprot.writeI64(_iter2490); + for (long _iter3922 : struct.success) { + oprot.writeI64(_iter3922); } } } @@ -343646,25 +485656,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValues_result struct) + findKeyOperatorstrValues_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set2491 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set3923 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.success = new LinkedHashSet( - 2 * _set2491.size); - long _elem2492; - for (int _i2493 = 0; _i2493 < _set2491.size; ++_i2493) { - _elem2492 = iprot.readI64(); - struct.success.add(_elem2492); + 2 * _set3923.size); + long _elem3924; + for (int _i3925 = 0; _i3925 < _set3923.size; ++_i3925) { + _elem3924 = iprot.readI64(); + struct.success.add(_elem3924); } } struct.setSuccessIsSet(true); @@ -343680,31 +485693,36 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class findKeyOperatorValuesTime_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValuesOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorValuesTime_args"); + "findKeyOperatorstrValuesOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField( - "operator", org.apache.thrift.protocol.TType.I32, (short) 2); + "operator", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( "values", org.apache.thrift.protocol.TType.LIST, (short) 3); - private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 4); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -343717,19 +485735,15 @@ public static class findKeyOperatorValuesTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorValuesTime_argsStandardSchemeFactory()); + new findKeyOperatorstrValuesOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorValuesTime_argsTupleSchemeFactory()); + new findKeyOperatorstrValuesOrder_argsTupleSchemeFactory()); } public String key; // required - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ - public com.cinchapi.concourse.thrift.Operator operator; // required + public String operator; // required public List values; // required - public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -343740,13 +485754,9 @@ public static class findKeyOperatorValuesTime_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ OPERATOR((short) 2, "operator"), VALUES((short) 3, "values"), - TIMESTAMP((short) 4, "timestamp"), + ORDER((short) 4, "order"), CREDS((short) 5, "creds"), TRANSACTION((short) 6, "transaction"), ENVIRONMENT((short) 7, "environment"); @@ -343771,8 +485781,8 @@ public static _Fields findByThriftId(int fieldId) { return OPERATOR; case 3: // VALUES return VALUES; - case 4: // TIMESTAMP - return TIMESTAMP; + case 4: // ORDER + return ORDER; case 5: // CREDS return CREDS; case 6: // TRANSACTION @@ -343823,8 +485833,6 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -343837,9 +485845,8 @@ public String getFieldName() { tmpMap.put(_Fields.OPERATOR, new org.apache.thrift.meta_data.FieldMetaData("operator", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Operator.class))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.VALUES, new org.apache.thrift.meta_data.FieldMetaData("values", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -343848,11 +485855,12 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class)))); - tmpMap.put(_Fields.TIMESTAMP, - new org.apache.thrift.meta_data.FieldMetaData("timestamp", + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -343872,23 +485880,22 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorValuesTime_args.class, metaDataMap); + findKeyOperatorstrValuesOrder_args.class, metaDataMap); } - public findKeyOperatorValuesTime_args() {} + public findKeyOperatorstrValuesOrder_args() {} - public findKeyOperatorValuesTime_args(String key, - com.cinchapi.concourse.thrift.Operator operator, + public findKeyOperatorstrValuesOrder_args(String key, String operator, List values, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + com.cinchapi.concourse.thrift.TOrder order, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); this.key = key; this.operator = operator; this.values = values; - this.timestamp = timestamp; - setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -343897,9 +485904,8 @@ public findKeyOperatorValuesTime_args(String key, /** * Performs a deep copy on other. */ - public findKeyOperatorValuesTime_args( - findKeyOperatorValuesTime_args other) { - __isset_bitfield = other.__isset_bitfield; + public findKeyOperatorstrValuesOrder_args( + findKeyOperatorstrValuesOrder_args other) { if(other.isSetKey()) { this.key = other.key; } @@ -343916,7 +485922,10 @@ public findKeyOperatorValuesTime_args( } this.values = __this__values; } - this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -343930,8 +485939,8 @@ public findKeyOperatorValuesTime_args( } } - public findKeyOperatorValuesTime_args deepCopy() { - return new findKeyOperatorValuesTime_args(this); + public findKeyOperatorstrValuesOrder_args deepCopy() { + return new findKeyOperatorstrValuesOrder_args(this); } @Override @@ -343939,8 +485948,7 @@ public void clear() { this.key = null; this.operator = null; this.values = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -343950,7 +485958,7 @@ public String getKey() { return this.key; } - public findKeyOperatorValuesTime_args setKey(String key) { + public findKeyOperatorstrValuesOrder_args setKey(String key) { this.key = key; return this; } @@ -343973,20 +485981,11 @@ public void setKeyIsSet(boolean value) { } } - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ - public com.cinchapi.concourse.thrift.Operator getOperator() { + public String getOperator() { return this.operator; } - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ - public findKeyOperatorValuesTime_args setOperator( - com.cinchapi.concourse.thrift.Operator operator) { + public findKeyOperatorstrValuesOrder_args setOperator(String operator) { this.operator = operator; return this; } @@ -344028,7 +486027,7 @@ public List getValues() { return this.values; } - public findKeyOperatorValuesTime_args setValues( + public findKeyOperatorstrValuesOrder_args setValues( List values) { this.values = values; return this; @@ -344052,40 +486051,39 @@ public void setValuesIsSet(boolean value) { } } - public long getTimestamp() { - return this.timestamp; + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; } - public findKeyOperatorValuesTime_args setTimestamp(long timestamp) { - this.timestamp = timestamp; - setTimestampIsSet(true); + public findKeyOperatorstrValuesOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; return this; } - public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public void unsetOrder() { + this.order = null; } /** - * Returns true if field timestamp is set (has been assigned a value) - * and false otherwise + * Returns true if field order is set (has been assigned a value) and + * false otherwise */ - public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + public boolean isSetOrder() { + return this.order != null; } - public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public findKeyOperatorValuesTime_args setCreds( + public findKeyOperatorstrValuesOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -344113,7 +486111,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public findKeyOperatorValuesTime_args setTransaction( + public findKeyOperatorstrValuesOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -344141,7 +486139,7 @@ public String getEnvironment() { return this.environment; } - public findKeyOperatorValuesTime_args setEnvironment( + public findKeyOperatorstrValuesOrder_args setEnvironment( String environment) { this.environment = environment; return this; @@ -344181,7 +486179,7 @@ public void setFieldValue(_Fields field, Object value) { unsetOperator(); } else { - setOperator((com.cinchapi.concourse.thrift.Operator) value); + setOperator((String) value); } break; @@ -344195,12 +486193,12 @@ public void setFieldValue(_Fields field, Object value) { } break; - case TIMESTAMP: + case ORDER: if(value == null) { - unsetTimestamp(); + unsetOrder(); } else { - setTimestamp((Long) value); + setOrder((com.cinchapi.concourse.thrift.TOrder) value); } break; @@ -344246,8 +486244,8 @@ public Object getFieldValue(_Fields field) { case VALUES: return getValues(); - case TIMESTAMP: - return getTimestamp(); + case ORDER: + return getOrder(); case CREDS: return getCreds(); @@ -344278,8 +486276,8 @@ public boolean isSet(_Fields field) { return isSetOperator(); case VALUES: return isSetValues(); - case TIMESTAMP: - return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -344294,12 +486292,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorValuesTime_args) - return this.equals((findKeyOperatorValuesTime_args) that); + if(that instanceof findKeyOperatorstrValuesOrder_args) + return this.equals((findKeyOperatorstrValuesOrder_args) that); return false; } - public boolean equals(findKeyOperatorValuesTime_args that) { + public boolean equals(findKeyOperatorstrValuesOrder_args that) { if(that == null) return false; @@ -344330,12 +486328,12 @@ public boolean equals(findKeyOperatorValuesTime_args that) { return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; - if(this_present_timestamp || that_present_timestamp) { - if(!(this_present_timestamp && that_present_timestamp)) + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) return false; - if(this.timestamp != that.timestamp) + if(!this.order.equals(that.order)) return false; } @@ -344381,17 +486379,17 @@ public int hashCode() { boolean present_operator = true && (isSetOperator()); list.add(present_operator); if(present_operator) - list.add(operator.getValue()); + list.add(operator); boolean present_values = true && (isSetValues()); list.add(present_values); if(present_values) list.add(values); - boolean present_timestamp = true; - list.add(present_timestamp); - if(present_timestamp) - list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); boolean present_creds = true && (isSetCreds()); list.add(present_creds); @@ -344412,7 +486410,7 @@ public int hashCode() { } @Override - public int compareTo(findKeyOperatorValuesTime_args other) { + public int compareTo(findKeyOperatorstrValuesOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -344456,14 +486454,14 @@ public int compareTo(findKeyOperatorValuesTime_args other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetTimestamp()) - .compareTo(other.isSetTimestamp()); + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); if(lastComparison != 0) { return lastComparison; } - if(isSetTimestamp()) { + if(isSetOrder()) { lastComparison = org.apache.thrift.TBaseHelper - .compareTo(this.timestamp, other.timestamp); + .compareTo(this.order, other.order); if(lastComparison != 0) { return lastComparison; } @@ -344524,7 +486522,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorValuesTime_args("); + "findKeyOperatorstrValuesOrder_args("); boolean first = true; sb.append("key:"); @@ -344557,8 +486555,13 @@ public String toString() { first = false; if(!first) sb.append(", "); - sb.append("timestamp:"); - sb.append(this.timestamp); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } first = false; if(!first) sb.append(", "); @@ -344597,6 +486600,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -344620,10 +486626,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -344633,18 +486635,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorValuesTime_argsStandardSchemeFactory + private static class findKeyOperatorstrValuesOrder_argsStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorValuesTime_argsStandardScheme getScheme() { - return new findKeyOperatorValuesTime_argsStandardScheme(); + public findKeyOperatorstrValuesOrder_argsStandardScheme getScheme() { + return new findKeyOperatorstrValuesOrder_argsStandardScheme(); } } - private static class findKeyOperatorValuesTime_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValuesOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorValuesTime_args struct) + findKeyOperatorstrValuesOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -344665,9 +486667,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 2: // OPERATOR - if(schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.operator = com.cinchapi.concourse.thrift.Operator - .findByValue(iprot.readI32()); + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.operator = iprot.readString(); struct.setOperatorIsSet(true); } else { @@ -344678,15 +486679,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 3: // VALUES if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2494 = iprot + org.apache.thrift.protocol.TList _list3926 = iprot .readListBegin(); struct.values = new ArrayList( - _list2494.size); - com.cinchapi.concourse.thrift.TObject _elem2495; - for (int _i2496 = 0; _i2496 < _list2494.size; ++_i2496) { - _elem2495 = new com.cinchapi.concourse.thrift.TObject(); - _elem2495.read(iprot); - struct.values.add(_elem2495); + _list3926.size); + com.cinchapi.concourse.thrift.TObject _elem3927; + for (int _i3928 = 0; _i3928 < _list3926.size; ++_i3928) { + _elem3927 = new com.cinchapi.concourse.thrift.TObject(); + _elem3927.read(iprot); + struct.values.add(_elem3927); } iprot.readListEnd(); } @@ -344697,10 +486698,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + case 4: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, @@ -344753,7 +486755,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorValuesTime_args struct) + findKeyOperatorstrValuesOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -344765,7 +486767,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } if(struct.operator != null) { oprot.writeFieldBegin(OPERATOR_FIELD_DESC); - oprot.writeI32(struct.operator.getValue()); + oprot.writeString(struct.operator); oprot.writeFieldEnd(); } if(struct.values != null) { @@ -344775,16 +486777,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.values.size())); - for (com.cinchapi.concourse.thrift.TObject _iter2497 : struct.values) { - _iter2497.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3929 : struct.values) { + _iter3929.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -344806,19 +486810,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findKeyOperatorValuesTime_argsTupleSchemeFactory + private static class findKeyOperatorstrValuesOrder_argsTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorValuesTime_argsTupleScheme getScheme() { - return new findKeyOperatorValuesTime_argsTupleScheme(); + public findKeyOperatorstrValuesOrder_argsTupleScheme getScheme() { + return new findKeyOperatorstrValuesOrder_argsTupleScheme(); } } - private static class findKeyOperatorValuesTime_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValuesOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValuesTime_args struct) + findKeyOperatorstrValuesOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -344831,7 +486835,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetValues()) { optionals.set(2); } - if(struct.isSetTimestamp()) { + if(struct.isSetOrder()) { optionals.set(3); } if(struct.isSetCreds()) { @@ -344848,18 +486852,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, oprot.writeString(struct.key); } if(struct.isSetOperator()) { - oprot.writeI32(struct.operator.getValue()); + oprot.writeString(struct.operator); } if(struct.isSetValues()) { { oprot.writeI32(struct.values.size()); - for (com.cinchapi.concourse.thrift.TObject _iter2498 : struct.values) { - _iter2498.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3930 : struct.values) { + _iter3930.write(oprot); } } } - if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + if(struct.isSetOrder()) { + struct.order.write(oprot); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -344874,7 +486878,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValuesTime_args struct) + findKeyOperatorstrValuesOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(7); @@ -344883,29 +486887,29 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.operator = com.cinchapi.concourse.thrift.Operator - .findByValue(iprot.readI32()); + struct.operator = iprot.readString(); struct.setOperatorIsSet(true); } if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2499 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list3931 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.values = new ArrayList( - _list2499.size); - com.cinchapi.concourse.thrift.TObject _elem2500; - for (int _i2501 = 0; _i2501 < _list2499.size; ++_i2501) { - _elem2500 = new com.cinchapi.concourse.thrift.TObject(); - _elem2500.read(iprot); - struct.values.add(_elem2500); + _list3931.size); + com.cinchapi.concourse.thrift.TObject _elem3932; + for (int _i3933 = 0; _i3933 < _list3931.size; ++_i3933) { + _elem3932 = new com.cinchapi.concourse.thrift.TObject(); + _elem3932.read(iprot); + struct.values.add(_elem3932); } } struct.setValuesIsSet(true); } if(incoming.get(3)) { - struct.timestamp = iprot.readI64(); - struct.setTimestampIsSet(true); + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); } if(incoming.get(4)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); @@ -344926,13 +486930,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findKeyOperatorValuesTime_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValuesOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorValuesTime_result"); + "findKeyOperatorstrValuesOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.SET, (short) 0); @@ -344942,19 +486946,22 @@ public static class findKeyOperatorValuesTime_result implements "ex2", org.apache.thrift.protocol.TType.STRUCT, (short) 2); private static final org.apache.thrift.protocol.TField EX3_FIELD_DESC = new org.apache.thrift.protocol.TField( "ex3", org.apache.thrift.protocol.TType.STRUCT, (short) 3); + private static final org.apache.thrift.protocol.TField EX4_FIELD_DESC = new org.apache.thrift.protocol.TField( + "ex4", org.apache.thrift.protocol.TType.STRUCT, (short) 4); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorValuesTime_resultStandardSchemeFactory()); + new findKeyOperatorstrValuesOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorValuesTime_resultTupleSchemeFactory()); + new findKeyOperatorstrValuesOrder_resultTupleSchemeFactory()); } public Set success; // required public com.cinchapi.concourse.thrift.SecurityException ex; // required public com.cinchapi.concourse.thrift.TransactionException ex2; // required - public com.cinchapi.concourse.thrift.PermissionException ex3; // required + public com.cinchapi.concourse.thrift.ParseException ex3; // required + public com.cinchapi.concourse.thrift.PermissionException ex4; // required /** * The set of fields this struct contains, along with convenience @@ -344964,7 +486971,8 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short) 0, "success"), EX((short) 1, "ex"), EX2((short) 2, "ex2"), - EX3((short) 3, "ex3"); + EX3((short) 3, "ex3"), + EX4((short) 4, "ex4"); private static final Map byName = new LinkedHashMap(); @@ -344988,6 +486996,8 @@ public static _Fields findByThriftId(int fieldId) { return EX2; case 3: // EX3 return EX3; + case 4: // EX4 + return EX4; default: return null; } @@ -345058,29 +487068,36 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.EX4, + new org.apache.thrift.meta_data.FieldMetaData("ex4", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorValuesTime_result.class, metaDataMap); + findKeyOperatorstrValuesOrder_result.class, metaDataMap); } - public findKeyOperatorValuesTime_result() {} + public findKeyOperatorstrValuesOrder_result() {} - public findKeyOperatorValuesTime_result(Set success, + public findKeyOperatorstrValuesOrder_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, - com.cinchapi.concourse.thrift.PermissionException ex3) { + com.cinchapi.concourse.thrift.ParseException ex3, + com.cinchapi.concourse.thrift.PermissionException ex4) { this(); this.success = success; this.ex = ex; this.ex2 = ex2; this.ex3 = ex3; + this.ex4 = ex4; } /** * Performs a deep copy on other. */ - public findKeyOperatorValuesTime_result( - findKeyOperatorValuesTime_result other) { + public findKeyOperatorstrValuesOrder_result( + findKeyOperatorstrValuesOrder_result other) { if(other.isSetSuccess()) { Set __this__success = new LinkedHashSet( other.success); @@ -345095,13 +487112,17 @@ public findKeyOperatorValuesTime_result( other.ex2); } if(other.isSetEx3()) { - this.ex3 = new com.cinchapi.concourse.thrift.PermissionException( + this.ex3 = new com.cinchapi.concourse.thrift.ParseException( other.ex3); } + if(other.isSetEx4()) { + this.ex4 = new com.cinchapi.concourse.thrift.PermissionException( + other.ex4); + } } - public findKeyOperatorValuesTime_result deepCopy() { - return new findKeyOperatorValuesTime_result(this); + public findKeyOperatorstrValuesOrder_result deepCopy() { + return new findKeyOperatorstrValuesOrder_result(this); } @Override @@ -345110,6 +487131,7 @@ public void clear() { this.ex = null; this.ex2 = null; this.ex3 = null; + this.ex4 = null; } public int getSuccessSize() { @@ -345131,7 +487153,8 @@ public Set getSuccess() { return this.success; } - public findKeyOperatorValuesTime_result setSuccess(Set success) { + public findKeyOperatorstrValuesOrder_result setSuccess( + Set success) { this.success = success; return this; } @@ -345158,7 +487181,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public findKeyOperatorValuesTime_result setEx( + public findKeyOperatorstrValuesOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -345186,7 +487209,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public findKeyOperatorValuesTime_result setEx2( + public findKeyOperatorstrValuesOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -345210,12 +487233,12 @@ public void setEx2IsSet(boolean value) { } } - public com.cinchapi.concourse.thrift.PermissionException getEx3() { + public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public findKeyOperatorValuesTime_result setEx3( - com.cinchapi.concourse.thrift.PermissionException ex3) { + public findKeyOperatorstrValuesOrder_result setEx3( + com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; } @@ -345238,6 +487261,34 @@ public void setEx3IsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.PermissionException getEx4() { + return this.ex4; + } + + public findKeyOperatorstrValuesOrder_result setEx4( + com.cinchapi.concourse.thrift.PermissionException ex4) { + this.ex4 = ex4; + return this; + } + + public void unsetEx4() { + this.ex4 = null; + } + + /** + * Returns true if field ex4 is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetEx4() { + return this.ex4 != null; + } + + public void setEx4IsSet(boolean value) { + if(!value) { + this.ex4 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -345272,7 +487323,16 @@ public void setFieldValue(_Fields field, Object value) { unsetEx3(); } else { - setEx3((com.cinchapi.concourse.thrift.PermissionException) value); + setEx3((com.cinchapi.concourse.thrift.ParseException) value); + } + break; + + case EX4: + if(value == null) { + unsetEx4(); + } + else { + setEx4((com.cinchapi.concourse.thrift.PermissionException) value); } break; @@ -345293,6 +487353,9 @@ public Object getFieldValue(_Fields field) { case EX3: return getEx3(); + case EX4: + return getEx4(); + } throw new IllegalStateException(); } @@ -345315,6 +487378,8 @@ public boolean isSet(_Fields field) { return isSetEx2(); case EX3: return isSetEx3(); + case EX4: + return isSetEx4(); } throw new IllegalStateException(); } @@ -345323,12 +487388,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorValuesTime_result) - return this.equals((findKeyOperatorValuesTime_result) that); + if(that instanceof findKeyOperatorstrValuesOrder_result) + return this.equals((findKeyOperatorstrValuesOrder_result) that); return false; } - public boolean equals(findKeyOperatorValuesTime_result that) { + public boolean equals(findKeyOperatorstrValuesOrder_result that) { if(that == null) return false; @@ -345368,6 +487433,15 @@ public boolean equals(findKeyOperatorValuesTime_result that) { return false; } + boolean this_present_ex4 = true && this.isSetEx4(); + boolean that_present_ex4 = true && that.isSetEx4(); + if(this_present_ex4 || that_present_ex4) { + if(!(this_present_ex4 && that_present_ex4)) + return false; + if(!this.ex4.equals(that.ex4)) + return false; + } + return true; } @@ -345395,11 +487469,16 @@ public int hashCode() { if(present_ex3) list.add(ex3); + boolean present_ex4 = true && (isSetEx4()); + list.add(present_ex4); + if(present_ex4) + list.add(ex4); + return list.hashCode(); } @Override - public int compareTo(findKeyOperatorValuesTime_result other) { + public int compareTo(findKeyOperatorstrValuesOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -345455,6 +487534,18 @@ public int compareTo(findKeyOperatorValuesTime_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetEx4()) + .compareTo(other.isSetEx4()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetEx4()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.ex4, other.ex4); + if(lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -345475,7 +487566,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorValuesTime_result("); + "findKeyOperatorstrValuesOrder_result("); boolean first = true; sb.append("success:"); @@ -345516,6 +487607,16 @@ public String toString() { sb.append(this.ex3); } first = false; + if(!first) + sb.append(", "); + sb.append("ex4:"); + if(this.ex4 == null) { + sb.append("null"); + } + else { + sb.append(this.ex4); + } + first = false; sb.append(")"); return sb.toString(); } @@ -345549,18 +487650,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorValuesTime_resultStandardSchemeFactory + private static class findKeyOperatorstrValuesOrder_resultStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorValuesTime_resultStandardScheme getScheme() { - return new findKeyOperatorValuesTime_resultStandardScheme(); + public findKeyOperatorstrValuesOrder_resultStandardScheme getScheme() { + return new findKeyOperatorstrValuesOrder_resultStandardScheme(); } } - private static class findKeyOperatorValuesTime_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValuesOrder_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorValuesTime_result struct) + findKeyOperatorstrValuesOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -345573,14 +487674,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set2502 = iprot + org.apache.thrift.protocol.TSet _set3934 = iprot .readSetBegin(); struct.success = new LinkedHashSet( - 2 * _set2502.size); - long _elem2503; - for (int _i2504 = 0; _i2504 < _set2502.size; ++_i2504) { - _elem2503 = iprot.readI64(); - struct.success.add(_elem2503); + 2 * _set3934.size); + long _elem3935; + for (int _i3936 = 0; _i3936 < _set3934.size; ++_i3936) { + _elem3935 = iprot.readI64(); + struct.success.add(_elem3935); } iprot.readSetEnd(); } @@ -345615,7 +487716,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, break; case 3: // EX3 if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } @@ -345624,6 +487725,17 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; + case 4: // EX4 + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -345638,7 +487750,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorValuesTime_result struct) + findKeyOperatorstrValuesOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -345649,8 +487761,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, struct.success.size())); - for (long _iter2505 : struct.success) { - oprot.writeI64(_iter2505); + for (long _iter3937 : struct.success) { + oprot.writeI64(_iter3937); } oprot.writeSetEnd(); } @@ -345671,25 +487783,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, struct.ex3.write(oprot); oprot.writeFieldEnd(); } + if(struct.ex4 != null) { + oprot.writeFieldBegin(EX4_FIELD_DESC); + struct.ex4.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class findKeyOperatorValuesTime_resultTupleSchemeFactory + private static class findKeyOperatorstrValuesOrder_resultTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorValuesTime_resultTupleScheme getScheme() { - return new findKeyOperatorValuesTime_resultTupleScheme(); + public findKeyOperatorstrValuesOrder_resultTupleScheme getScheme() { + return new findKeyOperatorstrValuesOrder_resultTupleScheme(); } } - private static class findKeyOperatorValuesTime_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValuesOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValuesTime_result struct) + findKeyOperatorstrValuesOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -345705,12 +487822,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if(struct.isSetEx4()) { + optionals.set(4); + } + oprot.writeBitSet(optionals, 5); if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter2506 : struct.success) { - oprot.writeI64(_iter2506); + for (long _iter3938 : struct.success) { + oprot.writeI64(_iter3938); } } } @@ -345723,25 +487843,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetEx3()) { struct.ex3.write(oprot); } + if(struct.isSetEx4()) { + struct.ex4.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValuesTime_result struct) + findKeyOperatorstrValuesOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set2507 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set3939 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.success = new LinkedHashSet( - 2 * _set2507.size); - long _elem2508; - for (int _i2509 = 0; _i2509 < _set2507.size; ++_i2509) { - _elem2508 = iprot.readI64(); - struct.success.add(_elem2508); + 2 * _set3939.size); + long _elem3940; + for (int _i3941 = 0; _i3941 < _set3939.size; ++_i3941) { + _elem3940 = iprot.readI64(); + struct.success.add(_elem3940); } } struct.setSuccessIsSet(true); @@ -345757,32 +487880,36 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setEx2IsSet(true); } if(incoming.get(3)) { - struct.ex3 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex3 = new com.cinchapi.concourse.thrift.ParseException(); struct.ex3.read(iprot); struct.setEx3IsSet(true); } + if(incoming.get(4)) { + struct.ex4 = new com.cinchapi.concourse.thrift.PermissionException(); + struct.ex4.read(iprot); + struct.setEx4IsSet(true); + } } } } - public static class findKeyOperatorValuesTimestr_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValuesTime_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorValuesTimestr_args"); + "findKeyOperatorstrValuesTime_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); private static final org.apache.thrift.protocol.TField OPERATOR_FIELD_DESC = new org.apache.thrift.protocol.TField( - "operator", org.apache.thrift.protocol.TType.I32, (short) 2); + "operator", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( "values", org.apache.thrift.protocol.TType.LIST, (short) 3); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.STRING, - (short) 4); + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -345795,19 +487922,15 @@ public static class findKeyOperatorValuesTimestr_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorValuesTimestr_argsStandardSchemeFactory()); + new findKeyOperatorstrValuesTime_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorValuesTimestr_argsTupleSchemeFactory()); + new findKeyOperatorstrValuesTime_argsTupleSchemeFactory()); } public String key; // required - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ - public com.cinchapi.concourse.thrift.Operator operator; // required + public String operator; // required public List values; // required - public String timestamp; // required + public long timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -345818,10 +487941,6 @@ public static class findKeyOperatorValuesTimestr_args implements */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ OPERATOR((short) 2, "operator"), VALUES((short) 3, "values"), TIMESTAMP((short) 4, "timestamp"), @@ -345901,6 +488020,8 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -345913,9 +488034,8 @@ public String getFieldName() { tmpMap.put(_Fields.OPERATOR, new org.apache.thrift.meta_data.FieldMetaData("operator", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.EnumMetaData( - org.apache.thrift.protocol.TType.ENUM, - com.cinchapi.concourse.thrift.Operator.class))); + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.VALUES, new org.apache.thrift.meta_data.FieldMetaData("values", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -345928,7 +488048,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); + org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -345948,16 +488068,14 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorValuesTimestr_args.class, metaDataMap); + findKeyOperatorstrValuesTime_args.class, metaDataMap); } - public findKeyOperatorValuesTimestr_args() {} + public findKeyOperatorstrValuesTime_args() {} - public findKeyOperatorValuesTimestr_args(String key, - com.cinchapi.concourse.thrift.Operator operator, + public findKeyOperatorstrValuesTime_args(String key, String operator, List values, - String timestamp, - com.cinchapi.concourse.thrift.AccessToken creds, + long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); @@ -345965,6 +488083,7 @@ public findKeyOperatorValuesTimestr_args(String key, this.operator = operator; this.values = values; this.timestamp = timestamp; + setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -345973,8 +488092,9 @@ public findKeyOperatorValuesTimestr_args(String key, /** * Performs a deep copy on other. */ - public findKeyOperatorValuesTimestr_args( - findKeyOperatorValuesTimestr_args other) { + public findKeyOperatorstrValuesTime_args( + findKeyOperatorstrValuesTime_args other) { + __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } @@ -345991,9 +488111,7 @@ public findKeyOperatorValuesTimestr_args( } this.values = __this__values; } - if(other.isSetTimestamp()) { - this.timestamp = other.timestamp; - } + this.timestamp = other.timestamp; if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -346007,8 +488125,8 @@ public findKeyOperatorValuesTimestr_args( } } - public findKeyOperatorValuesTimestr_args deepCopy() { - return new findKeyOperatorValuesTimestr_args(this); + public findKeyOperatorstrValuesTime_args deepCopy() { + return new findKeyOperatorstrValuesTime_args(this); } @Override @@ -346016,7 +488134,8 @@ public void clear() { this.key = null; this.operator = null; this.values = null; - this.timestamp = null; + setTimestampIsSet(false); + this.timestamp = 0; this.creds = null; this.transaction = null; this.environment = null; @@ -346026,7 +488145,7 @@ public String getKey() { return this.key; } - public findKeyOperatorValuesTimestr_args setKey(String key) { + public findKeyOperatorstrValuesTime_args setKey(String key) { this.key = key; return this; } @@ -346049,20 +488168,11 @@ public void setKeyIsSet(boolean value) { } } - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ - public com.cinchapi.concourse.thrift.Operator getOperator() { + public String getOperator() { return this.operator; } - /** - * - * @see com.cinchapi.concourse.thrift.Operator - */ - public findKeyOperatorValuesTimestr_args setOperator( - com.cinchapi.concourse.thrift.Operator operator) { + public findKeyOperatorstrValuesTime_args setOperator(String operator) { this.operator = operator; return this; } @@ -346104,7 +488214,7 @@ public List getValues() { return this.values; } - public findKeyOperatorValuesTimestr_args setValues( + public findKeyOperatorstrValuesTime_args setValues( List values) { this.values = values; return this; @@ -346128,18 +488238,19 @@ public void setValuesIsSet(boolean value) { } } - public String getTimestamp() { + public long getTimestamp() { return this.timestamp; } - public findKeyOperatorValuesTimestr_args setTimestamp( - String timestamp) { + public findKeyOperatorstrValuesTime_args setTimestamp(long timestamp) { this.timestamp = timestamp; + setTimestampIsSet(true); return this; } public void unsetTimestamp() { - this.timestamp = null; + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } /** @@ -346147,20 +488258,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return this.timestamp != null; + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); } public void setTimestampIsSet(boolean value) { - if(!value) { - this.timestamp = null; - } + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public findKeyOperatorValuesTimestr_args setCreds( + public findKeyOperatorstrValuesTime_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -346188,7 +488299,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public findKeyOperatorValuesTimestr_args setTransaction( + public findKeyOperatorstrValuesTime_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -346216,7 +488327,7 @@ public String getEnvironment() { return this.environment; } - public findKeyOperatorValuesTimestr_args setEnvironment( + public findKeyOperatorstrValuesTime_args setEnvironment( String environment) { this.environment = environment; return this; @@ -346256,7 +488367,7 @@ public void setFieldValue(_Fields field, Object value) { unsetOperator(); } else { - setOperator((com.cinchapi.concourse.thrift.Operator) value); + setOperator((String) value); } break; @@ -346275,7 +488386,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((String) value); + setTimestamp((Long) value); } break; @@ -346369,12 +488480,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorValuesTimestr_args) - return this.equals((findKeyOperatorValuesTimestr_args) that); + if(that instanceof findKeyOperatorstrValuesTime_args) + return this.equals((findKeyOperatorstrValuesTime_args) that); return false; } - public boolean equals(findKeyOperatorValuesTimestr_args that) { + public boolean equals(findKeyOperatorstrValuesTime_args that) { if(that == null) return false; @@ -346405,12 +488516,12 @@ public boolean equals(findKeyOperatorValuesTimestr_args that) { return false; } - boolean this_present_timestamp = true && this.isSetTimestamp(); - boolean that_present_timestamp = true && that.isSetTimestamp(); + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(!this.timestamp.equals(that.timestamp)) + if(this.timestamp != that.timestamp) return false; } @@ -346456,14 +488567,14 @@ public int hashCode() { boolean present_operator = true && (isSetOperator()); list.add(present_operator); if(present_operator) - list.add(operator.getValue()); + list.add(operator); boolean present_values = true && (isSetValues()); list.add(present_values); if(present_values) list.add(values); - boolean present_timestamp = true && (isSetTimestamp()); + boolean present_timestamp = true; list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -346487,7 +488598,7 @@ public int hashCode() { } @Override - public int compareTo(findKeyOperatorValuesTimestr_args other) { + public int compareTo(findKeyOperatorstrValuesTime_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -346599,7 +488710,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorValuesTimestr_args("); + "findKeyOperatorstrValuesTime_args("); boolean first = true; sb.append("key:"); @@ -346633,12 +488744,7 @@ public String toString() { if(!first) sb.append(", "); sb.append("timestamp:"); - if(this.timestamp == null) { - sb.append("null"); - } - else { - sb.append(this.timestamp); - } + sb.append(this.timestamp); first = false; if(!first) sb.append(", "); @@ -346700,6 +488806,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -346709,18 +488819,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorValuesTimestr_argsStandardSchemeFactory + private static class findKeyOperatorstrValuesTime_argsStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorValuesTimestr_argsStandardScheme getScheme() { - return new findKeyOperatorValuesTimestr_argsStandardScheme(); + public findKeyOperatorstrValuesTime_argsStandardScheme getScheme() { + return new findKeyOperatorstrValuesTime_argsStandardScheme(); } } - private static class findKeyOperatorValuesTimestr_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValuesTime_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorValuesTimestr_args struct) + findKeyOperatorstrValuesTime_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -346741,9 +488851,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 2: // OPERATOR - if(schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.operator = com.cinchapi.concourse.thrift.Operator - .findByValue(iprot.readI32()); + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.operator = iprot.readString(); struct.setOperatorIsSet(true); } else { @@ -346754,15 +488863,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 3: // VALUES if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2510 = iprot + org.apache.thrift.protocol.TList _list3942 = iprot .readListBegin(); struct.values = new ArrayList( - _list2510.size); - com.cinchapi.concourse.thrift.TObject _elem2511; - for (int _i2512 = 0; _i2512 < _list2510.size; ++_i2512) { - _elem2511 = new com.cinchapi.concourse.thrift.TObject(); - _elem2511.read(iprot); - struct.values.add(_elem2511); + _list3942.size); + com.cinchapi.concourse.thrift.TObject _elem3943; + for (int _i3944 = 0; _i3944 < _list3942.size; ++_i3944) { + _elem3943 = new com.cinchapi.concourse.thrift.TObject(); + _elem3943.read(iprot); + struct.values.add(_elem3943); } iprot.readListEnd(); } @@ -346774,8 +488883,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 4: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.timestamp = iprot.readString(); + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { @@ -346829,7 +488938,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorValuesTimestr_args struct) + findKeyOperatorstrValuesTime_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -346841,7 +488950,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } if(struct.operator != null) { oprot.writeFieldBegin(OPERATOR_FIELD_DESC); - oprot.writeI32(struct.operator.getValue()); + oprot.writeString(struct.operator); oprot.writeFieldEnd(); } if(struct.values != null) { @@ -346851,18 +488960,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.values.size())); - for (com.cinchapi.concourse.thrift.TObject _iter2513 : struct.values) { - _iter2513.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3945 : struct.values) { + _iter3945.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - if(struct.timestamp != null) { - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeString(struct.timestamp); - oprot.writeFieldEnd(); - } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -346884,19 +488991,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findKeyOperatorValuesTimestr_argsTupleSchemeFactory + private static class findKeyOperatorstrValuesTime_argsTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorValuesTimestr_argsTupleScheme getScheme() { - return new findKeyOperatorValuesTimestr_argsTupleScheme(); + public findKeyOperatorstrValuesTime_argsTupleScheme getScheme() { + return new findKeyOperatorstrValuesTime_argsTupleScheme(); } } - private static class findKeyOperatorValuesTimestr_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValuesTime_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValuesTimestr_args struct) + findKeyOperatorstrValuesTime_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -346926,18 +489033,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, oprot.writeString(struct.key); } if(struct.isSetOperator()) { - oprot.writeI32(struct.operator.getValue()); + oprot.writeString(struct.operator); } if(struct.isSetValues()) { { oprot.writeI32(struct.values.size()); - for (com.cinchapi.concourse.thrift.TObject _iter2514 : struct.values) { - _iter2514.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3946 : struct.values) { + _iter3946.write(oprot); } } } if(struct.isSetTimestamp()) { - oprot.writeString(struct.timestamp); + oprot.writeI64(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -346952,7 +489059,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValuesTimestr_args struct) + findKeyOperatorstrValuesTime_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(7); @@ -346961,28 +489068,27 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setKeyIsSet(true); } if(incoming.get(1)) { - struct.operator = com.cinchapi.concourse.thrift.Operator - .findByValue(iprot.readI32()); + struct.operator = iprot.readString(); struct.setOperatorIsSet(true); } if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2515 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list3947 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.values = new ArrayList( - _list2515.size); - com.cinchapi.concourse.thrift.TObject _elem2516; - for (int _i2517 = 0; _i2517 < _list2515.size; ++_i2517) { - _elem2516 = new com.cinchapi.concourse.thrift.TObject(); - _elem2516.read(iprot); - struct.values.add(_elem2516); + _list3947.size); + com.cinchapi.concourse.thrift.TObject _elem3948; + for (int _i3949 = 0; _i3949 < _list3947.size; ++_i3949) { + _elem3948 = new com.cinchapi.concourse.thrift.TObject(); + _elem3948.read(iprot); + struct.values.add(_elem3948); } } struct.setValuesIsSet(true); } if(incoming.get(3)) { - struct.timestamp = iprot.readString(); + struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if(incoming.get(4)) { @@ -347004,13 +489110,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findKeyOperatorValuesTimestr_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValuesTime_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorValuesTimestr_result"); + "findKeyOperatorstrValuesTime_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.SET, (short) 0); @@ -347026,9 +489132,9 @@ public static class findKeyOperatorValuesTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorValuesTimestr_resultStandardSchemeFactory()); + new findKeyOperatorstrValuesTime_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorValuesTimestr_resultTupleSchemeFactory()); + new findKeyOperatorstrValuesTime_resultTupleSchemeFactory()); } public Set success; // required @@ -347149,12 +489255,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorValuesTimestr_result.class, metaDataMap); + findKeyOperatorstrValuesTime_result.class, metaDataMap); } - public findKeyOperatorValuesTimestr_result() {} + public findKeyOperatorstrValuesTime_result() {} - public findKeyOperatorValuesTimestr_result(Set success, + public findKeyOperatorstrValuesTime_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -347170,8 +489276,8 @@ public findKeyOperatorValuesTimestr_result(Set success, /** * Performs a deep copy on other. */ - public findKeyOperatorValuesTimestr_result( - findKeyOperatorValuesTimestr_result other) { + public findKeyOperatorstrValuesTime_result( + findKeyOperatorstrValuesTime_result other) { if(other.isSetSuccess()) { Set __this__success = new LinkedHashSet( other.success); @@ -347195,8 +489301,8 @@ public findKeyOperatorValuesTimestr_result( } } - public findKeyOperatorValuesTimestr_result deepCopy() { - return new findKeyOperatorValuesTimestr_result(this); + public findKeyOperatorstrValuesTime_result deepCopy() { + return new findKeyOperatorstrValuesTime_result(this); } @Override @@ -347227,7 +489333,7 @@ public Set getSuccess() { return this.success; } - public findKeyOperatorValuesTimestr_result setSuccess( + public findKeyOperatorstrValuesTime_result setSuccess( Set success) { this.success = success; return this; @@ -347255,7 +489361,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public findKeyOperatorValuesTimestr_result setEx( + public findKeyOperatorstrValuesTime_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -347283,7 +489389,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public findKeyOperatorValuesTimestr_result setEx2( + public findKeyOperatorstrValuesTime_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -347311,7 +489417,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public findKeyOperatorValuesTimestr_result setEx3( + public findKeyOperatorstrValuesTime_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -347339,7 +489445,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public findKeyOperatorValuesTimestr_result setEx4( + public findKeyOperatorstrValuesTime_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -347462,12 +489568,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorValuesTimestr_result) - return this.equals((findKeyOperatorValuesTimestr_result) that); + if(that instanceof findKeyOperatorstrValuesTime_result) + return this.equals((findKeyOperatorstrValuesTime_result) that); return false; } - public boolean equals(findKeyOperatorValuesTimestr_result that) { + public boolean equals(findKeyOperatorstrValuesTime_result that) { if(that == null) return false; @@ -347552,7 +489658,7 @@ public int hashCode() { } @Override - public int compareTo(findKeyOperatorValuesTimestr_result other) { + public int compareTo(findKeyOperatorstrValuesTime_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -347640,7 +489746,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorValuesTimestr_result("); + "findKeyOperatorstrValuesTime_result("); boolean first = true; sb.append("success:"); @@ -347724,18 +489830,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorValuesTimestr_resultStandardSchemeFactory + private static class findKeyOperatorstrValuesTime_resultStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorValuesTimestr_resultStandardScheme getScheme() { - return new findKeyOperatorValuesTimestr_resultStandardScheme(); + public findKeyOperatorstrValuesTime_resultStandardScheme getScheme() { + return new findKeyOperatorstrValuesTime_resultStandardScheme(); } } - private static class findKeyOperatorValuesTimestr_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValuesTime_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorValuesTimestr_result struct) + findKeyOperatorstrValuesTime_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -347748,14 +489854,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set2518 = iprot + org.apache.thrift.protocol.TSet _set3950 = iprot .readSetBegin(); struct.success = new LinkedHashSet( - 2 * _set2518.size); - long _elem2519; - for (int _i2520 = 0; _i2520 < _set2518.size; ++_i2520) { - _elem2519 = iprot.readI64(); - struct.success.add(_elem2519); + 2 * _set3950.size); + long _elem3951; + for (int _i3952 = 0; _i3952 < _set3950.size; ++_i3952) { + _elem3951 = iprot.readI64(); + struct.success.add(_elem3951); } iprot.readSetEnd(); } @@ -347824,7 +489930,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorValuesTimestr_result struct) + findKeyOperatorstrValuesTime_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -347835,8 +489941,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, struct.success.size())); - for (long _iter2521 : struct.success) { - oprot.writeI64(_iter2521); + for (long _iter3953 : struct.success) { + oprot.writeI64(_iter3953); } oprot.writeSetEnd(); } @@ -347868,19 +489974,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findKeyOperatorValuesTimestr_resultTupleSchemeFactory + private static class findKeyOperatorstrValuesTime_resultTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorValuesTimestr_resultTupleScheme getScheme() { - return new findKeyOperatorValuesTimestr_resultTupleScheme(); + public findKeyOperatorstrValuesTime_resultTupleScheme getScheme() { + return new findKeyOperatorstrValuesTime_resultTupleScheme(); } } - private static class findKeyOperatorValuesTimestr_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValuesTime_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValuesTimestr_result struct) + findKeyOperatorstrValuesTime_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -347903,8 +490009,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter2522 : struct.success) { - oprot.writeI64(_iter2522); + for (long _iter3954 : struct.success) { + oprot.writeI64(_iter3954); } } } @@ -347924,21 +490030,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorValuesTimestr_result struct) + findKeyOperatorstrValuesTime_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set2523 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set3955 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.success = new LinkedHashSet( - 2 * _set2523.size); - long _elem2524; - for (int _i2525 = 0; _i2525 < _set2523.size; ++_i2525) { - _elem2524 = iprot.readI64(); - struct.success.add(_elem2524); + 2 * _set3955.size); + long _elem3956; + for (int _i3957 = 0; _i3957 < _set3955.size; ++_i3957) { + _elem3956 = iprot.readI64(); + struct.success.add(_elem3956); } } struct.setSuccessIsSet(true); @@ -347968,13 +490074,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findKeyOperatorstrValues_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValuesTimeOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorstrValues_args"); + "findKeyOperatorstrValuesTimeOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); @@ -347982,26 +490088,32 @@ public static class findKeyOperatorstrValues_args implements "operator", org.apache.thrift.protocol.TType.STRING, (short) 2); private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( "values", org.apache.thrift.protocol.TType.LIST, (short) 3); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.I64, (short) 4); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 4); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 6); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 5); + (short) 7); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 6); + (short) 8); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorstrValues_argsStandardSchemeFactory()); + new findKeyOperatorstrValuesTimeOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorstrValues_argsTupleSchemeFactory()); + new findKeyOperatorstrValuesTimeOrder_argsTupleSchemeFactory()); } public String key; // required public String operator; // required public List values; // required + public long timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -348014,9 +490126,11 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { KEY((short) 1, "key"), OPERATOR((short) 2, "operator"), VALUES((short) 3, "values"), - CREDS((short) 4, "creds"), - TRANSACTION((short) 5, "transaction"), - ENVIRONMENT((short) 6, "environment"); + TIMESTAMP((short) 4, "timestamp"), + ORDER((short) 5, "order"), + CREDS((short) 6, "creds"), + TRANSACTION((short) 7, "transaction"), + ENVIRONMENT((short) 8, "environment"); private static final Map byName = new LinkedHashMap(); @@ -348038,11 +490152,15 @@ public static _Fields findByThriftId(int fieldId) { return OPERATOR; case 3: // VALUES return VALUES; - case 4: // CREDS + case 4: // TIMESTAMP + return TIMESTAMP; + case 5: // ORDER + return ORDER; + case 6: // CREDS return CREDS; - case 5: // TRANSACTION + case 7: // TRANSACTION return TRANSACTION; - case 6: // ENVIRONMENT + case 8: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -348088,6 +490206,8 @@ public String getFieldName() { } // isset id assignments + private static final int __TIMESTAMP_ISSET_ID = 0; + private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -348110,6 +490230,17 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData( org.apache.thrift.protocol.TType.STRUCT, com.cinchapi.concourse.thrift.TObject.class)))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -348129,13 +490260,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorstrValues_args.class, metaDataMap); + findKeyOperatorstrValuesTimeOrder_args.class, metaDataMap); } - public findKeyOperatorstrValues_args() {} + public findKeyOperatorstrValuesTimeOrder_args() {} - public findKeyOperatorstrValues_args(String key, String operator, + public findKeyOperatorstrValuesTimeOrder_args(String key, + String operator, List values, + long timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { @@ -348143,6 +490276,9 @@ public findKeyOperatorstrValues_args(String key, String operator, this.key = key; this.operator = operator; this.values = values; + this.timestamp = timestamp; + setTimestampIsSet(true); + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -348151,8 +490287,9 @@ public findKeyOperatorstrValues_args(String key, String operator, /** * Performs a deep copy on other. */ - public findKeyOperatorstrValues_args( - findKeyOperatorstrValues_args other) { + public findKeyOperatorstrValuesTimeOrder_args( + findKeyOperatorstrValuesTimeOrder_args other) { + __isset_bitfield = other.__isset_bitfield; if(other.isSetKey()) { this.key = other.key; } @@ -348169,6 +490306,11 @@ public findKeyOperatorstrValues_args( } this.values = __this__values; } + this.timestamp = other.timestamp; + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -348182,8 +490324,8 @@ public findKeyOperatorstrValues_args( } } - public findKeyOperatorstrValues_args deepCopy() { - return new findKeyOperatorstrValues_args(this); + public findKeyOperatorstrValuesTimeOrder_args deepCopy() { + return new findKeyOperatorstrValuesTimeOrder_args(this); } @Override @@ -348191,6 +490333,9 @@ public void clear() { this.key = null; this.operator = null; this.values = null; + setTimestampIsSet(false); + this.timestamp = 0; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -348200,7 +490345,7 @@ public String getKey() { return this.key; } - public findKeyOperatorstrValues_args setKey(String key) { + public findKeyOperatorstrValuesTimeOrder_args setKey(String key) { this.key = key; return this; } @@ -348227,7 +490372,8 @@ public String getOperator() { return this.operator; } - public findKeyOperatorstrValues_args setOperator(String operator) { + public findKeyOperatorstrValuesTimeOrder_args setOperator( + String operator) { this.operator = operator; return this; } @@ -348269,7 +490415,7 @@ public List getValues() { return this.values; } - public findKeyOperatorstrValues_args setValues( + public findKeyOperatorstrValuesTimeOrder_args setValues( List values) { this.values = values; return this; @@ -348293,11 +490439,69 @@ public void setValuesIsSet(boolean value) { } } + public long getTimestamp() { + return this.timestamp; + } + + public findKeyOperatorstrValuesTimeOrder_args setTimestamp( + long timestamp) { + this.timestamp = timestamp; + setTimestampIsSet(true); + return this; + } + + public void unsetTimestamp() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + /** + * Returns true if field timestamp is set (has been assigned a value) + * and false otherwise + */ + public boolean isSetTimestamp() { + return EncodingUtils.testBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID); + } + + public void setTimestampIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __TIMESTAMP_ISSET_ID, value); + } + + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public findKeyOperatorstrValuesTimeOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public findKeyOperatorstrValues_args setCreds( + public findKeyOperatorstrValuesTimeOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -348325,7 +490529,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public findKeyOperatorstrValues_args setTransaction( + public findKeyOperatorstrValuesTimeOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -348353,7 +490557,7 @@ public String getEnvironment() { return this.environment; } - public findKeyOperatorstrValues_args setEnvironment( + public findKeyOperatorstrValuesTimeOrder_args setEnvironment( String environment) { this.environment = environment; return this; @@ -348407,6 +490611,24 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((Long) value); + } + break; + + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -348449,6 +490671,12 @@ public Object getFieldValue(_Fields field) { case VALUES: return getValues(); + case TIMESTAMP: + return getTimestamp(); + + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -348478,6 +490706,10 @@ public boolean isSet(_Fields field) { return isSetOperator(); case VALUES: return isSetValues(); + case TIMESTAMP: + return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -348492,12 +490724,13 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorstrValues_args) - return this.equals((findKeyOperatorstrValues_args) that); + if(that instanceof findKeyOperatorstrValuesTimeOrder_args) + return this + .equals((findKeyOperatorstrValuesTimeOrder_args) that); return false; } - public boolean equals(findKeyOperatorstrValues_args that) { + public boolean equals(findKeyOperatorstrValuesTimeOrder_args that) { if(that == null) return false; @@ -348528,6 +490761,24 @@ public boolean equals(findKeyOperatorstrValues_args that) { return false; } + boolean this_present_timestamp = true; + boolean that_present_timestamp = true; + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(this.timestamp != that.timestamp) + return false; + } + + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -348577,6 +490828,16 @@ public int hashCode() { if(present_values) list.add(values); + boolean present_timestamp = true; + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -348596,7 +490857,7 @@ public int hashCode() { } @Override - public int compareTo(findKeyOperatorstrValues_args other) { + public int compareTo(findKeyOperatorstrValuesTimeOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -348640,6 +490901,30 @@ public int compareTo(findKeyOperatorstrValues_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -348696,7 +490981,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorstrValues_args("); + "findKeyOperatorstrValuesTimeOrder_args("); boolean first = true; sb.append("key:"); @@ -348727,6 +491012,21 @@ public String toString() { sb.append(this.values); } first = false; + if(!first) + sb.append(", "); + sb.append("timestamp:"); + sb.append(this.timestamp); + first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -348764,6 +491064,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -348787,6 +491090,10 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default + // constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -348796,18 +491103,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorstrValues_argsStandardSchemeFactory + private static class findKeyOperatorstrValuesTimeOrder_argsStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValues_argsStandardScheme getScheme() { - return new findKeyOperatorstrValues_argsStandardScheme(); + public findKeyOperatorstrValuesTimeOrder_argsStandardScheme getScheme() { + return new findKeyOperatorstrValuesTimeOrder_argsStandardScheme(); } } - private static class findKeyOperatorstrValues_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValuesTimeOrder_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorstrValues_args struct) + findKeyOperatorstrValuesTimeOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -348840,15 +491147,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 3: // VALUES if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2526 = iprot + org.apache.thrift.protocol.TList _list3958 = iprot .readListBegin(); struct.values = new ArrayList( - _list2526.size); - com.cinchapi.concourse.thrift.TObject _elem2527; - for (int _i2528 = 0; _i2528 < _list2526.size; ++_i2528) { - _elem2527 = new com.cinchapi.concourse.thrift.TObject(); - _elem2527.read(iprot); - struct.values.add(_elem2527); + _list3958.size); + com.cinchapi.concourse.thrift.TObject _elem3959; + for (int _i3960 = 0; _i3960 < _list3958.size; ++_i3960) { + _elem3959 = new com.cinchapi.concourse.thrift.TObject(); + _elem3959.read(iprot); + struct.values.add(_elem3959); } iprot.readListEnd(); } @@ -348859,7 +491166,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 4: // CREDS + case 4: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 5: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -348870,7 +491198,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // TRANSACTION + case 7: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -348881,7 +491209,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // ENVIRONMENT + case 8: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -348905,7 +491233,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorstrValues_args struct) + findKeyOperatorstrValuesTimeOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -348927,13 +491255,21 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.values.size())); - for (com.cinchapi.concourse.thrift.TObject _iter2529 : struct.values) { - _iter2529.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3961 : struct.values) { + _iter3961.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeI64(struct.timestamp); + oprot.writeFieldEnd(); + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -348955,19 +491291,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findKeyOperatorstrValues_argsTupleSchemeFactory + private static class findKeyOperatorstrValuesTimeOrder_argsTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValues_argsTupleScheme getScheme() { - return new findKeyOperatorstrValues_argsTupleScheme(); + public findKeyOperatorstrValuesTimeOrder_argsTupleScheme getScheme() { + return new findKeyOperatorstrValuesTimeOrder_argsTupleScheme(); } } - private static class findKeyOperatorstrValues_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValuesTimeOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValues_args struct) + findKeyOperatorstrValuesTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -348980,16 +491316,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetValues()) { optionals.set(2); } - if(struct.isSetCreds()) { + if(struct.isSetTimestamp()) { optionals.set(3); } - if(struct.isSetTransaction()) { + if(struct.isSetOrder()) { optionals.set(4); } - if(struct.isSetEnvironment()) { + if(struct.isSetCreds()) { optionals.set(5); } - oprot.writeBitSet(optionals, 6); + if(struct.isSetTransaction()) { + optionals.set(6); + } + if(struct.isSetEnvironment()) { + optionals.set(7); + } + oprot.writeBitSet(optionals, 8); if(struct.isSetKey()) { oprot.writeString(struct.key); } @@ -348999,11 +491341,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetValues()) { { oprot.writeI32(struct.values.size()); - for (com.cinchapi.concourse.thrift.TObject _iter2530 : struct.values) { - _iter2530.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3962 : struct.values) { + _iter3962.write(oprot); } } } + if(struct.isSetTimestamp()) { + oprot.writeI64(struct.timestamp); + } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -349017,10 +491365,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValues_args struct) + findKeyOperatorstrValuesTimeOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(8); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); @@ -349031,31 +491379,40 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2531 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list3963 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.values = new ArrayList( - _list2531.size); - com.cinchapi.concourse.thrift.TObject _elem2532; - for (int _i2533 = 0; _i2533 < _list2531.size; ++_i2533) { - _elem2532 = new com.cinchapi.concourse.thrift.TObject(); - _elem2532.read(iprot); - struct.values.add(_elem2532); + _list3963.size); + com.cinchapi.concourse.thrift.TObject _elem3964; + for (int _i3965 = 0; _i3965 < _list3963.size; ++_i3965) { + _elem3964 = new com.cinchapi.concourse.thrift.TObject(); + _elem3964.read(iprot); + struct.values.add(_elem3964); } } struct.setValuesIsSet(true); } if(incoming.get(3)) { + struct.timestamp = iprot.readI64(); + struct.setTimestampIsSet(true); + } + if(incoming.get(4)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(5)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(4)) { + if(incoming.get(6)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(7)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -349064,13 +491421,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findKeyOperatorstrValues_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValuesTimeOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorstrValues_result"); + "findKeyOperatorstrValuesTimeOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.SET, (short) 0); @@ -349086,9 +491443,9 @@ public static class findKeyOperatorstrValues_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorstrValues_resultStandardSchemeFactory()); + new findKeyOperatorstrValuesTimeOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorstrValues_resultTupleSchemeFactory()); + new findKeyOperatorstrValuesTimeOrder_resultTupleSchemeFactory()); } public Set success; // required @@ -349209,12 +491566,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorstrValues_result.class, metaDataMap); + findKeyOperatorstrValuesTimeOrder_result.class, + metaDataMap); } - public findKeyOperatorstrValues_result() {} + public findKeyOperatorstrValuesTimeOrder_result() {} - public findKeyOperatorstrValues_result(Set success, + public findKeyOperatorstrValuesTimeOrder_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -349230,8 +491588,8 @@ public findKeyOperatorstrValues_result(Set success, /** * Performs a deep copy on other. */ - public findKeyOperatorstrValues_result( - findKeyOperatorstrValues_result other) { + public findKeyOperatorstrValuesTimeOrder_result( + findKeyOperatorstrValuesTimeOrder_result other) { if(other.isSetSuccess()) { Set __this__success = new LinkedHashSet( other.success); @@ -349255,8 +491613,8 @@ public findKeyOperatorstrValues_result( } } - public findKeyOperatorstrValues_result deepCopy() { - return new findKeyOperatorstrValues_result(this); + public findKeyOperatorstrValuesTimeOrder_result deepCopy() { + return new findKeyOperatorstrValuesTimeOrder_result(this); } @Override @@ -349287,7 +491645,8 @@ public Set getSuccess() { return this.success; } - public findKeyOperatorstrValues_result setSuccess(Set success) { + public findKeyOperatorstrValuesTimeOrder_result setSuccess( + Set success) { this.success = success; return this; } @@ -349314,7 +491673,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public findKeyOperatorstrValues_result setEx( + public findKeyOperatorstrValuesTimeOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -349342,7 +491701,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public findKeyOperatorstrValues_result setEx2( + public findKeyOperatorstrValuesTimeOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -349370,7 +491729,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public findKeyOperatorstrValues_result setEx3( + public findKeyOperatorstrValuesTimeOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -349398,7 +491757,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public findKeyOperatorstrValues_result setEx4( + public findKeyOperatorstrValuesTimeOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -349521,12 +491880,13 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorstrValues_result) - return this.equals((findKeyOperatorstrValues_result) that); + if(that instanceof findKeyOperatorstrValuesTimeOrder_result) + return this.equals( + (findKeyOperatorstrValuesTimeOrder_result) that); return false; } - public boolean equals(findKeyOperatorstrValues_result that) { + public boolean equals(findKeyOperatorstrValuesTimeOrder_result that) { if(that == null) return false; @@ -349611,7 +491971,7 @@ public int hashCode() { } @Override - public int compareTo(findKeyOperatorstrValues_result other) { + public int compareTo(findKeyOperatorstrValuesTimeOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -349699,7 +492059,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorstrValues_result("); + "findKeyOperatorstrValuesTimeOrder_result("); boolean first = true; sb.append("success:"); @@ -349783,18 +492143,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorstrValues_resultStandardSchemeFactory + private static class findKeyOperatorstrValuesTimeOrder_resultStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValues_resultStandardScheme getScheme() { - return new findKeyOperatorstrValues_resultStandardScheme(); + public findKeyOperatorstrValuesTimeOrder_resultStandardScheme getScheme() { + return new findKeyOperatorstrValuesTimeOrder_resultStandardScheme(); } } - private static class findKeyOperatorstrValues_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValuesTimeOrder_resultStandardScheme + extends + StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorstrValues_result struct) + findKeyOperatorstrValuesTimeOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -349807,14 +492168,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set2534 = iprot + org.apache.thrift.protocol.TSet _set3966 = iprot .readSetBegin(); struct.success = new LinkedHashSet( - 2 * _set2534.size); - long _elem2535; - for (int _i2536 = 0; _i2536 < _set2534.size; ++_i2536) { - _elem2535 = iprot.readI64(); - struct.success.add(_elem2535); + 2 * _set3966.size); + long _elem3967; + for (int _i3968 = 0; _i3968 < _set3966.size; ++_i3968) { + _elem3967 = iprot.readI64(); + struct.success.add(_elem3967); } iprot.readSetEnd(); } @@ -349883,7 +492244,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorstrValues_result struct) + findKeyOperatorstrValuesTimeOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -349894,8 +492255,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, struct.success.size())); - for (long _iter2537 : struct.success) { - oprot.writeI64(_iter2537); + for (long _iter3969 : struct.success) { + oprot.writeI64(_iter3969); } oprot.writeSetEnd(); } @@ -349927,19 +492288,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findKeyOperatorstrValues_resultTupleSchemeFactory + private static class findKeyOperatorstrValuesTimeOrder_resultTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValues_resultTupleScheme getScheme() { - return new findKeyOperatorstrValues_resultTupleScheme(); + public findKeyOperatorstrValuesTimeOrder_resultTupleScheme getScheme() { + return new findKeyOperatorstrValuesTimeOrder_resultTupleScheme(); } } - private static class findKeyOperatorstrValues_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValuesTimeOrder_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValues_result struct) + findKeyOperatorstrValuesTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -349962,8 +492323,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter2538 : struct.success) { - oprot.writeI64(_iter2538); + for (long _iter3970 : struct.success) { + oprot.writeI64(_iter3970); } } } @@ -349983,21 +492344,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValues_result struct) + findKeyOperatorstrValuesTimeOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set2539 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set3971 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.success = new LinkedHashSet( - 2 * _set2539.size); - long _elem2540; - for (int _i2541 = 0; _i2541 < _set2539.size; ++_i2541) { - _elem2540 = iprot.readI64(); - struct.success.add(_elem2540); + 2 * _set3971.size); + long _elem3972; + for (int _i3973 = 0; _i3973 < _set3971.size; ++_i3973) { + _elem3972 = iprot.readI64(); + struct.success.add(_elem3972); } } struct.setSuccessIsSet(true); @@ -350027,13 +492388,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findKeyOperatorstrValuesTime_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValuesTimestr_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorstrValuesTime_args"); + "findKeyOperatorstrValuesTimestr_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); @@ -350042,7 +492403,8 @@ public static class findKeyOperatorstrValuesTime_args implements private static final org.apache.thrift.protocol.TField VALUES_FIELD_DESC = new org.apache.thrift.protocol.TField( "values", org.apache.thrift.protocol.TType.LIST, (short) 3); private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( - "timestamp", org.apache.thrift.protocol.TType.I64, (short) 4); + "timestamp", org.apache.thrift.protocol.TType.STRING, + (short) 4); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( @@ -350055,15 +492417,15 @@ public static class findKeyOperatorstrValuesTime_args implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorstrValuesTime_argsStandardSchemeFactory()); + new findKeyOperatorstrValuesTimestr_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorstrValuesTime_argsTupleSchemeFactory()); + new findKeyOperatorstrValuesTimestr_argsTupleSchemeFactory()); } public String key; // required public String operator; // required public List values; // required - public long timestamp; // required + public String timestamp; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -350153,8 +492515,6 @@ public String getFieldName() { } // isset id assignments - private static final int __TIMESTAMP_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( @@ -350181,7 +492541,7 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); + org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -350201,14 +492561,15 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorstrValuesTime_args.class, metaDataMap); + findKeyOperatorstrValuesTimestr_args.class, metaDataMap); } - public findKeyOperatorstrValuesTime_args() {} + public findKeyOperatorstrValuesTimestr_args() {} - public findKeyOperatorstrValuesTime_args(String key, String operator, + public findKeyOperatorstrValuesTimestr_args(String key, String operator, List values, - long timestamp, com.cinchapi.concourse.thrift.AccessToken creds, + String timestamp, + com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { this(); @@ -350216,7 +492577,6 @@ public findKeyOperatorstrValuesTime_args(String key, String operator, this.operator = operator; this.values = values; this.timestamp = timestamp; - setTimestampIsSet(true); this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -350225,9 +492585,8 @@ public findKeyOperatorstrValuesTime_args(String key, String operator, /** * Performs a deep copy on other. */ - public findKeyOperatorstrValuesTime_args( - findKeyOperatorstrValuesTime_args other) { - __isset_bitfield = other.__isset_bitfield; + public findKeyOperatorstrValuesTimestr_args( + findKeyOperatorstrValuesTimestr_args other) { if(other.isSetKey()) { this.key = other.key; } @@ -350244,7 +492603,9 @@ public findKeyOperatorstrValuesTime_args( } this.values = __this__values; } - this.timestamp = other.timestamp; + if(other.isSetTimestamp()) { + this.timestamp = other.timestamp; + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -350258,8 +492619,8 @@ public findKeyOperatorstrValuesTime_args( } } - public findKeyOperatorstrValuesTime_args deepCopy() { - return new findKeyOperatorstrValuesTime_args(this); + public findKeyOperatorstrValuesTimestr_args deepCopy() { + return new findKeyOperatorstrValuesTimestr_args(this); } @Override @@ -350267,8 +492628,7 @@ public void clear() { this.key = null; this.operator = null; this.values = null; - setTimestampIsSet(false); - this.timestamp = 0; + this.timestamp = null; this.creds = null; this.transaction = null; this.environment = null; @@ -350278,7 +492638,7 @@ public String getKey() { return this.key; } - public findKeyOperatorstrValuesTime_args setKey(String key) { + public findKeyOperatorstrValuesTimestr_args setKey(String key) { this.key = key; return this; } @@ -350305,7 +492665,8 @@ public String getOperator() { return this.operator; } - public findKeyOperatorstrValuesTime_args setOperator(String operator) { + public findKeyOperatorstrValuesTimestr_args setOperator( + String operator) { this.operator = operator; return this; } @@ -350347,7 +492708,7 @@ public List getValues() { return this.values; } - public findKeyOperatorstrValuesTime_args setValues( + public findKeyOperatorstrValuesTimestr_args setValues( List values) { this.values = values; return this; @@ -350371,19 +492732,18 @@ public void setValuesIsSet(boolean value) { } } - public long getTimestamp() { + public String getTimestamp() { return this.timestamp; } - public findKeyOperatorstrValuesTime_args setTimestamp(long timestamp) { + public findKeyOperatorstrValuesTimestr_args setTimestamp( + String timestamp) { this.timestamp = timestamp; - setTimestampIsSet(true); return this; } public void unsetTimestamp() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + this.timestamp = null; } /** @@ -350391,20 +492751,20 @@ public void unsetTimestamp() { * and false otherwise */ public boolean isSetTimestamp() { - return EncodingUtils.testBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID); + return this.timestamp != null; } public void setTimestampIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, - __TIMESTAMP_ISSET_ID, value); + if(!value) { + this.timestamp = null; + } } public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public findKeyOperatorstrValuesTime_args setCreds( + public findKeyOperatorstrValuesTimestr_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -350432,7 +492792,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public findKeyOperatorstrValuesTime_args setTransaction( + public findKeyOperatorstrValuesTimestr_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -350460,7 +492820,7 @@ public String getEnvironment() { return this.environment; } - public findKeyOperatorstrValuesTime_args setEnvironment( + public findKeyOperatorstrValuesTimestr_args setEnvironment( String environment) { this.environment = environment; return this; @@ -350519,7 +492879,7 @@ public void setFieldValue(_Fields field, Object value) { unsetTimestamp(); } else { - setTimestamp((Long) value); + setTimestamp((String) value); } break; @@ -350613,12 +492973,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorstrValuesTime_args) - return this.equals((findKeyOperatorstrValuesTime_args) that); + if(that instanceof findKeyOperatorstrValuesTimestr_args) + return this.equals((findKeyOperatorstrValuesTimestr_args) that); return false; } - public boolean equals(findKeyOperatorstrValuesTime_args that) { + public boolean equals(findKeyOperatorstrValuesTimestr_args that) { if(that == null) return false; @@ -350649,12 +493009,12 @@ public boolean equals(findKeyOperatorstrValuesTime_args that) { return false; } - boolean this_present_timestamp = true; - boolean that_present_timestamp = true; + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); if(this_present_timestamp || that_present_timestamp) { if(!(this_present_timestamp && that_present_timestamp)) return false; - if(this.timestamp != that.timestamp) + if(!this.timestamp.equals(that.timestamp)) return false; } @@ -350707,7 +493067,7 @@ public int hashCode() { if(present_values) list.add(values); - boolean present_timestamp = true; + boolean present_timestamp = true && (isSetTimestamp()); list.add(present_timestamp); if(present_timestamp) list.add(timestamp); @@ -350731,7 +493091,7 @@ public int hashCode() { } @Override - public int compareTo(findKeyOperatorstrValuesTime_args other) { + public int compareTo(findKeyOperatorstrValuesTimestr_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -350843,7 +493203,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorstrValuesTime_args("); + "findKeyOperatorstrValuesTimestr_args("); boolean first = true; sb.append("key:"); @@ -350877,7 +493237,12 @@ public String toString() { if(!first) sb.append(", "); sb.append("timestamp:"); - sb.append(this.timestamp); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } first = false; if(!first) sb.append(", "); @@ -350939,10 +493304,6 @@ private void writeObject(java.io.ObjectOutputStream out) private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { - // it doesn't seem like you should have to do this, but java - // serialization is wacky, and doesn't call the default - // constructor. - __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol( new org.apache.thrift.transport.TIOStreamTransport( in))); @@ -350952,18 +493313,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorstrValuesTime_argsStandardSchemeFactory + private static class findKeyOperatorstrValuesTimestr_argsStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValuesTime_argsStandardScheme getScheme() { - return new findKeyOperatorstrValuesTime_argsStandardScheme(); + public findKeyOperatorstrValuesTimestr_argsStandardScheme getScheme() { + return new findKeyOperatorstrValuesTimestr_argsStandardScheme(); } } - private static class findKeyOperatorstrValuesTime_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValuesTimestr_argsStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorstrValuesTime_args struct) + findKeyOperatorstrValuesTimestr_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -350996,15 +493357,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 3: // VALUES if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2542 = iprot + org.apache.thrift.protocol.TList _list3974 = iprot .readListBegin(); struct.values = new ArrayList( - _list2542.size); - com.cinchapi.concourse.thrift.TObject _elem2543; - for (int _i2544 = 0; _i2544 < _list2542.size; ++_i2544) { - _elem2543 = new com.cinchapi.concourse.thrift.TObject(); - _elem2543.read(iprot); - struct.values.add(_elem2543); + _list3974.size); + com.cinchapi.concourse.thrift.TObject _elem3975; + for (int _i3976 = 0; _i3976 < _list3974.size; ++_i3976) { + _elem3975 = new com.cinchapi.concourse.thrift.TObject(); + _elem3975.read(iprot); + struct.values.add(_elem3975); } iprot.readListEnd(); } @@ -351016,8 +493377,8 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } break; case 4: // TIMESTAMP - if(schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.timestamp = iprot.readI64(); + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } else { @@ -351071,7 +493432,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorstrValuesTime_args struct) + findKeyOperatorstrValuesTimestr_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -351093,16 +493454,18 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.values.size())); - for (com.cinchapi.concourse.thrift.TObject _iter2545 : struct.values) { - _iter2545.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3977 : struct.values) { + _iter3977.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } - oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); - oprot.writeI64(struct.timestamp); - oprot.writeFieldEnd(); + if(struct.timestamp != null) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + oprot.writeString(struct.timestamp); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -351124,19 +493487,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findKeyOperatorstrValuesTime_argsTupleSchemeFactory + private static class findKeyOperatorstrValuesTimestr_argsTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValuesTime_argsTupleScheme getScheme() { - return new findKeyOperatorstrValuesTime_argsTupleScheme(); + public findKeyOperatorstrValuesTimestr_argsTupleScheme getScheme() { + return new findKeyOperatorstrValuesTimestr_argsTupleScheme(); } } - private static class findKeyOperatorstrValuesTime_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValuesTimestr_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValuesTime_args struct) + findKeyOperatorstrValuesTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -351171,13 +493534,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetValues()) { { oprot.writeI32(struct.values.size()); - for (com.cinchapi.concourse.thrift.TObject _iter2546 : struct.values) { - _iter2546.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3978 : struct.values) { + _iter3978.write(oprot); } } } if(struct.isSetTimestamp()) { - oprot.writeI64(struct.timestamp); + oprot.writeString(struct.timestamp); } if(struct.isSetCreds()) { struct.creds.write(oprot); @@ -351192,7 +493555,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValuesTime_args struct) + findKeyOperatorstrValuesTimestr_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(7); @@ -351206,22 +493569,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2547 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list3979 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.values = new ArrayList( - _list2547.size); - com.cinchapi.concourse.thrift.TObject _elem2548; - for (int _i2549 = 0; _i2549 < _list2547.size; ++_i2549) { - _elem2548 = new com.cinchapi.concourse.thrift.TObject(); - _elem2548.read(iprot); - struct.values.add(_elem2548); + _list3979.size); + com.cinchapi.concourse.thrift.TObject _elem3980; + for (int _i3981 = 0; _i3981 < _list3979.size; ++_i3981) { + _elem3980 = new com.cinchapi.concourse.thrift.TObject(); + _elem3980.read(iprot); + struct.values.add(_elem3980); } } struct.setValuesIsSet(true); } if(incoming.get(3)) { - struct.timestamp = iprot.readI64(); + struct.timestamp = iprot.readString(); struct.setTimestampIsSet(true); } if(incoming.get(4)) { @@ -351243,13 +493606,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findKeyOperatorstrValuesTime_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValuesTimestr_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorstrValuesTime_result"); + "findKeyOperatorstrValuesTimestr_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.SET, (short) 0); @@ -351265,9 +493628,9 @@ public static class findKeyOperatorstrValuesTime_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorstrValuesTime_resultStandardSchemeFactory()); + new findKeyOperatorstrValuesTimestr_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorstrValuesTime_resultTupleSchemeFactory()); + new findKeyOperatorstrValuesTimestr_resultTupleSchemeFactory()); } public Set success; // required @@ -351388,12 +493751,12 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorstrValuesTime_result.class, metaDataMap); + findKeyOperatorstrValuesTimestr_result.class, metaDataMap); } - public findKeyOperatorstrValuesTime_result() {} + public findKeyOperatorstrValuesTimestr_result() {} - public findKeyOperatorstrValuesTime_result(Set success, + public findKeyOperatorstrValuesTimestr_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -351409,8 +493772,8 @@ public findKeyOperatorstrValuesTime_result(Set success, /** * Performs a deep copy on other. */ - public findKeyOperatorstrValuesTime_result( - findKeyOperatorstrValuesTime_result other) { + public findKeyOperatorstrValuesTimestr_result( + findKeyOperatorstrValuesTimestr_result other) { if(other.isSetSuccess()) { Set __this__success = new LinkedHashSet( other.success); @@ -351434,8 +493797,8 @@ public findKeyOperatorstrValuesTime_result( } } - public findKeyOperatorstrValuesTime_result deepCopy() { - return new findKeyOperatorstrValuesTime_result(this); + public findKeyOperatorstrValuesTimestr_result deepCopy() { + return new findKeyOperatorstrValuesTimestr_result(this); } @Override @@ -351466,7 +493829,7 @@ public Set getSuccess() { return this.success; } - public findKeyOperatorstrValuesTime_result setSuccess( + public findKeyOperatorstrValuesTimestr_result setSuccess( Set success) { this.success = success; return this; @@ -351494,7 +493857,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public findKeyOperatorstrValuesTime_result setEx( + public findKeyOperatorstrValuesTimestr_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -351522,7 +493885,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public findKeyOperatorstrValuesTime_result setEx2( + public findKeyOperatorstrValuesTimestr_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -351550,7 +493913,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public findKeyOperatorstrValuesTime_result setEx3( + public findKeyOperatorstrValuesTimestr_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -351578,7 +493941,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public findKeyOperatorstrValuesTime_result setEx4( + public findKeyOperatorstrValuesTimestr_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -351701,12 +494064,13 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorstrValuesTime_result) - return this.equals((findKeyOperatorstrValuesTime_result) that); + if(that instanceof findKeyOperatorstrValuesTimestr_result) + return this + .equals((findKeyOperatorstrValuesTimestr_result) that); return false; } - public boolean equals(findKeyOperatorstrValuesTime_result that) { + public boolean equals(findKeyOperatorstrValuesTimestr_result that) { if(that == null) return false; @@ -351791,7 +494155,7 @@ public int hashCode() { } @Override - public int compareTo(findKeyOperatorstrValuesTime_result other) { + public int compareTo(findKeyOperatorstrValuesTimestr_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -351879,7 +494243,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorstrValuesTime_result("); + "findKeyOperatorstrValuesTimestr_result("); boolean first = true; sb.append("success:"); @@ -351963,18 +494327,18 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorstrValuesTime_resultStandardSchemeFactory + private static class findKeyOperatorstrValuesTimestr_resultStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValuesTime_resultStandardScheme getScheme() { - return new findKeyOperatorstrValuesTime_resultStandardScheme(); + public findKeyOperatorstrValuesTimestr_resultStandardScheme getScheme() { + return new findKeyOperatorstrValuesTimestr_resultStandardScheme(); } } - private static class findKeyOperatorstrValuesTime_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValuesTimestr_resultStandardScheme + extends StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorstrValuesTime_result struct) + findKeyOperatorstrValuesTimestr_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -351987,14 +494351,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set2550 = iprot + org.apache.thrift.protocol.TSet _set3982 = iprot .readSetBegin(); struct.success = new LinkedHashSet( - 2 * _set2550.size); - long _elem2551; - for (int _i2552 = 0; _i2552 < _set2550.size; ++_i2552) { - _elem2551 = iprot.readI64(); - struct.success.add(_elem2551); + 2 * _set3982.size); + long _elem3983; + for (int _i3984 = 0; _i3984 < _set3982.size; ++_i3984) { + _elem3983 = iprot.readI64(); + struct.success.add(_elem3983); } iprot.readSetEnd(); } @@ -352063,7 +494427,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorstrValuesTime_result struct) + findKeyOperatorstrValuesTimestr_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -352074,8 +494438,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, struct.success.size())); - for (long _iter2553 : struct.success) { - oprot.writeI64(_iter2553); + for (long _iter3985 : struct.success) { + oprot.writeI64(_iter3985); } oprot.writeSetEnd(); } @@ -352107,19 +494471,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findKeyOperatorstrValuesTime_resultTupleSchemeFactory + private static class findKeyOperatorstrValuesTimestr_resultTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValuesTime_resultTupleScheme getScheme() { - return new findKeyOperatorstrValuesTime_resultTupleScheme(); + public findKeyOperatorstrValuesTimestr_resultTupleScheme getScheme() { + return new findKeyOperatorstrValuesTimestr_resultTupleScheme(); } } - private static class findKeyOperatorstrValuesTime_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValuesTimestr_resultTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValuesTime_result struct) + findKeyOperatorstrValuesTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -352142,8 +494506,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter2554 : struct.success) { - oprot.writeI64(_iter2554); + for (long _iter3986 : struct.success) { + oprot.writeI64(_iter3986); } } } @@ -352163,21 +494527,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValuesTime_result struct) + findKeyOperatorstrValuesTimestr_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set2555 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set3987 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.success = new LinkedHashSet( - 2 * _set2555.size); - long _elem2556; - for (int _i2557 = 0; _i2557 < _set2555.size; ++_i2557) { - _elem2556 = iprot.readI64(); - struct.success.add(_elem2556); + 2 * _set3987.size); + long _elem3988; + for (int _i3989 = 0; _i3989 < _set3987.size; ++_i3989) { + _elem3988 = iprot.readI64(); + struct.success.add(_elem3988); } } struct.setSuccessIsSet(true); @@ -352207,13 +494571,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findKeyOperatorstrValuesTimestr_args implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValuesTimestrOrder_args implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorstrValuesTimestr_args"); + "findKeyOperatorstrValuesTimestrOrder_args"); private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( "key", org.apache.thrift.protocol.TType.STRING, (short) 1); @@ -352224,27 +494588,30 @@ public static class findKeyOperatorstrValuesTimestr_args implements private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( "timestamp", org.apache.thrift.protocol.TType.STRING, (short) 4); + private static final org.apache.thrift.protocol.TField ORDER_FIELD_DESC = new org.apache.thrift.protocol.TField( + "order", org.apache.thrift.protocol.TType.STRUCT, (short) 5); private static final org.apache.thrift.protocol.TField CREDS_FIELD_DESC = new org.apache.thrift.protocol.TField( - "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 5); + "creds", org.apache.thrift.protocol.TType.STRUCT, (short) 6); private static final org.apache.thrift.protocol.TField TRANSACTION_FIELD_DESC = new org.apache.thrift.protocol.TField( "transaction", org.apache.thrift.protocol.TType.STRUCT, - (short) 6); + (short) 7); private static final org.apache.thrift.protocol.TField ENVIRONMENT_FIELD_DESC = new org.apache.thrift.protocol.TField( "environment", org.apache.thrift.protocol.TType.STRING, - (short) 7); + (short) 8); private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorstrValuesTimestr_argsStandardSchemeFactory()); + new findKeyOperatorstrValuesTimestrOrder_argsStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorstrValuesTimestr_argsTupleSchemeFactory()); + new findKeyOperatorstrValuesTimestrOrder_argsTupleSchemeFactory()); } public String key; // required public String operator; // required public List values; // required public String timestamp; // required + public com.cinchapi.concourse.thrift.TOrder order; // required public com.cinchapi.concourse.thrift.AccessToken creds; // required public com.cinchapi.concourse.thrift.TransactionToken transaction; // required public String environment; // required @@ -352258,9 +494625,10 @@ public enum _Fields implements org.apache.thrift.TFieldIdEnum { OPERATOR((short) 2, "operator"), VALUES((short) 3, "values"), TIMESTAMP((short) 4, "timestamp"), - CREDS((short) 5, "creds"), - TRANSACTION((short) 6, "transaction"), - ENVIRONMENT((short) 7, "environment"); + ORDER((short) 5, "order"), + CREDS((short) 6, "creds"), + TRANSACTION((short) 7, "transaction"), + ENVIRONMENT((short) 8, "environment"); private static final Map byName = new LinkedHashMap(); @@ -352284,11 +494652,13 @@ public static _Fields findByThriftId(int fieldId) { return VALUES; case 4: // TIMESTAMP return TIMESTAMP; - case 5: // CREDS + case 5: // ORDER + return ORDER; + case 6: // CREDS return CREDS; - case 6: // TRANSACTION + case 7: // TRANSACTION return TRANSACTION; - case 7: // ENVIRONMENT + case 8: // ENVIRONMENT return ENVIRONMENT; default: return null; @@ -352361,6 +494731,12 @@ public String getFieldName() { org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData( org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.ORDER, + new org.apache.thrift.meta_data.FieldMetaData("order", + org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + com.cinchapi.concourse.thrift.TOrder.class))); tmpMap.put(_Fields.CREDS, new org.apache.thrift.meta_data.FieldMetaData("creds", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -352380,14 +494756,16 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorstrValuesTimestr_args.class, metaDataMap); + findKeyOperatorstrValuesTimestrOrder_args.class, + metaDataMap); } - public findKeyOperatorstrValuesTimestr_args() {} + public findKeyOperatorstrValuesTimestrOrder_args() {} - public findKeyOperatorstrValuesTimestr_args(String key, String operator, + public findKeyOperatorstrValuesTimestrOrder_args(String key, + String operator, List values, - String timestamp, + String timestamp, com.cinchapi.concourse.thrift.TOrder order, com.cinchapi.concourse.thrift.AccessToken creds, com.cinchapi.concourse.thrift.TransactionToken transaction, String environment) { @@ -352396,6 +494774,7 @@ public findKeyOperatorstrValuesTimestr_args(String key, String operator, this.operator = operator; this.values = values; this.timestamp = timestamp; + this.order = order; this.creds = creds; this.transaction = transaction; this.environment = environment; @@ -352404,8 +494783,8 @@ public findKeyOperatorstrValuesTimestr_args(String key, String operator, /** * Performs a deep copy on other. */ - public findKeyOperatorstrValuesTimestr_args( - findKeyOperatorstrValuesTimestr_args other) { + public findKeyOperatorstrValuesTimestrOrder_args( + findKeyOperatorstrValuesTimestrOrder_args other) { if(other.isSetKey()) { this.key = other.key; } @@ -352425,6 +494804,10 @@ public findKeyOperatorstrValuesTimestr_args( if(other.isSetTimestamp()) { this.timestamp = other.timestamp; } + if(other.isSetOrder()) { + this.order = new com.cinchapi.concourse.thrift.TOrder( + other.order); + } if(other.isSetCreds()) { this.creds = new com.cinchapi.concourse.thrift.AccessToken( other.creds); @@ -352438,8 +494821,8 @@ public findKeyOperatorstrValuesTimestr_args( } } - public findKeyOperatorstrValuesTimestr_args deepCopy() { - return new findKeyOperatorstrValuesTimestr_args(this); + public findKeyOperatorstrValuesTimestrOrder_args deepCopy() { + return new findKeyOperatorstrValuesTimestrOrder_args(this); } @Override @@ -352448,6 +494831,7 @@ public void clear() { this.operator = null; this.values = null; this.timestamp = null; + this.order = null; this.creds = null; this.transaction = null; this.environment = null; @@ -352457,7 +494841,7 @@ public String getKey() { return this.key; } - public findKeyOperatorstrValuesTimestr_args setKey(String key) { + public findKeyOperatorstrValuesTimestrOrder_args setKey(String key) { this.key = key; return this; } @@ -352484,7 +494868,7 @@ public String getOperator() { return this.operator; } - public findKeyOperatorstrValuesTimestr_args setOperator( + public findKeyOperatorstrValuesTimestrOrder_args setOperator( String operator) { this.operator = operator; return this; @@ -352527,7 +494911,7 @@ public List getValues() { return this.values; } - public findKeyOperatorstrValuesTimestr_args setValues( + public findKeyOperatorstrValuesTimestrOrder_args setValues( List values) { this.values = values; return this; @@ -352555,7 +494939,7 @@ public String getTimestamp() { return this.timestamp; } - public findKeyOperatorstrValuesTimestr_args setTimestamp( + public findKeyOperatorstrValuesTimestrOrder_args setTimestamp( String timestamp) { this.timestamp = timestamp; return this; @@ -352579,11 +494963,39 @@ public void setTimestampIsSet(boolean value) { } } + public com.cinchapi.concourse.thrift.TOrder getOrder() { + return this.order; + } + + public findKeyOperatorstrValuesTimestrOrder_args setOrder( + com.cinchapi.concourse.thrift.TOrder order) { + this.order = order; + return this; + } + + public void unsetOrder() { + this.order = null; + } + + /** + * Returns true if field order is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetOrder() { + return this.order != null; + } + + public void setOrderIsSet(boolean value) { + if(!value) { + this.order = null; + } + } + public com.cinchapi.concourse.thrift.AccessToken getCreds() { return this.creds; } - public findKeyOperatorstrValuesTimestr_args setCreds( + public findKeyOperatorstrValuesTimestrOrder_args setCreds( com.cinchapi.concourse.thrift.AccessToken creds) { this.creds = creds; return this; @@ -352611,7 +495023,7 @@ public com.cinchapi.concourse.thrift.TransactionToken getTransaction() { return this.transaction; } - public findKeyOperatorstrValuesTimestr_args setTransaction( + public findKeyOperatorstrValuesTimestrOrder_args setTransaction( com.cinchapi.concourse.thrift.TransactionToken transaction) { this.transaction = transaction; return this; @@ -352639,7 +495051,7 @@ public String getEnvironment() { return this.environment; } - public findKeyOperatorstrValuesTimestr_args setEnvironment( + public findKeyOperatorstrValuesTimestrOrder_args setEnvironment( String environment) { this.environment = environment; return this; @@ -352702,6 +495114,15 @@ public void setFieldValue(_Fields field, Object value) { } break; + case ORDER: + if(value == null) { + unsetOrder(); + } + else { + setOrder((com.cinchapi.concourse.thrift.TOrder) value); + } + break; + case CREDS: if(value == null) { unsetCreds(); @@ -352747,6 +495168,9 @@ public Object getFieldValue(_Fields field) { case TIMESTAMP: return getTimestamp(); + case ORDER: + return getOrder(); + case CREDS: return getCreds(); @@ -352778,6 +495202,8 @@ public boolean isSet(_Fields field) { return isSetValues(); case TIMESTAMP: return isSetTimestamp(); + case ORDER: + return isSetOrder(); case CREDS: return isSetCreds(); case TRANSACTION: @@ -352792,12 +495218,13 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorstrValuesTimestr_args) - return this.equals((findKeyOperatorstrValuesTimestr_args) that); + if(that instanceof findKeyOperatorstrValuesTimestrOrder_args) + return this.equals( + (findKeyOperatorstrValuesTimestrOrder_args) that); return false; } - public boolean equals(findKeyOperatorstrValuesTimestr_args that) { + public boolean equals(findKeyOperatorstrValuesTimestrOrder_args that) { if(that == null) return false; @@ -352837,6 +495264,15 @@ public boolean equals(findKeyOperatorstrValuesTimestr_args that) { return false; } + boolean this_present_order = true && this.isSetOrder(); + boolean that_present_order = true && that.isSetOrder(); + if(this_present_order || that_present_order) { + if(!(this_present_order && that_present_order)) + return false; + if(!this.order.equals(that.order)) + return false; + } + boolean this_present_creds = true && this.isSetCreds(); boolean that_present_creds = true && that.isSetCreds(); if(this_present_creds || that_present_creds) { @@ -352891,6 +495327,11 @@ public int hashCode() { if(present_timestamp) list.add(timestamp); + boolean present_order = true && (isSetOrder()); + list.add(present_order); + if(present_order) + list.add(order); + boolean present_creds = true && (isSetCreds()); list.add(present_creds); if(present_creds) @@ -352910,7 +495351,7 @@ public int hashCode() { } @Override - public int compareTo(findKeyOperatorstrValuesTimestr_args other) { + public int compareTo(findKeyOperatorstrValuesTimestrOrder_args other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -352966,6 +495407,18 @@ public int compareTo(findKeyOperatorstrValuesTimestr_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetOrder()) + .compareTo(other.isSetOrder()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetOrder()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.order, other.order); + if(lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetCreds()) .compareTo(other.isSetCreds()); if(lastComparison != 0) { @@ -353022,7 +495475,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorstrValuesTimestr_args("); + "findKeyOperatorstrValuesTimestrOrder_args("); boolean first = true; sb.append("key:"); @@ -353063,6 +495516,16 @@ public String toString() { sb.append(this.timestamp); } first = false; + if(!first) + sb.append(", "); + sb.append("order:"); + if(this.order == null) { + sb.append("null"); + } + else { + sb.append(this.order); + } + first = false; if(!first) sb.append(", "); sb.append("creds:"); @@ -353100,6 +495563,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if(order != null) { + order.validate(); + } if(creds != null) { creds.validate(); } @@ -353132,18 +495598,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorstrValuesTimestr_argsStandardSchemeFactory + private static class findKeyOperatorstrValuesTimestrOrder_argsStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValuesTimestr_argsStandardScheme getScheme() { - return new findKeyOperatorstrValuesTimestr_argsStandardScheme(); + public findKeyOperatorstrValuesTimestrOrder_argsStandardScheme getScheme() { + return new findKeyOperatorstrValuesTimestrOrder_argsStandardScheme(); } } - private static class findKeyOperatorstrValuesTimestr_argsStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValuesTimestrOrder_argsStandardScheme + extends + StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorstrValuesTimestr_args struct) + findKeyOperatorstrValuesTimestrOrder_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -353176,15 +495643,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 3: // VALUES if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2558 = iprot + org.apache.thrift.protocol.TList _list3990 = iprot .readListBegin(); struct.values = new ArrayList( - _list2558.size); - com.cinchapi.concourse.thrift.TObject _elem2559; - for (int _i2560 = 0; _i2560 < _list2558.size; ++_i2560) { - _elem2559 = new com.cinchapi.concourse.thrift.TObject(); - _elem2559.read(iprot); - struct.values.add(_elem2559); + _list3990.size); + com.cinchapi.concourse.thrift.TObject _elem3991; + for (int _i3992 = 0; _i3992 < _list3990.size; ++_i3992) { + _elem3991 = new com.cinchapi.concourse.thrift.TObject(); + _elem3991.read(iprot); + struct.values.add(_elem3991); } iprot.readListEnd(); } @@ -353205,7 +495672,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 5: // CREDS + case 5: // ORDER + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 6: // CREDS if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); @@ -353216,7 +495694,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 6: // TRANSACTION + case 7: // TRANSACTION if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); @@ -353227,7 +495705,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, schemeField.type); } break; - case 7: // ENVIRONMENT + case 8: // ENVIRONMENT if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); @@ -353251,7 +495729,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorstrValuesTimestr_args struct) + findKeyOperatorstrValuesTimestrOrder_args struct) throws org.apache.thrift.TException { struct.validate(); @@ -353273,8 +495751,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.values.size())); - for (com.cinchapi.concourse.thrift.TObject _iter2561 : struct.values) { - _iter2561.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3993 : struct.values) { + _iter3993.write(oprot); } oprot.writeListEnd(); } @@ -353285,6 +495763,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeString(struct.timestamp); oprot.writeFieldEnd(); } + if(struct.order != null) { + oprot.writeFieldBegin(ORDER_FIELD_DESC); + struct.order.write(oprot); + oprot.writeFieldEnd(); + } if(struct.creds != null) { oprot.writeFieldBegin(CREDS_FIELD_DESC); struct.creds.write(oprot); @@ -353306,19 +495789,19 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findKeyOperatorstrValuesTimestr_argsTupleSchemeFactory + private static class findKeyOperatorstrValuesTimestrOrder_argsTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValuesTimestr_argsTupleScheme getScheme() { - return new findKeyOperatorstrValuesTimestr_argsTupleScheme(); + public findKeyOperatorstrValuesTimestrOrder_argsTupleScheme getScheme() { + return new findKeyOperatorstrValuesTimestrOrder_argsTupleScheme(); } } - private static class findKeyOperatorstrValuesTimestr_argsTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValuesTimestrOrder_argsTupleScheme + extends TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValuesTimestr_args struct) + findKeyOperatorstrValuesTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -353334,16 +495817,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetTimestamp()) { optionals.set(3); } - if(struct.isSetCreds()) { + if(struct.isSetOrder()) { optionals.set(4); } - if(struct.isSetTransaction()) { + if(struct.isSetCreds()) { optionals.set(5); } - if(struct.isSetEnvironment()) { + if(struct.isSetTransaction()) { optionals.set(6); } - oprot.writeBitSet(optionals, 7); + if(struct.isSetEnvironment()) { + optionals.set(7); + } + oprot.writeBitSet(optionals, 8); if(struct.isSetKey()) { oprot.writeString(struct.key); } @@ -353353,14 +495839,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetValues()) { { oprot.writeI32(struct.values.size()); - for (com.cinchapi.concourse.thrift.TObject _iter2562 : struct.values) { - _iter2562.write(oprot); + for (com.cinchapi.concourse.thrift.TObject _iter3994 : struct.values) { + _iter3994.write(oprot); } } } if(struct.isSetTimestamp()) { oprot.writeString(struct.timestamp); } + if(struct.isSetOrder()) { + struct.order.write(oprot); + } if(struct.isSetCreds()) { struct.creds.write(oprot); } @@ -353374,10 +495863,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValuesTimestr_args struct) + findKeyOperatorstrValuesTimestrOrder_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(7); + BitSet incoming = iprot.readBitSet(8); if(incoming.get(0)) { struct.key = iprot.readString(); struct.setKeyIsSet(true); @@ -353388,16 +495877,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(2)) { { - org.apache.thrift.protocol.TList _list2563 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list3995 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.values = new ArrayList( - _list2563.size); - com.cinchapi.concourse.thrift.TObject _elem2564; - for (int _i2565 = 0; _i2565 < _list2563.size; ++_i2565) { - _elem2564 = new com.cinchapi.concourse.thrift.TObject(); - _elem2564.read(iprot); - struct.values.add(_elem2564); + _list3995.size); + com.cinchapi.concourse.thrift.TObject _elem3996; + for (int _i3997 = 0; _i3997 < _list3995.size; ++_i3997) { + _elem3996 = new com.cinchapi.concourse.thrift.TObject(); + _elem3996.read(iprot); + struct.values.add(_elem3996); } } struct.setValuesIsSet(true); @@ -353407,16 +495896,21 @@ public void read(org.apache.thrift.protocol.TProtocol prot, struct.setTimestampIsSet(true); } if(incoming.get(4)) { + struct.order = new com.cinchapi.concourse.thrift.TOrder(); + struct.order.read(iprot); + struct.setOrderIsSet(true); + } + if(incoming.get(5)) { struct.creds = new com.cinchapi.concourse.thrift.AccessToken(); struct.creds.read(iprot); struct.setCredsIsSet(true); } - if(incoming.get(5)) { + if(incoming.get(6)) { struct.transaction = new com.cinchapi.concourse.thrift.TransactionToken(); struct.transaction.read(iprot); struct.setTransactionIsSet(true); } - if(incoming.get(6)) { + if(incoming.get(7)) { struct.environment = iprot.readString(); struct.setEnvironmentIsSet(true); } @@ -353425,13 +495919,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } - public static class findKeyOperatorstrValuesTimestr_result implements - org.apache.thrift.TBase, + public static class findKeyOperatorstrValuesTimestrOrder_result implements + org.apache.thrift.TBase, java.io.Serializable, Cloneable, - Comparable { + Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( - "findKeyOperatorstrValuesTimestr_result"); + "findKeyOperatorstrValuesTimestrOrder_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField( "success", org.apache.thrift.protocol.TType.SET, (short) 0); @@ -353447,9 +495941,9 @@ public static class findKeyOperatorstrValuesTimestr_result implements private static final Map, SchemeFactory> schemes = new LinkedHashMap, SchemeFactory>(); static { schemes.put(StandardScheme.class, - new findKeyOperatorstrValuesTimestr_resultStandardSchemeFactory()); + new findKeyOperatorstrValuesTimestrOrder_resultStandardSchemeFactory()); schemes.put(TupleScheme.class, - new findKeyOperatorstrValuesTimestr_resultTupleSchemeFactory()); + new findKeyOperatorstrValuesTimestrOrder_resultTupleSchemeFactory()); } public Set success; // required @@ -353570,12 +496064,13 @@ public String getFieldName() { org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - findKeyOperatorstrValuesTimestr_result.class, metaDataMap); + findKeyOperatorstrValuesTimestrOrder_result.class, + metaDataMap); } - public findKeyOperatorstrValuesTimestr_result() {} + public findKeyOperatorstrValuesTimestrOrder_result() {} - public findKeyOperatorstrValuesTimestr_result(Set success, + public findKeyOperatorstrValuesTimestrOrder_result(Set success, com.cinchapi.concourse.thrift.SecurityException ex, com.cinchapi.concourse.thrift.TransactionException ex2, com.cinchapi.concourse.thrift.ParseException ex3, @@ -353591,8 +496086,8 @@ public findKeyOperatorstrValuesTimestr_result(Set success, /** * Performs a deep copy on other. */ - public findKeyOperatorstrValuesTimestr_result( - findKeyOperatorstrValuesTimestr_result other) { + public findKeyOperatorstrValuesTimestrOrder_result( + findKeyOperatorstrValuesTimestrOrder_result other) { if(other.isSetSuccess()) { Set __this__success = new LinkedHashSet( other.success); @@ -353616,8 +496111,8 @@ public findKeyOperatorstrValuesTimestr_result( } } - public findKeyOperatorstrValuesTimestr_result deepCopy() { - return new findKeyOperatorstrValuesTimestr_result(this); + public findKeyOperatorstrValuesTimestrOrder_result deepCopy() { + return new findKeyOperatorstrValuesTimestrOrder_result(this); } @Override @@ -353648,7 +496143,7 @@ public Set getSuccess() { return this.success; } - public findKeyOperatorstrValuesTimestr_result setSuccess( + public findKeyOperatorstrValuesTimestrOrder_result setSuccess( Set success) { this.success = success; return this; @@ -353676,7 +496171,7 @@ public com.cinchapi.concourse.thrift.SecurityException getEx() { return this.ex; } - public findKeyOperatorstrValuesTimestr_result setEx( + public findKeyOperatorstrValuesTimestrOrder_result setEx( com.cinchapi.concourse.thrift.SecurityException ex) { this.ex = ex; return this; @@ -353704,7 +496199,7 @@ public com.cinchapi.concourse.thrift.TransactionException getEx2() { return this.ex2; } - public findKeyOperatorstrValuesTimestr_result setEx2( + public findKeyOperatorstrValuesTimestrOrder_result setEx2( com.cinchapi.concourse.thrift.TransactionException ex2) { this.ex2 = ex2; return this; @@ -353732,7 +496227,7 @@ public com.cinchapi.concourse.thrift.ParseException getEx3() { return this.ex3; } - public findKeyOperatorstrValuesTimestr_result setEx3( + public findKeyOperatorstrValuesTimestrOrder_result setEx3( com.cinchapi.concourse.thrift.ParseException ex3) { this.ex3 = ex3; return this; @@ -353760,7 +496255,7 @@ public com.cinchapi.concourse.thrift.PermissionException getEx4() { return this.ex4; } - public findKeyOperatorstrValuesTimestr_result setEx4( + public findKeyOperatorstrValuesTimestrOrder_result setEx4( com.cinchapi.concourse.thrift.PermissionException ex4) { this.ex4 = ex4; return this; @@ -353883,13 +496378,14 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if(that == null) return false; - if(that instanceof findKeyOperatorstrValuesTimestr_result) - return this - .equals((findKeyOperatorstrValuesTimestr_result) that); + if(that instanceof findKeyOperatorstrValuesTimestrOrder_result) + return this.equals( + (findKeyOperatorstrValuesTimestrOrder_result) that); return false; } - public boolean equals(findKeyOperatorstrValuesTimestr_result that) { + public boolean equals( + findKeyOperatorstrValuesTimestrOrder_result that) { if(that == null) return false; @@ -353974,7 +496470,8 @@ public int hashCode() { } @Override - public int compareTo(findKeyOperatorstrValuesTimestr_result other) { + public int compareTo( + findKeyOperatorstrValuesTimestrOrder_result other) { if(!getClass().equals(other.getClass())) { return getClass().getName() .compareTo(other.getClass().getName()); @@ -354062,7 +496559,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) @Override public String toString() { StringBuilder sb = new StringBuilder( - "findKeyOperatorstrValuesTimestr_result("); + "findKeyOperatorstrValuesTimestrOrder_result("); boolean first = true; sb.append("success:"); @@ -354146,18 +496643,19 @@ private void readObject(java.io.ObjectInputStream in) } } - private static class findKeyOperatorstrValuesTimestr_resultStandardSchemeFactory + private static class findKeyOperatorstrValuesTimestrOrder_resultStandardSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValuesTimestr_resultStandardScheme getScheme() { - return new findKeyOperatorstrValuesTimestr_resultStandardScheme(); + public findKeyOperatorstrValuesTimestrOrder_resultStandardScheme getScheme() { + return new findKeyOperatorstrValuesTimestrOrder_resultStandardScheme(); } } - private static class findKeyOperatorstrValuesTimestr_resultStandardScheme - extends StandardScheme { + private static class findKeyOperatorstrValuesTimestrOrder_resultStandardScheme + extends + StandardScheme { public void read(org.apache.thrift.protocol.TProtocol iprot, - findKeyOperatorstrValuesTimestr_result struct) + findKeyOperatorstrValuesTimestrOrder_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); @@ -354170,14 +496668,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set2566 = iprot + org.apache.thrift.protocol.TSet _set3998 = iprot .readSetBegin(); struct.success = new LinkedHashSet( - 2 * _set2566.size); - long _elem2567; - for (int _i2568 = 0; _i2568 < _set2566.size; ++_i2568) { - _elem2567 = iprot.readI64(); - struct.success.add(_elem2567); + 2 * _set3998.size); + long _elem3999; + for (int _i4000 = 0; _i4000 < _set3998.size; ++_i4000) { + _elem3999 = iprot.readI64(); + struct.success.add(_elem3999); } iprot.readSetEnd(); } @@ -354246,7 +496744,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, } public void write(org.apache.thrift.protocol.TProtocol oprot, - findKeyOperatorstrValuesTimestr_result struct) + findKeyOperatorstrValuesTimestrOrder_result struct) throws org.apache.thrift.TException { struct.validate(); @@ -354257,8 +496755,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, struct.success.size())); - for (long _iter2569 : struct.success) { - oprot.writeI64(_iter2569); + for (long _iter4001 : struct.success) { + oprot.writeI64(_iter4001); } oprot.writeSetEnd(); } @@ -354290,19 +496788,20 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, } - private static class findKeyOperatorstrValuesTimestr_resultTupleSchemeFactory + private static class findKeyOperatorstrValuesTimestrOrder_resultTupleSchemeFactory implements SchemeFactory { - public findKeyOperatorstrValuesTimestr_resultTupleScheme getScheme() { - return new findKeyOperatorstrValuesTimestr_resultTupleScheme(); + public findKeyOperatorstrValuesTimestrOrder_resultTupleScheme getScheme() { + return new findKeyOperatorstrValuesTimestrOrder_resultTupleScheme(); } } - private static class findKeyOperatorstrValuesTimestr_resultTupleScheme - extends TupleScheme { + private static class findKeyOperatorstrValuesTimestrOrder_resultTupleScheme + extends + TupleScheme { @Override public void write(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValuesTimestr_result struct) + findKeyOperatorstrValuesTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); @@ -354325,8 +496824,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter2570 : struct.success) { - oprot.writeI64(_iter2570); + for (long _iter4002 : struct.success) { + oprot.writeI64(_iter4002); } } } @@ -354346,21 +496845,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, @Override public void read(org.apache.thrift.protocol.TProtocol prot, - findKeyOperatorstrValuesTimestr_result struct) + findKeyOperatorstrValuesTimestrOrder_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set2571 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4003 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.success = new LinkedHashSet( - 2 * _set2571.size); - long _elem2572; - for (int _i2573 = 0; _i2573 < _set2571.size; ++_i2573) { - _elem2572 = iprot.readI64(); - struct.success.add(_elem2572); + 2 * _set4003.size); + long _elem4004; + for (int _i4005 = 0; _i4005 < _set4003.size; ++_i4005) { + _elem4004 = iprot.readI64(); + struct.success.add(_elem4004); } } struct.setSuccessIsSet(true); @@ -355938,14 +498437,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set2574 = iprot + org.apache.thrift.protocol.TSet _set4006 = iprot .readSetBegin(); struct.success = new LinkedHashSet( - 2 * _set2574.size); - long _elem2575; - for (int _i2576 = 0; _i2576 < _set2574.size; ++_i2576) { - _elem2575 = iprot.readI64(); - struct.success.add(_elem2575); + 2 * _set4006.size); + long _elem4007; + for (int _i4008 = 0; _i4008 < _set4006.size; ++_i4008) { + _elem4007 = iprot.readI64(); + struct.success.add(_elem4007); } iprot.readSetEnd(); } @@ -356013,8 +498512,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, oprot.writeSetBegin(new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, struct.success.size())); - for (long _iter2577 : struct.success) { - oprot.writeI64(_iter2577); + for (long _iter4009 : struct.success) { + oprot.writeI64(_iter4009); } oprot.writeSetEnd(); } @@ -356072,8 +498571,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (long _iter2578 : struct.success) { - oprot.writeI64(_iter2578); + for (long _iter4010 : struct.success) { + oprot.writeI64(_iter4010); } } } @@ -356095,15 +498594,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TSet _set2579 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4011 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.success = new LinkedHashSet( - 2 * _set2579.size); - long _elem2580; - for (int _i2581 = 0; _i2581 < _set2579.size; ++_i2581) { - _elem2580 = iprot.readI64(); - struct.success.add(_elem2580); + 2 * _set4011.size); + long _elem4012; + for (int _i4013 = 0; _i4013 < _set4011.size; ++_i4013) { + _elem4012 = iprot.readI64(); + struct.success.add(_elem4012); } } struct.setSuccessIsSet(true); @@ -356989,14 +499488,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2582 = iprot + org.apache.thrift.protocol.TList _list4014 = iprot .readListBegin(); struct.keys = new ArrayList( - _list2582.size); - String _elem2583; - for (int _i2584 = 0; _i2584 < _list2582.size; ++_i2584) { - _elem2583 = iprot.readString(); - struct.keys.add(_elem2583); + _list4014.size); + String _elem4015; + for (int _i4016 = 0; _i4016 < _list4014.size; ++_i4016) { + _elem4015 = iprot.readString(); + struct.keys.add(_elem4015); } iprot.readListEnd(); } @@ -357010,14 +499509,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2585 = iprot + org.apache.thrift.protocol.TList _list4017 = iprot .readListBegin(); struct.records = new ArrayList( - _list2585.size); - long _elem2586; - for (int _i2587 = 0; _i2587 < _list2585.size; ++_i2587) { - _elem2586 = iprot.readI64(); - struct.records.add(_elem2586); + _list4017.size); + long _elem4018; + for (int _i4019 = 0; _i4019 < _list4017.size; ++_i4019) { + _elem4018 = iprot.readI64(); + struct.records.add(_elem4018); } iprot.readListEnd(); } @@ -357096,8 +499595,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter2588 : struct.keys) { - oprot.writeString(_iter2588); + for (String _iter4020 : struct.keys) { + oprot.writeString(_iter4020); } oprot.writeListEnd(); } @@ -357110,8 +499609,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2589 : struct.records) { - oprot.writeI64(_iter2589); + for (long _iter4021 : struct.records) { + oprot.writeI64(_iter4021); } oprot.writeListEnd(); } @@ -357179,16 +499678,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter2590 : struct.keys) { - oprot.writeString(_iter2590); + for (String _iter4022 : struct.keys) { + oprot.writeString(_iter4022); } } } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2591 : struct.records) { - oprot.writeI64(_iter2591); + for (long _iter4023 : struct.records) { + oprot.writeI64(_iter4023); } } } @@ -357214,28 +499713,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2592 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4024 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list2592.size); - String _elem2593; - for (int _i2594 = 0; _i2594 < _list2592.size; ++_i2594) { - _elem2593 = iprot.readString(); - struct.keys.add(_elem2593); + struct.keys = new ArrayList(_list4024.size); + String _elem4025; + for (int _i4026 = 0; _i4026 < _list4024.size; ++_i4026) { + _elem4025 = iprot.readString(); + struct.keys.add(_elem4025); } } struct.setKeysIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2595 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4027 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2595.size); - long _elem2596; - for (int _i2597 = 0; _i2597 < _list2595.size; ++_i2597) { - _elem2596 = iprot.readI64(); - struct.records.add(_elem2596); + struct.records = new ArrayList(_list4027.size); + long _elem4028; + for (int _i4029 = 0; _i4029 < _list4027.size; ++_i4029) { + _elem4028 = iprot.readI64(); + struct.records.add(_elem4028); } } struct.setRecordsIsSet(true); @@ -358791,14 +501290,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2598 = iprot + org.apache.thrift.protocol.TList _list4030 = iprot .readListBegin(); struct.keys = new ArrayList( - _list2598.size); - String _elem2599; - for (int _i2600 = 0; _i2600 < _list2598.size; ++_i2600) { - _elem2599 = iprot.readString(); - struct.keys.add(_elem2599); + _list4030.size); + String _elem4031; + for (int _i4032 = 0; _i4032 < _list4030.size; ++_i4032) { + _elem4031 = iprot.readString(); + struct.keys.add(_elem4031); } iprot.readListEnd(); } @@ -358812,14 +501311,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2601 = iprot + org.apache.thrift.protocol.TList _list4033 = iprot .readListBegin(); struct.records = new ArrayList( - _list2601.size); - long _elem2602; - for (int _i2603 = 0; _i2603 < _list2601.size; ++_i2603) { - _elem2602 = iprot.readI64(); - struct.records.add(_elem2602); + _list4033.size); + long _elem4034; + for (int _i4035 = 0; _i4035 < _list4033.size; ++_i4035) { + _elem4034 = iprot.readI64(); + struct.records.add(_elem4034); } iprot.readListEnd(); } @@ -358898,8 +501397,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter2604 : struct.keys) { - oprot.writeString(_iter2604); + for (String _iter4036 : struct.keys) { + oprot.writeString(_iter4036); } oprot.writeListEnd(); } @@ -358912,8 +501411,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2605 : struct.records) { - oprot.writeI64(_iter2605); + for (long _iter4037 : struct.records) { + oprot.writeI64(_iter4037); } oprot.writeListEnd(); } @@ -358983,16 +501482,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter2606 : struct.keys) { - oprot.writeString(_iter2606); + for (String _iter4038 : struct.keys) { + oprot.writeString(_iter4038); } } } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2607 : struct.records) { - oprot.writeI64(_iter2607); + for (long _iter4039 : struct.records) { + oprot.writeI64(_iter4039); } } } @@ -359018,28 +501517,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2608 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4040 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list2608.size); - String _elem2609; - for (int _i2610 = 0; _i2610 < _list2608.size; ++_i2610) { - _elem2609 = iprot.readString(); - struct.keys.add(_elem2609); + struct.keys = new ArrayList(_list4040.size); + String _elem4041; + for (int _i4042 = 0; _i4042 < _list4040.size; ++_i4042) { + _elem4041 = iprot.readString(); + struct.keys.add(_elem4041); } } struct.setKeysIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2611 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4043 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2611.size); - long _elem2612; - for (int _i2613 = 0; _i2613 < _list2611.size; ++_i2613) { - _elem2612 = iprot.readI64(); - struct.records.add(_elem2612); + struct.records = new ArrayList(_list4043.size); + long _elem4044; + for (int _i4045 = 0; _i4045 < _list4043.size; ++_i4045) { + _elem4044 = iprot.readI64(); + struct.records.add(_elem4044); } } struct.setRecordsIsSet(true); @@ -360698,14 +503197,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2614 = iprot + org.apache.thrift.protocol.TList _list4046 = iprot .readListBegin(); struct.keys = new ArrayList( - _list2614.size); - String _elem2615; - for (int _i2616 = 0; _i2616 < _list2614.size; ++_i2616) { - _elem2615 = iprot.readString(); - struct.keys.add(_elem2615); + _list4046.size); + String _elem4047; + for (int _i4048 = 0; _i4048 < _list4046.size; ++_i4048) { + _elem4047 = iprot.readString(); + struct.keys.add(_elem4047); } iprot.readListEnd(); } @@ -360794,8 +503293,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter2617 : struct.keys) { - oprot.writeString(_iter2617); + for (String _iter4049 : struct.keys) { + oprot.writeString(_iter4049); } oprot.writeListEnd(); } @@ -360866,8 +503365,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter2618 : struct.keys) { - oprot.writeString(_iter2618); + for (String _iter4050 : struct.keys) { + oprot.writeString(_iter4050); } } } @@ -360896,14 +503395,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2619 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4051 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list2619.size); - String _elem2620; - for (int _i2621 = 0; _i2621 < _list2619.size; ++_i2621) { - _elem2620 = iprot.readString(); - struct.keys.add(_elem2620); + struct.keys = new ArrayList(_list4051.size); + String _elem4052; + for (int _i4053 = 0; _i4053 < _list4051.size; ++_i4053) { + _elem4052 = iprot.readString(); + struct.keys.add(_elem4052); } } struct.setKeysIsSet(true); @@ -362446,14 +504945,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2622 = iprot + org.apache.thrift.protocol.TList _list4054 = iprot .readListBegin(); struct.keys = new ArrayList( - _list2622.size); - String _elem2623; - for (int _i2624 = 0; _i2624 < _list2622.size; ++_i2624) { - _elem2623 = iprot.readString(); - struct.keys.add(_elem2623); + _list4054.size); + String _elem4055; + for (int _i4056 = 0; _i4056 < _list4054.size; ++_i4056) { + _elem4055 = iprot.readString(); + struct.keys.add(_elem4055); } iprot.readListEnd(); } @@ -362542,8 +505041,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter2625 : struct.keys) { - oprot.writeString(_iter2625); + for (String _iter4057 : struct.keys) { + oprot.writeString(_iter4057); } oprot.writeListEnd(); } @@ -362616,8 +505115,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter2626 : struct.keys) { - oprot.writeString(_iter2626); + for (String _iter4058 : struct.keys) { + oprot.writeString(_iter4058); } } } @@ -362646,14 +505145,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2627 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4059 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list2627.size); - String _elem2628; - for (int _i2629 = 0; _i2629 < _list2627.size; ++_i2629) { - _elem2628 = iprot.readString(); - struct.keys.add(_elem2628); + struct.keys = new ArrayList(_list4059.size); + String _elem4060; + for (int _i4061 = 0; _i4061 < _list4059.size; ++_i4061) { + _elem4060 = iprot.readString(); + struct.keys.add(_elem4060); } } struct.setKeysIsSet(true); @@ -364329,14 +506828,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2630 = iprot + org.apache.thrift.protocol.TList _list4062 = iprot .readListBegin(); struct.records = new ArrayList( - _list2630.size); - long _elem2631; - for (int _i2632 = 0; _i2632 < _list2630.size; ++_i2632) { - _elem2631 = iprot.readI64(); - struct.records.add(_elem2631); + _list4062.size); + long _elem4063; + for (int _i4064 = 0; _i4064 < _list4062.size; ++_i4064) { + _elem4063 = iprot.readI64(); + struct.records.add(_elem4063); } iprot.readListEnd(); } @@ -364420,8 +506919,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2633 : struct.records) { - oprot.writeI64(_iter2633); + for (long _iter4065 : struct.records) { + oprot.writeI64(_iter4065); } oprot.writeListEnd(); } @@ -364492,8 +506991,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2634 : struct.records) { - oprot.writeI64(_iter2634); + for (long _iter4066 : struct.records) { + oprot.writeI64(_iter4066); } } } @@ -364523,14 +507022,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2635 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4067 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2635.size); - long _elem2636; - for (int _i2637 = 0; _i2637 < _list2635.size; ++_i2637) { - _elem2636 = iprot.readI64(); - struct.records.add(_elem2636); + struct.records = new ArrayList(_list4067.size); + long _elem4068; + for (int _i4069 = 0; _i4069 < _list4067.size; ++_i4069) { + _elem4068 = iprot.readI64(); + struct.records.add(_elem4068); } } struct.setRecordsIsSet(true); @@ -366076,14 +508575,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2638 = iprot + org.apache.thrift.protocol.TList _list4070 = iprot .readListBegin(); struct.records = new ArrayList( - _list2638.size); - long _elem2639; - for (int _i2640 = 0; _i2640 < _list2638.size; ++_i2640) { - _elem2639 = iprot.readI64(); - struct.records.add(_elem2639); + _list4070.size); + long _elem4071; + for (int _i4072 = 0; _i4072 < _list4070.size; ++_i4072) { + _elem4071 = iprot.readI64(); + struct.records.add(_elem4071); } iprot.readListEnd(); } @@ -366167,8 +508666,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2641 : struct.records) { - oprot.writeI64(_iter2641); + for (long _iter4073 : struct.records) { + oprot.writeI64(_iter4073); } oprot.writeListEnd(); } @@ -366241,8 +508740,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2642 : struct.records) { - oprot.writeI64(_iter2642); + for (long _iter4074 : struct.records) { + oprot.writeI64(_iter4074); } } } @@ -366272,14 +508771,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2643 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4075 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2643.size); - long _elem2644; - for (int _i2645 = 0; _i2645 < _list2643.size; ++_i2645) { - _elem2644 = iprot.readI64(); - struct.records.add(_elem2644); + struct.records = new ArrayList(_list4075.size); + long _elem4076; + for (int _i4077 = 0; _i4077 < _list4075.size; ++_i4077) { + _elem4076 = iprot.readI64(); + struct.records.add(_elem4076); } } struct.setRecordsIsSet(true); @@ -371261,14 +513760,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2646 = iprot + org.apache.thrift.protocol.TList _list4078 = iprot .readListBegin(); struct.records = new ArrayList( - _list2646.size); - long _elem2647; - for (int _i2648 = 0; _i2648 < _list2646.size; ++_i2648) { - _elem2647 = iprot.readI64(); - struct.records.add(_elem2647); + _list4078.size); + long _elem4079; + for (int _i4080 = 0; _i4080 < _list4078.size; ++_i4080) { + _elem4079 = iprot.readI64(); + struct.records.add(_elem4079); } iprot.readListEnd(); } @@ -371337,8 +513836,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2649 : struct.records) { - oprot.writeI64(_iter2649); + for (long _iter4081 : struct.records) { + oprot.writeI64(_iter4081); } oprot.writeListEnd(); } @@ -371397,8 +513896,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2650 : struct.records) { - oprot.writeI64(_iter2650); + for (long _iter4082 : struct.records) { + oprot.writeI64(_iter4082); } } } @@ -371421,14 +513920,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2651 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4083 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2651.size); - long _elem2652; - for (int _i2653 = 0; _i2653 < _list2651.size; ++_i2653) { - _elem2652 = iprot.readI64(); - struct.records.add(_elem2652); + struct.records = new ArrayList(_list4083.size); + long _elem4084; + for (int _i4085 = 0; _i4085 < _list4083.size; ++_i4085) { + _elem4084 = iprot.readI64(); + struct.records.add(_elem4084); } } struct.setRecordsIsSet(true); @@ -372095,16 +514594,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2654 = iprot + org.apache.thrift.protocol.TMap _map4086 = iprot .readMapBegin(); struct.success = new LinkedHashMap( - 2 * _map2654.size); - long _key2655; - boolean _val2656; - for (int _i2657 = 0; _i2657 < _map2654.size; ++_i2657) { - _key2655 = iprot.readI64(); - _val2656 = iprot.readBool(); - struct.success.put(_key2655, _val2656); + 2 * _map4086.size); + long _key4087; + boolean _val4088; + for (int _i4089 = 0; _i4089 < _map4086.size; ++_i4089) { + _key4087 = iprot.readI64(); + _val4088 = iprot.readBool(); + struct.success.put(_key4087, _val4088); } iprot.readMapEnd(); } @@ -372174,10 +514673,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, struct.success.size())); - for (Map.Entry _iter2658 : struct.success + for (Map.Entry _iter4090 : struct.success .entrySet()) { - oprot.writeI64(_iter2658.getKey()); - oprot.writeBool(_iter2658.getValue()); + oprot.writeI64(_iter4090.getKey()); + oprot.writeBool(_iter4090.getValue()); } oprot.writeMapEnd(); } @@ -372236,10 +514735,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter2659 : struct.success + for (Map.Entry _iter4091 : struct.success .entrySet()) { - oprot.writeI64(_iter2659.getKey()); - oprot.writeBool(_iter2659.getValue()); + oprot.writeI64(_iter4091.getKey()); + oprot.writeBool(_iter4091.getValue()); } } } @@ -372262,18 +514761,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2660 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4092 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.BOOL, iprot.readI32()); struct.success = new LinkedHashMap( - 2 * _map2660.size); - long _key2661; - boolean _val2662; - for (int _i2663 = 0; _i2663 < _map2660.size; ++_i2663) { - _key2661 = iprot.readI64(); - _val2662 = iprot.readBool(); - struct.success.put(_key2661, _val2662); + 2 * _map4092.size); + long _key4093; + boolean _val4094; + for (int _i4095 = 0; _i4095 < _map4092.size; ++_i4095) { + _key4093 = iprot.readI64(); + _val4094 = iprot.readBool(); + struct.success.put(_key4093, _val4094); } } struct.setSuccessIsSet(true); @@ -389605,14 +532104,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2664 = iprot + org.apache.thrift.protocol.TList _list4096 = iprot .readListBegin(); struct.records = new ArrayList( - _list2664.size); - long _elem2665; - for (int _i2666 = 0; _i2666 < _list2664.size; ++_i2666) { - _elem2665 = iprot.readI64(); - struct.records.add(_elem2665); + _list4096.size); + long _elem4097; + for (int _i4098 = 0; _i4098 < _list4096.size; ++_i4098) { + _elem4097 = iprot.readI64(); + struct.records.add(_elem4097); } iprot.readListEnd(); } @@ -389686,8 +532185,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2667 : struct.records) { - oprot.writeI64(_iter2667); + for (long _iter4099 : struct.records) { + oprot.writeI64(_iter4099); } oprot.writeListEnd(); } @@ -389752,8 +532251,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2668 : struct.records) { - oprot.writeI64(_iter2668); + for (long _iter4100 : struct.records) { + oprot.writeI64(_iter4100); } } } @@ -389780,14 +532279,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2669 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4101 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2669.size); - long _elem2670; - for (int _i2671 = 0; _i2671 < _list2669.size; ++_i2671) { - _elem2670 = iprot.readI64(); - struct.records.add(_elem2670); + struct.records = new ArrayList(_list4101.size); + long _elem4102; + for (int _i4103 = 0; _i4103 < _list4101.size; ++_i4103) { + _elem4102 = iprot.readI64(); + struct.records.add(_elem4102); } } struct.setRecordsIsSet(true); @@ -391457,14 +533956,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2672 = iprot + org.apache.thrift.protocol.TList _list4104 = iprot .readListBegin(); struct.records = new ArrayList( - _list2672.size); - long _elem2673; - for (int _i2674 = 0; _i2674 < _list2672.size; ++_i2674) { - _elem2673 = iprot.readI64(); - struct.records.add(_elem2673); + _list4104.size); + long _elem4105; + for (int _i4106 = 0; _i4106 < _list4104.size; ++_i4106) { + _elem4105 = iprot.readI64(); + struct.records.add(_elem4105); } iprot.readListEnd(); } @@ -391548,8 +534047,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2675 : struct.records) { - oprot.writeI64(_iter2675); + for (long _iter4107 : struct.records) { + oprot.writeI64(_iter4107); } oprot.writeListEnd(); } @@ -391620,8 +534119,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2676 : struct.records) { - oprot.writeI64(_iter2676); + for (long _iter4108 : struct.records) { + oprot.writeI64(_iter4108); } } } @@ -391651,14 +534150,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2677 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4109 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2677.size); - long _elem2678; - for (int _i2679 = 0; _i2679 < _list2677.size; ++_i2679) { - _elem2678 = iprot.readI64(); - struct.records.add(_elem2678); + struct.records = new ArrayList(_list4109.size); + long _elem4110; + for (int _i4111 = 0; _i4111 < _list4109.size; ++_i4111) { + _elem4110 = iprot.readI64(); + struct.records.add(_elem4110); } } struct.setRecordsIsSet(true); @@ -393330,14 +535829,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2680 = iprot + org.apache.thrift.protocol.TList _list4112 = iprot .readListBegin(); struct.records = new ArrayList( - _list2680.size); - long _elem2681; - for (int _i2682 = 0; _i2682 < _list2680.size; ++_i2682) { - _elem2681 = iprot.readI64(); - struct.records.add(_elem2681); + _list4112.size); + long _elem4113; + for (int _i4114 = 0; _i4114 < _list4112.size; ++_i4114) { + _elem4113 = iprot.readI64(); + struct.records.add(_elem4113); } iprot.readListEnd(); } @@ -393421,8 +535920,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2683 : struct.records) { - oprot.writeI64(_iter2683); + for (long _iter4115 : struct.records) { + oprot.writeI64(_iter4115); } oprot.writeListEnd(); } @@ -393495,8 +535994,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2684 : struct.records) { - oprot.writeI64(_iter2684); + for (long _iter4116 : struct.records) { + oprot.writeI64(_iter4116); } } } @@ -393526,14 +536025,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2685 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4117 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2685.size); - long _elem2686; - for (int _i2687 = 0; _i2687 < _list2685.size; ++_i2687) { - _elem2686 = iprot.readI64(); - struct.records.add(_elem2686); + struct.records = new ArrayList(_list4117.size); + long _elem4118; + for (int _i4119 = 0; _i4119 < _list4117.size; ++_i4119) { + _elem4118 = iprot.readI64(); + struct.records.add(_elem4118); } } struct.setRecordsIsSet(true); @@ -417018,14 +559517,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2688 = iprot + org.apache.thrift.protocol.TList _list4120 = iprot .readListBegin(); struct.records = new ArrayList( - _list2688.size); - long _elem2689; - for (int _i2690 = 0; _i2690 < _list2688.size; ++_i2690) { - _elem2689 = iprot.readI64(); - struct.records.add(_elem2689); + _list4120.size); + long _elem4121; + for (int _i4122 = 0; _i4122 < _list4120.size; ++_i4122) { + _elem4121 = iprot.readI64(); + struct.records.add(_elem4121); } iprot.readListEnd(); } @@ -417099,8 +559598,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2691 : struct.records) { - oprot.writeI64(_iter2691); + for (long _iter4123 : struct.records) { + oprot.writeI64(_iter4123); } oprot.writeListEnd(); } @@ -417165,8 +559664,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2692 : struct.records) { - oprot.writeI64(_iter2692); + for (long _iter4124 : struct.records) { + oprot.writeI64(_iter4124); } } } @@ -417193,14 +559692,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2693 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4125 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2693.size); - long _elem2694; - for (int _i2695 = 0; _i2695 < _list2693.size; ++_i2695) { - _elem2694 = iprot.readI64(); - struct.records.add(_elem2694); + struct.records = new ArrayList(_list4125.size); + long _elem4126; + for (int _i4127 = 0; _i4127 < _list4125.size; ++_i4127) { + _elem4126 = iprot.readI64(); + struct.records.add(_elem4126); } } struct.setRecordsIsSet(true); @@ -418870,14 +561369,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2696 = iprot + org.apache.thrift.protocol.TList _list4128 = iprot .readListBegin(); struct.records = new ArrayList( - _list2696.size); - long _elem2697; - for (int _i2698 = 0; _i2698 < _list2696.size; ++_i2698) { - _elem2697 = iprot.readI64(); - struct.records.add(_elem2697); + _list4128.size); + long _elem4129; + for (int _i4130 = 0; _i4130 < _list4128.size; ++_i4130) { + _elem4129 = iprot.readI64(); + struct.records.add(_elem4129); } iprot.readListEnd(); } @@ -418961,8 +561460,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2699 : struct.records) { - oprot.writeI64(_iter2699); + for (long _iter4131 : struct.records) { + oprot.writeI64(_iter4131); } oprot.writeListEnd(); } @@ -419033,8 +561532,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2700 : struct.records) { - oprot.writeI64(_iter2700); + for (long _iter4132 : struct.records) { + oprot.writeI64(_iter4132); } } } @@ -419064,14 +561563,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2701 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4133 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2701.size); - long _elem2702; - for (int _i2703 = 0; _i2703 < _list2701.size; ++_i2703) { - _elem2702 = iprot.readI64(); - struct.records.add(_elem2702); + struct.records = new ArrayList(_list4133.size); + long _elem4134; + for (int _i4135 = 0; _i4135 < _list4133.size; ++_i4135) { + _elem4134 = iprot.readI64(); + struct.records.add(_elem4134); } } struct.setRecordsIsSet(true); @@ -420748,14 +563247,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2704 = iprot + org.apache.thrift.protocol.TList _list4136 = iprot .readListBegin(); struct.records = new ArrayList( - _list2704.size); - long _elem2705; - for (int _i2706 = 0; _i2706 < _list2704.size; ++_i2706) { - _elem2705 = iprot.readI64(); - struct.records.add(_elem2705); + _list4136.size); + long _elem4137; + for (int _i4138 = 0; _i4138 < _list4136.size; ++_i4138) { + _elem4137 = iprot.readI64(); + struct.records.add(_elem4137); } iprot.readListEnd(); } @@ -420839,8 +563338,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2707 : struct.records) { - oprot.writeI64(_iter2707); + for (long _iter4139 : struct.records) { + oprot.writeI64(_iter4139); } oprot.writeListEnd(); } @@ -420913,8 +563412,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2708 : struct.records) { - oprot.writeI64(_iter2708); + for (long _iter4140 : struct.records) { + oprot.writeI64(_iter4140); } } } @@ -420944,14 +563443,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2709 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4141 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2709.size); - long _elem2710; - for (int _i2711 = 0; _i2711 < _list2709.size; ++_i2711) { - _elem2710 = iprot.readI64(); - struct.records.add(_elem2710); + struct.records = new ArrayList(_list4141.size); + long _elem4142; + for (int _i4143 = 0; _i4143 < _list4141.size; ++_i4143) { + _elem4142 = iprot.readI64(); + struct.records.add(_elem4142); } } struct.setRecordsIsSet(true); @@ -444439,14 +586938,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2712 = iprot + org.apache.thrift.protocol.TList _list4144 = iprot .readListBegin(); struct.records = new ArrayList( - _list2712.size); - long _elem2713; - for (int _i2714 = 0; _i2714 < _list2712.size; ++_i2714) { - _elem2713 = iprot.readI64(); - struct.records.add(_elem2713); + _list4144.size); + long _elem4145; + for (int _i4146 = 0; _i4146 < _list4144.size; ++_i4146) { + _elem4145 = iprot.readI64(); + struct.records.add(_elem4145); } iprot.readListEnd(); } @@ -444520,8 +587019,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2715 : struct.records) { - oprot.writeI64(_iter2715); + for (long _iter4147 : struct.records) { + oprot.writeI64(_iter4147); } oprot.writeListEnd(); } @@ -444586,8 +587085,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2716 : struct.records) { - oprot.writeI64(_iter2716); + for (long _iter4148 : struct.records) { + oprot.writeI64(_iter4148); } } } @@ -444614,14 +587113,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2717 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4149 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2717.size); - long _elem2718; - for (int _i2719 = 0; _i2719 < _list2717.size; ++_i2719) { - _elem2718 = iprot.readI64(); - struct.records.add(_elem2718); + struct.records = new ArrayList(_list4149.size); + long _elem4150; + for (int _i4151 = 0; _i4151 < _list4149.size; ++_i4151) { + _elem4150 = iprot.readI64(); + struct.records.add(_elem4150); } } struct.setRecordsIsSet(true); @@ -446285,14 +588784,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2720 = iprot + org.apache.thrift.protocol.TList _list4152 = iprot .readListBegin(); struct.records = new ArrayList( - _list2720.size); - long _elem2721; - for (int _i2722 = 0; _i2722 < _list2720.size; ++_i2722) { - _elem2721 = iprot.readI64(); - struct.records.add(_elem2721); + _list4152.size); + long _elem4153; + for (int _i4154 = 0; _i4154 < _list4152.size; ++_i4154) { + _elem4153 = iprot.readI64(); + struct.records.add(_elem4153); } iprot.readListEnd(); } @@ -446376,8 +588875,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2723 : struct.records) { - oprot.writeI64(_iter2723); + for (long _iter4155 : struct.records) { + oprot.writeI64(_iter4155); } oprot.writeListEnd(); } @@ -446448,8 +588947,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2724 : struct.records) { - oprot.writeI64(_iter2724); + for (long _iter4156 : struct.records) { + oprot.writeI64(_iter4156); } } } @@ -446479,14 +588978,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2725 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4157 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2725.size); - long _elem2726; - for (int _i2727 = 0; _i2727 < _list2725.size; ++_i2727) { - _elem2726 = iprot.readI64(); - struct.records.add(_elem2726); + struct.records = new ArrayList(_list4157.size); + long _elem4158; + for (int _i4159 = 0; _i4159 < _list4157.size; ++_i4159) { + _elem4158 = iprot.readI64(); + struct.records.add(_elem4158); } } struct.setRecordsIsSet(true); @@ -448153,14 +590652,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2728 = iprot + org.apache.thrift.protocol.TList _list4160 = iprot .readListBegin(); struct.records = new ArrayList( - _list2728.size); - long _elem2729; - for (int _i2730 = 0; _i2730 < _list2728.size; ++_i2730) { - _elem2729 = iprot.readI64(); - struct.records.add(_elem2729); + _list4160.size); + long _elem4161; + for (int _i4162 = 0; _i4162 < _list4160.size; ++_i4162) { + _elem4161 = iprot.readI64(); + struct.records.add(_elem4161); } iprot.readListEnd(); } @@ -448244,8 +590743,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2731 : struct.records) { - oprot.writeI64(_iter2731); + for (long _iter4163 : struct.records) { + oprot.writeI64(_iter4163); } oprot.writeListEnd(); } @@ -448318,8 +590817,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2732 : struct.records) { - oprot.writeI64(_iter2732); + for (long _iter4164 : struct.records) { + oprot.writeI64(_iter4164); } } } @@ -448349,14 +590848,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2733 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4165 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2733.size); - long _elem2734; - for (int _i2735 = 0; _i2735 < _list2733.size; ++_i2735) { - _elem2734 = iprot.readI64(); - struct.records.add(_elem2734); + struct.records = new ArrayList(_list4165.size); + long _elem4166; + for (int _i4167 = 0; _i4167 < _list4165.size; ++_i4167) { + _elem4166 = iprot.readI64(); + struct.records.add(_elem4166); } } struct.setRecordsIsSet(true); @@ -471915,14 +614414,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2736 = iprot + org.apache.thrift.protocol.TList _list4168 = iprot .readListBegin(); struct.records = new ArrayList( - _list2736.size); - long _elem2737; - for (int _i2738 = 0; _i2738 < _list2736.size; ++_i2738) { - _elem2737 = iprot.readI64(); - struct.records.add(_elem2737); + _list4168.size); + long _elem4169; + for (int _i4170 = 0; _i4170 < _list4168.size; ++_i4170) { + _elem4169 = iprot.readI64(); + struct.records.add(_elem4169); } iprot.readListEnd(); } @@ -471996,8 +614495,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2739 : struct.records) { - oprot.writeI64(_iter2739); + for (long _iter4171 : struct.records) { + oprot.writeI64(_iter4171); } oprot.writeListEnd(); } @@ -472062,8 +614561,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2740 : struct.records) { - oprot.writeI64(_iter2740); + for (long _iter4172 : struct.records) { + oprot.writeI64(_iter4172); } } } @@ -472090,14 +614589,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2741 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4173 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2741.size); - long _elem2742; - for (int _i2743 = 0; _i2743 < _list2741.size; ++_i2743) { - _elem2742 = iprot.readI64(); - struct.records.add(_elem2742); + struct.records = new ArrayList(_list4173.size); + long _elem4174; + for (int _i4175 = 0; _i4175 < _list4173.size; ++_i4175) { + _elem4174 = iprot.readI64(); + struct.records.add(_elem4174); } } struct.setRecordsIsSet(true); @@ -473767,14 +616266,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2744 = iprot + org.apache.thrift.protocol.TList _list4176 = iprot .readListBegin(); struct.records = new ArrayList( - _list2744.size); - long _elem2745; - for (int _i2746 = 0; _i2746 < _list2744.size; ++_i2746) { - _elem2745 = iprot.readI64(); - struct.records.add(_elem2745); + _list4176.size); + long _elem4177; + for (int _i4178 = 0; _i4178 < _list4176.size; ++_i4178) { + _elem4177 = iprot.readI64(); + struct.records.add(_elem4177); } iprot.readListEnd(); } @@ -473858,8 +616357,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2747 : struct.records) { - oprot.writeI64(_iter2747); + for (long _iter4179 : struct.records) { + oprot.writeI64(_iter4179); } oprot.writeListEnd(); } @@ -473930,8 +616429,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2748 : struct.records) { - oprot.writeI64(_iter2748); + for (long _iter4180 : struct.records) { + oprot.writeI64(_iter4180); } } } @@ -473961,14 +616460,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2749 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4181 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2749.size); - long _elem2750; - for (int _i2751 = 0; _i2751 < _list2749.size; ++_i2751) { - _elem2750 = iprot.readI64(); - struct.records.add(_elem2750); + struct.records = new ArrayList(_list4181.size); + long _elem4182; + for (int _i4183 = 0; _i4183 < _list4181.size; ++_i4183) { + _elem4182 = iprot.readI64(); + struct.records.add(_elem4182); } } struct.setRecordsIsSet(true); @@ -475640,14 +618139,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2752 = iprot + org.apache.thrift.protocol.TList _list4184 = iprot .readListBegin(); struct.records = new ArrayList( - _list2752.size); - long _elem2753; - for (int _i2754 = 0; _i2754 < _list2752.size; ++_i2754) { - _elem2753 = iprot.readI64(); - struct.records.add(_elem2753); + _list4184.size); + long _elem4185; + for (int _i4186 = 0; _i4186 < _list4184.size; ++_i4186) { + _elem4185 = iprot.readI64(); + struct.records.add(_elem4185); } iprot.readListEnd(); } @@ -475731,8 +618230,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2755 : struct.records) { - oprot.writeI64(_iter2755); + for (long _iter4187 : struct.records) { + oprot.writeI64(_iter4187); } oprot.writeListEnd(); } @@ -475805,8 +618304,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2756 : struct.records) { - oprot.writeI64(_iter2756); + for (long _iter4188 : struct.records) { + oprot.writeI64(_iter4188); } } } @@ -475836,14 +618335,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2757 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4189 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2757.size); - long _elem2758; - for (int _i2759 = 0; _i2759 < _list2757.size; ++_i2759) { - _elem2758 = iprot.readI64(); - struct.records.add(_elem2758); + struct.records = new ArrayList(_list4189.size); + long _elem4190; + for (int _i4191 = 0; _i4191 < _list4189.size; ++_i4191) { + _elem4190 = iprot.readI64(); + struct.records.add(_elem4190); } } struct.setRecordsIsSet(true); @@ -500994,14 +643493,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2760 = iprot + org.apache.thrift.protocol.TList _list4192 = iprot .readListBegin(); struct.records = new ArrayList( - _list2760.size); - long _elem2761; - for (int _i2762 = 0; _i2762 < _list2760.size; ++_i2762) { - _elem2761 = iprot.readI64(); - struct.records.add(_elem2761); + _list4192.size); + long _elem4193; + for (int _i4194 = 0; _i4194 < _list4192.size; ++_i4194) { + _elem4193 = iprot.readI64(); + struct.records.add(_elem4193); } iprot.readListEnd(); } @@ -501085,8 +643584,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2763 : struct.records) { - oprot.writeI64(_iter2763); + for (long _iter4195 : struct.records) { + oprot.writeI64(_iter4195); } oprot.writeListEnd(); } @@ -501157,8 +643656,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2764 : struct.records) { - oprot.writeI64(_iter2764); + for (long _iter4196 : struct.records) { + oprot.writeI64(_iter4196); } } } @@ -501188,14 +643687,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2765 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4197 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2765.size); - long _elem2766; - for (int _i2767 = 0; _i2767 < _list2765.size; ++_i2767) { - _elem2766 = iprot.readI64(); - struct.records.add(_elem2766); + struct.records = new ArrayList(_list4197.size); + long _elem4198; + for (int _i4199 = 0; _i4199 < _list4197.size; ++_i4199) { + _elem4198 = iprot.readI64(); + struct.records.add(_elem4198); } } struct.setRecordsIsSet(true); @@ -502867,14 +645366,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2768 = iprot + org.apache.thrift.protocol.TList _list4200 = iprot .readListBegin(); struct.records = new ArrayList( - _list2768.size); - long _elem2769; - for (int _i2770 = 0; _i2770 < _list2768.size; ++_i2770) { - _elem2769 = iprot.readI64(); - struct.records.add(_elem2769); + _list4200.size); + long _elem4201; + for (int _i4202 = 0; _i4202 < _list4200.size; ++_i4202) { + _elem4201 = iprot.readI64(); + struct.records.add(_elem4201); } iprot.readListEnd(); } @@ -502958,8 +645457,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2771 : struct.records) { - oprot.writeI64(_iter2771); + for (long _iter4203 : struct.records) { + oprot.writeI64(_iter4203); } oprot.writeListEnd(); } @@ -503032,8 +645531,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2772 : struct.records) { - oprot.writeI64(_iter2772); + for (long _iter4204 : struct.records) { + oprot.writeI64(_iter4204); } } } @@ -503063,14 +645562,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2773 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4205 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2773.size); - long _elem2774; - for (int _i2775 = 0; _i2775 < _list2773.size; ++_i2775) { - _elem2774 = iprot.readI64(); - struct.records.add(_elem2774); + struct.records = new ArrayList(_list4205.size); + long _elem4206; + for (int _i4207 = 0; _i4207 < _list4205.size; ++_i4207) { + _elem4206 = iprot.readI64(); + struct.records.add(_elem4206); } } struct.setRecordsIsSet(true); @@ -519510,14 +662009,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2776 = iprot + org.apache.thrift.protocol.TList _list4208 = iprot .readListBegin(); struct.records = new ArrayList( - _list2776.size); - long _elem2777; - for (int _i2778 = 0; _i2778 < _list2776.size; ++_i2778) { - _elem2777 = iprot.readI64(); - struct.records.add(_elem2777); + _list4208.size); + long _elem4209; + for (int _i4210 = 0; _i4210 < _list4208.size; ++_i4210) { + _elem4209 = iprot.readI64(); + struct.records.add(_elem4209); } iprot.readListEnd(); } @@ -519591,8 +662090,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2779 : struct.records) { - oprot.writeI64(_iter2779); + for (long _iter4211 : struct.records) { + oprot.writeI64(_iter4211); } oprot.writeListEnd(); } @@ -519657,8 +662156,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2780 : struct.records) { - oprot.writeI64(_iter2780); + for (long _iter4212 : struct.records) { + oprot.writeI64(_iter4212); } } } @@ -519685,14 +662184,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2781 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4213 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2781.size); - long _elem2782; - for (int _i2783 = 0; _i2783 < _list2781.size; ++_i2783) { - _elem2782 = iprot.readI64(); - struct.records.add(_elem2782); + struct.records = new ArrayList(_list4213.size); + long _elem4214; + for (int _i4215 = 0; _i4215 < _list4213.size; ++_i4215) { + _elem4214 = iprot.readI64(); + struct.records.add(_elem4214); } } struct.setRecordsIsSet(true); @@ -522089,28 +664588,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2784 = iprot + org.apache.thrift.protocol.TMap _map4216 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2784.size); - long _key2785; - Set _val2786; - for (int _i2787 = 0; _i2787 < _map2784.size; ++_i2787) { - _key2785 = iprot.readI64(); + 2 * _map4216.size); + long _key4217; + Set _val4218; + for (int _i4219 = 0; _i4219 < _map4216.size; ++_i4219) { + _key4217 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set2788 = iprot + org.apache.thrift.protocol.TSet _set4220 = iprot .readSetBegin(); - _val2786 = new LinkedHashSet( - 2 * _set2788.size); - com.cinchapi.concourse.thrift.TObject _elem2789; - for (int _i2790 = 0; _i2790 < _set2788.size; ++_i2790) { - _elem2789 = new com.cinchapi.concourse.thrift.TObject(); - _elem2789.read(iprot); - _val2786.add(_elem2789); + _val4218 = new LinkedHashSet( + 2 * _set4220.size); + com.cinchapi.concourse.thrift.TObject _elem4221; + for (int _i4222 = 0; _i4222 < _set4220.size; ++_i4222) { + _elem4221 = new com.cinchapi.concourse.thrift.TObject(); + _elem4221.read(iprot); + _val4218.add(_elem4221); } iprot.readSetEnd(); } - struct.success.put(_key2785, _val2786); + struct.success.put(_key4217, _val4218); } iprot.readMapEnd(); } @@ -522180,17 +664679,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter2791 : struct.success + for (Map.Entry> _iter4223 : struct.success .entrySet()) { - oprot.writeI64(_iter2791.getKey()); + oprot.writeI64(_iter4223.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter2791.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter2792 : _iter2791 + _iter4223.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4224 : _iter4223 .getValue()) { - _iter2792.write(oprot); + _iter4224.write(oprot); } oprot.writeSetEnd(); } @@ -522252,14 +664751,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2793 : struct.success + for (Map.Entry> _iter4225 : struct.success .entrySet()) { - oprot.writeI64(_iter2793.getKey()); + oprot.writeI64(_iter4225.getKey()); { - oprot.writeI32(_iter2793.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter2794 : _iter2793 + oprot.writeI32(_iter4225.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4226 : _iter4225 .getValue()) { - _iter2794.write(oprot); + _iter4226.write(oprot); } } } @@ -522284,30 +664783,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2795 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4227 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2795.size); - long _key2796; - Set _val2797; - for (int _i2798 = 0; _i2798 < _map2795.size; ++_i2798) { - _key2796 = iprot.readI64(); + 2 * _map4227.size); + long _key4228; + Set _val4229; + for (int _i4230 = 0; _i4230 < _map4227.size; ++_i4230) { + _key4228 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set2799 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4231 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2797 = new LinkedHashSet( - 2 * _set2799.size); - com.cinchapi.concourse.thrift.TObject _elem2800; - for (int _i2801 = 0; _i2801 < _set2799.size; ++_i2801) { - _elem2800 = new com.cinchapi.concourse.thrift.TObject(); - _elem2800.read(iprot); - _val2797.add(_elem2800); + _val4229 = new LinkedHashSet( + 2 * _set4231.size); + com.cinchapi.concourse.thrift.TObject _elem4232; + for (int _i4233 = 0; _i4233 < _set4231.size; ++_i4233) { + _elem4232 = new com.cinchapi.concourse.thrift.TObject(); + _elem4232.read(iprot); + _val4229.add(_elem4232); } } - struct.success.put(_key2796, _val2797); + struct.success.put(_key4228, _val4229); } } struct.setSuccessIsSet(true); @@ -524028,28 +666527,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2802 = iprot + org.apache.thrift.protocol.TMap _map4234 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2802.size); - long _key2803; - Set _val2804; - for (int _i2805 = 0; _i2805 < _map2802.size; ++_i2805) { - _key2803 = iprot.readI64(); + 2 * _map4234.size); + long _key4235; + Set _val4236; + for (int _i4237 = 0; _i4237 < _map4234.size; ++_i4237) { + _key4235 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set2806 = iprot + org.apache.thrift.protocol.TSet _set4238 = iprot .readSetBegin(); - _val2804 = new LinkedHashSet( - 2 * _set2806.size); - com.cinchapi.concourse.thrift.TObject _elem2807; - for (int _i2808 = 0; _i2808 < _set2806.size; ++_i2808) { - _elem2807 = new com.cinchapi.concourse.thrift.TObject(); - _elem2807.read(iprot); - _val2804.add(_elem2807); + _val4236 = new LinkedHashSet( + 2 * _set4238.size); + com.cinchapi.concourse.thrift.TObject _elem4239; + for (int _i4240 = 0; _i4240 < _set4238.size; ++_i4240) { + _elem4239 = new com.cinchapi.concourse.thrift.TObject(); + _elem4239.read(iprot); + _val4236.add(_elem4239); } iprot.readSetEnd(); } - struct.success.put(_key2803, _val2804); + struct.success.put(_key4235, _val4236); } iprot.readMapEnd(); } @@ -524119,17 +666618,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter2809 : struct.success + for (Map.Entry> _iter4241 : struct.success .entrySet()) { - oprot.writeI64(_iter2809.getKey()); + oprot.writeI64(_iter4241.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter2809.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter2810 : _iter2809 + _iter4241.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4242 : _iter4241 .getValue()) { - _iter2810.write(oprot); + _iter4242.write(oprot); } oprot.writeSetEnd(); } @@ -524191,14 +666690,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2811 : struct.success + for (Map.Entry> _iter4243 : struct.success .entrySet()) { - oprot.writeI64(_iter2811.getKey()); + oprot.writeI64(_iter4243.getKey()); { - oprot.writeI32(_iter2811.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter2812 : _iter2811 + oprot.writeI32(_iter4243.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4244 : _iter4243 .getValue()) { - _iter2812.write(oprot); + _iter4244.write(oprot); } } } @@ -524223,30 +666722,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2813 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4245 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2813.size); - long _key2814; - Set _val2815; - for (int _i2816 = 0; _i2816 < _map2813.size; ++_i2816) { - _key2814 = iprot.readI64(); + 2 * _map4245.size); + long _key4246; + Set _val4247; + for (int _i4248 = 0; _i4248 < _map4245.size; ++_i4248) { + _key4246 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set2817 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4249 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2815 = new LinkedHashSet( - 2 * _set2817.size); - com.cinchapi.concourse.thrift.TObject _elem2818; - for (int _i2819 = 0; _i2819 < _set2817.size; ++_i2819) { - _elem2818 = new com.cinchapi.concourse.thrift.TObject(); - _elem2818.read(iprot); - _val2815.add(_elem2818); + _val4247 = new LinkedHashSet( + 2 * _set4249.size); + com.cinchapi.concourse.thrift.TObject _elem4250; + for (int _i4251 = 0; _i4251 < _set4249.size; ++_i4251) { + _elem4250 = new com.cinchapi.concourse.thrift.TObject(); + _elem4250.read(iprot); + _val4247.add(_elem4250); } } - struct.success.put(_key2814, _val2815); + struct.success.put(_key4246, _val4247); } } struct.setSuccessIsSet(true); @@ -526072,28 +668571,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2820 = iprot + org.apache.thrift.protocol.TMap _map4252 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2820.size); - long _key2821; - Set _val2822; - for (int _i2823 = 0; _i2823 < _map2820.size; ++_i2823) { - _key2821 = iprot.readI64(); + 2 * _map4252.size); + long _key4253; + Set _val4254; + for (int _i4255 = 0; _i4255 < _map4252.size; ++_i4255) { + _key4253 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set2824 = iprot + org.apache.thrift.protocol.TSet _set4256 = iprot .readSetBegin(); - _val2822 = new LinkedHashSet( - 2 * _set2824.size); - com.cinchapi.concourse.thrift.TObject _elem2825; - for (int _i2826 = 0; _i2826 < _set2824.size; ++_i2826) { - _elem2825 = new com.cinchapi.concourse.thrift.TObject(); - _elem2825.read(iprot); - _val2822.add(_elem2825); + _val4254 = new LinkedHashSet( + 2 * _set4256.size); + com.cinchapi.concourse.thrift.TObject _elem4257; + for (int _i4258 = 0; _i4258 < _set4256.size; ++_i4258) { + _elem4257 = new com.cinchapi.concourse.thrift.TObject(); + _elem4257.read(iprot); + _val4254.add(_elem4257); } iprot.readSetEnd(); } - struct.success.put(_key2821, _val2822); + struct.success.put(_key4253, _val4254); } iprot.readMapEnd(); } @@ -526174,17 +668673,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter2827 : struct.success + for (Map.Entry> _iter4259 : struct.success .entrySet()) { - oprot.writeI64(_iter2827.getKey()); + oprot.writeI64(_iter4259.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter2827.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter2828 : _iter2827 + _iter4259.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4260 : _iter4259 .getValue()) { - _iter2828.write(oprot); + _iter4260.write(oprot); } oprot.writeSetEnd(); } @@ -526254,14 +668753,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter2829 : struct.success + for (Map.Entry> _iter4261 : struct.success .entrySet()) { - oprot.writeI64(_iter2829.getKey()); + oprot.writeI64(_iter4261.getKey()); { - oprot.writeI32(_iter2829.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter2830 : _iter2829 + oprot.writeI32(_iter4261.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4262 : _iter4261 .getValue()) { - _iter2830.write(oprot); + _iter4262.write(oprot); } } } @@ -526289,30 +668788,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2831 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4263 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map2831.size); - long _key2832; - Set _val2833; - for (int _i2834 = 0; _i2834 < _map2831.size; ++_i2834) { - _key2832 = iprot.readI64(); + 2 * _map4263.size); + long _key4264; + Set _val4265; + for (int _i4266 = 0; _i4266 < _map4263.size; ++_i4266) { + _key4264 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set2835 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4267 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2833 = new LinkedHashSet( - 2 * _set2835.size); - com.cinchapi.concourse.thrift.TObject _elem2836; - for (int _i2837 = 0; _i2837 < _set2835.size; ++_i2837) { - _elem2836 = new com.cinchapi.concourse.thrift.TObject(); - _elem2836.read(iprot); - _val2833.add(_elem2836); + _val4265 = new LinkedHashSet( + 2 * _set4267.size); + com.cinchapi.concourse.thrift.TObject _elem4268; + for (int _i4269 = 0; _i4269 < _set4267.size; ++_i4269) { + _elem4268 = new com.cinchapi.concourse.thrift.TObject(); + _elem4268.read(iprot); + _val4265.add(_elem4268); } } - struct.success.put(_key2832, _val2833); + struct.success.put(_key4264, _val4265); } } struct.setSuccessIsSet(true); @@ -527091,14 +669590,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2838 = iprot + org.apache.thrift.protocol.TList _list4270 = iprot .readListBegin(); struct.keys = new ArrayList( - _list2838.size); - String _elem2839; - for (int _i2840 = 0; _i2840 < _list2838.size; ++_i2840) { - _elem2839 = iprot.readString(); - struct.keys.add(_elem2839); + _list4270.size); + String _elem4271; + for (int _i4272 = 0; _i4272 < _list4270.size; ++_i4272) { + _elem4271 = iprot.readString(); + struct.keys.add(_elem4271); } iprot.readListEnd(); } @@ -527177,8 +669676,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter2841 : struct.keys) { - oprot.writeString(_iter2841); + for (String _iter4273 : struct.keys) { + oprot.writeString(_iter4273); } oprot.writeListEnd(); } @@ -527243,8 +669742,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter2842 : struct.keys) { - oprot.writeString(_iter2842); + for (String _iter4274 : struct.keys) { + oprot.writeString(_iter4274); } } } @@ -527270,14 +669769,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2843 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4275 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list2843.size); - String _elem2844; - for (int _i2845 = 0; _i2845 < _list2843.size; ++_i2845) { - _elem2844 = iprot.readString(); - struct.keys.add(_elem2844); + struct.keys = new ArrayList(_list4275.size); + String _elem4276; + for (int _i4277 = 0; _i4277 < _list4275.size; ++_i4277) { + _elem4276 = iprot.readString(); + struct.keys.add(_elem4276); } } struct.setKeysIsSet(true); @@ -527996,41 +670495,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2846 = iprot + org.apache.thrift.protocol.TMap _map4278 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map2846.size); - long _key2847; - Map> _val2848; - for (int _i2849 = 0; _i2849 < _map2846.size; ++_i2849) { - _key2847 = iprot.readI64(); + 2 * _map4278.size); + long _key4279; + Map> _val4280; + for (int _i4281 = 0; _i4281 < _map4278.size; ++_i4281) { + _key4279 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2850 = iprot + org.apache.thrift.protocol.TMap _map4282 = iprot .readMapBegin(); - _val2848 = new LinkedHashMap>( - 2 * _map2850.size); - String _key2851; - Set _val2852; - for (int _i2853 = 0; _i2853 < _map2850.size; ++_i2853) { - _key2851 = iprot.readString(); + _val4280 = new LinkedHashMap>( + 2 * _map4282.size); + String _key4283; + Set _val4284; + for (int _i4285 = 0; _i4285 < _map4282.size; ++_i4285) { + _key4283 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set2854 = iprot + org.apache.thrift.protocol.TSet _set4286 = iprot .readSetBegin(); - _val2852 = new LinkedHashSet( - 2 * _set2854.size); - com.cinchapi.concourse.thrift.TObject _elem2855; - for (int _i2856 = 0; _i2856 < _set2854.size; ++_i2856) { - _elem2855 = new com.cinchapi.concourse.thrift.TObject(); - _elem2855.read(iprot); - _val2852.add(_elem2855); + _val4284 = new LinkedHashSet( + 2 * _set4286.size); + com.cinchapi.concourse.thrift.TObject _elem4287; + for (int _i4288 = 0; _i4288 < _set4286.size; ++_i4288) { + _elem4287 = new com.cinchapi.concourse.thrift.TObject(); + _elem4287.read(iprot); + _val4284.add(_elem4287); } iprot.readSetEnd(); } - _val2848.put(_key2851, _val2852); + _val4280.put(_key4283, _val4284); } iprot.readMapEnd(); } - struct.success.put(_key2847, _val2848); + struct.success.put(_key4279, _val4280); } iprot.readMapEnd(); } @@ -528100,27 +670599,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter2857 : struct.success + for (Map.Entry>> _iter4289 : struct.success .entrySet()) { - oprot.writeI64(_iter2857.getKey()); + oprot.writeI64(_iter4289.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter2857.getValue().size())); - for (Map.Entry> _iter2858 : _iter2857 + _iter4289.getValue().size())); + for (Map.Entry> _iter4290 : _iter4289 .getValue().entrySet()) { - oprot.writeString(_iter2858.getKey()); + oprot.writeString(_iter4290.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter2858.getValue() + _iter4290.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter2859 : _iter2858 + for (com.cinchapi.concourse.thrift.TObject _iter4291 : _iter4290 .getValue()) { - _iter2859.write(oprot); + _iter4291.write(oprot); } oprot.writeSetEnd(); } @@ -528185,20 +670684,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter2860 : struct.success + for (Map.Entry>> _iter4292 : struct.success .entrySet()) { - oprot.writeI64(_iter2860.getKey()); + oprot.writeI64(_iter4292.getKey()); { - oprot.writeI32(_iter2860.getValue().size()); - for (Map.Entry> _iter2861 : _iter2860 + oprot.writeI32(_iter4292.getValue().size()); + for (Map.Entry> _iter4293 : _iter4292 .getValue().entrySet()) { - oprot.writeString(_iter2861.getKey()); + oprot.writeString(_iter4293.getKey()); { oprot.writeI32( - _iter2861.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter2862 : _iter2861 + _iter4293.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4294 : _iter4293 .getValue()) { - _iter2862.write(oprot); + _iter4294.write(oprot); } } } @@ -528225,44 +670724,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2863 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4295 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map2863.size); - long _key2864; - Map> _val2865; - for (int _i2866 = 0; _i2866 < _map2863.size; ++_i2866) { - _key2864 = iprot.readI64(); + 2 * _map4295.size); + long _key4296; + Map> _val4297; + for (int _i4298 = 0; _i4298 < _map4295.size; ++_i4298) { + _key4296 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2867 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4299 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val2865 = new LinkedHashMap>( - 2 * _map2867.size); - String _key2868; - Set _val2869; - for (int _i2870 = 0; _i2870 < _map2867.size; ++_i2870) { - _key2868 = iprot.readString(); + _val4297 = new LinkedHashMap>( + 2 * _map4299.size); + String _key4300; + Set _val4301; + for (int _i4302 = 0; _i4302 < _map4299.size; ++_i4302) { + _key4300 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set2871 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4303 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2869 = new LinkedHashSet( - 2 * _set2871.size); - com.cinchapi.concourse.thrift.TObject _elem2872; - for (int _i2873 = 0; _i2873 < _set2871.size; ++_i2873) { - _elem2872 = new com.cinchapi.concourse.thrift.TObject(); - _elem2872.read(iprot); - _val2869.add(_elem2872); + _val4301 = new LinkedHashSet( + 2 * _set4303.size); + com.cinchapi.concourse.thrift.TObject _elem4304; + for (int _i4305 = 0; _i4305 < _set4303.size; ++_i4305) { + _elem4304 = new com.cinchapi.concourse.thrift.TObject(); + _elem4304.read(iprot); + _val4301.add(_elem4304); } } - _val2865.put(_key2868, _val2869); + _val4297.put(_key4300, _val4301); } } - struct.success.put(_key2864, _val2865); + struct.success.put(_key4296, _val4297); } } struct.setSuccessIsSet(true); @@ -529128,14 +671627,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2874 = iprot + org.apache.thrift.protocol.TList _list4306 = iprot .readListBegin(); struct.keys = new ArrayList( - _list2874.size); - String _elem2875; - for (int _i2876 = 0; _i2876 < _list2874.size; ++_i2876) { - _elem2875 = iprot.readString(); - struct.keys.add(_elem2875); + _list4306.size); + String _elem4307; + for (int _i4308 = 0; _i4308 < _list4306.size; ++_i4308) { + _elem4307 = iprot.readString(); + struct.keys.add(_elem4307); } iprot.readListEnd(); } @@ -529224,8 +671723,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter2877 : struct.keys) { - oprot.writeString(_iter2877); + for (String _iter4309 : struct.keys) { + oprot.writeString(_iter4309); } oprot.writeListEnd(); } @@ -529296,8 +671795,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter2878 : struct.keys) { - oprot.writeString(_iter2878); + for (String _iter4310 : struct.keys) { + oprot.writeString(_iter4310); } } } @@ -529326,14 +671825,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2879 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4311 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list2879.size); - String _elem2880; - for (int _i2881 = 0; _i2881 < _list2879.size; ++_i2881) { - _elem2880 = iprot.readString(); - struct.keys.add(_elem2880); + struct.keys = new ArrayList(_list4311.size); + String _elem4312; + for (int _i4313 = 0; _i4313 < _list4311.size; ++_i4313) { + _elem4312 = iprot.readString(); + struct.keys.add(_elem4312); } } struct.setKeysIsSet(true); @@ -530058,41 +672557,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2882 = iprot + org.apache.thrift.protocol.TMap _map4314 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map2882.size); - long _key2883; - Map> _val2884; - for (int _i2885 = 0; _i2885 < _map2882.size; ++_i2885) { - _key2883 = iprot.readI64(); + 2 * _map4314.size); + long _key4315; + Map> _val4316; + for (int _i4317 = 0; _i4317 < _map4314.size; ++_i4317) { + _key4315 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2886 = iprot + org.apache.thrift.protocol.TMap _map4318 = iprot .readMapBegin(); - _val2884 = new LinkedHashMap>( - 2 * _map2886.size); - String _key2887; - Set _val2888; - for (int _i2889 = 0; _i2889 < _map2886.size; ++_i2889) { - _key2887 = iprot.readString(); + _val4316 = new LinkedHashMap>( + 2 * _map4318.size); + String _key4319; + Set _val4320; + for (int _i4321 = 0; _i4321 < _map4318.size; ++_i4321) { + _key4319 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set2890 = iprot + org.apache.thrift.protocol.TSet _set4322 = iprot .readSetBegin(); - _val2888 = new LinkedHashSet( - 2 * _set2890.size); - com.cinchapi.concourse.thrift.TObject _elem2891; - for (int _i2892 = 0; _i2892 < _set2890.size; ++_i2892) { - _elem2891 = new com.cinchapi.concourse.thrift.TObject(); - _elem2891.read(iprot); - _val2888.add(_elem2891); + _val4320 = new LinkedHashSet( + 2 * _set4322.size); + com.cinchapi.concourse.thrift.TObject _elem4323; + for (int _i4324 = 0; _i4324 < _set4322.size; ++_i4324) { + _elem4323 = new com.cinchapi.concourse.thrift.TObject(); + _elem4323.read(iprot); + _val4320.add(_elem4323); } iprot.readSetEnd(); } - _val2884.put(_key2887, _val2888); + _val4316.put(_key4319, _val4320); } iprot.readMapEnd(); } - struct.success.put(_key2883, _val2884); + struct.success.put(_key4315, _val4316); } iprot.readMapEnd(); } @@ -530162,27 +672661,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter2893 : struct.success + for (Map.Entry>> _iter4325 : struct.success .entrySet()) { - oprot.writeI64(_iter2893.getKey()); + oprot.writeI64(_iter4325.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter2893.getValue().size())); - for (Map.Entry> _iter2894 : _iter2893 + _iter4325.getValue().size())); + for (Map.Entry> _iter4326 : _iter4325 .getValue().entrySet()) { - oprot.writeString(_iter2894.getKey()); + oprot.writeString(_iter4326.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter2894.getValue() + _iter4326.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter2895 : _iter2894 + for (com.cinchapi.concourse.thrift.TObject _iter4327 : _iter4326 .getValue()) { - _iter2895.write(oprot); + _iter4327.write(oprot); } oprot.writeSetEnd(); } @@ -530247,20 +672746,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter2896 : struct.success + for (Map.Entry>> _iter4328 : struct.success .entrySet()) { - oprot.writeI64(_iter2896.getKey()); + oprot.writeI64(_iter4328.getKey()); { - oprot.writeI32(_iter2896.getValue().size()); - for (Map.Entry> _iter2897 : _iter2896 + oprot.writeI32(_iter4328.getValue().size()); + for (Map.Entry> _iter4329 : _iter4328 .getValue().entrySet()) { - oprot.writeString(_iter2897.getKey()); + oprot.writeString(_iter4329.getKey()); { oprot.writeI32( - _iter2897.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter2898 : _iter2897 + _iter4329.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4330 : _iter4329 .getValue()) { - _iter2898.write(oprot); + _iter4330.write(oprot); } } } @@ -530287,44 +672786,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2899 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4331 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map2899.size); - long _key2900; - Map> _val2901; - for (int _i2902 = 0; _i2902 < _map2899.size; ++_i2902) { - _key2900 = iprot.readI64(); + 2 * _map4331.size); + long _key4332; + Map> _val4333; + for (int _i4334 = 0; _i4334 < _map4331.size; ++_i4334) { + _key4332 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2903 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4335 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val2901 = new LinkedHashMap>( - 2 * _map2903.size); - String _key2904; - Set _val2905; - for (int _i2906 = 0; _i2906 < _map2903.size; ++_i2906) { - _key2904 = iprot.readString(); + _val4333 = new LinkedHashMap>( + 2 * _map4335.size); + String _key4336; + Set _val4337; + for (int _i4338 = 0; _i4338 < _map4335.size; ++_i4338) { + _key4336 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set2907 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4339 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2905 = new LinkedHashSet( - 2 * _set2907.size); - com.cinchapi.concourse.thrift.TObject _elem2908; - for (int _i2909 = 0; _i2909 < _set2907.size; ++_i2909) { - _elem2908 = new com.cinchapi.concourse.thrift.TObject(); - _elem2908.read(iprot); - _val2905.add(_elem2908); + _val4337 = new LinkedHashSet( + 2 * _set4339.size); + com.cinchapi.concourse.thrift.TObject _elem4340; + for (int _i4341 = 0; _i4341 < _set4339.size; ++_i4341) { + _elem4340 = new com.cinchapi.concourse.thrift.TObject(); + _elem4340.read(iprot); + _val4337.add(_elem4340); } } - _val2901.put(_key2904, _val2905); + _val4333.put(_key4336, _val4337); } } - struct.success.put(_key2900, _val2901); + struct.success.put(_key4332, _val4333); } } struct.setSuccessIsSet(true); @@ -531196,14 +673695,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2910 = iprot + org.apache.thrift.protocol.TList _list4342 = iprot .readListBegin(); struct.keys = new ArrayList( - _list2910.size); - String _elem2911; - for (int _i2912 = 0; _i2912 < _list2910.size; ++_i2912) { - _elem2911 = iprot.readString(); - struct.keys.add(_elem2911); + _list4342.size); + String _elem4343; + for (int _i4344 = 0; _i4344 < _list4342.size; ++_i4344) { + _elem4343 = iprot.readString(); + struct.keys.add(_elem4343); } iprot.readListEnd(); } @@ -531292,8 +673791,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter2913 : struct.keys) { - oprot.writeString(_iter2913); + for (String _iter4345 : struct.keys) { + oprot.writeString(_iter4345); } oprot.writeListEnd(); } @@ -531366,8 +673865,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter2914 : struct.keys) { - oprot.writeString(_iter2914); + for (String _iter4346 : struct.keys) { + oprot.writeString(_iter4346); } } } @@ -531396,14 +673895,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2915 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4347 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list2915.size); - String _elem2916; - for (int _i2917 = 0; _i2917 < _list2915.size; ++_i2917) { - _elem2916 = iprot.readString(); - struct.keys.add(_elem2916); + struct.keys = new ArrayList(_list4347.size); + String _elem4348; + for (int _i4349 = 0; _i4349 < _list4347.size; ++_i4349) { + _elem4348 = iprot.readString(); + struct.keys.add(_elem4348); } } struct.setKeysIsSet(true); @@ -532224,41 +674723,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2918 = iprot + org.apache.thrift.protocol.TMap _map4350 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map2918.size); - long _key2919; - Map> _val2920; - for (int _i2921 = 0; _i2921 < _map2918.size; ++_i2921) { - _key2919 = iprot.readI64(); + 2 * _map4350.size); + long _key4351; + Map> _val4352; + for (int _i4353 = 0; _i4353 < _map4350.size; ++_i4353) { + _key4351 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2922 = iprot + org.apache.thrift.protocol.TMap _map4354 = iprot .readMapBegin(); - _val2920 = new LinkedHashMap>( - 2 * _map2922.size); - String _key2923; - Set _val2924; - for (int _i2925 = 0; _i2925 < _map2922.size; ++_i2925) { - _key2923 = iprot.readString(); + _val4352 = new LinkedHashMap>( + 2 * _map4354.size); + String _key4355; + Set _val4356; + for (int _i4357 = 0; _i4357 < _map4354.size; ++_i4357) { + _key4355 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set2926 = iprot + org.apache.thrift.protocol.TSet _set4358 = iprot .readSetBegin(); - _val2924 = new LinkedHashSet( - 2 * _set2926.size); - com.cinchapi.concourse.thrift.TObject _elem2927; - for (int _i2928 = 0; _i2928 < _set2926.size; ++_i2928) { - _elem2927 = new com.cinchapi.concourse.thrift.TObject(); - _elem2927.read(iprot); - _val2924.add(_elem2927); + _val4356 = new LinkedHashSet( + 2 * _set4358.size); + com.cinchapi.concourse.thrift.TObject _elem4359; + for (int _i4360 = 0; _i4360 < _set4358.size; ++_i4360) { + _elem4359 = new com.cinchapi.concourse.thrift.TObject(); + _elem4359.read(iprot); + _val4356.add(_elem4359); } iprot.readSetEnd(); } - _val2920.put(_key2923, _val2924); + _val4352.put(_key4355, _val4356); } iprot.readMapEnd(); } - struct.success.put(_key2919, _val2920); + struct.success.put(_key4351, _val4352); } iprot.readMapEnd(); } @@ -532339,27 +674838,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter2929 : struct.success + for (Map.Entry>> _iter4361 : struct.success .entrySet()) { - oprot.writeI64(_iter2929.getKey()); + oprot.writeI64(_iter4361.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter2929.getValue().size())); - for (Map.Entry> _iter2930 : _iter2929 + _iter4361.getValue().size())); + for (Map.Entry> _iter4362 : _iter4361 .getValue().entrySet()) { - oprot.writeString(_iter2930.getKey()); + oprot.writeString(_iter4362.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter2930.getValue() + _iter4362.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter2931 : _iter2930 + for (com.cinchapi.concourse.thrift.TObject _iter4363 : _iter4362 .getValue()) { - _iter2931.write(oprot); + _iter4363.write(oprot); } oprot.writeSetEnd(); } @@ -532432,20 +674931,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter2932 : struct.success + for (Map.Entry>> _iter4364 : struct.success .entrySet()) { - oprot.writeI64(_iter2932.getKey()); + oprot.writeI64(_iter4364.getKey()); { - oprot.writeI32(_iter2932.getValue().size()); - for (Map.Entry> _iter2933 : _iter2932 + oprot.writeI32(_iter4364.getValue().size()); + for (Map.Entry> _iter4365 : _iter4364 .getValue().entrySet()) { - oprot.writeString(_iter2933.getKey()); + oprot.writeString(_iter4365.getKey()); { oprot.writeI32( - _iter2933.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter2934 : _iter2933 + _iter4365.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4366 : _iter4365 .getValue()) { - _iter2934.write(oprot); + _iter4366.write(oprot); } } } @@ -532475,44 +674974,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2935 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4367 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map2935.size); - long _key2936; - Map> _val2937; - for (int _i2938 = 0; _i2938 < _map2935.size; ++_i2938) { - _key2936 = iprot.readI64(); + 2 * _map4367.size); + long _key4368; + Map> _val4369; + for (int _i4370 = 0; _i4370 < _map4367.size; ++_i4370) { + _key4368 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2939 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4371 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val2937 = new LinkedHashMap>( - 2 * _map2939.size); - String _key2940; - Set _val2941; - for (int _i2942 = 0; _i2942 < _map2939.size; ++_i2942) { - _key2940 = iprot.readString(); + _val4369 = new LinkedHashMap>( + 2 * _map4371.size); + String _key4372; + Set _val4373; + for (int _i4374 = 0; _i4374 < _map4371.size; ++_i4374) { + _key4372 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set2943 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4375 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2941 = new LinkedHashSet( - 2 * _set2943.size); - com.cinchapi.concourse.thrift.TObject _elem2944; - for (int _i2945 = 0; _i2945 < _set2943.size; ++_i2945) { - _elem2944 = new com.cinchapi.concourse.thrift.TObject(); - _elem2944.read(iprot); - _val2941.add(_elem2944); + _val4373 = new LinkedHashSet( + 2 * _set4375.size); + com.cinchapi.concourse.thrift.TObject _elem4376; + for (int _i4377 = 0; _i4377 < _set4375.size; ++_i4377) { + _elem4376 = new com.cinchapi.concourse.thrift.TObject(); + _elem4376.read(iprot); + _val4373.add(_elem4376); } } - _val2937.put(_key2940, _val2941); + _val4369.put(_key4372, _val4373); } } - struct.success.put(_key2936, _val2937); + struct.success.put(_key4368, _val4369); } } struct.setSuccessIsSet(true); @@ -533306,14 +675805,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2946 = iprot + org.apache.thrift.protocol.TList _list4378 = iprot .readListBegin(); struct.keys = new ArrayList( - _list2946.size); - String _elem2947; - for (int _i2948 = 0; _i2948 < _list2946.size; ++_i2948) { - _elem2947 = iprot.readString(); - struct.keys.add(_elem2947); + _list4378.size); + String _elem4379; + for (int _i4380 = 0; _i4380 < _list4378.size; ++_i4380) { + _elem4379 = iprot.readString(); + struct.keys.add(_elem4379); } iprot.readListEnd(); } @@ -533327,14 +675826,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2949 = iprot + org.apache.thrift.protocol.TList _list4381 = iprot .readListBegin(); struct.records = new ArrayList( - _list2949.size); - long _elem2950; - for (int _i2951 = 0; _i2951 < _list2949.size; ++_i2951) { - _elem2950 = iprot.readI64(); - struct.records.add(_elem2950); + _list4381.size); + long _elem4382; + for (int _i4383 = 0; _i4383 < _list4381.size; ++_i4383) { + _elem4382 = iprot.readI64(); + struct.records.add(_elem4382); } iprot.readListEnd(); } @@ -533403,8 +675902,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter2952 : struct.keys) { - oprot.writeString(_iter2952); + for (String _iter4384 : struct.keys) { + oprot.writeString(_iter4384); } oprot.writeListEnd(); } @@ -533417,8 +675916,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2953 : struct.records) { - oprot.writeI64(_iter2953); + for (long _iter4385 : struct.records) { + oprot.writeI64(_iter4385); } oprot.writeListEnd(); } @@ -533480,16 +675979,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter2954 : struct.keys) { - oprot.writeString(_iter2954); + for (String _iter4386 : struct.keys) { + oprot.writeString(_iter4386); } } } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2955 : struct.records) { - oprot.writeI64(_iter2955); + for (long _iter4387 : struct.records) { + oprot.writeI64(_iter4387); } } } @@ -533512,28 +676011,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list2956 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4388 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list2956.size); - String _elem2957; - for (int _i2958 = 0; _i2958 < _list2956.size; ++_i2958) { - _elem2957 = iprot.readString(); - struct.keys.add(_elem2957); + struct.keys = new ArrayList(_list4388.size); + String _elem4389; + for (int _i4390 = 0; _i4390 < _list4388.size; ++_i4390) { + _elem4389 = iprot.readString(); + struct.keys.add(_elem4389); } } struct.setKeysIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2959 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4391 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2959.size); - long _elem2960; - for (int _i2961 = 0; _i2961 < _list2959.size; ++_i2961) { - _elem2960 = iprot.readI64(); - struct.records.add(_elem2960); + struct.records = new ArrayList(_list4391.size); + long _elem4392; + for (int _i4393 = 0; _i4393 < _list4391.size; ++_i4393) { + _elem4392 = iprot.readI64(); + struct.records.add(_elem4392); } } struct.setRecordsIsSet(true); @@ -534248,41 +676747,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2962 = iprot + org.apache.thrift.protocol.TMap _map4394 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map2962.size); - long _key2963; - Map> _val2964; - for (int _i2965 = 0; _i2965 < _map2962.size; ++_i2965) { - _key2963 = iprot.readI64(); + 2 * _map4394.size); + long _key4395; + Map> _val4396; + for (int _i4397 = 0; _i4397 < _map4394.size; ++_i4397) { + _key4395 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2966 = iprot + org.apache.thrift.protocol.TMap _map4398 = iprot .readMapBegin(); - _val2964 = new LinkedHashMap>( - 2 * _map2966.size); - String _key2967; - Set _val2968; - for (int _i2969 = 0; _i2969 < _map2966.size; ++_i2969) { - _key2967 = iprot.readString(); + _val4396 = new LinkedHashMap>( + 2 * _map4398.size); + String _key4399; + Set _val4400; + for (int _i4401 = 0; _i4401 < _map4398.size; ++_i4401) { + _key4399 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set2970 = iprot + org.apache.thrift.protocol.TSet _set4402 = iprot .readSetBegin(); - _val2968 = new LinkedHashSet( - 2 * _set2970.size); - com.cinchapi.concourse.thrift.TObject _elem2971; - for (int _i2972 = 0; _i2972 < _set2970.size; ++_i2972) { - _elem2971 = new com.cinchapi.concourse.thrift.TObject(); - _elem2971.read(iprot); - _val2968.add(_elem2971); + _val4400 = new LinkedHashSet( + 2 * _set4402.size); + com.cinchapi.concourse.thrift.TObject _elem4403; + for (int _i4404 = 0; _i4404 < _set4402.size; ++_i4404) { + _elem4403 = new com.cinchapi.concourse.thrift.TObject(); + _elem4403.read(iprot); + _val4400.add(_elem4403); } iprot.readSetEnd(); } - _val2964.put(_key2967, _val2968); + _val4396.put(_key4399, _val4400); } iprot.readMapEnd(); } - struct.success.put(_key2963, _val2964); + struct.success.put(_key4395, _val4396); } iprot.readMapEnd(); } @@ -534352,27 +676851,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter2973 : struct.success + for (Map.Entry>> _iter4405 : struct.success .entrySet()) { - oprot.writeI64(_iter2973.getKey()); + oprot.writeI64(_iter4405.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter2973.getValue().size())); - for (Map.Entry> _iter2974 : _iter2973 + _iter4405.getValue().size())); + for (Map.Entry> _iter4406 : _iter4405 .getValue().entrySet()) { - oprot.writeString(_iter2974.getKey()); + oprot.writeString(_iter4406.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter2974.getValue() + _iter4406.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter2975 : _iter2974 + for (com.cinchapi.concourse.thrift.TObject _iter4407 : _iter4406 .getValue()) { - _iter2975.write(oprot); + _iter4407.write(oprot); } oprot.writeSetEnd(); } @@ -534437,20 +676936,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter2976 : struct.success + for (Map.Entry>> _iter4408 : struct.success .entrySet()) { - oprot.writeI64(_iter2976.getKey()); + oprot.writeI64(_iter4408.getKey()); { - oprot.writeI32(_iter2976.getValue().size()); - for (Map.Entry> _iter2977 : _iter2976 + oprot.writeI32(_iter4408.getValue().size()); + for (Map.Entry> _iter4409 : _iter4408 .getValue().entrySet()) { - oprot.writeString(_iter2977.getKey()); + oprot.writeString(_iter4409.getKey()); { oprot.writeI32( - _iter2977.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter2978 : _iter2977 + _iter4409.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4410 : _iter4409 .getValue()) { - _iter2978.write(oprot); + _iter4410.write(oprot); } } } @@ -534477,44 +676976,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map2979 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4411 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map2979.size); - long _key2980; - Map> _val2981; - for (int _i2982 = 0; _i2982 < _map2979.size; ++_i2982) { - _key2980 = iprot.readI64(); + 2 * _map4411.size); + long _key4412; + Map> _val4413; + for (int _i4414 = 0; _i4414 < _map4411.size; ++_i4414) { + _key4412 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map2983 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4415 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val2981 = new LinkedHashMap>( - 2 * _map2983.size); - String _key2984; - Set _val2985; - for (int _i2986 = 0; _i2986 < _map2983.size; ++_i2986) { - _key2984 = iprot.readString(); + _val4413 = new LinkedHashMap>( + 2 * _map4415.size); + String _key4416; + Set _val4417; + for (int _i4418 = 0; _i4418 < _map4415.size; ++_i4418) { + _key4416 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set2987 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4419 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val2985 = new LinkedHashSet( - 2 * _set2987.size); - com.cinchapi.concourse.thrift.TObject _elem2988; - for (int _i2989 = 0; _i2989 < _set2987.size; ++_i2989) { - _elem2988 = new com.cinchapi.concourse.thrift.TObject(); - _elem2988.read(iprot); - _val2985.add(_elem2988); + _val4417 = new LinkedHashSet( + 2 * _set4419.size); + com.cinchapi.concourse.thrift.TObject _elem4420; + for (int _i4421 = 0; _i4421 < _set4419.size; ++_i4421) { + _elem4420 = new com.cinchapi.concourse.thrift.TObject(); + _elem4420.read(iprot); + _val4417.add(_elem4420); } } - _val2981.put(_key2984, _val2985); + _val4413.put(_key4416, _val4417); } } - struct.success.put(_key2980, _val2981); + struct.success.put(_key4412, _val4413); } } struct.setSuccessIsSet(true); @@ -535295,14 +677794,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list2990 = iprot + org.apache.thrift.protocol.TList _list4422 = iprot .readListBegin(); struct.records = new ArrayList( - _list2990.size); - long _elem2991; - for (int _i2992 = 0; _i2992 < _list2990.size; ++_i2992) { - _elem2991 = iprot.readI64(); - struct.records.add(_elem2991); + _list4422.size); + long _elem4423; + for (int _i4424 = 0; _i4424 < _list4422.size; ++_i4424) { + _elem4423 = iprot.readI64(); + struct.records.add(_elem4423); } iprot.readListEnd(); } @@ -535376,8 +677875,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter2993 : struct.records) { - oprot.writeI64(_iter2993); + for (long _iter4425 : struct.records) { + oprot.writeI64(_iter4425); } oprot.writeListEnd(); } @@ -535442,8 +677941,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter2994 : struct.records) { - oprot.writeI64(_iter2994); + for (long _iter4426 : struct.records) { + oprot.writeI64(_iter4426); } } } @@ -535470,14 +677969,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list2995 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4427 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list2995.size); - long _elem2996; - for (int _i2997 = 0; _i2997 < _list2995.size; ++_i2997) { - _elem2996 = iprot.readI64(); - struct.records.add(_elem2996); + struct.records = new ArrayList(_list4427.size); + long _elem4428; + for (int _i4429 = 0; _i4429 < _list4427.size; ++_i4429) { + _elem4428 = iprot.readI64(); + struct.records.add(_elem4428); } } struct.setRecordsIsSet(true); @@ -536171,28 +678670,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map2998 = iprot + org.apache.thrift.protocol.TMap _map4430 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map2998.size); - long _key2999; - Set _val3000; - for (int _i3001 = 0; _i3001 < _map2998.size; ++_i3001) { - _key2999 = iprot.readI64(); + 2 * _map4430.size); + long _key4431; + Set _val4432; + for (int _i4433 = 0; _i4433 < _map4430.size; ++_i4433) { + _key4431 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3002 = iprot + org.apache.thrift.protocol.TSet _set4434 = iprot .readSetBegin(); - _val3000 = new LinkedHashSet( - 2 * _set3002.size); - com.cinchapi.concourse.thrift.TObject _elem3003; - for (int _i3004 = 0; _i3004 < _set3002.size; ++_i3004) { - _elem3003 = new com.cinchapi.concourse.thrift.TObject(); - _elem3003.read(iprot); - _val3000.add(_elem3003); + _val4432 = new LinkedHashSet( + 2 * _set4434.size); + com.cinchapi.concourse.thrift.TObject _elem4435; + for (int _i4436 = 0; _i4436 < _set4434.size; ++_i4436) { + _elem4435 = new com.cinchapi.concourse.thrift.TObject(); + _elem4435.read(iprot); + _val4432.add(_elem4435); } iprot.readSetEnd(); } - struct.success.put(_key2999, _val3000); + struct.success.put(_key4431, _val4432); } iprot.readMapEnd(); } @@ -536262,17 +678761,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter3005 : struct.success + for (Map.Entry> _iter4437 : struct.success .entrySet()) { - oprot.writeI64(_iter3005.getKey()); + oprot.writeI64(_iter4437.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3005.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter3006 : _iter3005 + _iter4437.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4438 : _iter4437 .getValue()) { - _iter3006.write(oprot); + _iter4438.write(oprot); } oprot.writeSetEnd(); } @@ -536334,14 +678833,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter3007 : struct.success + for (Map.Entry> _iter4439 : struct.success .entrySet()) { - oprot.writeI64(_iter3007.getKey()); + oprot.writeI64(_iter4439.getKey()); { - oprot.writeI32(_iter3007.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3008 : _iter3007 + oprot.writeI32(_iter4439.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4440 : _iter4439 .getValue()) { - _iter3008.write(oprot); + _iter4440.write(oprot); } } } @@ -536366,30 +678865,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3009 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4441 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map3009.size); - long _key3010; - Set _val3011; - for (int _i3012 = 0; _i3012 < _map3009.size; ++_i3012) { - _key3010 = iprot.readI64(); + 2 * _map4441.size); + long _key4442; + Set _val4443; + for (int _i4444 = 0; _i4444 < _map4441.size; ++_i4444) { + _key4442 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3013 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4445 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3011 = new LinkedHashSet( - 2 * _set3013.size); - com.cinchapi.concourse.thrift.TObject _elem3014; - for (int _i3015 = 0; _i3015 < _set3013.size; ++_i3015) { - _elem3014 = new com.cinchapi.concourse.thrift.TObject(); - _elem3014.read(iprot); - _val3011.add(_elem3014); + _val4443 = new LinkedHashSet( + 2 * _set4445.size); + com.cinchapi.concourse.thrift.TObject _elem4446; + for (int _i4447 = 0; _i4447 < _set4445.size; ++_i4447) { + _elem4446 = new com.cinchapi.concourse.thrift.TObject(); + _elem4446.read(iprot); + _val4443.add(_elem4446); } } - struct.success.put(_key3010, _val3011); + struct.success.put(_key4442, _val4443); } } struct.setSuccessIsSet(true); @@ -537268,14 +679767,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3016 = iprot + org.apache.thrift.protocol.TList _list4448 = iprot .readListBegin(); struct.records = new ArrayList( - _list3016.size); - long _elem3017; - for (int _i3018 = 0; _i3018 < _list3016.size; ++_i3018) { - _elem3017 = iprot.readI64(); - struct.records.add(_elem3017); + _list4448.size); + long _elem4449; + for (int _i4450 = 0; _i4450 < _list4448.size; ++_i4450) { + _elem4449 = iprot.readI64(); + struct.records.add(_elem4449); } iprot.readListEnd(); } @@ -537359,8 +679858,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter3019 : struct.records) { - oprot.writeI64(_iter3019); + for (long _iter4451 : struct.records) { + oprot.writeI64(_iter4451); } oprot.writeListEnd(); } @@ -537431,8 +679930,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter3020 : struct.records) { - oprot.writeI64(_iter3020); + for (long _iter4452 : struct.records) { + oprot.writeI64(_iter4452); } } } @@ -537462,14 +679961,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list3021 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4453 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list3021.size); - long _elem3022; - for (int _i3023 = 0; _i3023 < _list3021.size; ++_i3023) { - _elem3022 = iprot.readI64(); - struct.records.add(_elem3022); + struct.records = new ArrayList(_list4453.size); + long _elem4454; + for (int _i4455 = 0; _i4455 < _list4453.size; ++_i4455) { + _elem4454 = iprot.readI64(); + struct.records.add(_elem4454); } } struct.setRecordsIsSet(true); @@ -538169,28 +680668,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3024 = iprot + org.apache.thrift.protocol.TMap _map4456 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map3024.size); - long _key3025; - Set _val3026; - for (int _i3027 = 0; _i3027 < _map3024.size; ++_i3027) { - _key3025 = iprot.readI64(); + 2 * _map4456.size); + long _key4457; + Set _val4458; + for (int _i4459 = 0; _i4459 < _map4456.size; ++_i4459) { + _key4457 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3028 = iprot + org.apache.thrift.protocol.TSet _set4460 = iprot .readSetBegin(); - _val3026 = new LinkedHashSet( - 2 * _set3028.size); - com.cinchapi.concourse.thrift.TObject _elem3029; - for (int _i3030 = 0; _i3030 < _set3028.size; ++_i3030) { - _elem3029 = new com.cinchapi.concourse.thrift.TObject(); - _elem3029.read(iprot); - _val3026.add(_elem3029); + _val4458 = new LinkedHashSet( + 2 * _set4460.size); + com.cinchapi.concourse.thrift.TObject _elem4461; + for (int _i4462 = 0; _i4462 < _set4460.size; ++_i4462) { + _elem4461 = new com.cinchapi.concourse.thrift.TObject(); + _elem4461.read(iprot); + _val4458.add(_elem4461); } iprot.readSetEnd(); } - struct.success.put(_key3025, _val3026); + struct.success.put(_key4457, _val4458); } iprot.readMapEnd(); } @@ -538260,17 +680759,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter3031 : struct.success + for (Map.Entry> _iter4463 : struct.success .entrySet()) { - oprot.writeI64(_iter3031.getKey()); + oprot.writeI64(_iter4463.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3031.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter3032 : _iter3031 + _iter4463.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4464 : _iter4463 .getValue()) { - _iter3032.write(oprot); + _iter4464.write(oprot); } oprot.writeSetEnd(); } @@ -538332,14 +680831,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter3033 : struct.success + for (Map.Entry> _iter4465 : struct.success .entrySet()) { - oprot.writeI64(_iter3033.getKey()); + oprot.writeI64(_iter4465.getKey()); { - oprot.writeI32(_iter3033.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3034 : _iter3033 + oprot.writeI32(_iter4465.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4466 : _iter4465 .getValue()) { - _iter3034.write(oprot); + _iter4466.write(oprot); } } } @@ -538364,30 +680863,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3035 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4467 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map3035.size); - long _key3036; - Set _val3037; - for (int _i3038 = 0; _i3038 < _map3035.size; ++_i3038) { - _key3036 = iprot.readI64(); + 2 * _map4467.size); + long _key4468; + Set _val4469; + for (int _i4470 = 0; _i4470 < _map4467.size; ++_i4470) { + _key4468 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3039 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4471 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3037 = new LinkedHashSet( - 2 * _set3039.size); - com.cinchapi.concourse.thrift.TObject _elem3040; - for (int _i3041 = 0; _i3041 < _set3039.size; ++_i3041) { - _elem3040 = new com.cinchapi.concourse.thrift.TObject(); - _elem3040.read(iprot); - _val3037.add(_elem3040); + _val4469 = new LinkedHashSet( + 2 * _set4471.size); + com.cinchapi.concourse.thrift.TObject _elem4472; + for (int _i4473 = 0; _i4473 < _set4471.size; ++_i4473) { + _elem4472 = new com.cinchapi.concourse.thrift.TObject(); + _elem4472.read(iprot); + _val4469.add(_elem4472); } } - struct.success.put(_key3036, _val3037); + struct.success.put(_key4468, _val4469); } } struct.setSuccessIsSet(true); @@ -539266,14 +681765,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3042 = iprot + org.apache.thrift.protocol.TList _list4474 = iprot .readListBegin(); struct.records = new ArrayList( - _list3042.size); - long _elem3043; - for (int _i3044 = 0; _i3044 < _list3042.size; ++_i3044) { - _elem3043 = iprot.readI64(); - struct.records.add(_elem3043); + _list4474.size); + long _elem4475; + for (int _i4476 = 0; _i4476 < _list4474.size; ++_i4476) { + _elem4475 = iprot.readI64(); + struct.records.add(_elem4475); } iprot.readListEnd(); } @@ -539357,8 +681856,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter3045 : struct.records) { - oprot.writeI64(_iter3045); + for (long _iter4477 : struct.records) { + oprot.writeI64(_iter4477); } oprot.writeListEnd(); } @@ -539431,8 +681930,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter3046 : struct.records) { - oprot.writeI64(_iter3046); + for (long _iter4478 : struct.records) { + oprot.writeI64(_iter4478); } } } @@ -539462,14 +681961,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list3047 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4479 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list3047.size); - long _elem3048; - for (int _i3049 = 0; _i3049 < _list3047.size; ++_i3049) { - _elem3048 = iprot.readI64(); - struct.records.add(_elem3048); + struct.records = new ArrayList(_list4479.size); + long _elem4480; + for (int _i4481 = 0; _i4481 < _list4479.size; ++_i4481) { + _elem4480 = iprot.readI64(); + struct.records.add(_elem4480); } } struct.setRecordsIsSet(true); @@ -540265,28 +682764,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3050 = iprot + org.apache.thrift.protocol.TMap _map4482 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map3050.size); - long _key3051; - Set _val3052; - for (int _i3053 = 0; _i3053 < _map3050.size; ++_i3053) { - _key3051 = iprot.readI64(); + 2 * _map4482.size); + long _key4483; + Set _val4484; + for (int _i4485 = 0; _i4485 < _map4482.size; ++_i4485) { + _key4483 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3054 = iprot + org.apache.thrift.protocol.TSet _set4486 = iprot .readSetBegin(); - _val3052 = new LinkedHashSet( - 2 * _set3054.size); - com.cinchapi.concourse.thrift.TObject _elem3055; - for (int _i3056 = 0; _i3056 < _set3054.size; ++_i3056) { - _elem3055 = new com.cinchapi.concourse.thrift.TObject(); - _elem3055.read(iprot); - _val3052.add(_elem3055); + _val4484 = new LinkedHashSet( + 2 * _set4486.size); + com.cinchapi.concourse.thrift.TObject _elem4487; + for (int _i4488 = 0; _i4488 < _set4486.size; ++_i4488) { + _elem4487 = new com.cinchapi.concourse.thrift.TObject(); + _elem4487.read(iprot); + _val4484.add(_elem4487); } iprot.readSetEnd(); } - struct.success.put(_key3051, _val3052); + struct.success.put(_key4483, _val4484); } iprot.readMapEnd(); } @@ -540367,17 +682866,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter3057 : struct.success + for (Map.Entry> _iter4489 : struct.success .entrySet()) { - oprot.writeI64(_iter3057.getKey()); + oprot.writeI64(_iter4489.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3057.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter3058 : _iter3057 + _iter4489.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4490 : _iter4489 .getValue()) { - _iter3058.write(oprot); + _iter4490.write(oprot); } oprot.writeSetEnd(); } @@ -540447,14 +682946,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter3059 : struct.success + for (Map.Entry> _iter4491 : struct.success .entrySet()) { - oprot.writeI64(_iter3059.getKey()); + oprot.writeI64(_iter4491.getKey()); { - oprot.writeI32(_iter3059.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3060 : _iter3059 + oprot.writeI32(_iter4491.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4492 : _iter4491 .getValue()) { - _iter3060.write(oprot); + _iter4492.write(oprot); } } } @@ -540482,30 +682981,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3061 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4493 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map3061.size); - long _key3062; - Set _val3063; - for (int _i3064 = 0; _i3064 < _map3061.size; ++_i3064) { - _key3062 = iprot.readI64(); + 2 * _map4493.size); + long _key4494; + Set _val4495; + for (int _i4496 = 0; _i4496 < _map4493.size; ++_i4496) { + _key4494 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3065 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4497 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3063 = new LinkedHashSet( - 2 * _set3065.size); - com.cinchapi.concourse.thrift.TObject _elem3066; - for (int _i3067 = 0; _i3067 < _set3065.size; ++_i3067) { - _elem3066 = new com.cinchapi.concourse.thrift.TObject(); - _elem3066.read(iprot); - _val3063.add(_elem3066); + _val4495 = new LinkedHashSet( + 2 * _set4497.size); + com.cinchapi.concourse.thrift.TObject _elem4498; + for (int _i4499 = 0; _i4499 < _set4497.size; ++_i4499) { + _elem4498 = new com.cinchapi.concourse.thrift.TObject(); + _elem4498.read(iprot); + _val4495.add(_elem4498); } } - struct.success.put(_key3062, _val3063); + struct.success.put(_key4494, _val4495); } } struct.setSuccessIsSet(true); @@ -541399,14 +683898,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3068 = iprot + org.apache.thrift.protocol.TList _list4500 = iprot .readListBegin(); struct.keys = new ArrayList( - _list3068.size); - String _elem3069; - for (int _i3070 = 0; _i3070 < _list3068.size; ++_i3070) { - _elem3069 = iprot.readString(); - struct.keys.add(_elem3069); + _list4500.size); + String _elem4501; + for (int _i4502 = 0; _i4502 < _list4500.size; ++_i4502) { + _elem4501 = iprot.readString(); + struct.keys.add(_elem4501); } iprot.readListEnd(); } @@ -541420,14 +683919,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3071 = iprot + org.apache.thrift.protocol.TList _list4503 = iprot .readListBegin(); struct.records = new ArrayList( - _list3071.size); - long _elem3072; - for (int _i3073 = 0; _i3073 < _list3071.size; ++_i3073) { - _elem3072 = iprot.readI64(); - struct.records.add(_elem3072); + _list4503.size); + long _elem4504; + for (int _i4505 = 0; _i4505 < _list4503.size; ++_i4505) { + _elem4504 = iprot.readI64(); + struct.records.add(_elem4504); } iprot.readListEnd(); } @@ -541506,8 +684005,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter3074 : struct.keys) { - oprot.writeString(_iter3074); + for (String _iter4506 : struct.keys) { + oprot.writeString(_iter4506); } oprot.writeListEnd(); } @@ -541520,8 +684019,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter3075 : struct.records) { - oprot.writeI64(_iter3075); + for (long _iter4507 : struct.records) { + oprot.writeI64(_iter4507); } oprot.writeListEnd(); } @@ -541589,16 +684088,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter3076 : struct.keys) { - oprot.writeString(_iter3076); + for (String _iter4508 : struct.keys) { + oprot.writeString(_iter4508); } } } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter3077 : struct.records) { - oprot.writeI64(_iter3077); + for (long _iter4509 : struct.records) { + oprot.writeI64(_iter4509); } } } @@ -541624,28 +684123,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list3078 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4510 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list3078.size); - String _elem3079; - for (int _i3080 = 0; _i3080 < _list3078.size; ++_i3080) { - _elem3079 = iprot.readString(); - struct.keys.add(_elem3079); + struct.keys = new ArrayList(_list4510.size); + String _elem4511; + for (int _i4512 = 0; _i4512 < _list4510.size; ++_i4512) { + _elem4511 = iprot.readString(); + struct.keys.add(_elem4511); } } struct.setKeysIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list3081 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4513 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list3081.size); - long _elem3082; - for (int _i3083 = 0; _i3083 < _list3081.size; ++_i3083) { - _elem3082 = iprot.readI64(); - struct.records.add(_elem3082); + struct.records = new ArrayList(_list4513.size); + long _elem4514; + for (int _i4515 = 0; _i4515 < _list4513.size; ++_i4515) { + _elem4514 = iprot.readI64(); + struct.records.add(_elem4514); } } struct.setRecordsIsSet(true); @@ -542366,41 +684865,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3084 = iprot + org.apache.thrift.protocol.TMap _map4516 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map3084.size); - long _key3085; - Map> _val3086; - for (int _i3087 = 0; _i3087 < _map3084.size; ++_i3087) { - _key3085 = iprot.readI64(); + 2 * _map4516.size); + long _key4517; + Map> _val4518; + for (int _i4519 = 0; _i4519 < _map4516.size; ++_i4519) { + _key4517 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3088 = iprot + org.apache.thrift.protocol.TMap _map4520 = iprot .readMapBegin(); - _val3086 = new LinkedHashMap>( - 2 * _map3088.size); - String _key3089; - Set _val3090; - for (int _i3091 = 0; _i3091 < _map3088.size; ++_i3091) { - _key3089 = iprot.readString(); + _val4518 = new LinkedHashMap>( + 2 * _map4520.size); + String _key4521; + Set _val4522; + for (int _i4523 = 0; _i4523 < _map4520.size; ++_i4523) { + _key4521 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3092 = iprot + org.apache.thrift.protocol.TSet _set4524 = iprot .readSetBegin(); - _val3090 = new LinkedHashSet( - 2 * _set3092.size); - com.cinchapi.concourse.thrift.TObject _elem3093; - for (int _i3094 = 0; _i3094 < _set3092.size; ++_i3094) { - _elem3093 = new com.cinchapi.concourse.thrift.TObject(); - _elem3093.read(iprot); - _val3090.add(_elem3093); + _val4522 = new LinkedHashSet( + 2 * _set4524.size); + com.cinchapi.concourse.thrift.TObject _elem4525; + for (int _i4526 = 0; _i4526 < _set4524.size; ++_i4526) { + _elem4525 = new com.cinchapi.concourse.thrift.TObject(); + _elem4525.read(iprot); + _val4522.add(_elem4525); } iprot.readSetEnd(); } - _val3086.put(_key3089, _val3090); + _val4518.put(_key4521, _val4522); } iprot.readMapEnd(); } - struct.success.put(_key3085, _val3086); + struct.success.put(_key4517, _val4518); } iprot.readMapEnd(); } @@ -542470,27 +684969,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter3095 : struct.success + for (Map.Entry>> _iter4527 : struct.success .entrySet()) { - oprot.writeI64(_iter3095.getKey()); + oprot.writeI64(_iter4527.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter3095.getValue().size())); - for (Map.Entry> _iter3096 : _iter3095 + _iter4527.getValue().size())); + for (Map.Entry> _iter4528 : _iter4527 .getValue().entrySet()) { - oprot.writeString(_iter3096.getKey()); + oprot.writeString(_iter4528.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3096.getValue() + _iter4528.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter3097 : _iter3096 + for (com.cinchapi.concourse.thrift.TObject _iter4529 : _iter4528 .getValue()) { - _iter3097.write(oprot); + _iter4529.write(oprot); } oprot.writeSetEnd(); } @@ -542555,20 +685054,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter3098 : struct.success + for (Map.Entry>> _iter4530 : struct.success .entrySet()) { - oprot.writeI64(_iter3098.getKey()); + oprot.writeI64(_iter4530.getKey()); { - oprot.writeI32(_iter3098.getValue().size()); - for (Map.Entry> _iter3099 : _iter3098 + oprot.writeI32(_iter4530.getValue().size()); + for (Map.Entry> _iter4531 : _iter4530 .getValue().entrySet()) { - oprot.writeString(_iter3099.getKey()); + oprot.writeString(_iter4531.getKey()); { oprot.writeI32( - _iter3099.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3100 : _iter3099 + _iter4531.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4532 : _iter4531 .getValue()) { - _iter3100.write(oprot); + _iter4532.write(oprot); } } } @@ -542595,44 +685094,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(4); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3101 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4533 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map3101.size); - long _key3102; - Map> _val3103; - for (int _i3104 = 0; _i3104 < _map3101.size; ++_i3104) { - _key3102 = iprot.readI64(); + 2 * _map4533.size); + long _key4534; + Map> _val4535; + for (int _i4536 = 0; _i4536 < _map4533.size; ++_i4536) { + _key4534 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3105 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4537 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val3103 = new LinkedHashMap>( - 2 * _map3105.size); - String _key3106; - Set _val3107; - for (int _i3108 = 0; _i3108 < _map3105.size; ++_i3108) { - _key3106 = iprot.readString(); + _val4535 = new LinkedHashMap>( + 2 * _map4537.size); + String _key4538; + Set _val4539; + for (int _i4540 = 0; _i4540 < _map4537.size; ++_i4540) { + _key4538 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3109 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4541 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3107 = new LinkedHashSet( - 2 * _set3109.size); - com.cinchapi.concourse.thrift.TObject _elem3110; - for (int _i3111 = 0; _i3111 < _set3109.size; ++_i3111) { - _elem3110 = new com.cinchapi.concourse.thrift.TObject(); - _elem3110.read(iprot); - _val3107.add(_elem3110); + _val4539 = new LinkedHashSet( + 2 * _set4541.size); + com.cinchapi.concourse.thrift.TObject _elem4542; + for (int _i4543 = 0; _i4543 < _set4541.size; ++_i4543) { + _elem4542 = new com.cinchapi.concourse.thrift.TObject(); + _elem4542.read(iprot); + _val4539.add(_elem4542); } } - _val3103.put(_key3106, _val3107); + _val4535.put(_key4538, _val4539); } } - struct.success.put(_key3102, _val3103); + struct.success.put(_key4534, _val4535); } } struct.setSuccessIsSet(true); @@ -543519,14 +686018,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3112 = iprot + org.apache.thrift.protocol.TList _list4544 = iprot .readListBegin(); struct.keys = new ArrayList( - _list3112.size); - String _elem3113; - for (int _i3114 = 0; _i3114 < _list3112.size; ++_i3114) { - _elem3113 = iprot.readString(); - struct.keys.add(_elem3113); + _list4544.size); + String _elem4545; + for (int _i4546 = 0; _i4546 < _list4544.size; ++_i4546) { + _elem4545 = iprot.readString(); + struct.keys.add(_elem4545); } iprot.readListEnd(); } @@ -543540,14 +686039,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 2: // RECORDS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3115 = iprot + org.apache.thrift.protocol.TList _list4547 = iprot .readListBegin(); struct.records = new ArrayList( - _list3115.size); - long _elem3116; - for (int _i3117 = 0; _i3117 < _list3115.size; ++_i3117) { - _elem3116 = iprot.readI64(); - struct.records.add(_elem3116); + _list4547.size); + long _elem4548; + for (int _i4549 = 0; _i4549 < _list4547.size; ++_i4549) { + _elem4548 = iprot.readI64(); + struct.records.add(_elem4548); } iprot.readListEnd(); } @@ -543626,8 +686125,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter3118 : struct.keys) { - oprot.writeString(_iter3118); + for (String _iter4550 : struct.keys) { + oprot.writeString(_iter4550); } oprot.writeListEnd(); } @@ -543640,8 +686139,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, struct.records.size())); - for (long _iter3119 : struct.records) { - oprot.writeI64(_iter3119); + for (long _iter4551 : struct.records) { + oprot.writeI64(_iter4551); } oprot.writeListEnd(); } @@ -543711,16 +686210,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter3120 : struct.keys) { - oprot.writeString(_iter3120); + for (String _iter4552 : struct.keys) { + oprot.writeString(_iter4552); } } } if(struct.isSetRecords()) { { oprot.writeI32(struct.records.size()); - for (long _iter3121 : struct.records) { - oprot.writeI64(_iter3121); + for (long _iter4553 : struct.records) { + oprot.writeI64(_iter4553); } } } @@ -543746,28 +686245,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list3122 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4554 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list3122.size); - String _elem3123; - for (int _i3124 = 0; _i3124 < _list3122.size; ++_i3124) { - _elem3123 = iprot.readString(); - struct.keys.add(_elem3123); + struct.keys = new ArrayList(_list4554.size); + String _elem4555; + for (int _i4556 = 0; _i4556 < _list4554.size; ++_i4556) { + _elem4555 = iprot.readString(); + struct.keys.add(_elem4555); } } struct.setKeysIsSet(true); } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list3125 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4557 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.records = new ArrayList(_list3125.size); - long _elem3126; - for (int _i3127 = 0; _i3127 < _list3125.size; ++_i3127) { - _elem3126 = iprot.readI64(); - struct.records.add(_elem3126); + struct.records = new ArrayList(_list4557.size); + long _elem4558; + for (int _i4559 = 0; _i4559 < _list4557.size; ++_i4559) { + _elem4558 = iprot.readI64(); + struct.records.add(_elem4558); } } struct.setRecordsIsSet(true); @@ -544584,41 +687083,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3128 = iprot + org.apache.thrift.protocol.TMap _map4560 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map3128.size); - long _key3129; - Map> _val3130; - for (int _i3131 = 0; _i3131 < _map3128.size; ++_i3131) { - _key3129 = iprot.readI64(); + 2 * _map4560.size); + long _key4561; + Map> _val4562; + for (int _i4563 = 0; _i4563 < _map4560.size; ++_i4563) { + _key4561 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3132 = iprot + org.apache.thrift.protocol.TMap _map4564 = iprot .readMapBegin(); - _val3130 = new LinkedHashMap>( - 2 * _map3132.size); - String _key3133; - Set _val3134; - for (int _i3135 = 0; _i3135 < _map3132.size; ++_i3135) { - _key3133 = iprot.readString(); + _val4562 = new LinkedHashMap>( + 2 * _map4564.size); + String _key4565; + Set _val4566; + for (int _i4567 = 0; _i4567 < _map4564.size; ++_i4567) { + _key4565 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3136 = iprot + org.apache.thrift.protocol.TSet _set4568 = iprot .readSetBegin(); - _val3134 = new LinkedHashSet( - 2 * _set3136.size); - com.cinchapi.concourse.thrift.TObject _elem3137; - for (int _i3138 = 0; _i3138 < _set3136.size; ++_i3138) { - _elem3137 = new com.cinchapi.concourse.thrift.TObject(); - _elem3137.read(iprot); - _val3134.add(_elem3137); + _val4566 = new LinkedHashSet( + 2 * _set4568.size); + com.cinchapi.concourse.thrift.TObject _elem4569; + for (int _i4570 = 0; _i4570 < _set4568.size; ++_i4570) { + _elem4569 = new com.cinchapi.concourse.thrift.TObject(); + _elem4569.read(iprot); + _val4566.add(_elem4569); } iprot.readSetEnd(); } - _val3130.put(_key3133, _val3134); + _val4562.put(_key4565, _val4566); } iprot.readMapEnd(); } - struct.success.put(_key3129, _val3130); + struct.success.put(_key4561, _val4562); } iprot.readMapEnd(); } @@ -544699,27 +687198,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter3139 : struct.success + for (Map.Entry>> _iter4571 : struct.success .entrySet()) { - oprot.writeI64(_iter3139.getKey()); + oprot.writeI64(_iter4571.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter3139.getValue().size())); - for (Map.Entry> _iter3140 : _iter3139 + _iter4571.getValue().size())); + for (Map.Entry> _iter4572 : _iter4571 .getValue().entrySet()) { - oprot.writeString(_iter3140.getKey()); + oprot.writeString(_iter4572.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3140.getValue() + _iter4572.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter3141 : _iter3140 + for (com.cinchapi.concourse.thrift.TObject _iter4573 : _iter4572 .getValue()) { - _iter3141.write(oprot); + _iter4573.write(oprot); } oprot.writeSetEnd(); } @@ -544792,20 +687291,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter3142 : struct.success + for (Map.Entry>> _iter4574 : struct.success .entrySet()) { - oprot.writeI64(_iter3142.getKey()); + oprot.writeI64(_iter4574.getKey()); { - oprot.writeI32(_iter3142.getValue().size()); - for (Map.Entry> _iter3143 : _iter3142 + oprot.writeI32(_iter4574.getValue().size()); + for (Map.Entry> _iter4575 : _iter4574 .getValue().entrySet()) { - oprot.writeString(_iter3143.getKey()); + oprot.writeString(_iter4575.getKey()); { oprot.writeI32( - _iter3143.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3144 : _iter3143 + _iter4575.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4576 : _iter4575 .getValue()) { - _iter3144.write(oprot); + _iter4576.write(oprot); } } } @@ -544835,44 +687334,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3145 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4577 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map3145.size); - long _key3146; - Map> _val3147; - for (int _i3148 = 0; _i3148 < _map3145.size; ++_i3148) { - _key3146 = iprot.readI64(); + 2 * _map4577.size); + long _key4578; + Map> _val4579; + for (int _i4580 = 0; _i4580 < _map4577.size; ++_i4580) { + _key4578 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3149 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4581 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val3147 = new LinkedHashMap>( - 2 * _map3149.size); - String _key3150; - Set _val3151; - for (int _i3152 = 0; _i3152 < _map3149.size; ++_i3152) { - _key3150 = iprot.readString(); + _val4579 = new LinkedHashMap>( + 2 * _map4581.size); + String _key4582; + Set _val4583; + for (int _i4584 = 0; _i4584 < _map4581.size; ++_i4584) { + _key4582 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3153 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4585 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3151 = new LinkedHashSet( - 2 * _set3153.size); - com.cinchapi.concourse.thrift.TObject _elem3154; - for (int _i3155 = 0; _i3155 < _set3153.size; ++_i3155) { - _elem3154 = new com.cinchapi.concourse.thrift.TObject(); - _elem3154.read(iprot); - _val3151.add(_elem3154); + _val4583 = new LinkedHashSet( + 2 * _set4585.size); + com.cinchapi.concourse.thrift.TObject _elem4586; + for (int _i4587 = 0; _i4587 < _set4585.size; ++_i4587) { + _elem4586 = new com.cinchapi.concourse.thrift.TObject(); + _elem4586.read(iprot); + _val4583.add(_elem4586); } } - _val3147.put(_key3150, _val3151); + _val4579.put(_key4582, _val4583); } } - struct.success.put(_key3146, _val3147); + struct.success.put(_key4578, _val4579); } } struct.setSuccessIsSet(true); @@ -546577,28 +689076,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3156 = iprot + org.apache.thrift.protocol.TMap _map4588 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map3156.size); - long _key3157; - Set _val3158; - for (int _i3159 = 0; _i3159 < _map3156.size; ++_i3159) { - _key3157 = iprot.readI64(); + 2 * _map4588.size); + long _key4589; + Set _val4590; + for (int _i4591 = 0; _i4591 < _map4588.size; ++_i4591) { + _key4589 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3160 = iprot + org.apache.thrift.protocol.TSet _set4592 = iprot .readSetBegin(); - _val3158 = new LinkedHashSet( - 2 * _set3160.size); - com.cinchapi.concourse.thrift.TObject _elem3161; - for (int _i3162 = 0; _i3162 < _set3160.size; ++_i3162) { - _elem3161 = new com.cinchapi.concourse.thrift.TObject(); - _elem3161.read(iprot); - _val3158.add(_elem3161); + _val4590 = new LinkedHashSet( + 2 * _set4592.size); + com.cinchapi.concourse.thrift.TObject _elem4593; + for (int _i4594 = 0; _i4594 < _set4592.size; ++_i4594) { + _elem4593 = new com.cinchapi.concourse.thrift.TObject(); + _elem4593.read(iprot); + _val4590.add(_elem4593); } iprot.readSetEnd(); } - struct.success.put(_key3157, _val3158); + struct.success.put(_key4589, _val4590); } iprot.readMapEnd(); } @@ -546679,17 +689178,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter3163 : struct.success + for (Map.Entry> _iter4595 : struct.success .entrySet()) { - oprot.writeI64(_iter3163.getKey()); + oprot.writeI64(_iter4595.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3163.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter3164 : _iter3163 + _iter4595.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4596 : _iter4595 .getValue()) { - _iter3164.write(oprot); + _iter4596.write(oprot); } oprot.writeSetEnd(); } @@ -546759,14 +689258,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter3165 : struct.success + for (Map.Entry> _iter4597 : struct.success .entrySet()) { - oprot.writeI64(_iter3165.getKey()); + oprot.writeI64(_iter4597.getKey()); { - oprot.writeI32(_iter3165.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3166 : _iter3165 + oprot.writeI32(_iter4597.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4598 : _iter4597 .getValue()) { - _iter3166.write(oprot); + _iter4598.write(oprot); } } } @@ -546794,30 +689293,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3167 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4599 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map3167.size); - long _key3168; - Set _val3169; - for (int _i3170 = 0; _i3170 < _map3167.size; ++_i3170) { - _key3168 = iprot.readI64(); + 2 * _map4599.size); + long _key4600; + Set _val4601; + for (int _i4602 = 0; _i4602 < _map4599.size; ++_i4602) { + _key4600 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3171 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4603 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3169 = new LinkedHashSet( - 2 * _set3171.size); - com.cinchapi.concourse.thrift.TObject _elem3172; - for (int _i3173 = 0; _i3173 < _set3171.size; ++_i3173) { - _elem3172 = new com.cinchapi.concourse.thrift.TObject(); - _elem3172.read(iprot); - _val3169.add(_elem3172); + _val4601 = new LinkedHashSet( + 2 * _set4603.size); + com.cinchapi.concourse.thrift.TObject _elem4604; + for (int _i4605 = 0; _i4605 < _set4603.size; ++_i4605) { + _elem4604 = new com.cinchapi.concourse.thrift.TObject(); + _elem4604.read(iprot); + _val4601.add(_elem4604); } } - struct.success.put(_key3168, _val3169); + struct.success.put(_key4600, _val4601); } } struct.setSuccessIsSet(true); @@ -548642,28 +691141,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3174 = iprot + org.apache.thrift.protocol.TMap _map4606 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map3174.size); - long _key3175; - Set _val3176; - for (int _i3177 = 0; _i3177 < _map3174.size; ++_i3177) { - _key3175 = iprot.readI64(); + 2 * _map4606.size); + long _key4607; + Set _val4608; + for (int _i4609 = 0; _i4609 < _map4606.size; ++_i4609) { + _key4607 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3178 = iprot + org.apache.thrift.protocol.TSet _set4610 = iprot .readSetBegin(); - _val3176 = new LinkedHashSet( - 2 * _set3178.size); - com.cinchapi.concourse.thrift.TObject _elem3179; - for (int _i3180 = 0; _i3180 < _set3178.size; ++_i3180) { - _elem3179 = new com.cinchapi.concourse.thrift.TObject(); - _elem3179.read(iprot); - _val3176.add(_elem3179); + _val4608 = new LinkedHashSet( + 2 * _set4610.size); + com.cinchapi.concourse.thrift.TObject _elem4611; + for (int _i4612 = 0; _i4612 < _set4610.size; ++_i4612) { + _elem4611 = new com.cinchapi.concourse.thrift.TObject(); + _elem4611.read(iprot); + _val4608.add(_elem4611); } iprot.readSetEnd(); } - struct.success.put(_key3175, _val3176); + struct.success.put(_key4607, _val4608); } iprot.readMapEnd(); } @@ -548744,17 +691243,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter3181 : struct.success + for (Map.Entry> _iter4613 : struct.success .entrySet()) { - oprot.writeI64(_iter3181.getKey()); + oprot.writeI64(_iter4613.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3181.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter3182 : _iter3181 + _iter4613.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4614 : _iter4613 .getValue()) { - _iter3182.write(oprot); + _iter4614.write(oprot); } oprot.writeSetEnd(); } @@ -548824,14 +691323,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter3183 : struct.success + for (Map.Entry> _iter4615 : struct.success .entrySet()) { - oprot.writeI64(_iter3183.getKey()); + oprot.writeI64(_iter4615.getKey()); { - oprot.writeI32(_iter3183.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3184 : _iter3183 + oprot.writeI32(_iter4615.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4616 : _iter4615 .getValue()) { - _iter3184.write(oprot); + _iter4616.write(oprot); } } } @@ -548859,30 +691358,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3185 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4617 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map3185.size); - long _key3186; - Set _val3187; - for (int _i3188 = 0; _i3188 < _map3185.size; ++_i3188) { - _key3186 = iprot.readI64(); + 2 * _map4617.size); + long _key4618; + Set _val4619; + for (int _i4620 = 0; _i4620 < _map4617.size; ++_i4620) { + _key4618 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3189 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4621 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3187 = new LinkedHashSet( - 2 * _set3189.size); - com.cinchapi.concourse.thrift.TObject _elem3190; - for (int _i3191 = 0; _i3191 < _set3189.size; ++_i3191) { - _elem3190 = new com.cinchapi.concourse.thrift.TObject(); - _elem3190.read(iprot); - _val3187.add(_elem3190); + _val4619 = new LinkedHashSet( + 2 * _set4621.size); + com.cinchapi.concourse.thrift.TObject _elem4622; + for (int _i4623 = 0; _i4623 < _set4621.size; ++_i4623) { + _elem4622 = new com.cinchapi.concourse.thrift.TObject(); + _elem4622.read(iprot); + _val4619.add(_elem4622); } } - struct.success.put(_key3186, _val3187); + struct.success.put(_key4618, _val4619); } } struct.setSuccessIsSet(true); @@ -550709,28 +693208,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3192 = iprot + org.apache.thrift.protocol.TMap _map4624 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map3192.size); - long _key3193; - Set _val3194; - for (int _i3195 = 0; _i3195 < _map3192.size; ++_i3195) { - _key3193 = iprot.readI64(); + 2 * _map4624.size); + long _key4625; + Set _val4626; + for (int _i4627 = 0; _i4627 < _map4624.size; ++_i4627) { + _key4625 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3196 = iprot + org.apache.thrift.protocol.TSet _set4628 = iprot .readSetBegin(); - _val3194 = new LinkedHashSet( - 2 * _set3196.size); - com.cinchapi.concourse.thrift.TObject _elem3197; - for (int _i3198 = 0; _i3198 < _set3196.size; ++_i3198) { - _elem3197 = new com.cinchapi.concourse.thrift.TObject(); - _elem3197.read(iprot); - _val3194.add(_elem3197); + _val4626 = new LinkedHashSet( + 2 * _set4628.size); + com.cinchapi.concourse.thrift.TObject _elem4629; + for (int _i4630 = 0; _i4630 < _set4628.size; ++_i4630) { + _elem4629 = new com.cinchapi.concourse.thrift.TObject(); + _elem4629.read(iprot); + _val4626.add(_elem4629); } iprot.readSetEnd(); } - struct.success.put(_key3193, _val3194); + struct.success.put(_key4625, _val4626); } iprot.readMapEnd(); } @@ -550811,17 +693310,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter3199 : struct.success + for (Map.Entry> _iter4631 : struct.success .entrySet()) { - oprot.writeI64(_iter3199.getKey()); + oprot.writeI64(_iter4631.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3199.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter3200 : _iter3199 + _iter4631.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4632 : _iter4631 .getValue()) { - _iter3200.write(oprot); + _iter4632.write(oprot); } oprot.writeSetEnd(); } @@ -550891,14 +693390,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter3201 : struct.success + for (Map.Entry> _iter4633 : struct.success .entrySet()) { - oprot.writeI64(_iter3201.getKey()); + oprot.writeI64(_iter4633.getKey()); { - oprot.writeI32(_iter3201.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3202 : _iter3201 + oprot.writeI32(_iter4633.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4634 : _iter4633 .getValue()) { - _iter3202.write(oprot); + _iter4634.write(oprot); } } } @@ -550926,30 +693425,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3203 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4635 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map3203.size); - long _key3204; - Set _val3205; - for (int _i3206 = 0; _i3206 < _map3203.size; ++_i3206) { - _key3204 = iprot.readI64(); + 2 * _map4635.size); + long _key4636; + Set _val4637; + for (int _i4638 = 0; _i4638 < _map4635.size; ++_i4638) { + _key4636 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3207 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4639 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3205 = new LinkedHashSet( - 2 * _set3207.size); - com.cinchapi.concourse.thrift.TObject _elem3208; - for (int _i3209 = 0; _i3209 < _set3207.size; ++_i3209) { - _elem3208 = new com.cinchapi.concourse.thrift.TObject(); - _elem3208.read(iprot); - _val3205.add(_elem3208); + _val4637 = new LinkedHashSet( + 2 * _set4639.size); + com.cinchapi.concourse.thrift.TObject _elem4640; + for (int _i4641 = 0; _i4641 < _set4639.size; ++_i4641) { + _elem4640 = new com.cinchapi.concourse.thrift.TObject(); + _elem4640.read(iprot); + _val4637.add(_elem4640); } } - struct.success.put(_key3204, _val3205); + struct.success.put(_key4636, _val4637); } } struct.setSuccessIsSet(true); @@ -551725,14 +694224,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3210 = iprot + org.apache.thrift.protocol.TList _list4642 = iprot .readListBegin(); struct.keys = new ArrayList( - _list3210.size); - String _elem3211; - for (int _i3212 = 0; _i3212 < _list3210.size; ++_i3212) { - _elem3211 = iprot.readString(); - struct.keys.add(_elem3211); + _list4642.size); + String _elem4643; + for (int _i4644 = 0; _i4644 < _list4642.size; ++_i4644) { + _elem4643 = iprot.readString(); + struct.keys.add(_elem4643); } iprot.readListEnd(); } @@ -551811,8 +694310,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter3213 : struct.keys) { - oprot.writeString(_iter3213); + for (String _iter4645 : struct.keys) { + oprot.writeString(_iter4645); } oprot.writeListEnd(); } @@ -551879,8 +694378,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter3214 : struct.keys) { - oprot.writeString(_iter3214); + for (String _iter4646 : struct.keys) { + oprot.writeString(_iter4646); } } } @@ -551906,14 +694405,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list3215 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4647 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list3215.size); - String _elem3216; - for (int _i3217 = 0; _i3217 < _list3215.size; ++_i3217) { - _elem3216 = iprot.readString(); - struct.keys.add(_elem3216); + struct.keys = new ArrayList(_list4647.size); + String _elem4648; + for (int _i4649 = 0; _i4649 < _list4647.size; ++_i4649) { + _elem4648 = iprot.readString(); + struct.keys.add(_elem4648); } } struct.setKeysIsSet(true); @@ -552728,41 +695227,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3218 = iprot + org.apache.thrift.protocol.TMap _map4650 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map3218.size); - long _key3219; - Map> _val3220; - for (int _i3221 = 0; _i3221 < _map3218.size; ++_i3221) { - _key3219 = iprot.readI64(); + 2 * _map4650.size); + long _key4651; + Map> _val4652; + for (int _i4653 = 0; _i4653 < _map4650.size; ++_i4653) { + _key4651 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3222 = iprot + org.apache.thrift.protocol.TMap _map4654 = iprot .readMapBegin(); - _val3220 = new LinkedHashMap>( - 2 * _map3222.size); - String _key3223; - Set _val3224; - for (int _i3225 = 0; _i3225 < _map3222.size; ++_i3225) { - _key3223 = iprot.readString(); + _val4652 = new LinkedHashMap>( + 2 * _map4654.size); + String _key4655; + Set _val4656; + for (int _i4657 = 0; _i4657 < _map4654.size; ++_i4657) { + _key4655 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3226 = iprot + org.apache.thrift.protocol.TSet _set4658 = iprot .readSetBegin(); - _val3224 = new LinkedHashSet( - 2 * _set3226.size); - com.cinchapi.concourse.thrift.TObject _elem3227; - for (int _i3228 = 0; _i3228 < _set3226.size; ++_i3228) { - _elem3227 = new com.cinchapi.concourse.thrift.TObject(); - _elem3227.read(iprot); - _val3224.add(_elem3227); + _val4656 = new LinkedHashSet( + 2 * _set4658.size); + com.cinchapi.concourse.thrift.TObject _elem4659; + for (int _i4660 = 0; _i4660 < _set4658.size; ++_i4660) { + _elem4659 = new com.cinchapi.concourse.thrift.TObject(); + _elem4659.read(iprot); + _val4656.add(_elem4659); } iprot.readSetEnd(); } - _val3220.put(_key3223, _val3224); + _val4652.put(_key4655, _val4656); } iprot.readMapEnd(); } - struct.success.put(_key3219, _val3220); + struct.success.put(_key4651, _val4652); } iprot.readMapEnd(); } @@ -552843,27 +695342,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter3229 : struct.success + for (Map.Entry>> _iter4661 : struct.success .entrySet()) { - oprot.writeI64(_iter3229.getKey()); + oprot.writeI64(_iter4661.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter3229.getValue().size())); - for (Map.Entry> _iter3230 : _iter3229 + _iter4661.getValue().size())); + for (Map.Entry> _iter4662 : _iter4661 .getValue().entrySet()) { - oprot.writeString(_iter3230.getKey()); + oprot.writeString(_iter4662.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3230.getValue() + _iter4662.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter3231 : _iter3230 + for (com.cinchapi.concourse.thrift.TObject _iter4663 : _iter4662 .getValue()) { - _iter3231.write(oprot); + _iter4663.write(oprot); } oprot.writeSetEnd(); } @@ -552936,20 +695435,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter3232 : struct.success + for (Map.Entry>> _iter4664 : struct.success .entrySet()) { - oprot.writeI64(_iter3232.getKey()); + oprot.writeI64(_iter4664.getKey()); { - oprot.writeI32(_iter3232.getValue().size()); - for (Map.Entry> _iter3233 : _iter3232 + oprot.writeI32(_iter4664.getValue().size()); + for (Map.Entry> _iter4665 : _iter4664 .getValue().entrySet()) { - oprot.writeString(_iter3233.getKey()); + oprot.writeString(_iter4665.getKey()); { oprot.writeI32( - _iter3233.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3234 : _iter3233 + _iter4665.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4666 : _iter4665 .getValue()) { - _iter3234.write(oprot); + _iter4666.write(oprot); } } } @@ -552979,44 +695478,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3235 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4667 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map3235.size); - long _key3236; - Map> _val3237; - for (int _i3238 = 0; _i3238 < _map3235.size; ++_i3238) { - _key3236 = iprot.readI64(); + 2 * _map4667.size); + long _key4668; + Map> _val4669; + for (int _i4670 = 0; _i4670 < _map4667.size; ++_i4670) { + _key4668 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3239 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4671 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val3237 = new LinkedHashMap>( - 2 * _map3239.size); - String _key3240; - Set _val3241; - for (int _i3242 = 0; _i3242 < _map3239.size; ++_i3242) { - _key3240 = iprot.readString(); + _val4669 = new LinkedHashMap>( + 2 * _map4671.size); + String _key4672; + Set _val4673; + for (int _i4674 = 0; _i4674 < _map4671.size; ++_i4674) { + _key4672 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3243 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4675 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3241 = new LinkedHashSet( - 2 * _set3243.size); - com.cinchapi.concourse.thrift.TObject _elem3244; - for (int _i3245 = 0; _i3245 < _set3243.size; ++_i3245) { - _elem3244 = new com.cinchapi.concourse.thrift.TObject(); - _elem3244.read(iprot); - _val3241.add(_elem3244); + _val4673 = new LinkedHashSet( + 2 * _set4675.size); + com.cinchapi.concourse.thrift.TObject _elem4676; + for (int _i4677 = 0; _i4677 < _set4675.size; ++_i4677) { + _elem4676 = new com.cinchapi.concourse.thrift.TObject(); + _elem4676.read(iprot); + _val4673.add(_elem4676); } } - _val3237.put(_key3240, _val3241); + _val4669.put(_key4672, _val4673); } } - struct.success.put(_key3236, _val3237); + struct.success.put(_key4668, _val4669); } } struct.setSuccessIsSet(true); @@ -553889,14 +696388,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3246 = iprot + org.apache.thrift.protocol.TList _list4678 = iprot .readListBegin(); struct.keys = new ArrayList( - _list3246.size); - String _elem3247; - for (int _i3248 = 0; _i3248 < _list3246.size; ++_i3248) { - _elem3247 = iprot.readString(); - struct.keys.add(_elem3247); + _list4678.size); + String _elem4679; + for (int _i4680 = 0; _i4680 < _list4678.size; ++_i4680) { + _elem4679 = iprot.readString(); + struct.keys.add(_elem4679); } iprot.readListEnd(); } @@ -553985,8 +696484,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter3249 : struct.keys) { - oprot.writeString(_iter3249); + for (String _iter4681 : struct.keys) { + oprot.writeString(_iter4681); } oprot.writeListEnd(); } @@ -554059,8 +696558,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter3250 : struct.keys) { - oprot.writeString(_iter3250); + for (String _iter4682 : struct.keys) { + oprot.writeString(_iter4682); } } } @@ -554089,14 +696588,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list3251 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4683 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list3251.size); - String _elem3252; - for (int _i3253 = 0; _i3253 < _list3251.size; ++_i3253) { - _elem3252 = iprot.readString(); - struct.keys.add(_elem3252); + struct.keys = new ArrayList(_list4683.size); + String _elem4684; + for (int _i4685 = 0; _i4685 < _list4683.size; ++_i4685) { + _elem4684 = iprot.readString(); + struct.keys.add(_elem4684); } } struct.setKeysIsSet(true); @@ -554915,41 +697414,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3254 = iprot + org.apache.thrift.protocol.TMap _map4686 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map3254.size); - long _key3255; - Map> _val3256; - for (int _i3257 = 0; _i3257 < _map3254.size; ++_i3257) { - _key3255 = iprot.readI64(); + 2 * _map4686.size); + long _key4687; + Map> _val4688; + for (int _i4689 = 0; _i4689 < _map4686.size; ++_i4689) { + _key4687 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3258 = iprot + org.apache.thrift.protocol.TMap _map4690 = iprot .readMapBegin(); - _val3256 = new LinkedHashMap>( - 2 * _map3258.size); - String _key3259; - Set _val3260; - for (int _i3261 = 0; _i3261 < _map3258.size; ++_i3261) { - _key3259 = iprot.readString(); + _val4688 = new LinkedHashMap>( + 2 * _map4690.size); + String _key4691; + Set _val4692; + for (int _i4693 = 0; _i4693 < _map4690.size; ++_i4693) { + _key4691 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3262 = iprot + org.apache.thrift.protocol.TSet _set4694 = iprot .readSetBegin(); - _val3260 = new LinkedHashSet( - 2 * _set3262.size); - com.cinchapi.concourse.thrift.TObject _elem3263; - for (int _i3264 = 0; _i3264 < _set3262.size; ++_i3264) { - _elem3263 = new com.cinchapi.concourse.thrift.TObject(); - _elem3263.read(iprot); - _val3260.add(_elem3263); + _val4692 = new LinkedHashSet( + 2 * _set4694.size); + com.cinchapi.concourse.thrift.TObject _elem4695; + for (int _i4696 = 0; _i4696 < _set4694.size; ++_i4696) { + _elem4695 = new com.cinchapi.concourse.thrift.TObject(); + _elem4695.read(iprot); + _val4692.add(_elem4695); } iprot.readSetEnd(); } - _val3256.put(_key3259, _val3260); + _val4688.put(_key4691, _val4692); } iprot.readMapEnd(); } - struct.success.put(_key3255, _val3256); + struct.success.put(_key4687, _val4688); } iprot.readMapEnd(); } @@ -555030,27 +697529,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter3265 : struct.success + for (Map.Entry>> _iter4697 : struct.success .entrySet()) { - oprot.writeI64(_iter3265.getKey()); + oprot.writeI64(_iter4697.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter3265.getValue().size())); - for (Map.Entry> _iter3266 : _iter3265 + _iter4697.getValue().size())); + for (Map.Entry> _iter4698 : _iter4697 .getValue().entrySet()) { - oprot.writeString(_iter3266.getKey()); + oprot.writeString(_iter4698.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3266.getValue() + _iter4698.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter3267 : _iter3266 + for (com.cinchapi.concourse.thrift.TObject _iter4699 : _iter4698 .getValue()) { - _iter3267.write(oprot); + _iter4699.write(oprot); } oprot.writeSetEnd(); } @@ -555123,20 +697622,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter3268 : struct.success + for (Map.Entry>> _iter4700 : struct.success .entrySet()) { - oprot.writeI64(_iter3268.getKey()); + oprot.writeI64(_iter4700.getKey()); { - oprot.writeI32(_iter3268.getValue().size()); - for (Map.Entry> _iter3269 : _iter3268 + oprot.writeI32(_iter4700.getValue().size()); + for (Map.Entry> _iter4701 : _iter4700 .getValue().entrySet()) { - oprot.writeString(_iter3269.getKey()); + oprot.writeString(_iter4701.getKey()); { oprot.writeI32( - _iter3269.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3270 : _iter3269 + _iter4701.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4702 : _iter4701 .getValue()) { - _iter3270.write(oprot); + _iter4702.write(oprot); } } } @@ -555166,44 +697665,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3271 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4703 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map3271.size); - long _key3272; - Map> _val3273; - for (int _i3274 = 0; _i3274 < _map3271.size; ++_i3274) { - _key3272 = iprot.readI64(); + 2 * _map4703.size); + long _key4704; + Map> _val4705; + for (int _i4706 = 0; _i4706 < _map4703.size; ++_i4706) { + _key4704 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3275 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4707 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val3273 = new LinkedHashMap>( - 2 * _map3275.size); - String _key3276; - Set _val3277; - for (int _i3278 = 0; _i3278 < _map3275.size; ++_i3278) { - _key3276 = iprot.readString(); + _val4705 = new LinkedHashMap>( + 2 * _map4707.size); + String _key4708; + Set _val4709; + for (int _i4710 = 0; _i4710 < _map4707.size; ++_i4710) { + _key4708 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3279 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4711 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3277 = new LinkedHashSet( - 2 * _set3279.size); - com.cinchapi.concourse.thrift.TObject _elem3280; - for (int _i3281 = 0; _i3281 < _set3279.size; ++_i3281) { - _elem3280 = new com.cinchapi.concourse.thrift.TObject(); - _elem3280.read(iprot); - _val3277.add(_elem3280); + _val4709 = new LinkedHashSet( + 2 * _set4711.size); + com.cinchapi.concourse.thrift.TObject _elem4712; + for (int _i4713 = 0; _i4713 < _set4711.size; ++_i4713) { + _elem4712 = new com.cinchapi.concourse.thrift.TObject(); + _elem4712.read(iprot); + _val4709.add(_elem4712); } } - _val3273.put(_key3276, _val3277); + _val4705.put(_key4708, _val4709); } } - struct.success.put(_key3272, _val3273); + struct.success.put(_key4704, _val4705); } } struct.setSuccessIsSet(true); @@ -556075,14 +698574,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3282 = iprot + org.apache.thrift.protocol.TList _list4714 = iprot .readListBegin(); struct.keys = new ArrayList( - _list3282.size); - String _elem3283; - for (int _i3284 = 0; _i3284 < _list3282.size; ++_i3284) { - _elem3283 = iprot.readString(); - struct.keys.add(_elem3283); + _list4714.size); + String _elem4715; + for (int _i4716 = 0; _i4716 < _list4714.size; ++_i4716) { + _elem4715 = iprot.readString(); + struct.keys.add(_elem4715); } iprot.readListEnd(); } @@ -556171,8 +698670,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter3285 : struct.keys) { - oprot.writeString(_iter3285); + for (String _iter4717 : struct.keys) { + oprot.writeString(_iter4717); } oprot.writeListEnd(); } @@ -556247,8 +698746,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter3286 : struct.keys) { - oprot.writeString(_iter3286); + for (String _iter4718 : struct.keys) { + oprot.writeString(_iter4718); } } } @@ -556277,14 +698776,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list3287 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4719 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list3287.size); - String _elem3288; - for (int _i3289 = 0; _i3289 < _list3287.size; ++_i3289) { - _elem3288 = iprot.readString(); - struct.keys.add(_elem3288); + struct.keys = new ArrayList(_list4719.size); + String _elem4720; + for (int _i4721 = 0; _i4721 < _list4719.size; ++_i4721) { + _elem4720 = iprot.readString(); + struct.keys.add(_elem4720); } } struct.setKeysIsSet(true); @@ -557105,41 +699604,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3290 = iprot + org.apache.thrift.protocol.TMap _map4722 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map3290.size); - long _key3291; - Map> _val3292; - for (int _i3293 = 0; _i3293 < _map3290.size; ++_i3293) { - _key3291 = iprot.readI64(); + 2 * _map4722.size); + long _key4723; + Map> _val4724; + for (int _i4725 = 0; _i4725 < _map4722.size; ++_i4725) { + _key4723 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3294 = iprot + org.apache.thrift.protocol.TMap _map4726 = iprot .readMapBegin(); - _val3292 = new LinkedHashMap>( - 2 * _map3294.size); - String _key3295; - Set _val3296; - for (int _i3297 = 0; _i3297 < _map3294.size; ++_i3297) { - _key3295 = iprot.readString(); + _val4724 = new LinkedHashMap>( + 2 * _map4726.size); + String _key4727; + Set _val4728; + for (int _i4729 = 0; _i4729 < _map4726.size; ++_i4729) { + _key4727 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3298 = iprot + org.apache.thrift.protocol.TSet _set4730 = iprot .readSetBegin(); - _val3296 = new LinkedHashSet( - 2 * _set3298.size); - com.cinchapi.concourse.thrift.TObject _elem3299; - for (int _i3300 = 0; _i3300 < _set3298.size; ++_i3300) { - _elem3299 = new com.cinchapi.concourse.thrift.TObject(); - _elem3299.read(iprot); - _val3296.add(_elem3299); + _val4728 = new LinkedHashSet( + 2 * _set4730.size); + com.cinchapi.concourse.thrift.TObject _elem4731; + for (int _i4732 = 0; _i4732 < _set4730.size; ++_i4732) { + _elem4731 = new com.cinchapi.concourse.thrift.TObject(); + _elem4731.read(iprot); + _val4728.add(_elem4731); } iprot.readSetEnd(); } - _val3292.put(_key3295, _val3296); + _val4724.put(_key4727, _val4728); } iprot.readMapEnd(); } - struct.success.put(_key3291, _val3292); + struct.success.put(_key4723, _val4724); } iprot.readMapEnd(); } @@ -557220,27 +699719,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter3301 : struct.success + for (Map.Entry>> _iter4733 : struct.success .entrySet()) { - oprot.writeI64(_iter3301.getKey()); + oprot.writeI64(_iter4733.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter3301.getValue().size())); - for (Map.Entry> _iter3302 : _iter3301 + _iter4733.getValue().size())); + for (Map.Entry> _iter4734 : _iter4733 .getValue().entrySet()) { - oprot.writeString(_iter3302.getKey()); + oprot.writeString(_iter4734.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3302.getValue() + _iter4734.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter3303 : _iter3302 + for (com.cinchapi.concourse.thrift.TObject _iter4735 : _iter4734 .getValue()) { - _iter3303.write(oprot); + _iter4735.write(oprot); } oprot.writeSetEnd(); } @@ -557313,20 +699812,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter3304 : struct.success + for (Map.Entry>> _iter4736 : struct.success .entrySet()) { - oprot.writeI64(_iter3304.getKey()); + oprot.writeI64(_iter4736.getKey()); { - oprot.writeI32(_iter3304.getValue().size()); - for (Map.Entry> _iter3305 : _iter3304 + oprot.writeI32(_iter4736.getValue().size()); + for (Map.Entry> _iter4737 : _iter4736 .getValue().entrySet()) { - oprot.writeString(_iter3305.getKey()); + oprot.writeString(_iter4737.getKey()); { oprot.writeI32( - _iter3305.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3306 : _iter3305 + _iter4737.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4738 : _iter4737 .getValue()) { - _iter3306.write(oprot); + _iter4738.write(oprot); } } } @@ -557356,44 +699855,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3307 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4739 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map3307.size); - long _key3308; - Map> _val3309; - for (int _i3310 = 0; _i3310 < _map3307.size; ++_i3310) { - _key3308 = iprot.readI64(); + 2 * _map4739.size); + long _key4740; + Map> _val4741; + for (int _i4742 = 0; _i4742 < _map4739.size; ++_i4742) { + _key4740 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3311 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4743 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val3309 = new LinkedHashMap>( - 2 * _map3311.size); - String _key3312; - Set _val3313; - for (int _i3314 = 0; _i3314 < _map3311.size; ++_i3314) { - _key3312 = iprot.readString(); + _val4741 = new LinkedHashMap>( + 2 * _map4743.size); + String _key4744; + Set _val4745; + for (int _i4746 = 0; _i4746 < _map4743.size; ++_i4746) { + _key4744 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3315 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4747 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3313 = new LinkedHashSet( - 2 * _set3315.size); - com.cinchapi.concourse.thrift.TObject _elem3316; - for (int _i3317 = 0; _i3317 < _set3315.size; ++_i3317) { - _elem3316 = new com.cinchapi.concourse.thrift.TObject(); - _elem3316.read(iprot); - _val3313.add(_elem3316); + _val4745 = new LinkedHashSet( + 2 * _set4747.size); + com.cinchapi.concourse.thrift.TObject _elem4748; + for (int _i4749 = 0; _i4749 < _set4747.size; ++_i4749) { + _elem4748 = new com.cinchapi.concourse.thrift.TObject(); + _elem4748.read(iprot); + _val4745.add(_elem4748); } } - _val3309.put(_key3312, _val3313); + _val4741.put(_key4744, _val4745); } } - struct.success.put(_key3308, _val3309); + struct.success.put(_key4740, _val4741); } } struct.setSuccessIsSet(true); @@ -559108,28 +701607,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3318 = iprot + org.apache.thrift.protocol.TMap _map4750 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map3318.size); - long _key3319; - Set _val3320; - for (int _i3321 = 0; _i3321 < _map3318.size; ++_i3321) { - _key3319 = iprot.readI64(); + 2 * _map4750.size); + long _key4751; + Set _val4752; + for (int _i4753 = 0; _i4753 < _map4750.size; ++_i4753) { + _key4751 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3322 = iprot + org.apache.thrift.protocol.TSet _set4754 = iprot .readSetBegin(); - _val3320 = new LinkedHashSet( - 2 * _set3322.size); - com.cinchapi.concourse.thrift.TObject _elem3323; - for (int _i3324 = 0; _i3324 < _set3322.size; ++_i3324) { - _elem3323 = new com.cinchapi.concourse.thrift.TObject(); - _elem3323.read(iprot); - _val3320.add(_elem3323); + _val4752 = new LinkedHashSet( + 2 * _set4754.size); + com.cinchapi.concourse.thrift.TObject _elem4755; + for (int _i4756 = 0; _i4756 < _set4754.size; ++_i4756) { + _elem4755 = new com.cinchapi.concourse.thrift.TObject(); + _elem4755.read(iprot); + _val4752.add(_elem4755); } iprot.readSetEnd(); } - struct.success.put(_key3319, _val3320); + struct.success.put(_key4751, _val4752); } iprot.readMapEnd(); } @@ -559210,17 +701709,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter3325 : struct.success + for (Map.Entry> _iter4757 : struct.success .entrySet()) { - oprot.writeI64(_iter3325.getKey()); + oprot.writeI64(_iter4757.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3325.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter3326 : _iter3325 + _iter4757.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4758 : _iter4757 .getValue()) { - _iter3326.write(oprot); + _iter4758.write(oprot); } oprot.writeSetEnd(); } @@ -559290,14 +701789,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter3327 : struct.success + for (Map.Entry> _iter4759 : struct.success .entrySet()) { - oprot.writeI64(_iter3327.getKey()); + oprot.writeI64(_iter4759.getKey()); { - oprot.writeI32(_iter3327.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3328 : _iter3327 + oprot.writeI32(_iter4759.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4760 : _iter4759 .getValue()) { - _iter3328.write(oprot); + _iter4760.write(oprot); } } } @@ -559325,30 +701824,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3329 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4761 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map3329.size); - long _key3330; - Set _val3331; - for (int _i3332 = 0; _i3332 < _map3329.size; ++_i3332) { - _key3330 = iprot.readI64(); + 2 * _map4761.size); + long _key4762; + Set _val4763; + for (int _i4764 = 0; _i4764 < _map4761.size; ++_i4764) { + _key4762 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3333 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4765 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3331 = new LinkedHashSet( - 2 * _set3333.size); - com.cinchapi.concourse.thrift.TObject _elem3334; - for (int _i3335 = 0; _i3335 < _set3333.size; ++_i3335) { - _elem3334 = new com.cinchapi.concourse.thrift.TObject(); - _elem3334.read(iprot); - _val3331.add(_elem3334); + _val4763 = new LinkedHashSet( + 2 * _set4765.size); + com.cinchapi.concourse.thrift.TObject _elem4766; + for (int _i4767 = 0; _i4767 < _set4765.size; ++_i4767) { + _elem4766 = new com.cinchapi.concourse.thrift.TObject(); + _elem4766.read(iprot); + _val4763.add(_elem4766); } } - struct.success.put(_key3330, _val3331); + struct.success.put(_key4762, _val4763); } } struct.setSuccessIsSet(true); @@ -561187,28 +703686,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3336 = iprot + org.apache.thrift.protocol.TMap _map4768 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map3336.size); - long _key3337; - Set _val3338; - for (int _i3339 = 0; _i3339 < _map3336.size; ++_i3339) { - _key3337 = iprot.readI64(); + 2 * _map4768.size); + long _key4769; + Set _val4770; + for (int _i4771 = 0; _i4771 < _map4768.size; ++_i4771) { + _key4769 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3340 = iprot + org.apache.thrift.protocol.TSet _set4772 = iprot .readSetBegin(); - _val3338 = new LinkedHashSet( - 2 * _set3340.size); - com.cinchapi.concourse.thrift.TObject _elem3341; - for (int _i3342 = 0; _i3342 < _set3340.size; ++_i3342) { - _elem3341 = new com.cinchapi.concourse.thrift.TObject(); - _elem3341.read(iprot); - _val3338.add(_elem3341); + _val4770 = new LinkedHashSet( + 2 * _set4772.size); + com.cinchapi.concourse.thrift.TObject _elem4773; + for (int _i4774 = 0; _i4774 < _set4772.size; ++_i4774) { + _elem4773 = new com.cinchapi.concourse.thrift.TObject(); + _elem4773.read(iprot); + _val4770.add(_elem4773); } iprot.readSetEnd(); } - struct.success.put(_key3337, _val3338); + struct.success.put(_key4769, _val4770); } iprot.readMapEnd(); } @@ -561289,17 +703788,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter3343 : struct.success + for (Map.Entry> _iter4775 : struct.success .entrySet()) { - oprot.writeI64(_iter3343.getKey()); + oprot.writeI64(_iter4775.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3343.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter3344 : _iter3343 + _iter4775.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4776 : _iter4775 .getValue()) { - _iter3344.write(oprot); + _iter4776.write(oprot); } oprot.writeSetEnd(); } @@ -561369,14 +703868,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter3345 : struct.success + for (Map.Entry> _iter4777 : struct.success .entrySet()) { - oprot.writeI64(_iter3345.getKey()); + oprot.writeI64(_iter4777.getKey()); { - oprot.writeI32(_iter3345.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3346 : _iter3345 + oprot.writeI32(_iter4777.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4778 : _iter4777 .getValue()) { - _iter3346.write(oprot); + _iter4778.write(oprot); } } } @@ -561404,30 +703903,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3347 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4779 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map3347.size); - long _key3348; - Set _val3349; - for (int _i3350 = 0; _i3350 < _map3347.size; ++_i3350) { - _key3348 = iprot.readI64(); + 2 * _map4779.size); + long _key4780; + Set _val4781; + for (int _i4782 = 0; _i4782 < _map4779.size; ++_i4782) { + _key4780 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3351 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4783 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3349 = new LinkedHashSet( - 2 * _set3351.size); - com.cinchapi.concourse.thrift.TObject _elem3352; - for (int _i3353 = 0; _i3353 < _set3351.size; ++_i3353) { - _elem3352 = new com.cinchapi.concourse.thrift.TObject(); - _elem3352.read(iprot); - _val3349.add(_elem3352); + _val4781 = new LinkedHashSet( + 2 * _set4783.size); + com.cinchapi.concourse.thrift.TObject _elem4784; + for (int _i4785 = 0; _i4785 < _set4783.size; ++_i4785) { + _elem4784 = new com.cinchapi.concourse.thrift.TObject(); + _elem4784.read(iprot); + _val4781.add(_elem4784); } } - struct.success.put(_key3348, _val3349); + struct.success.put(_key4780, _val4781); } } struct.setSuccessIsSet(true); @@ -563267,28 +705766,28 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3354 = iprot + org.apache.thrift.protocol.TMap _map4786 = iprot .readMapBegin(); struct.success = new LinkedHashMap>( - 2 * _map3354.size); - long _key3355; - Set _val3356; - for (int _i3357 = 0; _i3357 < _map3354.size; ++_i3357) { - _key3355 = iprot.readI64(); + 2 * _map4786.size); + long _key4787; + Set _val4788; + for (int _i4789 = 0; _i4789 < _map4786.size; ++_i4789) { + _key4787 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3358 = iprot + org.apache.thrift.protocol.TSet _set4790 = iprot .readSetBegin(); - _val3356 = new LinkedHashSet( - 2 * _set3358.size); - com.cinchapi.concourse.thrift.TObject _elem3359; - for (int _i3360 = 0; _i3360 < _set3358.size; ++_i3360) { - _elem3359 = new com.cinchapi.concourse.thrift.TObject(); - _elem3359.read(iprot); - _val3356.add(_elem3359); + _val4788 = new LinkedHashSet( + 2 * _set4790.size); + com.cinchapi.concourse.thrift.TObject _elem4791; + for (int _i4792 = 0; _i4792 < _set4790.size; ++_i4792) { + _elem4791 = new com.cinchapi.concourse.thrift.TObject(); + _elem4791.read(iprot); + _val4788.add(_elem4791); } iprot.readSetEnd(); } - struct.success.put(_key3355, _val3356); + struct.success.put(_key4787, _val4788); } iprot.readMapEnd(); } @@ -563369,17 +705868,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, struct.success.size())); - for (Map.Entry> _iter3361 : struct.success + for (Map.Entry> _iter4793 : struct.success .entrySet()) { - oprot.writeI64(_iter3361.getKey()); + oprot.writeI64(_iter4793.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3361.getValue().size())); - for (com.cinchapi.concourse.thrift.TObject _iter3362 : _iter3361 + _iter4793.getValue().size())); + for (com.cinchapi.concourse.thrift.TObject _iter4794 : _iter4793 .getValue()) { - _iter3362.write(oprot); + _iter4794.write(oprot); } oprot.writeSetEnd(); } @@ -563449,14 +705948,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry> _iter3363 : struct.success + for (Map.Entry> _iter4795 : struct.success .entrySet()) { - oprot.writeI64(_iter3363.getKey()); + oprot.writeI64(_iter4795.getKey()); { - oprot.writeI32(_iter3363.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3364 : _iter3363 + oprot.writeI32(_iter4795.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4796 : _iter4795 .getValue()) { - _iter3364.write(oprot); + _iter4796.write(oprot); } } } @@ -563484,30 +705983,30 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3365 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4797 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.SET, iprot.readI32()); struct.success = new LinkedHashMap>( - 2 * _map3365.size); - long _key3366; - Set _val3367; - for (int _i3368 = 0; _i3368 < _map3365.size; ++_i3368) { - _key3366 = iprot.readI64(); + 2 * _map4797.size); + long _key4798; + Set _val4799; + for (int _i4800 = 0; _i4800 < _map4797.size; ++_i4800) { + _key4798 = iprot.readI64(); { - org.apache.thrift.protocol.TSet _set3369 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4801 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3367 = new LinkedHashSet( - 2 * _set3369.size); - com.cinchapi.concourse.thrift.TObject _elem3370; - for (int _i3371 = 0; _i3371 < _set3369.size; ++_i3371) { - _elem3370 = new com.cinchapi.concourse.thrift.TObject(); - _elem3370.read(iprot); - _val3367.add(_elem3370); + _val4799 = new LinkedHashSet( + 2 * _set4801.size); + com.cinchapi.concourse.thrift.TObject _elem4802; + for (int _i4803 = 0; _i4803 < _set4801.size; ++_i4803) { + _elem4802 = new com.cinchapi.concourse.thrift.TObject(); + _elem4802.read(iprot); + _val4799.add(_elem4802); } } - struct.success.put(_key3366, _val3367); + struct.success.put(_key4798, _val4799); } } struct.setSuccessIsSet(true); @@ -564291,14 +706790,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3372 = iprot + org.apache.thrift.protocol.TList _list4804 = iprot .readListBegin(); struct.keys = new ArrayList( - _list3372.size); - String _elem3373; - for (int _i3374 = 0; _i3374 < _list3372.size; ++_i3374) { - _elem3373 = iprot.readString(); - struct.keys.add(_elem3373); + _list4804.size); + String _elem4805; + for (int _i4806 = 0; _i4806 < _list4804.size; ++_i4806) { + _elem4805 = iprot.readString(); + struct.keys.add(_elem4805); } iprot.readListEnd(); } @@ -564378,8 +706877,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter3375 : struct.keys) { - oprot.writeString(_iter3375); + for (String _iter4807 : struct.keys) { + oprot.writeString(_iter4807); } oprot.writeListEnd(); } @@ -564446,8 +706945,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter3376 : struct.keys) { - oprot.writeString(_iter3376); + for (String _iter4808 : struct.keys) { + oprot.writeString(_iter4808); } } } @@ -564473,14 +706972,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list3377 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4809 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list3377.size); - String _elem3378; - for (int _i3379 = 0; _i3379 < _list3377.size; ++_i3379) { - _elem3378 = iprot.readString(); - struct.keys.add(_elem3378); + struct.keys = new ArrayList(_list4809.size); + String _elem4810; + for (int _i4811 = 0; _i4811 < _list4809.size; ++_i4811) { + _elem4810 = iprot.readString(); + struct.keys.add(_elem4810); } } struct.setKeysIsSet(true); @@ -565297,41 +707796,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3380 = iprot + org.apache.thrift.protocol.TMap _map4812 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map3380.size); - long _key3381; - Map> _val3382; - for (int _i3383 = 0; _i3383 < _map3380.size; ++_i3383) { - _key3381 = iprot.readI64(); + 2 * _map4812.size); + long _key4813; + Map> _val4814; + for (int _i4815 = 0; _i4815 < _map4812.size; ++_i4815) { + _key4813 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3384 = iprot + org.apache.thrift.protocol.TMap _map4816 = iprot .readMapBegin(); - _val3382 = new LinkedHashMap>( - 2 * _map3384.size); - String _key3385; - Set _val3386; - for (int _i3387 = 0; _i3387 < _map3384.size; ++_i3387) { - _key3385 = iprot.readString(); + _val4814 = new LinkedHashMap>( + 2 * _map4816.size); + String _key4817; + Set _val4818; + for (int _i4819 = 0; _i4819 < _map4816.size; ++_i4819) { + _key4817 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3388 = iprot + org.apache.thrift.protocol.TSet _set4820 = iprot .readSetBegin(); - _val3386 = new LinkedHashSet( - 2 * _set3388.size); - com.cinchapi.concourse.thrift.TObject _elem3389; - for (int _i3390 = 0; _i3390 < _set3388.size; ++_i3390) { - _elem3389 = new com.cinchapi.concourse.thrift.TObject(); - _elem3389.read(iprot); - _val3386.add(_elem3389); + _val4818 = new LinkedHashSet( + 2 * _set4820.size); + com.cinchapi.concourse.thrift.TObject _elem4821; + for (int _i4822 = 0; _i4822 < _set4820.size; ++_i4822) { + _elem4821 = new com.cinchapi.concourse.thrift.TObject(); + _elem4821.read(iprot); + _val4818.add(_elem4821); } iprot.readSetEnd(); } - _val3382.put(_key3385, _val3386); + _val4814.put(_key4817, _val4818); } iprot.readMapEnd(); } - struct.success.put(_key3381, _val3382); + struct.success.put(_key4813, _val4814); } iprot.readMapEnd(); } @@ -565412,27 +707911,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter3391 : struct.success + for (Map.Entry>> _iter4823 : struct.success .entrySet()) { - oprot.writeI64(_iter3391.getKey()); + oprot.writeI64(_iter4823.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter3391.getValue().size())); - for (Map.Entry> _iter3392 : _iter3391 + _iter4823.getValue().size())); + for (Map.Entry> _iter4824 : _iter4823 .getValue().entrySet()) { - oprot.writeString(_iter3392.getKey()); + oprot.writeString(_iter4824.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3392.getValue() + _iter4824.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter3393 : _iter3392 + for (com.cinchapi.concourse.thrift.TObject _iter4825 : _iter4824 .getValue()) { - _iter3393.write(oprot); + _iter4825.write(oprot); } oprot.writeSetEnd(); } @@ -565505,20 +708004,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter3394 : struct.success + for (Map.Entry>> _iter4826 : struct.success .entrySet()) { - oprot.writeI64(_iter3394.getKey()); + oprot.writeI64(_iter4826.getKey()); { - oprot.writeI32(_iter3394.getValue().size()); - for (Map.Entry> _iter3395 : _iter3394 + oprot.writeI32(_iter4826.getValue().size()); + for (Map.Entry> _iter4827 : _iter4826 .getValue().entrySet()) { - oprot.writeString(_iter3395.getKey()); + oprot.writeString(_iter4827.getKey()); { oprot.writeI32( - _iter3395.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3396 : _iter3395 + _iter4827.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4828 : _iter4827 .getValue()) { - _iter3396.write(oprot); + _iter4828.write(oprot); } } } @@ -565548,44 +708047,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3397 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4829 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map3397.size); - long _key3398; - Map> _val3399; - for (int _i3400 = 0; _i3400 < _map3397.size; ++_i3400) { - _key3398 = iprot.readI64(); + 2 * _map4829.size); + long _key4830; + Map> _val4831; + for (int _i4832 = 0; _i4832 < _map4829.size; ++_i4832) { + _key4830 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3401 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4833 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val3399 = new LinkedHashMap>( - 2 * _map3401.size); - String _key3402; - Set _val3403; - for (int _i3404 = 0; _i3404 < _map3401.size; ++_i3404) { - _key3402 = iprot.readString(); + _val4831 = new LinkedHashMap>( + 2 * _map4833.size); + String _key4834; + Set _val4835; + for (int _i4836 = 0; _i4836 < _map4833.size; ++_i4836) { + _key4834 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3405 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4837 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3403 = new LinkedHashSet( - 2 * _set3405.size); - com.cinchapi.concourse.thrift.TObject _elem3406; - for (int _i3407 = 0; _i3407 < _set3405.size; ++_i3407) { - _elem3406 = new com.cinchapi.concourse.thrift.TObject(); - _elem3406.read(iprot); - _val3403.add(_elem3406); + _val4835 = new LinkedHashSet( + 2 * _set4837.size); + com.cinchapi.concourse.thrift.TObject _elem4838; + for (int _i4839 = 0; _i4839 < _set4837.size; ++_i4839) { + _elem4838 = new com.cinchapi.concourse.thrift.TObject(); + _elem4838.read(iprot); + _val4835.add(_elem4838); } } - _val3399.put(_key3402, _val3403); + _val4831.put(_key4834, _val4835); } } - struct.success.put(_key3398, _val3399); + struct.success.put(_key4830, _val4831); } } struct.setSuccessIsSet(true); @@ -566469,14 +708968,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3408 = iprot + org.apache.thrift.protocol.TList _list4840 = iprot .readListBegin(); struct.keys = new ArrayList( - _list3408.size); - String _elem3409; - for (int _i3410 = 0; _i3410 < _list3408.size; ++_i3410) { - _elem3409 = iprot.readString(); - struct.keys.add(_elem3409); + _list4840.size); + String _elem4841; + for (int _i4842 = 0; _i4842 < _list4840.size; ++_i4842) { + _elem4841 = iprot.readString(); + struct.keys.add(_elem4841); } iprot.readListEnd(); } @@ -566566,8 +709065,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter3411 : struct.keys) { - oprot.writeString(_iter3411); + for (String _iter4843 : struct.keys) { + oprot.writeString(_iter4843); } oprot.writeListEnd(); } @@ -566640,8 +709139,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter3412 : struct.keys) { - oprot.writeString(_iter3412); + for (String _iter4844 : struct.keys) { + oprot.writeString(_iter4844); } } } @@ -566670,14 +709169,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list3413 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4845 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list3413.size); - String _elem3414; - for (int _i3415 = 0; _i3415 < _list3413.size; ++_i3415) { - _elem3414 = iprot.readString(); - struct.keys.add(_elem3414); + struct.keys = new ArrayList(_list4845.size); + String _elem4846; + for (int _i4847 = 0; _i4847 < _list4845.size; ++_i4847) { + _elem4846 = iprot.readString(); + struct.keys.add(_elem4846); } } struct.setKeysIsSet(true); @@ -567499,41 +709998,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3416 = iprot + org.apache.thrift.protocol.TMap _map4848 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map3416.size); - long _key3417; - Map> _val3418; - for (int _i3419 = 0; _i3419 < _map3416.size; ++_i3419) { - _key3417 = iprot.readI64(); + 2 * _map4848.size); + long _key4849; + Map> _val4850; + for (int _i4851 = 0; _i4851 < _map4848.size; ++_i4851) { + _key4849 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3420 = iprot + org.apache.thrift.protocol.TMap _map4852 = iprot .readMapBegin(); - _val3418 = new LinkedHashMap>( - 2 * _map3420.size); - String _key3421; - Set _val3422; - for (int _i3423 = 0; _i3423 < _map3420.size; ++_i3423) { - _key3421 = iprot.readString(); + _val4850 = new LinkedHashMap>( + 2 * _map4852.size); + String _key4853; + Set _val4854; + for (int _i4855 = 0; _i4855 < _map4852.size; ++_i4855) { + _key4853 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3424 = iprot + org.apache.thrift.protocol.TSet _set4856 = iprot .readSetBegin(); - _val3422 = new LinkedHashSet( - 2 * _set3424.size); - com.cinchapi.concourse.thrift.TObject _elem3425; - for (int _i3426 = 0; _i3426 < _set3424.size; ++_i3426) { - _elem3425 = new com.cinchapi.concourse.thrift.TObject(); - _elem3425.read(iprot); - _val3422.add(_elem3425); + _val4854 = new LinkedHashSet( + 2 * _set4856.size); + com.cinchapi.concourse.thrift.TObject _elem4857; + for (int _i4858 = 0; _i4858 < _set4856.size; ++_i4858) { + _elem4857 = new com.cinchapi.concourse.thrift.TObject(); + _elem4857.read(iprot); + _val4854.add(_elem4857); } iprot.readSetEnd(); } - _val3418.put(_key3421, _val3422); + _val4850.put(_key4853, _val4854); } iprot.readMapEnd(); } - struct.success.put(_key3417, _val3418); + struct.success.put(_key4849, _val4850); } iprot.readMapEnd(); } @@ -567614,27 +710113,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter3427 : struct.success + for (Map.Entry>> _iter4859 : struct.success .entrySet()) { - oprot.writeI64(_iter3427.getKey()); + oprot.writeI64(_iter4859.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter3427.getValue().size())); - for (Map.Entry> _iter3428 : _iter3427 + _iter4859.getValue().size())); + for (Map.Entry> _iter4860 : _iter4859 .getValue().entrySet()) { - oprot.writeString(_iter3428.getKey()); + oprot.writeString(_iter4860.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3428.getValue() + _iter4860.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter3429 : _iter3428 + for (com.cinchapi.concourse.thrift.TObject _iter4861 : _iter4860 .getValue()) { - _iter3429.write(oprot); + _iter4861.write(oprot); } oprot.writeSetEnd(); } @@ -567707,20 +710206,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter3430 : struct.success + for (Map.Entry>> _iter4862 : struct.success .entrySet()) { - oprot.writeI64(_iter3430.getKey()); + oprot.writeI64(_iter4862.getKey()); { - oprot.writeI32(_iter3430.getValue().size()); - for (Map.Entry> _iter3431 : _iter3430 + oprot.writeI32(_iter4862.getValue().size()); + for (Map.Entry> _iter4863 : _iter4862 .getValue().entrySet()) { - oprot.writeString(_iter3431.getKey()); + oprot.writeString(_iter4863.getKey()); { oprot.writeI32( - _iter3431.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3432 : _iter3431 + _iter4863.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4864 : _iter4863 .getValue()) { - _iter3432.write(oprot); + _iter4864.write(oprot); } } } @@ -567750,44 +710249,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3433 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4865 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map3433.size); - long _key3434; - Map> _val3435; - for (int _i3436 = 0; _i3436 < _map3433.size; ++_i3436) { - _key3434 = iprot.readI64(); + 2 * _map4865.size); + long _key4866; + Map> _val4867; + for (int _i4868 = 0; _i4868 < _map4865.size; ++_i4868) { + _key4866 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3437 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4869 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val3435 = new LinkedHashMap>( - 2 * _map3437.size); - String _key3438; - Set _val3439; - for (int _i3440 = 0; _i3440 < _map3437.size; ++_i3440) { - _key3438 = iprot.readString(); + _val4867 = new LinkedHashMap>( + 2 * _map4869.size); + String _key4870; + Set _val4871; + for (int _i4872 = 0; _i4872 < _map4869.size; ++_i4872) { + _key4870 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3441 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4873 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3439 = new LinkedHashSet( - 2 * _set3441.size); - com.cinchapi.concourse.thrift.TObject _elem3442; - for (int _i3443 = 0; _i3443 < _set3441.size; ++_i3443) { - _elem3442 = new com.cinchapi.concourse.thrift.TObject(); - _elem3442.read(iprot); - _val3439.add(_elem3442); + _val4871 = new LinkedHashSet( + 2 * _set4873.size); + com.cinchapi.concourse.thrift.TObject _elem4874; + for (int _i4875 = 0; _i4875 < _set4873.size; ++_i4875) { + _elem4874 = new com.cinchapi.concourse.thrift.TObject(); + _elem4874.read(iprot); + _val4871.add(_elem4874); } } - _val3435.put(_key3438, _val3439); + _val4867.put(_key4870, _val4871); } } - struct.success.put(_key3434, _val3435); + struct.success.put(_key4866, _val4867); } } struct.setSuccessIsSet(true); @@ -568669,14 +711168,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 1: // KEYS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3444 = iprot + org.apache.thrift.protocol.TList _list4876 = iprot .readListBegin(); struct.keys = new ArrayList( - _list3444.size); - String _elem3445; - for (int _i3446 = 0; _i3446 < _list3444.size; ++_i3446) { - _elem3445 = iprot.readString(); - struct.keys.add(_elem3445); + _list4876.size); + String _elem4877; + for (int _i4878 = 0; _i4878 < _list4876.size; ++_i4878) { + _elem4877 = iprot.readString(); + struct.keys.add(_elem4877); } iprot.readListEnd(); } @@ -568766,8 +711265,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.keys.size())); - for (String _iter3447 : struct.keys) { - oprot.writeString(_iter3447); + for (String _iter4879 : struct.keys) { + oprot.writeString(_iter4879); } oprot.writeListEnd(); } @@ -568842,8 +711341,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetKeys()) { { oprot.writeI32(struct.keys.size()); - for (String _iter3448 : struct.keys) { - oprot.writeString(_iter3448); + for (String _iter4880 : struct.keys) { + oprot.writeString(_iter4880); } } } @@ -568872,14 +711371,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(6); if(incoming.get(0)) { { - org.apache.thrift.protocol.TList _list3449 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4881 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.keys = new ArrayList(_list3449.size); - String _elem3450; - for (int _i3451 = 0; _i3451 < _list3449.size; ++_i3451) { - _elem3450 = iprot.readString(); - struct.keys.add(_elem3450); + struct.keys = new ArrayList(_list4881.size); + String _elem4882; + for (int _i4883 = 0; _i4883 < _list4881.size; ++_i4883) { + _elem4882 = iprot.readString(); + struct.keys.add(_elem4882); } } struct.setKeysIsSet(true); @@ -569701,41 +712200,41 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 0: // SUCCESS if(schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map3452 = iprot + org.apache.thrift.protocol.TMap _map4884 = iprot .readMapBegin(); struct.success = new LinkedHashMap>>( - 2 * _map3452.size); - long _key3453; - Map> _val3454; - for (int _i3455 = 0; _i3455 < _map3452.size; ++_i3455) { - _key3453 = iprot.readI64(); + 2 * _map4884.size); + long _key4885; + Map> _val4886; + for (int _i4887 = 0; _i4887 < _map4884.size; ++_i4887) { + _key4885 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3456 = iprot + org.apache.thrift.protocol.TMap _map4888 = iprot .readMapBegin(); - _val3454 = new LinkedHashMap>( - 2 * _map3456.size); - String _key3457; - Set _val3458; - for (int _i3459 = 0; _i3459 < _map3456.size; ++_i3459) { - _key3457 = iprot.readString(); + _val4886 = new LinkedHashMap>( + 2 * _map4888.size); + String _key4889; + Set _val4890; + for (int _i4891 = 0; _i4891 < _map4888.size; ++_i4891) { + _key4889 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3460 = iprot + org.apache.thrift.protocol.TSet _set4892 = iprot .readSetBegin(); - _val3458 = new LinkedHashSet( - 2 * _set3460.size); - com.cinchapi.concourse.thrift.TObject _elem3461; - for (int _i3462 = 0; _i3462 < _set3460.size; ++_i3462) { - _elem3461 = new com.cinchapi.concourse.thrift.TObject(); - _elem3461.read(iprot); - _val3458.add(_elem3461); + _val4890 = new LinkedHashSet( + 2 * _set4892.size); + com.cinchapi.concourse.thrift.TObject _elem4893; + for (int _i4894 = 0; _i4894 < _set4892.size; ++_i4894) { + _elem4893 = new com.cinchapi.concourse.thrift.TObject(); + _elem4893.read(iprot); + _val4890.add(_elem4893); } iprot.readSetEnd(); } - _val3454.put(_key3457, _val3458); + _val4886.put(_key4889, _val4890); } iprot.readMapEnd(); } - struct.success.put(_key3453, _val3454); + struct.success.put(_key4885, _val4886); } iprot.readMapEnd(); } @@ -569816,27 +712315,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, struct.success.size())); - for (Map.Entry>> _iter3463 : struct.success + for (Map.Entry>> _iter4895 : struct.success .entrySet()) { - oprot.writeI64(_iter3463.getKey()); + oprot.writeI64(_iter4895.getKey()); { oprot.writeMapBegin( new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, - _iter3463.getValue().size())); - for (Map.Entry> _iter3464 : _iter3463 + _iter4895.getValue().size())); + for (Map.Entry> _iter4896 : _iter4895 .getValue().entrySet()) { - oprot.writeString(_iter3464.getKey()); + oprot.writeString(_iter4896.getKey()); { oprot.writeSetBegin( new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, - _iter3464.getValue() + _iter4896.getValue() .size())); - for (com.cinchapi.concourse.thrift.TObject _iter3465 : _iter3464 + for (com.cinchapi.concourse.thrift.TObject _iter4897 : _iter4896 .getValue()) { - _iter3465.write(oprot); + _iter4897.write(oprot); } oprot.writeSetEnd(); } @@ -569909,20 +712408,20 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry>> _iter3466 : struct.success + for (Map.Entry>> _iter4898 : struct.success .entrySet()) { - oprot.writeI64(_iter3466.getKey()); + oprot.writeI64(_iter4898.getKey()); { - oprot.writeI32(_iter3466.getValue().size()); - for (Map.Entry> _iter3467 : _iter3466 + oprot.writeI32(_iter4898.getValue().size()); + for (Map.Entry> _iter4899 : _iter4898 .getValue().entrySet()) { - oprot.writeString(_iter3467.getKey()); + oprot.writeString(_iter4899.getKey()); { oprot.writeI32( - _iter3467.getValue().size()); - for (com.cinchapi.concourse.thrift.TObject _iter3468 : _iter3467 + _iter4899.getValue().size()); + for (com.cinchapi.concourse.thrift.TObject _iter4900 : _iter4899 .getValue()) { - _iter3468.write(oprot); + _iter4900.write(oprot); } } } @@ -569952,44 +712451,44 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BitSet incoming = iprot.readBitSet(5); if(incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map3469 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4901 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.MAP, iprot.readI32()); struct.success = new LinkedHashMap>>( - 2 * _map3469.size); - long _key3470; - Map> _val3471; - for (int _i3472 = 0; _i3472 < _map3469.size; ++_i3472) { - _key3470 = iprot.readI64(); + 2 * _map4901.size); + long _key4902; + Map> _val4903; + for (int _i4904 = 0; _i4904 < _map4901.size; ++_i4904) { + _key4902 = iprot.readI64(); { - org.apache.thrift.protocol.TMap _map3473 = new org.apache.thrift.protocol.TMap( + org.apache.thrift.protocol.TMap _map4905 = new org.apache.thrift.protocol.TMap( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.SET, iprot.readI32()); - _val3471 = new LinkedHashMap>( - 2 * _map3473.size); - String _key3474; - Set _val3475; - for (int _i3476 = 0; _i3476 < _map3473.size; ++_i3476) { - _key3474 = iprot.readString(); + _val4903 = new LinkedHashMap>( + 2 * _map4905.size); + String _key4906; + Set _val4907; + for (int _i4908 = 0; _i4908 < _map4905.size; ++_i4908) { + _key4906 = iprot.readString(); { - org.apache.thrift.protocol.TSet _set3477 = new org.apache.thrift.protocol.TSet( + org.apache.thrift.protocol.TSet _set4909 = new org.apache.thrift.protocol.TSet( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val3475 = new LinkedHashSet( - 2 * _set3477.size); - com.cinchapi.concourse.thrift.TObject _elem3478; - for (int _i3479 = 0; _i3479 < _set3477.size; ++_i3479) { - _elem3478 = new com.cinchapi.concourse.thrift.TObject(); - _elem3478.read(iprot); - _val3475.add(_elem3478); + _val4907 = new LinkedHashSet( + 2 * _set4909.size); + com.cinchapi.concourse.thrift.TObject _elem4910; + for (int _i4911 = 0; _i4911 < _set4909.size; ++_i4911) { + _elem4910 = new com.cinchapi.concourse.thrift.TObject(); + _elem4910.read(iprot); + _val4907.add(_elem4910); } } - _val3471.put(_key3474, _val3475); + _val4903.put(_key4906, _val4907); } } - struct.success.put(_key3470, _val3471); + struct.success.put(_key4902, _val4903); } } struct.setSuccessIsSet(true); @@ -576266,15 +718765,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, case 3: // PARAMS if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list3480 = iprot + org.apache.thrift.protocol.TList _list4912 = iprot .readListBegin(); struct.params = new ArrayList( - _list3480.size); - com.cinchapi.concourse.thrift.ComplexTObject _elem3481; - for (int _i3482 = 0; _i3482 < _list3480.size; ++_i3482) { - _elem3481 = new com.cinchapi.concourse.thrift.ComplexTObject(); - _elem3481.read(iprot); - struct.params.add(_elem3481); + _list4912.size); + com.cinchapi.concourse.thrift.ComplexTObject _elem4913; + for (int _i4914 = 0; _i4914 < _list4912.size; ++_i4914) { + _elem4913 = new com.cinchapi.concourse.thrift.ComplexTObject(); + _elem4913.read(iprot); + struct.params.add(_elem4913); } iprot.readListEnd(); } @@ -576327,8 +718826,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.params.size())); - for (com.cinchapi.concourse.thrift.ComplexTObject _iter3483 : struct.params) { - _iter3483.write(oprot); + for (com.cinchapi.concourse.thrift.ComplexTObject _iter4915 : struct.params) { + _iter4915.write(oprot); } oprot.writeListEnd(); } @@ -576377,8 +718876,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, if(struct.isSetParams()) { { oprot.writeI32(struct.params.size()); - for (com.cinchapi.concourse.thrift.ComplexTObject _iter3484 : struct.params) { - _iter3484.write(oprot); + for (com.cinchapi.concourse.thrift.ComplexTObject _iter4916 : struct.params) { + _iter4916.write(oprot); } } } @@ -576399,16 +718898,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, } if(incoming.get(1)) { { - org.apache.thrift.protocol.TList _list3485 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TList _list4917 = new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.params = new ArrayList( - _list3485.size); - com.cinchapi.concourse.thrift.ComplexTObject _elem3486; - for (int _i3487 = 0; _i3487 < _list3485.size; ++_i3487) { - _elem3486 = new com.cinchapi.concourse.thrift.ComplexTObject(); - _elem3486.read(iprot); - struct.params.add(_elem3486); + _list4917.size); + com.cinchapi.concourse.thrift.ComplexTObject _elem4918; + for (int _i4919 = 0; _i4919 < _list4917.size; ++_i4919) { + _elem4918 = new com.cinchapi.concourse.thrift.ComplexTObject(); + _elem4918.read(iprot); + struct.params.add(_elem4918); } } struct.setParamsIsSet(true); diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/JavaThriftBridge.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/JavaThriftBridge.java new file mode 100644 index 0000000000..1c7f4a90cf --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/JavaThriftBridge.java @@ -0,0 +1,130 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.thrift; + +import java.util.List; +import java.util.stream.Collectors; + +import com.cinchapi.ccl.util.NaturalLanguage; +import com.cinchapi.concourse.Timestamp; +import com.cinchapi.concourse.lang.sort.Direction; +import com.cinchapi.concourse.lang.sort.Order; +import com.cinchapi.concourse.lang.sort.OrderComponent; +import com.cinchapi.concourse.util.Convert; + +/** + * A utility class for converting/translating/etc between Java and Thrift types. + * + * @author Jeff Nelson + */ +public final class JavaThriftBridge { + + // NOTE: Eventually, this class should replace Convert#thriftToJava, Convert + // ##javaToThrift and Language#translate* + + /** + * Translate an {@link Order} to a {@link TOrder}. + * + * @param order + * @return the analogous {@link TOrder} + */ + public static TOrder convert(Order order) { + List tcomponents = order.spec().stream() + .map(JavaThriftBridge::convert).collect(Collectors.toList()); + TOrder torder = new TOrder(tcomponents); + return torder; + } + + /** + * Translate an {@link OrderComponent} to a {@link TOrderComponent}. + * + * @param component + * @return the analogous {@link TOrderComponent} + */ + public static TOrderComponent convert(OrderComponent component) { + TOrderComponent tcomponent = new TOrderComponent(component.key(), + component.direction().coefficient()); + if(component.timestamp() != null) { + Object timestamp; + try { + timestamp = component.timestamp().getMicros(); + } + catch (IllegalStateException e) { + timestamp = component.timestamp().toString(); + } + tcomponent.setTimestamp(Convert.javaToThrift(timestamp)); + } + return tcomponent; + } + + /** + * Translate a {@link TOrder} to an {@link Order}. + * + * @param torder + * @return the analogous {@link Order} + */ + public static Order convert(TOrder torder) { + List components = torder.getSpec().stream() + .map(JavaThriftBridge::convert).collect(Collectors.toList()); + if(components.isEmpty()) { + return Order.none(); + } + else { + return new Order() { + + @Override + public List spec() { + return components; + } + + }; + } + } + + /** + * Return a {@link TOrderComponent} to an {@link OrderComponent}. + * + * @param tcomponent + * @return the analogous {@link OrderComponent} + */ + public static OrderComponent convert(TOrderComponent tcomponent) { + Object $timestamp = tcomponent.isSetTimestamp() + ? Convert.thriftToJava(tcomponent.getTimestamp()) : null; + if($timestamp != null && !($timestamp instanceof Number)) { + // Assume that this method is being called from ConcourseServer and + // convert a string timestamp to micros so that it can be properly + // handled in the Sorter. + try { + $timestamp = NaturalLanguage.parseMicros($timestamp.toString()); + } + catch (Exception e) {/* ignore */} + } + Timestamp timestamp = $timestamp != null ? ($timestamp instanceof Number + ? Timestamp.fromMicros(((Number) $timestamp).longValue()) + : Timestamp.fromString($timestamp.toString())) : null; + Direction direction = null; + for (Direction $direction : Direction.values()) { + if(tcomponent.getDirection() == $direction.coefficient()) { + direction = $direction; + break; + } + } + return new OrderComponent(tcomponent.getKey(), timestamp, direction); + } + + private JavaThriftBridge() {/* no-init */} + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/TOrder.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/TOrder.java new file mode 100644 index 0000000000..d5aaf4d2c3 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/TOrder.java @@ -0,0 +1,495 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.thrift; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.EnumMap; +import java.util.EnumSet; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import javax.annotation.Generated; + +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.server.AbstractNonblockingServer.*; + +@SuppressWarnings({ "cast", "rawtypes", "serial", "unchecked", "unused" }) +/** + * Encapsulation for a group of {@link TOrderComponent order components} + * that describe how a result set should be sorted. + */ +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2019-05-29") +public class TOrder implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "TOrder"); + + private static final org.apache.thrift.protocol.TField SPEC_FIELD_DESC = new org.apache.thrift.protocol.TField( + "spec", org.apache.thrift.protocol.TType.LIST, (short) 1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new TOrderStandardSchemeFactory()); + schemes.put(TupleScheme.class, new TOrderTupleSchemeFactory()); + } + + public List spec; // required + + /** + * The set of fields this struct contains, along with convenience methods + * for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SPEC((short) 1, "spec"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not + * found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // SPEC + return SPEC; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.SPEC, + new org.apache.thrift.meta_data.FieldMetaData("spec", + org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.ListMetaData( + org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + TOrderComponent.class)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(TOrder.class, metaDataMap); + } + + public TOrder() {} + + public TOrder(List spec) { + this(); + this.spec = spec; + } + + /** + * Performs a deep copy on other. + */ + public TOrder(TOrder other) { + if(other.isSetSpec()) { + List __this__spec = new ArrayList( + other.spec.size()); + for (TOrderComponent other_element : other.spec) { + __this__spec.add(new TOrderComponent(other_element)); + } + this.spec = __this__spec; + } + } + + public TOrder deepCopy() { + return new TOrder(this); + } + + @Override + public void clear() { + this.spec = null; + } + + public int getSpecSize() { + return (this.spec == null) ? 0 : this.spec.size(); + } + + public java.util.Iterator getSpecIterator() { + return (this.spec == null) ? null : this.spec.iterator(); + } + + public void addToSpec(TOrderComponent elem) { + if(this.spec == null) { + this.spec = new ArrayList(); + } + this.spec.add(elem); + } + + public List getSpec() { + return this.spec; + } + + public TOrder setSpec(List spec) { + this.spec = spec; + return this; + } + + public void unsetSpec() { + this.spec = null; + } + + /** + * Returns true if field spec is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetSpec() { + return this.spec != null; + } + + public void setSpecIsSet(boolean value) { + if(!value) { + this.spec = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SPEC: + if(value == null) { + unsetSpec(); + } + else { + setSpec((List) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SPEC: + return getSpec(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been assigned + * a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SPEC: + return isSetSpec(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof TOrder) + return this.equals((TOrder) that); + return false; + } + + public boolean equals(TOrder that) { + if(that == null) + return false; + + boolean this_present_spec = true && this.isSetSpec(); + boolean that_present_spec = true && that.isSetSpec(); + if(this_present_spec || that_present_spec) { + if(!(this_present_spec && that_present_spec)) + return false; + if(!this.spec.equals(that.spec)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_spec = true && (isSetSpec()); + list.add(present_spec); + if(present_spec) + list.add(spec); + + return list.hashCode(); + } + + @Override + public int compareTo(TOrder other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSpec()) + .compareTo(other.isSetSpec()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetSpec()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.spec, + other.spec); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("TOrder("); + boolean first = true; + + sb.append("spec:"); + if(this.spec == null) { + sb.append("null"); + } + else { + sb.append(this.spec); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if(spec == null) { + throw new org.apache.thrift.protocol.TProtocolException( + "Required field 'spec' was not present! Struct: " + + toString()); + } + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport(out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport(in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class TOrderStandardSchemeFactory implements SchemeFactory { + public TOrderStandardScheme getScheme() { + return new TOrderStandardScheme(); + } + } + + private static class TOrderStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + TOrder struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // SPEC + if(schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list8 = iprot + .readListBegin(); + struct.spec = new ArrayList( + _list8.size); + TOrderComponent _elem9; + for (int _i10 = 0; _i10 < _list8.size; ++_i10) { + _elem9 = new TOrderComponent(); + _elem9.read(iprot); + struct.spec.add(_elem9); + } + iprot.readListEnd(); + } + struct.setSpecIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + TOrder struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.spec != null) { + oprot.writeFieldBegin(SPEC_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, + struct.spec.size())); + for (TOrderComponent _iter11 : struct.spec) { + _iter11.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class TOrderTupleSchemeFactory implements SchemeFactory { + public TOrderTupleScheme getScheme() { + return new TOrderTupleScheme(); + } + } + + private static class TOrderTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + TOrder struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.spec.size()); + for (TOrderComponent _iter12 : struct.spec) { + _iter12.write(oprot); + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + TOrder struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + { + org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList( + org.apache.thrift.protocol.TType.STRUCT, + iprot.readI32()); + struct.spec = new ArrayList(_list13.size); + TOrderComponent _elem14; + for (int _i15 = 0; _i15 < _list13.size; ++_i15) { + _elem14 = new TOrderComponent(); + _elem14.read(iprot); + struct.spec.add(_elem14); + } + } + struct.setSpecIsSet(true); + } + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/TOrderComponent.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/TOrderComponent.java new file mode 100644 index 0000000000..ffdcb5d1b5 --- /dev/null +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/thrift/TOrderComponent.java @@ -0,0 +1,691 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.thrift; + +import java.util.ArrayList; +import java.util.BitSet; +import java.util.Collections; +import java.util.EnumMap; +import java.util.EnumSet; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import javax.annotation.Generated; + +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; +import org.apache.thrift.scheme.TupleScheme; + +@SuppressWarnings({ "cast", "rawtypes", "serial", "unchecked" }) +/** + * Encapsulation for a single order component (key, direction and optional + * selection timestamp for the key). + */ +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2019-05-29") +public class TOrderComponent implements + org.apache.thrift.TBase, + java.io.Serializable, + Cloneable, + Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct( + "TOrderComponent"); + + private static final org.apache.thrift.protocol.TField KEY_FIELD_DESC = new org.apache.thrift.protocol.TField( + "key", org.apache.thrift.protocol.TType.STRING, (short) 1); + private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField( + "timestamp", org.apache.thrift.protocol.TType.STRUCT, (short) 2); + private static final org.apache.thrift.protocol.TField DIRECTION_FIELD_DESC = new org.apache.thrift.protocol.TField( + "direction", org.apache.thrift.protocol.TType.I32, (short) 3); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, + new TOrderComponentStandardSchemeFactory()); + schemes.put(TupleScheme.class, new TOrderComponentTupleSchemeFactory()); + } + + public String key; // required + public TObject timestamp; // optional + public int direction; // required + + /** + * The set of fields this struct contains, along with convenience methods + * for finding and manipulating them. + */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + KEY((short) 1, "key"), + TIMESTAMP((short) 2, "timestamp"), + DIRECTION((short) 3, "direction"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not + * found. + */ + public static _Fields findByThriftId(int fieldId) { + switch (fieldId) { + case 1: // KEY + return KEY; + case 2: // TIMESTAMP + return TIMESTAMP; + case 3: // DIRECTION + return DIRECTION; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if(fields == null) + throw new IllegalArgumentException( + "Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not + * found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __DIRECTION_ISSET_ID = 0; + private byte __isset_bitfield = 0; + @SuppressWarnings("unused") + private static final _Fields optionals[] = { _Fields.TIMESTAMP }; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>( + _Fields.class); + tmpMap.put(_Fields.KEY, + new org.apache.thrift.meta_data.FieldMetaData("key", + org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TIMESTAMP, + new org.apache.thrift.meta_data.FieldMetaData("timestamp", + org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.StructMetaData( + org.apache.thrift.protocol.TType.STRUCT, + TObject.class))); + tmpMap.put(_Fields.DIRECTION, + new org.apache.thrift.meta_data.FieldMetaData("direction", + org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData( + org.apache.thrift.protocol.TType.I32))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData + .addStructMetaDataMap(TOrderComponent.class, metaDataMap); + } + + public TOrderComponent() {} + + public TOrderComponent(String key, int direction) { + this(); + this.key = key; + this.direction = direction; + setDirectionIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public TOrderComponent(TOrderComponent other) { + __isset_bitfield = other.__isset_bitfield; + if(other.isSetKey()) { + this.key = other.key; + } + if(other.isSetTimestamp()) { + this.timestamp = new TObject(other.timestamp); + } + this.direction = other.direction; + } + + public TOrderComponent deepCopy() { + return new TOrderComponent(this); + } + + @Override + public void clear() { + this.key = null; + this.timestamp = null; + setDirectionIsSet(false); + this.direction = 0; + } + + public String getKey() { + return this.key; + } + + public TOrderComponent setKey(String key) { + this.key = key; + return this; + } + + public void unsetKey() { + this.key = null; + } + + /** + * Returns true if field key is set (has been assigned a value) and false + * otherwise + */ + public boolean isSetKey() { + return this.key != null; + } + + public void setKeyIsSet(boolean value) { + if(!value) { + this.key = null; + } + } + + public TObject getTimestamp() { + return this.timestamp; + } + + public TOrderComponent setTimestamp(TObject timestamp) { + this.timestamp = timestamp; + return this; + } + + public void unsetTimestamp() { + this.timestamp = null; + } + + /** + * Returns true if field timestamp is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetTimestamp() { + return this.timestamp != null; + } + + public void setTimestampIsSet(boolean value) { + if(!value) { + this.timestamp = null; + } + } + + public int getDirection() { + return this.direction; + } + + public TOrderComponent setDirection(int direction) { + this.direction = direction; + setDirectionIsSet(true); + return this; + } + + public void unsetDirection() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, + __DIRECTION_ISSET_ID); + } + + /** + * Returns true if field direction is set (has been assigned a value) and + * false otherwise + */ + public boolean isSetDirection() { + return EncodingUtils.testBit(__isset_bitfield, __DIRECTION_ISSET_ID); + } + + public void setDirectionIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, + __DIRECTION_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY: + if(value == null) { + unsetKey(); + } + else { + setKey((String) value); + } + break; + + case TIMESTAMP: + if(value == null) { + unsetTimestamp(); + } + else { + setTimestamp((TObject) value); + } + break; + + case DIRECTION: + if(value == null) { + unsetDirection(); + } + else { + setDirection((Integer) value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY: + return getKey(); + + case TIMESTAMP: + return getTimestamp(); + + case DIRECTION: + return getDirection(); + + } + throw new IllegalStateException(); + } + + /** + * Returns true if field corresponding to fieldID is set (has been assigned + * a value) and false otherwise + */ + public boolean isSet(_Fields field) { + if(field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY: + return isSetKey(); + case TIMESTAMP: + return isSetTimestamp(); + case DIRECTION: + return isSetDirection(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if(that == null) + return false; + if(that instanceof TOrderComponent) + return this.equals((TOrderComponent) that); + return false; + } + + public boolean equals(TOrderComponent that) { + if(that == null) + return false; + + boolean this_present_key = true && this.isSetKey(); + boolean that_present_key = true && that.isSetKey(); + if(this_present_key || that_present_key) { + if(!(this_present_key && that_present_key)) + return false; + if(!this.key.equals(that.key)) + return false; + } + + boolean this_present_timestamp = true && this.isSetTimestamp(); + boolean that_present_timestamp = true && that.isSetTimestamp(); + if(this_present_timestamp || that_present_timestamp) { + if(!(this_present_timestamp && that_present_timestamp)) + return false; + if(!this.timestamp.equals(that.timestamp)) + return false; + } + + boolean this_present_direction = true; + boolean that_present_direction = true; + if(this_present_direction || that_present_direction) { + if(!(this_present_direction && that_present_direction)) + return false; + if(this.direction != that.direction) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key = true && (isSetKey()); + list.add(present_key); + if(present_key) + list.add(key); + + boolean present_timestamp = true && (isSetTimestamp()); + list.add(present_timestamp); + if(present_timestamp) + list.add(timestamp); + + boolean present_direction = true; + list.add(present_direction); + if(present_direction) + list.add(direction); + + return list.hashCode(); + } + + @Override + public int compareTo(TOrderComponent other) { + if(!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey()) + .compareTo(other.isSetKey()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetKey()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key, + other.key); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTimestamp()) + .compareTo(other.isSetTimestamp()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetTimestamp()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.timestamp, other.timestamp); + if(lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetDirection()) + .compareTo(other.isSetDirection()); + if(lastComparison != 0) { + return lastComparison; + } + if(isSetDirection()) { + lastComparison = org.apache.thrift.TBaseHelper + .compareTo(this.direction, other.direction); + if(lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) + throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) + throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("TOrderComponent("); + boolean first = true; + + sb.append("key:"); + if(this.key == null) { + sb.append("null"); + } + else { + sb.append(this.key); + } + first = false; + if(isSetTimestamp()) { + if(!first) + sb.append(", "); + sb.append("timestamp:"); + if(this.timestamp == null) { + sb.append("null"); + } + else { + sb.append(this.timestamp); + } + first = false; + } + if(!first) + sb.append(", "); + sb.append("direction:"); + sb.append(this.direction); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if(key == null) { + throw new org.apache.thrift.protocol.TProtocolException( + "Required field 'key' was not present! Struct: " + + toString()); + } + // alas, we cannot check 'direction' because it's a primitive and you + // chose the non-beans generator. + // check for sub-struct validity + if(timestamp != null) { + timestamp.validate(); + } + } + + private void writeObject(java.io.ObjectOutputStream out) + throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport(out))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) + throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java + // serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol( + new org.apache.thrift.transport.TIOStreamTransport(in))); + } + catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class TOrderComponentStandardSchemeFactory + implements SchemeFactory { + public TOrderComponentStandardScheme getScheme() { + return new TOrderComponentStandardScheme(); + } + } + + private static class TOrderComponentStandardScheme + extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, + TOrderComponent struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) { + schemeField = iprot.readFieldBegin(); + if(schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY + if(schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 2: // TIMESTAMP + if(schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.timestamp = new TObject(); + struct.timestamp.read(iprot); + struct.setTimestampIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + case 3: // DIRECTION + if(schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.direction = iprot.readI32(); + struct.setDirectionIsSet(true); + } + else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, + schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + + // check for required fields of primitive type, which can't be + // checked in the validate method + if(!struct.isSetDirection()) { + throw new org.apache.thrift.protocol.TProtocolException( + "Required field 'direction' was not found in serialized data! Struct: " + + toString()); + } + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, + TOrderComponent struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if(struct.key != null) { + oprot.writeFieldBegin(KEY_FIELD_DESC); + oprot.writeString(struct.key); + oprot.writeFieldEnd(); + } + if(struct.timestamp != null) { + if(struct.isSetTimestamp()) { + oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC); + struct.timestamp.write(oprot); + oprot.writeFieldEnd(); + } + } + oprot.writeFieldBegin(DIRECTION_FIELD_DESC); + oprot.writeI32(struct.direction); + oprot.writeFieldEnd(); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class TOrderComponentTupleSchemeFactory + implements SchemeFactory { + public TOrderComponentTupleScheme getScheme() { + return new TOrderComponentTupleScheme(); + } + } + + private static class TOrderComponentTupleScheme + extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, + TOrderComponent struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + oprot.writeString(struct.key); + oprot.writeI32(struct.direction); + BitSet optionals = new BitSet(); + if(struct.isSetTimestamp()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if(struct.isSetTimestamp()) { + struct.timestamp.write(oprot); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, + TOrderComponent struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + struct.key = iprot.readString(); + struct.setKeyIsSet(true); + struct.direction = iprot.readI32(); + struct.setDirectionIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if(incoming.get(0)) { + struct.timestamp = new TObject(); + struct.timestamp.read(iprot); + struct.setTimestampIsSet(true); + } + } + } + +} diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/LinkNavigation.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/Navigation.java similarity index 86% rename from concourse-driver-java/src/main/java/com/cinchapi/concourse/util/LinkNavigation.java rename to concourse-driver-java/src/main/java/com/cinchapi/concourse/util/Navigation.java index 8c9e923647..eb2ea9b03f 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/LinkNavigation.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/Navigation.java @@ -20,7 +20,7 @@ * * @author Jeff Nelson */ -public final class LinkNavigation { +public final class Navigation { /** * Given a navigation scheme, return the destination to which the scheme @@ -29,11 +29,11 @@ public final class LinkNavigation { * @param scheme * @return the destination */ - public static String getNavigationSchemeDestination(String scheme) { + public static String getKeyDestination(String scheme) { String[] toks = scheme.split("\\."); return toks[toks.length - 1]; } - private LinkNavigation() {/* no-op */} + private Navigation() {/* no-op */} } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/Parsers.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/Parsers.java index df2ab84b37..11f331b7cd 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/Parsers.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/Parsers.java @@ -36,7 +36,7 @@ public final class Parsers { * @return a {@link Parser} */ public static Parser create(Criteria criteria) { - return create(criteria.getCclString()); + return create(criteria.ccl()); } /** @@ -49,7 +49,7 @@ public static Parser create(Criteria criteria) { */ public static Parser create(Criteria criteria, Multimap data) { - return create(criteria.getCclString(), data); + return create(criteria.ccl(), data); } /** @@ -83,8 +83,7 @@ public static Parser create(String ccl, Multimap data) { * @return a {@link Parser} */ public static Parser create(TCriteria criteria) { - return create( - Language.translateFromThriftCriteria(criteria).getCclString()); + return create(Language.translateFromThriftCriteria(criteria).ccl()); } /** @@ -97,8 +96,7 @@ public static Parser create(TCriteria criteria) { */ public static Parser create(TCriteria criteria, Multimap data) { - return create( - Language.translateFromThriftCriteria(criteria).getCclString(), + return create(Language.translateFromThriftCriteria(criteria).ccl(), data); } diff --git a/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/PrettyLinkedTableMap.java b/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/PrettyLinkedTableMap.java index 4f032a920f..703f38904a 100644 --- a/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/PrettyLinkedTableMap.java +++ b/concourse-driver-java/src/main/java/com/cinchapi/concourse/util/PrettyLinkedTableMap.java @@ -48,6 +48,12 @@ @SuppressWarnings("serial") public class PrettyLinkedTableMap extends LinkedHashMap> { + /** + * The minimum column length. Is set equal to the size of the string "null" + * for consistent spacing when values don't exist. + */ + private static int MIN_COLUMN_LENGTH = "null".length(); + /** * Return an empty {@link PrettyLinkedTableMap} with the default row name. * @@ -106,7 +112,8 @@ public V put(R row, C column, V value) { super.put(row, rowdata); } rowLength = Math.max(row.toString().length(), rowLength); - int current = columns.containsKey(column) ? columns.get(column) : 0; + int current = columns.containsKey(column) ? columns.get(column) + : MIN_COLUMN_LENGTH; columns.put(column, Math.max(current, Math .max(column.toString().length(), value.toString().length()))); return rowdata.put(column, value); diff --git a/concourse-driver-java/src/test/java/com/cinchapi/concourse/data/DataCollectionsTest.java b/concourse-driver-java/src/test/java/com/cinchapi/concourse/data/DataCollectionsTest.java new file mode 100644 index 0000000000..4a602e3c84 --- /dev/null +++ b/concourse-driver-java/src/test/java/com/cinchapi/concourse/data/DataCollectionsTest.java @@ -0,0 +1,53 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.data; + +import java.util.Map; +import java.util.Set; + +import org.junit.Test; + +import com.cinchapi.concourse.data.transform.DataTable; +import com.cinchapi.concourse.thrift.TObject; +import com.cinchapi.concourse.util.Convert; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Maps; + +/** + * Unit tests for various result sets. + * + * @author Jeff Nelson + */ +public class DataCollectionsTest { + + @Test + public void testRecordKeyValuesResultSet() { + Map>> results = Maps.newLinkedHashMap(); + results.put(1L, + ImmutableMap.of("a", ImmutableSet.of(Convert.javaToThrift(1)))); + results.put(2L, ImmutableMap.of("b", ImmutableSet + .of(Convert.javaToThrift(11), Convert.javaToThrift(true)))); + results.put(3L, + ImmutableMap.of("b", ImmutableSet.of(Convert.javaToThrift(100), + Convert.javaToThrift(false), Convert.javaToThrift("a")), + "c", ImmutableSet.of(Convert.javaToThrift(34)))); + Map>> pretty = DataTable + .multiValued(results); + System.out.println(pretty); + } + +} diff --git a/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/CriteriaTest.java b/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/CriteriaTest.java index a8b06e4746..cfcc49bd76 100644 --- a/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/CriteriaTest.java +++ b/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/CriteriaTest.java @@ -42,7 +42,7 @@ public class CriteriaTest { public void testCannotAddSymbolToBuiltCriteria() { Criteria criteria = Criteria.where().key("foo") .operator(Operator.EQUALS).value("bar").build(); - criteria.add(new KeySymbol("baz")); + ((BuiltCriteria) criteria).add(new KeySymbol("baz")); } @Test @@ -65,7 +65,7 @@ public void testTimestampPinning() { .build(); Timestamp timestamp = Timestamp.now(); criteria = criteria.at(timestamp); - List symbols = Parsing.groupExpressions(criteria.getSymbols()); + List symbols = Parsing.groupExpressions(criteria.symbols()); symbols.forEach((symbol) -> { if(symbol instanceof Expression) { Expression expression = (Expression) symbol; @@ -86,7 +86,7 @@ public void testTimestampPinningSomeTimestamps() { .build(); Timestamp timestamp = Timestamp.now(); criteria = criteria.at(timestamp); - List symbols = Parsing.groupExpressions(criteria.getSymbols()); + List symbols = Parsing.groupExpressions(criteria.symbols()); symbols.forEach((symbol) -> { if(symbol instanceof Expression) { Expression expression = (Expression) symbol; @@ -101,7 +101,7 @@ public void testParseCcl() { String ccl = "name = jeff AND (company = Cinchapi at 12345 or company = Blavity)"; Criteria criteria = Criteria.parse(ccl); Parser parser1 = Parsers.create(ccl); - Parser parser2 = Parsers.create(criteria.getCclString()); + Parser parser2 = Parsers.create(criteria.ccl()); Assert.assertEquals(Parsing.groupExpressions(parser1.tokenize()), Parsing.groupExpressions(parser2.tokenize())); } diff --git a/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/JavaThriftBridgeTest.java b/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/JavaThriftBridgeTest.java new file mode 100644 index 0000000000..97a68a028e --- /dev/null +++ b/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/JavaThriftBridgeTest.java @@ -0,0 +1,54 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.lang; + +import org.junit.Assert; +import org.junit.Test; + +import com.cinchapi.concourse.Timestamp; +import com.cinchapi.concourse.lang.sort.Direction; +import com.cinchapi.concourse.lang.sort.Order; +import com.cinchapi.concourse.lang.sort.OrderComponent; +import com.cinchapi.concourse.thrift.JavaThriftBridge; +import com.cinchapi.concourse.thrift.TOrder; +import com.cinchapi.concourse.thrift.TOrderComponent; +import com.cinchapi.concourse.thrift.Type; + +/** + * Unit tests for {@link Language} utility class. + * + * @author Jeff Nelson + */ +public class JavaThriftBridgeTest { + + @Test + public void testOrderConvertRoundTrip() { + Order expected = Order.by("a").then("b").descending().then().by("c") + .at(Timestamp.now()).then("d"); + TOrder torder = JavaThriftBridge.convert(expected); + Order actual = JavaThriftBridge.convert(torder); + Assert.assertEquals(expected.spec(), actual.spec()); + } + + @Test + public void testOrderComponentWithStringTimestampConvert() { + OrderComponent component = new OrderComponent("a", + Timestamp.fromString("yesterday"), Direction.ASCENDING); + TOrderComponent tcomponent = JavaThriftBridge.convert(component); + Assert.assertTrue(tcomponent.getTimestamp().getType() == Type.STRING); + } + +} diff --git a/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/sort/OrderTest.java b/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/sort/OrderTest.java index b80e0a0aec..0f4bedb021 100644 --- a/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/sort/OrderTest.java +++ b/concourse-driver-java/src/test/java/com/cinchapi/concourse/lang/sort/OrderTest.java @@ -15,12 +15,13 @@ */ package com.cinchapi.concourse.lang.sort; -import java.util.Map; +import java.util.List; import org.junit.Assert; import org.junit.Test; -import com.google.common.collect.ImmutableMap; +import com.cinchapi.concourse.Timestamp; +import com.google.common.collect.ImmutableList; /** * Unit tests for the {@link com.cinchapi.concourse.lang.sort.Order} building @@ -30,51 +31,59 @@ public class OrderTest { @Test public void testDefaultSortOrder() { - Map expected = ImmutableMap.of("foo", 1); + List expected = ImmutableList + .of(new OrderComponent("foo", Direction.ASCENDING)); Order order = Order.by("foo").build(); - Assert.assertEquals(expected, order.spec); + Assert.assertEquals(expected, order.spec()); } @Test public void testAscendingSortOrder() { - Map expected = ImmutableMap.of("foo", 1); + List expected = ImmutableList + .of(new OrderComponent("foo", Direction.ASCENDING)); Order order = Order.by("foo").ascending().build(); - Assert.assertEquals(expected, order.spec); + Assert.assertEquals(expected, order.spec()); } @Test public void testDescendingSortOrder() { - Map expected = ImmutableMap.of("foo", -1); + List expected = ImmutableList + .of(new OrderComponent("foo", Direction.DESCENDING)); Order order = Order.by("foo").descending().build(); - Assert.assertEquals(expected, order.spec); + Assert.assertEquals(expected, order.spec()); } @Test public void testMultipleSortKeysSortOrder() { - Map expected = ImmutableMap.of("foo", 1, "bar", 1); + List expected = ImmutableList.of( + new OrderComponent("foo", Direction.ASCENDING), + new OrderComponent("bar", Direction.ASCENDING)); Order order = Order.by("foo").then().by("bar").ascending().build(); - Assert.assertEquals(expected, order.spec); + Assert.assertEquals(expected, order.spec()); } @Test public void testMultipleSortKeysWithImplicitSortOrders() { - Map expected = ImmutableMap.of("foo", 1, "bar", 1, - "zoo", 1); + List expected = ImmutableList.of( + new OrderComponent("foo", Direction.ASCENDING), + new OrderComponent("bar", Direction.ASCENDING), + new OrderComponent("zoo", Direction.ASCENDING)); Order order = Order.by("foo").then().by("bar").then().by("zoo").build(); - Assert.assertEquals(expected, order.spec); + Assert.assertEquals(expected, order.spec()); } @Test(expected = IllegalStateException.class) - public void testCannotAddSymbolToBuiltOrder() { + public void testCannotAddSymbolToOrder() { Order order = Order.by("foo").build(); - order.add("bar", Direction.ASCENDING); + ((BuiltOrder) order).set("bar", Direction.ASCENDING); } @Test public void testAlias() { - Map expected = ImmutableMap.of("foo", 1); + List expected = ImmutableList + .of(new OrderComponent("foo", Direction.ASCENDING)); Order order = Sort.by("foo").build(); - Assert.assertEquals(expected, order.spec); + Assert.assertEquals(expected, order.spec()); } @Test @@ -82,18 +91,39 @@ public void testComplexOrder() { Order order = Sort.by("a").then().by("b").ascending().then().by("c") .then().by("d").descending().then().by("e").largestFirst() .build(); - Map expected = ImmutableMap.of("a", 1, "b", 1, "c", 1, - "d", -1, "e", -1); - Assert.assertEquals(expected, order.spec); + List expected = ImmutableList.of( + new OrderComponent("a", Direction.ASCENDING), + new OrderComponent("b", Direction.ASCENDING), + new OrderComponent("c", Direction.ASCENDING), + new OrderComponent("d", Direction.DESCENDING), + new OrderComponent("e", Direction.DESCENDING)); + Assert.assertEquals(expected, order.spec()); } @Test public void testComplexOrderWithShortcut() { Order order = Sort.by("a").then("b").ascending().then("c").then() .by("d").descending().then("e").largestFirst().build(); - Map expected = ImmutableMap.of("a", 1, "b", 1, "c", 1, - "d", -1, "e", -1); - Assert.assertEquals(expected, order.spec); + List expected = ImmutableList.of( + new OrderComponent("a", Direction.ASCENDING), + new OrderComponent("b", Direction.ASCENDING), + new OrderComponent("c", Direction.ASCENDING), + new OrderComponent("d", Direction.DESCENDING), + new OrderComponent("e", Direction.DESCENDING)); + Assert.assertEquals(expected, order.spec()); + } + + @Test + public void testOrderWithTimestamp() { + Timestamp t1 = Timestamp.now(); + Timestamp t2 = Timestamp.now(); + Order order = Order.by("name").at(t1).descending().then("age").then() + .by("email").at(t2); + List expected = ImmutableList.of( + new OrderComponent("name", t1, Direction.DESCENDING), + new OrderComponent("age", Direction.ASCENDING), + new OrderComponent("email", t2, Direction.ASCENDING)); + Assert.assertEquals(expected, order.spec()); } } diff --git a/concourse-driver-php/composer.json b/concourse-driver-php/composer.json index e8d2bdddc3..539ac12624 100644 --- a/concourse-driver-php/composer.json +++ b/concourse-driver-php/composer.json @@ -1,7 +1,7 @@ { "name": "cinchapi/concourse-driver-php", "description": "Official PHP driver for Concourse", - "version": "1.0.0", + "version": "0.10.0", "type": "library", "keywords": ["concourse", "nosql", "bigdata"], "homepage": "http://concoursedb.com", diff --git a/concourse-ete-test-core/gradlew b/concourse-ete-test-core/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-ete-test-core/gradlew +++ b/concourse-ete-test-core/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/concourse-ete-test-core/src/main/java/com/cinchapi/concourse/server/ManagedConcourseServer.java b/concourse-ete-test-core/src/main/java/com/cinchapi/concourse/server/ManagedConcourseServer.java index 4ea893bb79..dda4b01584 100644 --- a/concourse-ete-test-core/src/main/java/com/cinchapi/concourse/server/ManagedConcourseServer.java +++ b/concourse-ete-test-core/src/main/java/com/cinchapi/concourse/server/ManagedConcourseServer.java @@ -69,6 +69,7 @@ import com.cinchapi.concourse.config.ConcourseClientPreferences; import com.cinchapi.concourse.config.ConcourseServerPreferences; import com.cinchapi.concourse.lang.Criteria; +import com.cinchapi.concourse.lang.sort.Order; import com.cinchapi.concourse.thrift.Diff; import com.cinchapi.concourse.thrift.Operator; import com.cinchapi.concourse.time.Time; @@ -1211,11 +1212,6 @@ public Set find(Criteria criteria) { return invoke("find", Criteria.class).with(criteria); } - @Override - public Set find(Object criteria) { - return invoke("find", Object.class).with(criteria); - } - @Override public Set find(String ccl) { return invoke("find", String.class).with(ccl); @@ -1349,20 +1345,6 @@ public Map get(Collection keys, long record, .with(keys, record, timestamp); } - @Override - public Map> get(Collection keys, - Object criteria) { - return invoke("get", Collection.class, Object.class).with(keys, - criteria); - } - - @Override - public Map> get(Collection keys, - Object criteria, Timestamp timestamp) { - return invoke("get", Collection.class, Object.class, - Timestamp.class).with(keys, criteria, timestamp); - } - @Override public Map> get(Collection keys, String ccl) { @@ -1389,18 +1371,6 @@ public Map> get(Criteria criteria, timestamp); } - @Override - public Map> get(Object criteria) { - return invoke("get", Object.class).with(criteria); - } - - @Override - public Map> get(Object criteria, - Timestamp timestamp) { - return invoke("get", Object.class, Timestamp.class).with(criteria, - timestamp); - } - @Override public Map> get(String ccl) { return invoke("get", String.class).with(ccl); @@ -1443,19 +1413,6 @@ public T get(String key, long record, Timestamp timestamp) { .with(key, record, timestamp); } - @Override - public Map get(String key, Object criteria) { - return invoke("get", String.class, Object.class).with(key, - criteria); - } - - @Override - public Map get(String key, Object criteria, - Timestamp timestamp) { - return invoke("get", String.class, Object.class, Timestamp.class) - .with(key, criteria, timestamp); - } - @Override public Map get(String key, String ccl) { return invoke("get", String.class, String.class).with(key, ccl); @@ -1816,20 +1773,6 @@ public Map> select(Collection keys, Timestamp.class).with(keys, record, timestamp); } - @Override - public Map>> select( - Collection keys, Object criteria) { - return invoke("select", Collection.class, Object.class).with(keys, - criteria); - } - - @Override - public Map>> select( - Collection keys, Object criteria, Timestamp timestamp) { - return invoke("select", Collection.class, Object.class, - Timestamp.class).with(keys, criteria, timestamp); - } - @Override public Map>> select( Collection keys, String ccl) { @@ -1868,18 +1811,6 @@ public Map> select(long record, timestamp); } - @Override - public Map>> select(Object criteria) { - return invoke("select", Object.class).with(criteria); - } - - @Override - public Map>> select(Object criteria, - Timestamp timestamp) { - return invoke("select", Object.class, Timestamp.class) - .with(criteria, timestamp); - } - @Override public Map>> select(String ccl) { return invoke("select", String.class).with(ccl); @@ -1923,19 +1854,6 @@ public Set select(String key, long record, Timestamp timestamp) { .with(key, record, timestamp); } - @Override - public Map> select(String key, Object criteria) { - return invoke("select", String.class, Object.class).with(key, - criteria); - } - - @Override - public Map> select(String key, Object criteria, - Timestamp timestamp) { - return invoke("select", String.class, Object.class, Timestamp.class) - .with(key, criteria, timestamp); - } - @Override public Map> select(String key, String ccl) { return invoke("select", String.class, String.class).with(key, ccl); @@ -2203,5 +2121,317 @@ else if(object.getClass().getSimpleName() return object; } } + + @Override + public Set find(Criteria criteria, Order order) { + return invoke("find").with(Criteria.class, Order.class); + } + + @Override + public Set find(String key, Object value, Order order) { + return invoke("find").with(String.class, Object.class, Order.class); + } + + @Override + public Set find(String key, Object value, Timestamp timestamp, + Order order) { + return invoke("find").with(String.class, Object.class, + Timestamp.class, Order.class); + } + + @Override + public Set find(String key, Operator operator, Object value, + Object value2, Order order) { + return invoke("find").with(String.class, Operator.class, + Object.class, Object.class, Order.class); + } + + @Override + public Set find(String key, Operator operator, Object value, + Object value2, Timestamp timestamp, Order order) { + return invoke("find").with(String.class, Operator.class, + Object.class, Object.class, Timestamp.class, Order.class); + } + + @Override + public Set find(String key, Operator operator, Object value, + Order order) { + return invoke("find").with(String.class, Operator.class, + Object.class, Order.class); + } + + @Override + public Set find(String key, Operator operator, Object value, + Timestamp timestamp, Order order) { + return invoke("find").with(String.class, Operator.class, + Object.class, Timestamp.class, Order.class); + } + + @Override + public Set find(String ccl, Order order) { + return invoke("find").with(String.class, Order.class); + } + + @Override + public Set find(String key, String operator, Object value, + Object value2, Order order) { + return invoke("find").with(String.class, String.class, Object.class, + Object.class, Order.class); + } + + @Override + public Set find(String key, String operator, Object value, + Object value2, Timestamp timestamp, Order order) { + return invoke("find").with(String.class, String.class, Object.class, + Object.class, Timestamp.class, Order.class); + } + + @Override + public Set find(String key, String operator, Object value, + Order order) { + return invoke("find").with(String.class, String.class, Object.class, + Order.class); + } + + @Override + public Set find(String key, String operator, Object value, + Timestamp timestamp, Order order) { + return invoke("find").with(String.class, String.class, Object.class, + Timestamp.class, Order.class); + } + + @Override + public Map> get(Collection keys, + Collection records, Order order) { + return invoke("get").with(Collection.class, Collection.class, + Order.class); + } + + @Override + public Map> get(Collection keys, + Collection records, Timestamp timestamp, Order order) { + return invoke("get").with(Collection.class, Collection.class, + Timestamp.class, Order.class); + } + + @Override + public Map> get(Collection keys, + Criteria criteria, Order order) { + return invoke("get").with(Collection.class, Criteria.class, + Order.class); + } + + @Override + public Map> get(Collection keys, + Criteria criteria, Timestamp timestamp, Order order) { + return invoke("get").with(Collection.class, Criteria.class, + Timestamp.class, Order.class); + } + + @Override + public Map> get(Collection keys, + String ccl, Order order) { + return invoke("get").with(Collection.class, String.class, + Order.class); + } + + @Override + public Map> get(Collection keys, + String ccl, Timestamp timestamp, Order order) { + return invoke("get").with(Collection.class, String.class, + Timestamp.class, Order.class); + } + + @Override + public Map> get(Criteria criteria, + Order order) { + return invoke("get").with(Criteria.class, Order.class); + } + + @Override + public Map> get(Criteria criteria, + Timestamp timestamp, Order order) { + return invoke("get").with(Criteria.class, Timestamp.class, + Order.class); + } + + @Override + public Map get(String key, Collection records, + Order order) { + return invoke("get").with(String.class, Collection.class, + Order.class); + } + + @Override + public Map get(String key, Collection records, + Timestamp timestamp, Order order) { + return invoke("get").with(String.class, Collection.class, + Timestamp.class, Order.class); + } + + @Override + public Map get(String key, Criteria criteria, + Order order) { + return invoke("get").with(String.class, Criteria.class, + Order.class); + } + + @Override + public Map get(String key, Criteria criteria, + Timestamp timestamp, Order order) { + return invoke("get").with(String.class, Criteria.class, + Timestamp.class, Order.class); + } + + @Override + public Map> get(String ccl, Order order) { + return invoke("get").with(String.class, Order.class); + } + + @Override + public Map get(String key, String ccl, Order order) { + return invoke("get").with(String.class, String.class, Order.class); + } + + @Override + public Map get(String key, String ccl, Timestamp timestamp, + Order order) { + return invoke("get").with(String.class, String.class, + Timestamp.class, Order.class); + } + + @Override + public Map> get(String ccl, + Timestamp timestamp, Order order) { + return invoke("get").with(String.class, Timestamp.class, + Order.class); + } + + @Override + public Map>> select( + Collection records, Order order) { + return invoke("select").with(Collection.class, Order.class); + } + + @Override + public Map>> select( + Collection records, Timestamp timestamp, Order order) { + return invoke("select").with(Collection.class, Timestamp.class, + Order.class); + } + + @Override + public Map>> select( + Collection keys, Collection records, + Order order) { + return invoke("select").with(Collection.class, Collection.class, + Order.class); + } + + @Override + public Map>> select( + Collection keys, Collection records, + Timestamp timestamp, Order order) { + return invoke("select").with(Collection.class, Collection.class, + Timestamp.class, Order.class); + } + + @Override + public Map>> select( + Collection keys, Criteria criteria, Order order) { + return invoke("select").with(Collection.class, Criteria.class, + Order.class); + } + + @Override + public Map>> select( + Collection keys, Criteria criteria, Timestamp timestamp, + Order order) { + return invoke("select").with(Collection.class, Criteria.class, + Timestamp.class, Order.class); + } + + @Override + public Map>> select( + Collection keys, String ccl, Order order) { + return invoke("select").with(Collection.class, String.class, + Order.class); + } + + @Override + public Map>> select( + Collection keys, String ccl, Timestamp timestamp, + Order order) { + return invoke("select").with(Collection.class, String.class, + Timestamp.class, Order.class); + } + + @Override + public Map>> select(Criteria criteria, + Order order) { + return invoke("select").with(Criteria.class, Order.class); + } + + @Override + public Map>> select(Criteria criteria, + Timestamp timestamp, Order order) { + return invoke("select").with(Criteria.class, Timestamp.class, + Order.class); + } + + @Override + public Map> select(String key, + Collection records, Order order) { + return invoke("select").with(String.class, Collection.class, + Order.class); + } + + @Override + public Map> select(String key, + Collection records, Timestamp timestamp, Order order) { + return invoke("select").with(String.class, Collection.class, + Timestamp.class, Order.class); + } + + @Override + public Map> select(String key, Criteria criteria, + Order order) { + return invoke("select").with(String.class, Criteria.class, + Order.class); + } + + @Override + public Map> select(String key, Criteria criteria, + Timestamp timestamp, Order order) { + return invoke("select").with(String.class, Criteria.class, + Timestamp.class, Order.class); + } + + @Override + public Map>> select(String ccl, + Order order) { + return invoke("select").with(String.class, Order.class); + } + + @Override + public Map> select(String key, String ccl, + Order order) { + return invoke("select").with(String.class, String.class, + Order.class); + } + + @Override + public Map> select(String key, String ccl, + Timestamp timestamp, Order order) { + return invoke("select").with(String.class, String.class, + Timestamp.class, Order.class); + } + + @Override + public Map>> select(String ccl, + Timestamp timestamp, Order order) { + return invoke("select").with(String.class, Timestamp.class, + Order.class); + } } } diff --git a/concourse-ete-tests/build.gradle b/concourse-ete-tests/build.gradle new file mode 100644 index 0000000000..d4cc4f4a43 --- /dev/null +++ b/concourse-ete-tests/build.gradle @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +dependencies { + testCompile project(':concourse-driver-java') + testCompile project(':concourse-ete-test-core') +} + +test { + exclude '**' +} diff --git a/concourse-ete-tests/gradlew b/concourse-ete-tests/gradlew new file mode 100755 index 0000000000..b80c85f619 --- /dev/null +++ b/concourse-ete-tests/gradlew @@ -0,0 +1,50 @@ +#!/usr/bin/env bash + +# Copyright (c) 2013-2019 Cinchapi Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# This script wraps the gradlew script in the root of the project directory +# and automatically invokes each task with the project in this directory as +# the prefix. + +# Get the path to the real gradlew script +REAL_GRADLEW_DIR=`dirname $0`"/.." +cd $REAL_GRADLEW_DIR +REAL_GRADLEW_DIR=`pwd -P` +cd - > /dev/null +REAL_GRADLEW_SCRIPT=$REAL_GRADLEW_DIR"/gradlew" + +# Get the name of this project, as known to Gradle +PROJECT=`pwd -P` +PROJECT="${PROJECT/$REAL_GRADLEW_DIR/}" +PROJECT=${PROJECT/\//} + +# Go to the REAL_GRADLEW_DIR and operate from there +cd $REAL_GRADLEW_DIR + +# Prepend the project name to all the input args +args=$@ +newargs="" +for i in ${args[@]} +do + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi + newargs+="$i " +done + +# Call the real gradle +bash $REAL_GRADLEW_SCRIPT $newargs + +exit $? diff --git a/concourse-ete-tests/src/test/java/com/cinchapi/concourse/bugrepro/CON649.java b/concourse-ete-tests/src/test/java/com/cinchapi/concourse/bugrepro/CON649.java new file mode 100644 index 0000000000..0300165855 --- /dev/null +++ b/concourse-ete-tests/src/test/java/com/cinchapi/concourse/bugrepro/CON649.java @@ -0,0 +1,114 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.bugrepro; + +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.concurrent.atomic.AtomicInteger; + +import org.apache.thrift.transport.TTransportException; +import org.junit.Assert; +import org.junit.Test; + +import com.cinchapi.concourse.Concourse; +import com.cinchapi.concourse.test.ClientServerTest; +import com.cinchapi.concourse.util.Random; +import com.google.common.collect.HashBasedTable; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.Lists; +import com.google.common.collect.Maps; +import com.google.common.collect.Sets; +import com.google.common.collect.Table; +import com.google.common.collect.Table.Cell; + +/** + * Unit test to reproduce the issues described in CON-649. + * + * @author Jeff Nelson + */ +public class CON649 extends ClientServerTest { + + @Test + public void repro() + throws IOException, TTransportException, InterruptedException { + List clients = Lists.newArrayList(); + Table expected = HashBasedTable.create(); + for (int i = 0; i < Runtime.getRuntime().availableProcessors(); ++i) { + clients.add(new Thread(() -> { + Concourse $client = server.connect(); + while (!Thread.currentThread().isInterrupted()) { + try { + long id = Random.getLong(); + String key = Random.getSimpleString(); + String value = Random.getSimpleString(); + $client.add(key, value, id); + expected.put(id, key, value); + Random.tinySleep(); // allow some transports to go + // through... + } + catch (Exception e) { + Thread.currentThread().interrupt(); + } + } + })); + } + clients.forEach(Thread::start); + Thread.sleep(10000); + Random.microSleep(); + server.stop(); + Path db = server.getDatabaseDirectory().resolve("default"); + List directories = ImmutableList.of(db.resolve("cpb"), + db.resolve("csb"), db.resolve("ctb")); + Map counts = Maps.newLinkedHashMap(); + directories.forEach(directory -> { + try { + Files.list(directory).forEach(file -> { + System.out.println(file); + String name = file.getFileName().toString().split("\\.")[0]; + counts.computeIfAbsent(name, key -> new AtomicInteger(0)) + .incrementAndGet(); + }); + } + catch (IOException e) { + e.printStackTrace(); + } + }); + Set distinct = Sets.newHashSet(); + counts.forEach((path, count) -> { + System.out.println(path + " = " + count); + distinct.add(count.get()); + }); + System.out.println(counts.size()); + server.start(); + client = server.connect(); + for (Cell cell : expected.cellSet()) { + long record = cell.getRowKey(); + String key = cell.getColumnKey(); + Object value = cell.getValue(); + Assert.assertEquals(value, client.get(key, record)); + } + } + + @Override + protected String getServerVersion() { + return ClientServerTest.LATEST_SNAPSHOT_VERSION; + } + +} diff --git a/concourse-import/gradlew b/concourse-import/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-import/gradlew +++ b/concourse-import/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/concourse-import/src/main/java/com/cinchapi/concourse/importer/debug/ImportDryRunConcourse.java b/concourse-import/src/main/java/com/cinchapi/concourse/importer/debug/ImportDryRunConcourse.java index 445c9f199a..5d99854a15 100644 --- a/concourse-import/src/main/java/com/cinchapi/concourse/importer/debug/ImportDryRunConcourse.java +++ b/concourse-import/src/main/java/com/cinchapi/concourse/importer/debug/ImportDryRunConcourse.java @@ -26,6 +26,7 @@ import com.cinchapi.concourse.Timestamp; import com.cinchapi.concourse.TransactionException; import com.cinchapi.concourse.lang.Criteria; +import com.cinchapi.concourse.lang.sort.Order; import com.cinchapi.concourse.thrift.Diff; import com.cinchapi.concourse.thrift.Operator; import com.cinchapi.concourse.util.Convert; @@ -304,11 +305,6 @@ public Set find(Criteria criteria) { throw new UnsupportedOperationException(); } - @Override - public Set find(Object criteria) { - throw new UnsupportedOperationException(); - } - @Override public Set find(String ccl) { throw new UnsupportedOperationException(); @@ -423,18 +419,6 @@ public Map get(Collection keys, long record, throw new UnsupportedOperationException(); } - @Override - public Map> get(Collection keys, - Object criteria) { - throw new UnsupportedOperationException(); - } - - @Override - public Map> get(Collection keys, - Object criteria, Timestamp timestamp) { - throw new UnsupportedOperationException(); - } - @Override public Map> get(Collection keys, String ccl) { @@ -458,17 +442,6 @@ public Map> get(Criteria criteria, throw new UnsupportedOperationException(); } - @Override - public Map> get(Object criteria) { - throw new UnsupportedOperationException(); - } - - @Override - public Map> get(Object criteria, - Timestamp timestamp) { - throw new UnsupportedOperationException(); - } - @Override public Map> get(String ccl) { throw new UnsupportedOperationException(); @@ -506,17 +479,6 @@ public T get(String key, long record, Timestamp timestamp) { throw new UnsupportedOperationException(); } - @Override - public Map get(String key, Object criteria) { - throw new UnsupportedOperationException(); - } - - @Override - public Map get(String key, Object criteria, - Timestamp timestamp) { - throw new UnsupportedOperationException(); - } - @Override public Map get(String key, String ccl) { throw new UnsupportedOperationException(); @@ -826,18 +788,6 @@ public Map> select(Collection keys, long record, throw new UnsupportedOperationException(); } - @Override - public Map>> select(Collection keys, - Object criteria) { - throw new UnsupportedOperationException(); - } - - @Override - public Map>> select(Collection keys, - Object criteria, Timestamp timestamp) { - throw new UnsupportedOperationException(); - } - @Override public Map>> select(Collection keys, String ccl) { @@ -871,17 +821,6 @@ public Map> select(long record, Timestamp timestamp) { throw new UnsupportedOperationException(); } - @Override - public Map>> select(Object criteria) { - throw new UnsupportedOperationException(); - } - - @Override - public Map>> select(Object criteria, - Timestamp timestamp) { - throw new UnsupportedOperationException(); - } - @Override public Map>> select(String ccl) { throw new UnsupportedOperationException(); @@ -919,17 +858,6 @@ public Set select(String key, long record, Timestamp timestamp) { throw new UnsupportedOperationException(); } - @Override - public Map> select(String key, Object criteria) { - throw new UnsupportedOperationException(); - } - - @Override - public Map> select(String key, Object criteria, - Timestamp timestamp) { - throw new UnsupportedOperationException(); - } - @Override public Map> select(String key, String ccl) { throw new UnsupportedOperationException(); @@ -1004,4 +932,271 @@ protected Concourse copyConnection() { return new ImportDryRunConcourse(); } + @Override + public Set find(Criteria criteria, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String key, Object value, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String key, Object value, Timestamp timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String key, Operator operator, Object value, + Object value2, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String key, Operator operator, Object value, + Object value2, Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String key, Operator operator, Object value, + Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String key, Operator operator, Object value, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String ccl, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String key, String operator, Object value, + Object value2, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String key, String operator, Object value, + Object value2, Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String key, String operator, Object value, + Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Set find(String key, String operator, Object value, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> get(Collection keys, + Collection records, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> get(Collection keys, + Collection records, Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> get(Collection keys, + Criteria criteria, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> get(Collection keys, + Criteria criteria, Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> get(Collection keys, + String ccl, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> get(Collection keys, + String ccl, Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> get(Criteria criteria, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> get(Criteria criteria, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map get(String key, Collection records, + Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map get(String key, Collection records, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map get(String key, Criteria criteria, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map get(String key, Criteria criteria, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> get(String ccl, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map get(String key, String ccl, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map get(String key, String ccl, Timestamp timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> get(String ccl, Timestamp timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(Collection records, + Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(Collection records, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(Collection keys, + Collection records, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(Collection keys, + Collection records, Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(Collection keys, + Criteria criteria, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(Collection keys, + Criteria criteria, Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(Collection keys, + String ccl, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(Collection keys, + String ccl, Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(Criteria criteria, + Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(Criteria criteria, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> select(String key, Collection records, + Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> select(String key, Collection records, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> select(String key, Criteria criteria, + Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> select(String key, Criteria criteria, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(String ccl, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> select(String key, String ccl, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map> select(String key, String ccl, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + + @Override + public Map>> select(String ccl, + Timestamp timestamp, Order order) { + throw new UnsupportedOperationException(); + } + } diff --git a/concourse-integration-tests/gradlew b/concourse-integration-tests/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-integration-tests/gradlew +++ b/concourse-integration-tests/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/concourse-integration-tests/src/test/java/com/cinchapi/concourse/FindCriteriaTest.java b/concourse-integration-tests/src/test/java/com/cinchapi/concourse/FindCriteriaTest.java index e29b3ea7e8..41d0275839 100644 --- a/concourse-integration-tests/src/test/java/com/cinchapi/concourse/FindCriteriaTest.java +++ b/concourse-integration-tests/src/test/java/com/cinchapi/concourse/FindCriteriaTest.java @@ -90,11 +90,6 @@ public void testBuildableStateParamSucceeds() { .operator(Operator.GREATER_THAN).value(90).build())); } - @Test(expected = IllegalArgumentException.class) - public void testNonBuildableStateParamDoesNotSucceed() { - client.find(new Object()); - } - @Test public void testSimple() { Assert.assertTrue(hasSameResults(Criteria.where().key("graduation_rate") @@ -197,6 +192,20 @@ public void testReproCON_634() { Assert.assertTrue(true); // lack of Exception means test passes } + @Test + public void testFindCriteriaImplicitBuild() { + Assert.assertTrue(hasSameResults(Criteria.where() + .group(Criteria.where().key("graduation_rate") + .operator(Operator.GREATER_THAN).value(90).or() + .key("yield_men").operator(Operator.EQUALS).value(20)) + .and() + .group(Criteria.where().key("percent_undergrad_black") + .operator(Operator.GREATER_THAN_OR_EQUALS).value(5).or() + .key("total_cost_out_state") + .operator(Operator.GREATER_THAN).value(50000) + .build()))); + } + /** * Validate that the {@code criteria} returns the same result in Concourse * as it does in a relational database. diff --git a/concourse-integration-tests/src/test/java/com/cinchapi/concourse/ResultOrderTest.java b/concourse-integration-tests/src/test/java/com/cinchapi/concourse/ResultOrderTest.java new file mode 100644 index 0000000000..8051ddf4eb --- /dev/null +++ b/concourse-integration-tests/src/test/java/com/cinchapi/concourse/ResultOrderTest.java @@ -0,0 +1,126 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse; + +import java.util.Map; +import java.util.Set; + +import org.junit.Assert; +import org.junit.Test; + +import com.cinchapi.concourse.lang.sort.Order; +import com.cinchapi.concourse.test.ConcourseIntegrationTest; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; + +/** + * Unit tests for {@link Order ordering} results. + * + * @author Jeff Nelson + */ +public class ResultOrderTest extends ConcourseIntegrationTest { + + @Override + public void beforeEachTest() { + seed(); + } + + @Test + public void testSelectCclNoOrder() { + Map>> data = client + .select("active = true"); + long last = 0; + for (long record : data.keySet()) { + Assert.assertTrue(record > last); + last = record; + } + } + + @Test + public void testGetCclNoOrder() { + Map>> data = client.get("active = true"); + long last = 0; + for (long record : data.keySet()) { + Assert.assertTrue(record > last); + last = record; + } + } + + @Test + public void testSelectCclOrder() { + Map>> data = client.select( + "active = true", Order.by("score").then("name").largestFirst()); + String name = ""; + int score = 0; + for (Map> row : data.values()) { + String $name = (String) row.get("name").iterator().next(); + int $score = (int) row.get("score").iterator().next(); + Assert.assertTrue(Integer.compare($score, score) > 0 + || (Integer.compare($score, score) == 0 + && $name.compareTo(name) < 0)); + name = $name; + score = $score; + } + } + + @Test + public void testGetCclOrder() { + Map> data = client.get("active = true", + Order.by("score").then("name").largestFirst()); + String name = ""; + int score = 0; + for (Map row : data.values()) { + String $name = (String) row.get("name"); + int $score = (int) row.get("score"); + Assert.assertTrue(Integer.compare($score, score) > 0 + || (Integer.compare($score, score) == 0 + && $name.compareTo(name) < 0)); + name = $name; + score = $score; + } + } + + /** + * Seed the test database. + */ + private void seed() { + long a = client.insert(ImmutableMap.of("name", "Jeff Nelson", "age", 31, + "company", "Cinchapi", "active", true, "score", 100)); + long b = client.insert(ImmutableMap.of("name", "John Doe", "age", 40, + "company", "Blavity", "active", false, "score", 95)); + long c = client.insert(ImmutableMap.of("name", "Jeff Johnson", "age", + 38, "company", "BET", "active", true, "score", 99)); + long d = client.insert(ImmutableMap.of("name", "Ashleah Nelson", "age", + 31, "company", "Cinchapi", "active", false, "score", 100)); + long e = client.insert(ImmutableMap.of("name", "Barack Obama", "age", + 56, "company", "United States", "active", false, "score", 80)); + long f = client.insert(ImmutableMap.of("name", "Ronald Reagan", "age", + 89, "company", "United States", "active", false, "score", 80)); + long g = client.insert(ImmutableMap.of("name", "Zane Miller", "age", 31, + "company", "Cinchapi", "active", true, "score", 100)); + long h = client.insert(ImmutableMap.of("name", "Peter Griffin", "age", + 40, "company", "Family Guy", "active", true, "score", 23)); + client.link("friends", ImmutableList.of(b, c, f, h), a); + client.link("friends", ImmutableList.of(a, d, g), b); + client.link("friends", ImmutableList.of(e), c); + client.link("friends", ImmutableList.of(a, b, e, g, h), d); + client.link("friends", ImmutableList.of(a), e); + client.link("friends", ImmutableList.of(a, b, e, g, h), f); + client.link("friends", ImmutableList.of(c, d, h), g); + client.link("friends", ImmutableList.of(a, b, f), h); + } + +} diff --git a/concourse-plugin-core-tests/gradlew b/concourse-plugin-core-tests/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-plugin-core-tests/gradlew +++ b/concourse-plugin-core-tests/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/concourse-plugin-core/gradlew b/concourse-plugin-core/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-plugin-core/gradlew +++ b/concourse-plugin-core/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/ConcourseRuntime.java b/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/ConcourseRuntime.java index 781c1d244e..0dadbb3453 100644 --- a/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/ConcourseRuntime.java +++ b/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/ConcourseRuntime.java @@ -34,10 +34,12 @@ import com.cinchapi.common.base.CheckedExceptions; import com.cinchapi.concourse.lang.Criteria; import com.cinchapi.concourse.lang.Language; +import com.cinchapi.concourse.lang.sort.Order; import com.cinchapi.concourse.server.plugin.data.ObjectResultDataset; import com.cinchapi.concourse.server.plugin.data.TObjectResultDataset; import com.cinchapi.concourse.server.plugin.io.PluginSerializer; import com.cinchapi.concourse.thrift.ComplexTObject; +import com.cinchapi.concourse.thrift.JavaThriftBridge; import com.cinchapi.concourse.util.ConcurrentMaps; import com.cinchapi.concourse.util.Convert; import com.google.common.collect.Lists; @@ -118,9 +120,11 @@ private static T invokeServer(String method, Object... args) { Collection valueTransform = VALUE_TRANSFORM.get(method); Collection criteriaTransform = CRITERIA_TRANSFORM .get(method); + Collection orderTransform = ORDER_TRANSFORM.get(method); for (int i = 0; i < args.length; ++i) { // Must go through each parameters and transform generic value - // objects into TObjects and all Criteria into TCriteria. + // objects into TObjects; all Criteria into TCriteria and all + // Order into TOrder Object arg = args[i]; if(valueTransform.contains(i)) { if(arg instanceof List) { @@ -145,6 +149,9 @@ else if(arg instanceof Map) { else if(criteriaTransform.contains(i)) { arg = Language.translateToThriftCriteria((Criteria) arg); } + else if(orderTransform.contains(i)) { + arg = JavaThriftBridge.convert((Order) arg); + } targs.add(ComplexTObject.fromJavaObject(arg)); } // Send a RemoteMethodRequest to the server, asking that the locally diff --git a/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/StatefulConcourseService.java b/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/StatefulConcourseService.java index b63bc2c0fe..5faa9a9eb9 100644 --- a/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/StatefulConcourseService.java +++ b/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/StatefulConcourseService.java @@ -21,6 +21,7 @@ import java.util.Set; import com.cinchapi.concourse.lang.Criteria; +import com.cinchapi.concourse.lang.sort.Order; import com.cinchapi.concourse.thrift.*; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; @@ -53,6 +54,16 @@ abstract class StatefulConcourseService { protected static Multimap CRITERIA_TRANSFORM = HashMultimap .create(); + /** + * A mapping from Thrift method names to a collection of parameter + * posions that take TOrder objects. For convenience, a + * StatefulConcourseService accepts generic objects for those parameters + * and we must keep track here so it is known what must be translated into + * a TOrder for proper routing in ConcourseServer. + */ + protected static Multimap ORDER_TRANSFORM = HashMultimap + .create(); + /** * A collection of Thrift methods that have a return value that contains * a TObject. For convenience, a StatefulConcourseService will return @@ -130,14 +141,26 @@ abstract class StatefulConcourseService { RETURN_TRANSFORM.add("selectRecords"); + RETURN_TRANSFORM.add("selectRecordsOrder"); + + ORDER_TRANSFORM.put("selectRecordsOrder", 1); + RETURN_TRANSFORM.add("selectRecordTime"); RETURN_TRANSFORM.add("selectRecordTimestr"); RETURN_TRANSFORM.add("selectRecordsTime"); + RETURN_TRANSFORM.add("selectRecordsTimeOrder"); + + ORDER_TRANSFORM.put("selectRecordsTimeOrder", 2); + RETURN_TRANSFORM.add("selectRecordsTimestr"); + RETURN_TRANSFORM.add("selectRecordsTimestrOrder"); + + ORDER_TRANSFORM.put("selectRecordsTimestrOrder", 2); + RETURN_TRANSFORM.add("selectKeyRecord"); RETURN_TRANSFORM.add("selectKeyRecordTime"); @@ -152,70 +175,184 @@ abstract class StatefulConcourseService { RETURN_TRANSFORM.add("selectKeysRecords"); + RETURN_TRANSFORM.add("selectKeysRecordsOrder"); + + ORDER_TRANSFORM.put("selectKeysRecordsOrder", 2); + RETURN_TRANSFORM.add("selectKeyRecords"); + RETURN_TRANSFORM.add("selectKeyRecordsOrder"); + + ORDER_TRANSFORM.put("selectKeyRecordsOrder", 2); + RETURN_TRANSFORM.add("selectKeyRecordsTime"); + RETURN_TRANSFORM.add("selectKeyRecordsTimeOrder"); + + ORDER_TRANSFORM.put("selectKeyRecordsTimeOrder", 3); + RETURN_TRANSFORM.add("selectKeyRecordsTimestr"); + RETURN_TRANSFORM.add("selectKeyRecordsTimestrOrder"); + + ORDER_TRANSFORM.put("selectKeyRecordsTimestrOrder", 3); + RETURN_TRANSFORM.add("selectKeysRecordsTime"); + RETURN_TRANSFORM.add("selectKeysRecordsTimeOrder"); + + ORDER_TRANSFORM.put("selectKeysRecordsTimeOrder", 3); + RETURN_TRANSFORM.add("selectKeysRecordsTimestr"); + RETURN_TRANSFORM.add("selectKeysRecordsTimestrOrder"); + + ORDER_TRANSFORM.put("selectKeysRecordsTimestrOrder", 3); + RETURN_TRANSFORM.add("selectCriteria"); CRITERIA_TRANSFORM.put("selectCriteria", 0); + RETURN_TRANSFORM.add("selectCriteriaOrder"); + + CRITERIA_TRANSFORM.put("selectCriteriaOrder", 0); + + ORDER_TRANSFORM.put("selectCriteriaOrder", 1); + RETURN_TRANSFORM.add("selectCcl"); + RETURN_TRANSFORM.add("selectCclOrder"); + + ORDER_TRANSFORM.put("selectCclOrder", 1); + RETURN_TRANSFORM.add("selectCriteriaTime"); CRITERIA_TRANSFORM.put("selectCriteriaTime", 0); + RETURN_TRANSFORM.add("selectCriteriaTimeOrder"); + + CRITERIA_TRANSFORM.put("selectCriteriaTimeOrder", 0); + + ORDER_TRANSFORM.put("selectCriteriaTimeOrder", 2); + RETURN_TRANSFORM.add("selectCriteriaTimestr"); CRITERIA_TRANSFORM.put("selectCriteriaTimestr", 0); + RETURN_TRANSFORM.add("selectCriteriaTimestrOrder"); + + CRITERIA_TRANSFORM.put("selectCriteriaTimestrOrder", 0); + + ORDER_TRANSFORM.put("selectCriteriaTimestrOrder", 2); + RETURN_TRANSFORM.add("selectCclTime"); + RETURN_TRANSFORM.add("selectCclTimeOrder"); + + ORDER_TRANSFORM.put("selectCclTimeOrder", 2); + RETURN_TRANSFORM.add("selectCclTimestr"); + RETURN_TRANSFORM.add("selectCclTimestrOrder"); + + ORDER_TRANSFORM.put("selectCclTimestrOrder", 2); + RETURN_TRANSFORM.add("selectKeyCriteria"); CRITERIA_TRANSFORM.put("selectKeyCriteria", 1); + RETURN_TRANSFORM.add("selectKeyCriteriaOrder"); + + CRITERIA_TRANSFORM.put("selectKeyCriteriaOrder", 1); + + ORDER_TRANSFORM.put("selectKeyCriteriaOrder", 2); + RETURN_TRANSFORM.add("selectKeyCcl"); + RETURN_TRANSFORM.add("selectKeyCclOrder"); + + ORDER_TRANSFORM.put("selectKeyCclOrder", 2); + RETURN_TRANSFORM.add("selectKeyCriteriaTime"); CRITERIA_TRANSFORM.put("selectKeyCriteriaTime", 1); + RETURN_TRANSFORM.add("selectKeyCriteriaTimeOrder"); + + CRITERIA_TRANSFORM.put("selectKeyCriteriaTimeOrder", 1); + + ORDER_TRANSFORM.put("selectKeyCriteriaTimeOrder", 3); + RETURN_TRANSFORM.add("selectKeyCriteriaTimestr"); CRITERIA_TRANSFORM.put("selectKeyCriteriaTimestr", 1); + RETURN_TRANSFORM.add("selectKeyCriteriaTimestrOrder"); + + CRITERIA_TRANSFORM.put("selectKeyCriteriaTimestrOrder", 1); + + ORDER_TRANSFORM.put("selectKeyCriteriaTimestrOrder", 3); + RETURN_TRANSFORM.add("selectKeyCclTime"); + RETURN_TRANSFORM.add("selectKeyCclTimeOrder"); + + ORDER_TRANSFORM.put("selectKeyCclTimeOrder", 3); + RETURN_TRANSFORM.add("selectKeyCclTimestr"); + RETURN_TRANSFORM.add("selectKeyCclTimestrOrder"); + + ORDER_TRANSFORM.put("selectKeyCclTimestrOrder", 3); + RETURN_TRANSFORM.add("selectKeysCriteria"); CRITERIA_TRANSFORM.put("selectKeysCriteria", 1); + RETURN_TRANSFORM.add("selectKeysCriteriaOrder"); + + CRITERIA_TRANSFORM.put("selectKeysCriteriaOrder", 1); + + ORDER_TRANSFORM.put("selectKeysCriteriaOrder", 2); + RETURN_TRANSFORM.add("selectKeysCcl"); + RETURN_TRANSFORM.add("selectKeysCclOrder"); + + ORDER_TRANSFORM.put("selectKeysCclOrder", 2); + RETURN_TRANSFORM.add("selectKeysCriteriaTime"); CRITERIA_TRANSFORM.put("selectKeysCriteriaTime", 1); + RETURN_TRANSFORM.add("selectKeysCriteriaTimeOrder"); + + CRITERIA_TRANSFORM.put("selectKeysCriteriaTimeOrder", 1); + + ORDER_TRANSFORM.put("selectKeysCriteriaTimeOrder", 3); + RETURN_TRANSFORM.add("selectKeysCriteriaTimestr"); CRITERIA_TRANSFORM.put("selectKeysCriteriaTimestr", 1); + RETURN_TRANSFORM.add("selectKeysCriteriaTimestrOrder"); + + CRITERIA_TRANSFORM.put("selectKeysCriteriaTimestrOrder", 1); + + ORDER_TRANSFORM.put("selectKeysCriteriaTimestrOrder", 3); + RETURN_TRANSFORM.add("selectKeysCclTime"); + RETURN_TRANSFORM.add("selectKeysCclTimeOrder"); + + ORDER_TRANSFORM.put("selectKeysCclTimeOrder", 3); + RETURN_TRANSFORM.add("selectKeysCclTimestr"); + RETURN_TRANSFORM.add("selectKeysCclTimestrOrder"); + + ORDER_TRANSFORM.put("selectKeysCclTimestrOrder", 3); + RETURN_TRANSFORM.add("getKeyRecord"); RETURN_TRANSFORM.add("getKeyRecordTime"); @@ -230,70 +367,184 @@ abstract class StatefulConcourseService { RETURN_TRANSFORM.add("getKeysRecords"); + RETURN_TRANSFORM.add("getKeysRecordsOrder"); + + ORDER_TRANSFORM.put("getKeysRecordsOrder", 2); + RETURN_TRANSFORM.add("getKeyRecords"); + RETURN_TRANSFORM.add("getKeyRecordsOrder"); + + ORDER_TRANSFORM.put("getKeyRecordsOrder", 2); + RETURN_TRANSFORM.add("getKeyRecordsTime"); + RETURN_TRANSFORM.add("getKeyRecordsTimeOrder"); + + ORDER_TRANSFORM.put("getKeyRecordsTimeOrder", 3); + RETURN_TRANSFORM.add("getKeyRecordsTimestr"); + RETURN_TRANSFORM.add("getKeyRecordsTimestrOrder"); + + ORDER_TRANSFORM.put("getKeyRecordsTimestrOrder", 3); + RETURN_TRANSFORM.add("getKeysRecordsTime"); + RETURN_TRANSFORM.add("getKeysRecordsTimeOrder"); + + ORDER_TRANSFORM.put("getKeysRecordsTimeOrder", 3); + RETURN_TRANSFORM.add("getKeysRecordsTimestr"); + RETURN_TRANSFORM.add("getKeysRecordsTimestrOrder"); + + ORDER_TRANSFORM.put("getKeysRecordsTimestrOrder", 3); + RETURN_TRANSFORM.add("getKeyCriteria"); CRITERIA_TRANSFORM.put("getKeyCriteria", 1); + RETURN_TRANSFORM.add("getKeyCriteriaOrder"); + + CRITERIA_TRANSFORM.put("getKeyCriteriaOrder", 1); + + ORDER_TRANSFORM.put("getKeyCriteriaOrder", 2); + RETURN_TRANSFORM.add("getCriteria"); CRITERIA_TRANSFORM.put("getCriteria", 0); + RETURN_TRANSFORM.add("getCriteriaOrder"); + + CRITERIA_TRANSFORM.put("getCriteriaOrder", 0); + + ORDER_TRANSFORM.put("getCriteriaOrder", 1); + RETURN_TRANSFORM.add("getCcl"); + RETURN_TRANSFORM.add("getCclOrder"); + + ORDER_TRANSFORM.put("getCclOrder", 1); + RETURN_TRANSFORM.add("getCriteriaTime"); CRITERIA_TRANSFORM.put("getCriteriaTime", 0); + RETURN_TRANSFORM.add("getCriteriaTimeOrder"); + + CRITERIA_TRANSFORM.put("getCriteriaTimeOrder", 0); + + ORDER_TRANSFORM.put("getCriteriaTimeOrder", 2); + RETURN_TRANSFORM.add("getCriteriaTimestr"); CRITERIA_TRANSFORM.put("getCriteriaTimestr", 0); + RETURN_TRANSFORM.add("getCriteriaTimestrOrder"); + + CRITERIA_TRANSFORM.put("getCriteriaTimestrOrder", 0); + + ORDER_TRANSFORM.put("getCriteriaTimestrOrder", 2); + RETURN_TRANSFORM.add("getCclTime"); + RETURN_TRANSFORM.add("getCclTimeOrder"); + + ORDER_TRANSFORM.put("getCclTimeOrder", 2); + RETURN_TRANSFORM.add("getCclTimestr"); + RETURN_TRANSFORM.add("getCclTimestrOrder"); + + ORDER_TRANSFORM.put("getCclTimestrOrder", 2); + RETURN_TRANSFORM.add("getKeyCcl"); + RETURN_TRANSFORM.add("getKeyCclOrder"); + + ORDER_TRANSFORM.put("getKeyCclOrder", 2); + RETURN_TRANSFORM.add("getKeyCriteriaTime"); CRITERIA_TRANSFORM.put("getKeyCriteriaTime", 1); + RETURN_TRANSFORM.add("getKeyCriteriaTimeOrder"); + + CRITERIA_TRANSFORM.put("getKeyCriteriaTimeOrder", 1); + + ORDER_TRANSFORM.put("getKeyCriteriaTimeOrder", 3); + RETURN_TRANSFORM.add("getKeyCriteriaTimestr"); CRITERIA_TRANSFORM.put("getKeyCriteriaTimestr", 1); + RETURN_TRANSFORM.add("getKeyCriteriaTimestrOrder"); + + CRITERIA_TRANSFORM.put("getKeyCriteriaTimestrOrder", 1); + + ORDER_TRANSFORM.put("getKeyCriteriaTimestrOrder", 3); + RETURN_TRANSFORM.add("getKeyCclTime"); + RETURN_TRANSFORM.add("getKeyCclTimeOrder"); + + ORDER_TRANSFORM.put("getKeyCclTimeOrder", 3); + RETURN_TRANSFORM.add("getKeyCclTimestr"); + RETURN_TRANSFORM.add("getKeyCclTimestrOrder"); + + ORDER_TRANSFORM.put("getKeyCclTimestrOrder", 3); + RETURN_TRANSFORM.add("getKeysCriteria"); CRITERIA_TRANSFORM.put("getKeysCriteria", 1); + RETURN_TRANSFORM.add("getKeysCriteriaOrder"); + + CRITERIA_TRANSFORM.put("getKeysCriteriaOrder", 1); + + ORDER_TRANSFORM.put("getKeysCriteriaOrder", 2); + RETURN_TRANSFORM.add("getKeysCcl"); + RETURN_TRANSFORM.add("getKeysCclOrder"); + + ORDER_TRANSFORM.put("getKeysCclOrder", 2); + RETURN_TRANSFORM.add("getKeysCriteriaTime"); CRITERIA_TRANSFORM.put("getKeysCriteriaTime", 1); + RETURN_TRANSFORM.add("getKeysCriteriaTimeOrder"); + + CRITERIA_TRANSFORM.put("getKeysCriteriaTimeOrder", 1); + + ORDER_TRANSFORM.put("getKeysCriteriaTimeOrder", 3); + RETURN_TRANSFORM.add("getKeysCriteriaTimestr"); CRITERIA_TRANSFORM.put("getKeysCriteriaTimestr", 1); + RETURN_TRANSFORM.add("getKeysCriteriaTimestrOrder"); + + CRITERIA_TRANSFORM.put("getKeysCriteriaTimestrOrder", 1); + + ORDER_TRANSFORM.put("getKeysCriteriaTimestrOrder", 3); + RETURN_TRANSFORM.add("getKeysCclTime"); + RETURN_TRANSFORM.add("getKeysCclTimeOrder"); + + ORDER_TRANSFORM.put("getKeysCclTimeOrder", 3); + RETURN_TRANSFORM.add("getKeysCclTimestr"); + RETURN_TRANSFORM.add("getKeysCclTimestrOrder"); + + ORDER_TRANSFORM.put("getKeysCclTimestrOrder", 3); + VALUE_TRANSFORM.put("verifyKeyValueRecord", 1); VALUE_TRANSFORM.put("verifyKeyValueRecordTime", 1); @@ -302,18 +553,48 @@ abstract class StatefulConcourseService { CRITERIA_TRANSFORM.put("findCriteria", 0); + CRITERIA_TRANSFORM.put("findCriteriaOrder", 0); + + ORDER_TRANSFORM.put("findCriteriaOrder", 1); + + ORDER_TRANSFORM.put("findCclOrder", 1); + VALUE_TRANSFORM.put("findKeyOperatorValues", 2); + VALUE_TRANSFORM.put("findKeyOperatorValuesOrder", 2); + + ORDER_TRANSFORM.put("findKeyOperatorValuesOrder", 3); + VALUE_TRANSFORM.put("findKeyOperatorValuesTime", 2); + VALUE_TRANSFORM.put("findKeyOperatorValuesTimeOrder", 2); + + ORDER_TRANSFORM.put("findKeyOperatorValuesTimeOrder", 4); + VALUE_TRANSFORM.put("findKeyOperatorValuesTimestr", 2); + VALUE_TRANSFORM.put("findKeyOperatorValuesTimestrOrder", 2); + + ORDER_TRANSFORM.put("findKeyOperatorValuesTimestrOrder", 4); + VALUE_TRANSFORM.put("findKeyOperatorstrValues", 2); + VALUE_TRANSFORM.put("findKeyOperatorstrValuesOrder", 2); + + ORDER_TRANSFORM.put("findKeyOperatorstrValuesOrder", 3); + VALUE_TRANSFORM.put("findKeyOperatorstrValuesTime", 2); + VALUE_TRANSFORM.put("findKeyOperatorstrValuesTimeOrder", 2); + + ORDER_TRANSFORM.put("findKeyOperatorstrValuesTimeOrder", 4); + VALUE_TRANSFORM.put("findKeyOperatorstrValuesTimestr", 2); + VALUE_TRANSFORM.put("findKeyOperatorstrValuesTimestrOrder", 2); + + ORDER_TRANSFORM.put("findKeyOperatorstrValuesTimestrOrder", 4); + VALUE_TRANSFORM.put("verifyAndSwap", 1); VALUE_TRANSFORM.put("verifyAndSwap", 3); @@ -827,6 +1108,11 @@ public Map>> selectRecords( throw new UnsupportedOperationException(); } + public Map>> selectRecordsOrder( + List records, Order order) { + throw new UnsupportedOperationException(); + } + public Map> selectRecordTime(long record, long timestamp) { throw new UnsupportedOperationException(); @@ -842,11 +1128,21 @@ public Map>> selectRecordsTime( throw new UnsupportedOperationException(); } + public Map>> selectRecordsTimeOrder( + List records, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectRecordsTimestr( List records, String timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectRecordsTimestrOrder( + List records, String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Set selectKeyRecord(String key, long record) { throw new UnsupportedOperationException(); } @@ -881,119 +1177,242 @@ public Map>> selectKeysRecords( throw new UnsupportedOperationException(); } + public Map>> selectKeysRecordsOrder( + List keys, List records, Order order) { + throw new UnsupportedOperationException(); + } + public Map> selectKeyRecords(String key, List records) { throw new UnsupportedOperationException(); } + public Map> selectKeyRecordsOrder(String key, + List records, Order order) { + throw new UnsupportedOperationException(); + } + public Map> selectKeyRecordsTime(String key, List records, long timestamp) { throw new UnsupportedOperationException(); } + public Map> selectKeyRecordsTimeOrder(String key, + List records, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> selectKeyRecordsTimestr(String key, List records, String timestamp) { throw new UnsupportedOperationException(); } + public Map> selectKeyRecordsTimestrOrder(String key, + List records, String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectKeysRecordsTime( List keys, List records, long timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectKeysRecordsTimeOrder( + List keys, List records, long timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectKeysRecordsTimestr( List keys, List records, String timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectKeysRecordsTimestrOrder( + List keys, List records, String timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectCriteria( Criteria criteria) { throw new UnsupportedOperationException(); } + public Map>> selectCriteriaOrder( + Criteria criteria, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectCcl(String ccl) { throw new UnsupportedOperationException(); } + public Map>> selectCclOrder(String ccl, + Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectCriteriaTime( Criteria criteria, long timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectCriteriaTimeOrder( + Criteria criteria, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectCriteriaTimestr( Criteria criteria, String timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectCriteriaTimestrOrder( + Criteria criteria, String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectCclTime(String ccl, long timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectCclTimeOrder(String ccl, + long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectCclTimestr(String ccl, String timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectCclTimestrOrder(String ccl, + String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> selectKeyCriteria(String key, Criteria criteria) { throw new UnsupportedOperationException(); } + public Map> selectKeyCriteriaOrder(String key, + Criteria criteria, Order order) { + throw new UnsupportedOperationException(); + } + public Map> selectKeyCcl(String key, String ccl) { throw new UnsupportedOperationException(); } + public Map> selectKeyCclOrder(String key, String ccl, + Order order) { + throw new UnsupportedOperationException(); + } + public Map> selectKeyCriteriaTime(String key, Criteria criteria, long timestamp) { throw new UnsupportedOperationException(); } + public Map> selectKeyCriteriaTimeOrder(String key, + Criteria criteria, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> selectKeyCriteriaTimestr(String key, Criteria criteria, String timestamp) { throw new UnsupportedOperationException(); } + public Map> selectKeyCriteriaTimestrOrder(String key, + Criteria criteria, String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> selectKeyCclTime(String key, String ccl, long timestamp) { throw new UnsupportedOperationException(); } + public Map> selectKeyCclTimeOrder(String key, String ccl, + long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> selectKeyCclTimestr(String key, String ccl, String timestamp) { throw new UnsupportedOperationException(); } + public Map> selectKeyCclTimestrOrder(String key, + String ccl, String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectKeysCriteria( List keys, Criteria criteria) { throw new UnsupportedOperationException(); } + public Map>> selectKeysCriteriaOrder( + List keys, Criteria criteria, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectKeysCcl(List keys, String ccl) { throw new UnsupportedOperationException(); } + public Map>> selectKeysCclOrder( + List keys, String ccl, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectKeysCriteriaTime( List keys, Criteria criteria, long timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectKeysCriteriaTimeOrder( + List keys, Criteria criteria, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectKeysCriteriaTimestr( List keys, Criteria criteria, String timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectKeysCriteriaTimestrOrder( + List keys, Criteria criteria, String timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectKeysCclTime( List keys, String ccl, long timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectKeysCclTimeOrder( + List keys, String ccl, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map>> selectKeysCclTimestr( List keys, String ccl, String timestamp) { throw new UnsupportedOperationException(); } + public Map>> selectKeysCclTimestrOrder( + List keys, String ccl, String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Object getKeyRecord(String key, long record) { throw new UnsupportedOperationException(); } @@ -1026,116 +1445,238 @@ public Map> getKeysRecords(List keys, throw new UnsupportedOperationException(); } + public Map> getKeysRecordsOrder(List keys, + List records, Order order) { + throw new UnsupportedOperationException(); + } + public Map getKeyRecords(String key, List records) { throw new UnsupportedOperationException(); } + public Map getKeyRecordsOrder(String key, List records, + Order order) { + throw new UnsupportedOperationException(); + } + public Map getKeyRecordsTime(String key, List records, long timestamp) { throw new UnsupportedOperationException(); } + public Map getKeyRecordsTimeOrder(String key, + List records, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map getKeyRecordsTimestr(String key, List records, String timestamp) { throw new UnsupportedOperationException(); } + public Map getKeyRecordsTimestrOrder(String key, + List records, String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> getKeysRecordsTime(List keys, List records, long timestamp) { throw new UnsupportedOperationException(); } + public Map> getKeysRecordsTimeOrder( + List keys, List records, long timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + public Map> getKeysRecordsTimestr( List keys, List records, String timestamp) { throw new UnsupportedOperationException(); } + public Map> getKeysRecordsTimestrOrder( + List keys, List records, String timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + public Map getKeyCriteria(String key, Criteria criteria) { throw new UnsupportedOperationException(); } + public Map getKeyCriteriaOrder(String key, Criteria criteria, + Order order) { + throw new UnsupportedOperationException(); + } + public Map> getCriteria(Criteria criteria) { throw new UnsupportedOperationException(); } + public Map> getCriteriaOrder(Criteria criteria, + Order order) { + throw new UnsupportedOperationException(); + } + public Map> getCcl(String ccl) { throw new UnsupportedOperationException(); } + public Map> getCclOrder(String ccl, Order order) { + throw new UnsupportedOperationException(); + } + public Map> getCriteriaTime(Criteria criteria, long timestamp) { throw new UnsupportedOperationException(); } + public Map> getCriteriaTimeOrder( + Criteria criteria, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> getCriteriaTimestr(Criteria criteria, String timestamp) { throw new UnsupportedOperationException(); } + public Map> getCriteriaTimestrOrder( + Criteria criteria, String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> getCclTime(String ccl, long timestamp) { throw new UnsupportedOperationException(); } + public Map> getCclTimeOrder(String ccl, + long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> getCclTimestr(String ccl, String timestamp) { throw new UnsupportedOperationException(); } + public Map> getCclTimestrOrder(String ccl, + String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map getKeyCcl(String key, String ccl) { throw new UnsupportedOperationException(); } + public Map getKeyCclOrder(String key, String ccl, + Order order) { + throw new UnsupportedOperationException(); + } + public Map getKeyCriteriaTime(String key, Criteria criteria, long timestamp) { throw new UnsupportedOperationException(); } + public Map getKeyCriteriaTimeOrder(String key, + Criteria criteria, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map getKeyCriteriaTimestr(String key, Criteria criteria, String timestamp) { throw new UnsupportedOperationException(); } + public Map getKeyCriteriaTimestrOrder(String key, + Criteria criteria, String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map getKeyCclTime(String key, String ccl, long timestamp) { throw new UnsupportedOperationException(); } + public Map getKeyCclTimeOrder(String key, String ccl, + long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map getKeyCclTimestr(String key, String ccl, String timestamp) { throw new UnsupportedOperationException(); } + public Map getKeyCclTimestrOrder(String key, String ccl, + String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> getKeysCriteria(List keys, Criteria criteria) { throw new UnsupportedOperationException(); } + public Map> getKeysCriteriaOrder( + List keys, Criteria criteria, Order order) { + throw new UnsupportedOperationException(); + } + public Map> getKeysCcl(List keys, String ccl) { throw new UnsupportedOperationException(); } + public Map> getKeysCclOrder(List keys, + String ccl, Order order) { + throw new UnsupportedOperationException(); + } + public Map> getKeysCriteriaTime(List keys, Criteria criteria, long timestamp) { throw new UnsupportedOperationException(); } + public Map> getKeysCriteriaTimeOrder( + List keys, Criteria criteria, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> getKeysCriteriaTimestr( List keys, Criteria criteria, String timestamp) { throw new UnsupportedOperationException(); } + public Map> getKeysCriteriaTimestrOrder( + List keys, Criteria criteria, String timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + public Map> getKeysCclTime(List keys, String ccl, long timestamp) { throw new UnsupportedOperationException(); } + public Map> getKeysCclTimeOrder(List keys, + String ccl, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Map> getKeysCclTimestr(List keys, String ccl, String timestamp) { throw new UnsupportedOperationException(); } + public Map> getKeysCclTimestrOrder( + List keys, String ccl, String timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public boolean verifyKeyValueRecord(String key, Object value, long record) { throw new UnsupportedOperationException(); } @@ -1168,40 +1709,81 @@ public Set findCriteria(Criteria criteria) { throw new UnsupportedOperationException(); } + public Set findCriteriaOrder(Criteria criteria, Order order) { + throw new UnsupportedOperationException(); + } + public Set findCcl(String ccl) { throw new UnsupportedOperationException(); } + public Set findCclOrder(String ccl, Order order) { + throw new UnsupportedOperationException(); + } + public Set findKeyOperatorValues(String key, Operator operator, List values) { throw new UnsupportedOperationException(); } + public Set findKeyOperatorValuesOrder(String key, Operator operator, + List values, Order order) { + throw new UnsupportedOperationException(); + } + public Set findKeyOperatorValuesTime(String key, Operator operator, List values, long timestamp) { throw new UnsupportedOperationException(); } + public Set findKeyOperatorValuesTimeOrder(String key, + Operator operator, List values, long timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + public Set findKeyOperatorValuesTimestr(String key, Operator operator, List values, String timestamp) { throw new UnsupportedOperationException(); } + public Set findKeyOperatorValuesTimestrOrder(String key, + Operator operator, List values, String timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + public Set findKeyOperatorstrValues(String key, String operator, List values) { throw new UnsupportedOperationException(); } + public Set findKeyOperatorstrValuesOrder(String key, String operator, + List values, Order order) { + throw new UnsupportedOperationException(); + } + public Set findKeyOperatorstrValuesTime(String key, String operator, List values, long timestamp) { throw new UnsupportedOperationException(); } + public Set findKeyOperatorstrValuesTimeOrder(String key, + String operator, List values, long timestamp, Order order) { + throw new UnsupportedOperationException(); + } + public Set findKeyOperatorstrValuesTimestr(String key, String operator, List values, String timestamp) { throw new UnsupportedOperationException(); } + public Set findKeyOperatorstrValuesTimestrOrder(String key, + String operator, List values, String timestamp, + Order order) { + throw new UnsupportedOperationException(); + } + public Set search(String key, String query) { throw new UnsupportedOperationException(); } diff --git a/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/data/TObjectResultDataset.java b/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/data/TObjectResultDataset.java index d88d34d48c..0cf2a91102 100644 --- a/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/data/TObjectResultDataset.java +++ b/concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/data/TObjectResultDataset.java @@ -18,7 +18,12 @@ import java.nio.ByteBuffer; import java.util.Map; import java.util.Set; +import java.util.stream.Collectors; +import javax.annotation.Nullable; + +import com.cinchapi.concourse.data.sort.SortableTable; +import com.cinchapi.concourse.data.sort.Sorter; import com.cinchapi.concourse.thrift.TObject; import com.cinchapi.concourse.thrift.Type; import io.atomix.catalyst.buffer.Buffer; @@ -28,7 +33,8 @@ * * @author Jeff Nelson */ -public class TObjectResultDataset extends ResultDataset { +public class TObjectResultDataset extends ResultDataset + implements SortableTable> { /** * Return a {@link TObjectResultDataset} that wraps the original @@ -41,6 +47,39 @@ public static TObjectResultDataset wrap(ObjectResultDataset dataset) { return (TObjectResultDataset) dataset.thrift; } + /** + * The {@link Sorter} that has been provided by the {@link #sort(Sorter)} + * method. The {@code sorter} is applied on the fly when a call is made to + * {@link #entrySet()}. + */ + @Nullable + private Sorter> sorter; + + @Override + public Set>>> entrySet() { + Set>>> entrySet = super.entrySet(); + if(sorter != null) { + // Sort the #entrySet on the fly so that iteration (and all + // derivative functionality) adheres to the order specified by the + // {@link #sort()}. + Map>> map = entrySet.stream() + .collect(Collectors.toMap(Entry::getKey, Entry::getValue)); + map = sorter.sort(map); + entrySet = map.entrySet(); + } + return entrySet; + } + + @Override + public void sort(Sorter> sorter) { + this.sorter = sorter; + } + + @Override + protected Map> createInvertedMultimap() { + return TrackingLinkedHashMultimap.create(TObject.comparator()); + } + @Override protected TObject deserializeValue(Buffer buffer) { Type type = Type.values()[buffer.readByte()]; @@ -58,9 +97,4 @@ protected void serializeValue(TObject value, Buffer buffer) { buffer.write(data); } - @Override - protected Map> createInvertedMultimap() { - return TrackingLinkedHashMultimap.create(TObject.comparator()); - } - } diff --git a/concourse-server/gradlew b/concourse-server/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-server/gradlew +++ b/concourse-server/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/ConcourseServer.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/ConcourseServer.java index 66cbb458bc..f9ba40c67b 100644 --- a/concourse-server/src/main/java/com/cinchapi/concourse/server/ConcourseServer.java +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/ConcourseServer.java @@ -54,6 +54,8 @@ import com.cinchapi.concourse.Constants; import com.cinchapi.concourse.Link; import com.cinchapi.concourse.Timestamp; +import com.cinchapi.concourse.data.sort.SortableTable; +import com.cinchapi.concourse.lang.sort.Order; import com.cinchapi.concourse.security.Permission; import com.cinchapi.concourse.security.Role; import com.cinchapi.concourse.security.UserService; @@ -73,6 +75,7 @@ import com.cinchapi.concourse.server.plugin.PluginRestricted; import com.cinchapi.concourse.server.plugin.data.TObjectResultDataset; import com.cinchapi.concourse.server.query.Finder; +import com.cinchapi.concourse.server.query.sort.Sorting; import com.cinchapi.concourse.server.storage.AtomicOperation; import com.cinchapi.concourse.server.storage.AtomicStateException; import com.cinchapi.concourse.server.storage.AtomicSupport; @@ -88,12 +91,15 @@ import com.cinchapi.concourse.thrift.ConcourseService.Iface; import com.cinchapi.concourse.thrift.Diff; import com.cinchapi.concourse.thrift.DuplicateEntryException; +import com.cinchapi.concourse.thrift.JavaThriftBridge; import com.cinchapi.concourse.thrift.ManagementException; import com.cinchapi.concourse.thrift.Operator; import com.cinchapi.concourse.thrift.ParseException; +import com.cinchapi.concourse.thrift.PermissionException; import com.cinchapi.concourse.thrift.SecurityException; import com.cinchapi.concourse.thrift.TCriteria; import com.cinchapi.concourse.thrift.TObject; +import com.cinchapi.concourse.thrift.TOrder; import com.cinchapi.concourse.thrift.TransactionException; import com.cinchapi.concourse.thrift.TransactionToken; import com.cinchapi.concourse.thrift.Type; @@ -144,6 +150,12 @@ public class ConcourseServer extends BaseConcourseServer */ private static final int MIN_HEAP_SIZE = 268435456; // 256 MB + /** + * A placeholder to signfiy that no {@link Order} should be imposed on a + * result set. + */ + private static final TOrder NO_ORDER = null; + /** * The number of worker threads that Concourse Server uses. */ @@ -1683,6 +1695,18 @@ public Set findCcl(String ccl, AccessToken creds, } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Set findCclOrder(String ccl, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -1700,6 +1724,18 @@ public Set findCriteria(TCriteria criteria, AccessToken creds, return results.get(); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Set findCriteriaOrder(TCriteria criteria, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Set findKeyOperatorstrValues(String key, String operator, @@ -1710,6 +1746,19 @@ public Set findKeyOperatorstrValues(String key, String operator, values, creds, transaction, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Set findKeyOperatorstrValuesOrder(String key, String operator, + List values, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Set findKeyOperatorstrValuesTime(String key, String operator, @@ -1721,6 +1770,19 @@ public Set findKeyOperatorstrValuesTime(String key, String operator, transaction, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Set findKeyOperatorstrValuesTimeOrder(String key, + String operator, List values, long timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Set findKeyOperatorstrValuesTimestr(String key, @@ -1732,6 +1794,19 @@ public Set findKeyOperatorstrValuesTimestr(String key, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Set findKeyOperatorstrValuesTimestrOrder(String key, + String operator, List values, String timestamp, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + ParseException, PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -1744,6 +1819,19 @@ public Set findKeyOperatorValues(String key, Operator operator, return getStore(transaction, environment).find(key, operator, tValues); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Set findKeyOperatorValuesOrder(String key, Operator operator, + List values, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -1757,6 +1845,19 @@ public Set findKeyOperatorValuesTime(String key, Operator operator, tValues); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Set findKeyOperatorValuesTimeOrder(String key, + Operator operator, List values, long timestamp, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Set findKeyOperatorValuesTimestr(String key, Operator operator, @@ -1768,6 +1869,19 @@ public Set findKeyOperatorValuesTimestr(String key, Operator operator, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Set findKeyOperatorValuesTimestrOrder(String key, + Operator operator, List values, String timestamp, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + ParseException, PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -1855,18 +1969,28 @@ public long findOrInsertCriteriaJson(TCriteria criteria, String json, } } + @Override + public Map> getCcl(String ccl, AccessToken creds, + TransactionToken transaction, String environment) + throws TException { + return getCclOrder(ccl, NO_ORDER, creds, transaction, environment); + } + @Override @ThrowsClientExceptions @VerifyAccessToken @VerifyReadPermission - public Map> getCcl(String ccl, AccessToken creds, - TransactionToken transaction, String environment) + public Map> getCclOrder(String ccl, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) throws TException { try { + Order $order = order == null ? Order.none() + : JavaThriftBridge.convert(order); Parser parser = Parsers.create(ccl); AbstractSyntaxTree ast = parser.parse(); AtomicSupport store = getStore(transaction, environment); - Map> result = Maps.newLinkedHashMap(); + SortableTable result = SortableTable + .singleValued(Maps.newLinkedHashMap()); AtomicOperations.executeWithRetry(store, (atomic) -> { result.clear(); Set records = ast.accept(Finder.instance(), atomic); @@ -1887,6 +2011,7 @@ public Map> getCcl(String ccl, AccessToken creds, result.put(record, entry); } } + result.sort(Sorting.byValue($order, atomic)); }); return result; } @@ -1935,6 +2060,19 @@ public Map> getCclTime(String ccl, } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getCclTimeOrder(String ccl, + long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map> getCclTimestr(String ccl, @@ -1944,6 +2082,19 @@ public Map> getCclTimestr(String ccl, transaction, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getCclTimestrOrder(String ccl, + String timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -1979,6 +2130,18 @@ public Map> getCriteria(TCriteria criteria, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getCriteriaOrder(TCriteria criteria, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2014,6 +2177,19 @@ public Map> getCriteriaTime(TCriteria criteria, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getCriteriaTimeOrder( + TCriteria criteria, long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map> getCriteriaTimestr( @@ -2024,6 +2200,19 @@ public Map> getCriteriaTimestr( creds, transaction, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getCriteriaTimestrOrder( + TCriteria criteria, String timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2056,6 +2245,18 @@ public Map getKeyCcl(String key, String ccl, } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map getKeyCclOrder(String key, String ccl, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + ParseException, PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2088,6 +2289,19 @@ public Map getKeyCclTime(String key, String ccl, } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map getKeyCclTimeOrder(String key, String ccl, + long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map getKeyCclTimestr(String key, String ccl, @@ -2097,6 +2311,19 @@ public Map getKeyCclTimestr(String key, String ccl, creds, transaction, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map getKeyCclTimestrOrder(String key, String ccl, + String timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2124,6 +2351,19 @@ public Map getKeyCriteria(String key, TCriteria criteria, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map getKeyCriteriaOrder(String key, + TCriteria criteria, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2151,6 +2391,19 @@ public Map getKeyCriteriaTime(String key, TCriteria criteria, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map getKeyCriteriaTimeOrder(String key, + TCriteria criteria, long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map getKeyCriteriaTimestr(String key, @@ -2162,6 +2415,19 @@ public Map getKeyCriteriaTimestr(String key, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map getKeyCriteriaTimestrOrder(String key, + TCriteria criteria, String timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2198,6 +2464,18 @@ public Map getKeyRecords(String key, List records, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map getKeyRecordsOrder(String key, List records, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2220,6 +2498,19 @@ public Map getKeyRecordsTime(String key, List records, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map getKeyRecordsTimeOrder(String key, + List records, long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map getKeyRecordsTimestr(String key, @@ -2231,6 +2522,19 @@ public Map getKeyRecordsTimestr(String key, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map getKeyRecordsTimestrOrder(String key, + List records, String timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2291,6 +2595,19 @@ public Map> getKeysCcl(List keys, } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getKeysCclOrder(List keys, + String ccl, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2331,6 +2648,19 @@ public Map> getKeysCclTime(List keys, } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getKeysCclTimeOrder( + List keys, String ccl, long timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map> getKeysCclTimestr(List keys, @@ -2341,6 +2671,19 @@ public Map> getKeysCclTimestr(List keys, creds, transaction, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getKeysCclTimestrOrder( + List keys, String ccl, String timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2375,6 +2718,19 @@ public Map> getKeysCriteria(List keys, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getKeysCriteriaOrder( + List keys, TCriteria criteria, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2410,6 +2766,19 @@ public Map> getKeysCriteriaTime( return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getKeysCriteriaTimeOrder( + List keys, TCriteria criteria, long timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map> getKeysCriteriaTimestr( @@ -2421,6 +2790,19 @@ public Map> getKeysCriteriaTimestr( environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getKeysCriteriaTimestrOrder( + List keys, TCriteria criteria, String timestamp, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + ParseException, PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2474,6 +2856,19 @@ public Map> getKeysRecords(List keys, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getKeysRecordsOrder( + List keys, List records, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -2504,6 +2899,19 @@ public Map> getKeysRecordsTime(List keys, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getKeysRecordsTimeOrder( + List keys, List records, long timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map> getKeysRecordsTimestr( @@ -2515,6 +2923,19 @@ public Map> getKeysRecordsTimestr( environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> getKeysRecordsTimestrOrder( + List keys, List records, String timestamp, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + ParseException, PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -3789,17 +4210,27 @@ public Set search(String key, String query, AccessToken creds, } @Override - @ThrowsClientExceptions - @VerifyAccessToken - @VerifyReadPermission public Map>> selectCcl(String ccl, AccessToken creds, TransactionToken transaction, String environment) throws TException { + return selectCclOrder(ccl, NO_ORDER, creds, transaction, environment); + } + + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectCclOrder(String ccl, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws TException { try { + Order $order = order == null ? Order.none() + : JavaThriftBridge.convert(order); Parser parser = Parsers.create(ccl); AbstractSyntaxTree ast = parser.parse(); AtomicSupport store = getStore(transaction, environment); - Map>> result = emptyResultDataset(); + SortableTable> result = SortableTable + .multiValued(emptyResultDataset()); AtomicOperations.executeWithRetry(store, (atomic) -> { result.clear(); Set records = ast.accept(Finder.instance(), atomic); @@ -3812,6 +4243,7 @@ public Map>> selectCcl(String ccl, } TMaps.putResultDatasetOptimized(result, record, entry); } + result.sort(Sorting.byValues($order, atomic)); }); return result; } @@ -3852,6 +4284,19 @@ public Map>> selectCclTime(String ccl, } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectCclTimeOrder(String ccl, + long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map>> selectCclTimestr(String ccl, @@ -3861,6 +4306,19 @@ public Map>> selectCclTimestr(String ccl, transaction, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectCclTimestrOrder( + String ccl, String timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -3888,6 +4346,19 @@ public Map>> selectCriteria( return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectCriteriaOrder( + TCriteria criteria, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -3916,6 +4387,19 @@ public Map>> selectCriteriaTime( return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectCriteriaTimeOrder( + TCriteria criteria, long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map>> selectCriteriaTimestr( @@ -3927,6 +4411,19 @@ public Map>> selectCriteriaTimestr( environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectCriteriaTimestrOrder( + TCriteria criteria, String timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -3953,6 +4450,18 @@ public Map> selectKeyCcl(String key, String ccl, } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> selectKeyCclOrder(String key, String ccl, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + ParseException, PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -3979,6 +4488,19 @@ public Map> selectKeyCclTime(String key, String ccl, } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> selectKeyCclTimeOrder(String key, String ccl, + long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map> selectKeyCclTimestr(String key, String ccl, @@ -3989,6 +4511,19 @@ public Map> selectKeyCclTimestr(String key, String ccl, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> selectKeyCclTimestrOrder(String key, + String ccl, String timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4010,6 +4545,19 @@ public Map> selectKeyCriteria(String key, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> selectKeyCriteriaOrder(String key, + TCriteria criteria, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4032,6 +4580,19 @@ public Map> selectKeyCriteriaTime(String key, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> selectKeyCriteriaTimeOrder(String key, + TCriteria criteria, long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map> selectKeyCriteriaTimestr(String key, @@ -4043,6 +4604,19 @@ public Map> selectKeyCriteriaTimestr(String key, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> selectKeyCriteriaTimestrOrder(String key, + TCriteria criteria, String timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4070,6 +4644,19 @@ public Map> selectKeyRecords(String key, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> selectKeyRecordsOrder(String key, + List records, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4087,6 +4674,19 @@ public Map> selectKeyRecordsTime(String key, return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> selectKeyRecordsTimeOrder(String key, + List records, long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map> selectKeyRecordsTimestr(String key, @@ -4098,6 +4698,19 @@ public Map> selectKeyRecordsTimestr(String key, environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map> selectKeyRecordsTimestrOrder(String key, + List records, String timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4150,6 +4763,19 @@ public Map>> selectKeysCcl(List keys, } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectKeysCclOrder( + List keys, String ccl, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4182,6 +4808,19 @@ public Map>> selectKeysCclTime( } } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectKeysCclTimeOrder( + List keys, String ccl, long timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map>> selectKeysCclTimestr( @@ -4193,6 +4832,19 @@ public Map>> selectKeysCclTimestr( environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectKeysCclTimestrOrder( + List keys, String ccl, String timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4220,6 +4872,19 @@ public Map>> selectKeysCriteria( return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectKeysCriteriaOrder( + List keys, TCriteria criteria, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4247,6 +4912,19 @@ public Map>> selectKeysCriteriaTime( return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectKeysCriteriaTimeOrder( + List keys, TCriteria criteria, long timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map>> selectKeysCriteriaTimestr( @@ -4258,6 +4936,19 @@ public Map>> selectKeysCriteriaTimestr( environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectKeysCriteriaTimestrOrder( + List keys, TCriteria criteria, String timestamp, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + ParseException, PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4300,6 +4991,19 @@ public Map>> selectKeysRecords( return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectKeysRecordsOrder( + List keys, List records, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4324,6 +5028,19 @@ public Map>> selectKeysRecordsTime( return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectKeysRecordsTimeOrder( + List keys, List records, long timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map>> selectKeysRecordsTimestr( @@ -4335,6 +5052,19 @@ public Map>> selectKeysRecordsTimestr( environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectKeysRecordsTimestrOrder( + List keys, List records, String timestamp, + TOrder order, AccessToken creds, TransactionToken transaction, + String environment) throws SecurityException, TransactionException, + ParseException, PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4391,6 +5121,28 @@ public Map>> selectRecords( return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectRecordsOrder( + List records, TOrder $order, AccessToken creds, + TransactionToken transaction, String environment) + throws TException { + Order order = JavaThriftBridge.convert($order); + AtomicSupport store = getStore(transaction, environment); + SortableTable> result = SortableTable + .multiValued(emptyResultDataset()); + AtomicOperations.executeWithRetry(store, (atomic) -> { + for (long record : records) { + TMaps.putResultDatasetOptimized(result, record, + atomic.select(record)); + } + result.sort(Sorting.byValues(order, store)); + }); + return result; + } + @Override @ThrowsClientExceptions @VerifyAccessToken @@ -4409,6 +5161,19 @@ public Map>> selectRecordsTime( return result; } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectRecordsTimeOrder( + List records, long timestamp, TOrder order, AccessToken creds, + TransactionToken transaction, String environment) + throws SecurityException, TransactionException, PermissionException, + TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions public Map>> selectRecordsTimestr( @@ -4420,6 +5185,19 @@ public Map>> selectRecordsTimestr( environment); } + @Override + @ThrowsClientExceptions + @VerifyAccessToken + @VerifyReadPermission + public Map>> selectRecordsTimestrOrder( + List records, String timestamp, TOrder order, + AccessToken creds, TransactionToken transaction, String environment) + throws SecurityException, TransactionException, ParseException, + PermissionException, TException { + // TODO Auto-generated method stub + return null; + } + @Override @ThrowsClientExceptions @VerifyAccessToken diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/io/FileSystem.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/io/FileSystem.java index f44bf60699..633658eac7 100644 --- a/concourse-server/src/main/java/com/cinchapi/concourse/server/io/FileSystem.java +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/io/FileSystem.java @@ -34,6 +34,7 @@ import java.util.Collections; import java.util.Iterator; import java.util.Set; +import java.util.stream.Stream; import com.cinchapi.common.base.CheckedExceptions; import com.cinchapi.concourse.util.FileOps; @@ -146,8 +147,8 @@ public static Iterator fileOnlyIterator(final String directory) { return new ReadOnlyIterator() { private final File[] files = new File(directory).listFiles(); - private int position = 0; private File next = null; + private int position = 0; { findNext(); } @@ -278,8 +279,8 @@ public static boolean hasDir(String dir) { * @param file * @return {@code true} if {@code file} exists */ - public static boolean hasFile(String file) { - return hasFile(Paths.get(file)); + public static boolean hasFile(Path file) { + return Files.exists(file) && !Files.isDirectory(file); } /** @@ -289,8 +290,8 @@ public static boolean hasFile(String file) { * @param file * @return {@code true} if {@code file} exists */ - public static boolean hasFile(Path file) { - return Files.exists(file) && !Files.isDirectory(file); + public static boolean hasFile(String file) { + return hasFile(Paths.get(file)); } /** @@ -320,6 +321,22 @@ public static void lock(String path) { } } + /** + * Return a {@link Stream} that contains a non-recursive list of all the + * files in the {@code directory}. + * + * @param directory + * @return the files in the directory + */ + public static Stream ls(Path directory) { + try { + return Files.list(directory); + } + catch (IOException e) { + throw CheckedExceptions.wrapAsRuntimeException(e); + } + } + /** * Create a valid path that contains separators in the appropriate places * by joining all the {@link parts} together with the {@link File#separator} diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/ops/Operations.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/ops/Operations.java index af3b02af0f..e0e6583cb6 100644 --- a/concourse-server/src/main/java/com/cinchapi/concourse/server/ops/Operations.java +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/ops/Operations.java @@ -42,7 +42,7 @@ import com.cinchapi.concourse.util.Convert; import com.cinchapi.concourse.util.Convert.ResolvableLink; import com.cinchapi.concourse.util.DataServices; -import com.cinchapi.concourse.util.LinkNavigation; +import com.cinchapi.concourse.util.Navigation; import com.cinchapi.concourse.util.Numbers; import com.cinchapi.concourse.util.Parsers; import com.google.common.collect.Lists; @@ -541,7 +541,7 @@ public static Map>> navigateKeysRecordAtomic( for (String k : keys) { Map> data = navigateKeyRecordAtomic(k, record, timestamp, atomic); - String key = LinkNavigation.getNavigationSchemeDestination(k); + String key = Navigation.getKeyDestination(k); data.forEach((rec, values) -> { Map> vals = result.get(rec); if(vals == null) { diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/Comparables.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/Comparables.java new file mode 100644 index 0000000000..e8d5eafd0e --- /dev/null +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/Comparables.java @@ -0,0 +1,90 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.server.query.sort; + +import java.util.Comparator; +import java.util.Iterator; + +/** + * Utility methods for {@link Comparable} objects. + * + * @author Jeff Nelson + */ +public final class Comparables { + + /** + * Compares analogous elements of two {@link Iterable}s. The value of the + * comparison is equal to the first non-zero + * comparison value of the component parts. + *

+ * If all elements in both iterables are equal, this comparator returns 0. + *

+ *

+ * If the intersection of the two iterables is equal to the size of only one + * of + * the iterables, this comparator returns a value that considers the larger + * iterable to be "smaller" + *

+ * + * @param o1 + * @param o2 + * @return the value of the comparison (in accordance with the + * {@link Comparable} interface) + */ + public static > int compare(Iterable o1, + Iterable o2) { + Comparator> comparator = ($1, $2) -> { + Iterator it1 = $1.iterator(); + Iterator it2 = $2.iterator(); + int c = 0; + while (it1.hasNext() && it2.hasNext()) { + T v1 = it1.next(); + T v2 = it2.next(); + c = v1.compareTo(v2); + if(c != 0) { + break; + } + } + if(c == 0 && it1.hasNext()) { + c = -1; + } + else if(c == 0 && it2.hasNext()) { + c = 1; + } + return c; + }; + return Comparators.> nullSafe(comparator).compare(o1, o2); + + } + + /** + * Compare two objects in a manner that accounts for the possibility that + * one or both values may be {@code null}, in which case the non-null value + * is considered "smaller" (so that {@code nulls} sink to the bottom). + * + * @param o1 + * @param o2 + * @return the value of the comparison (in accordance with the + * {@link Comparable} interface) + */ + public static > int nullSafeCompare(T o1, T o2) { + return Comparators. nullSafe(($1, $2) -> $1.compareTo($2)) + .compare(o1, o2); + } + + private Comparables() {/* no-init */} + +} diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/Comparators.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/Comparators.java new file mode 100644 index 0000000000..c6e2af51a7 --- /dev/null +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/Comparators.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.server.query.sort; + +import java.util.Comparator; + +/** + * Utilities for {@link Comparator}s. + * + * @author Jeff Nelson + */ +public class Comparators { + + /** + * Return a version of the {@code comparator} that can handle null values. + * + * @param comparator + * @return a null-safe version of {@code comparator} + */ + public static Comparator nullSafe(Comparator comparator) { + return (o1, o2) -> { + if(o1 != null && o2 != null) { + return comparator.compare(o1, o2); + } + else if(o1 == null) { + return 1; + } + else if(o2 == null) { + return -1; + } + else { + return 0; + } + }; + } + +} diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/CompoundComparator.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/CompoundComparator.java new file mode 100644 index 0000000000..4821c93ce1 --- /dev/null +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/CompoundComparator.java @@ -0,0 +1,69 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.server.query.sort; + +import java.util.Arrays; +import java.util.Comparator; +import java.util.List; + +/** + * A {@link Comparator} that tests using an ordered list of other comparators; + * returning the first non-zero value it can find. If all the comparators deem + * two objects to be equal, {@code 0} is returned. + * + * @author Jeff Nelson + */ +public class CompoundComparator implements Comparator { + + /** + * Return a {@link CompundComparator} composed of the provided + * {@code comparators}. + * + * @param comparators + * @return the {@link CompoundComparator} + */ + @SafeVarargs + public static CompoundComparator of(Comparator... comparators) { + return new CompoundComparator<>(Arrays.asList(comparators)); + } + + /** + * The ordered list of comparators to apply. + */ + private final List> comparators; + + /** + * Construct a new instance. + * + * @param comparators + */ + private CompoundComparator(List> comparators) { + this.comparators = comparators; + } + + @Override + public int compare(T o1, T o2) { + int c = 0; + for (Comparator comparator : comparators) { + c = comparator.compare(o1, o2); + if(c != 0) { + break; + } + } + return c; + } + +} diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/Sorting.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/Sorting.java new file mode 100644 index 0000000000..cceef4d9cc --- /dev/null +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/Sorting.java @@ -0,0 +1,151 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.server.query.sort; + +import java.util.Map; +import java.util.Set; + +import com.cinchapi.concourse.data.sort.Sorter; +import com.cinchapi.concourse.lang.sort.NoOrder; +import com.cinchapi.concourse.lang.sort.Order; +import com.cinchapi.concourse.server.storage.Store; +import com.cinchapi.concourse.thrift.TObject; +import com.google.common.collect.Iterables; + +/** + * Factory methods and utility functions for {@link Sorting}. + * + * @author Jeff Nelson + */ +public final class Sorting { + + /** + * Return a {@link StoreSorter} that sorts a result set containing scalar + * values. + * + * @param order + * @param store + * @return the {@link StoreSorter} + */ + public static Sorter byValue(Order order, Store store) { + return order instanceof NoOrder ? new NoOrderSorter<>() + : new ByValueSorter(order, store); + } + + /** + * Return a {@link StoreSorter} that sorts a result set containing a set of + * values. + * + * @param order + * @param store + * @return the {@link StoreSorter} + */ + public static Sorter> byValues(Order order, Store store) { + return order instanceof NoOrder ? new NoOrderSorter<>() + : new ByValuesSorter(order, store); + } + + private Sorting() {/* no-init */} + + /** + * A {@link Sorter} that doesn't actually do any sorting. + * + * @author Jeff Nelson + */ + private static class NoOrderSorter implements Sorter { + + @Override + public Map> sort(Map> data) { + return data; + } + + @Override + public Map> sort(Map> data, + Long at) { + return data; + } + + } + + /** + * A {@link StoreSorter} for scalar values. + * + * @author Jeff Nelson + */ + private static class ByValueSorter extends StoreSorter { + + /** + * Construct a new instance. + * + * @param order + * @param store + */ + protected ByValueSorter(Order order, Store store) { + super(order, store); + } + + @Override + protected int compare(TObject v1, TObject v2) { + return Comparables.nullSafeCompare(v1, v2); + } + + @Override + protected TObject lookup(String key, long record) { + return Iterables.getLast(store.select(key, record)); + } + + @Override + protected TObject lookup(String key, long record, long timestamp) { + return Iterables.getLast(store.select(key, record, timestamp)); + } + + } + + /** + * A {@link StoreSorter} for sets of values. + * + * @author Jeff Nelson + */ + private static class ByValuesSorter extends StoreSorter> { + + /** + * Construct a new instance. + * + * @param order + * @param store + */ + protected ByValuesSorter(Order order, Store store) { + super(order, store); + } + + @Override + protected int compare(Set v1, Set v2) { + return Comparables.compare(v1, v2); + } + + @Override + protected Set lookup(String key, long record) { + return store.select(key, record); + } + + @Override + protected Set lookup(String key, long record, long timestamp) { + return store.select(key, record, timestamp); + } + + } + +} diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/StoreSorter.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/StoreSorter.java new file mode 100644 index 0000000000..3e77e170cd --- /dev/null +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/query/sort/StoreSorter.java @@ -0,0 +1,164 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.server.query.sort; + +import java.util.Comparator; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.stream.Collectors; + +import javax.annotation.Nullable; + +import com.cinchapi.common.base.ArrayBuilder; +import com.cinchapi.common.describe.Empty; +import com.cinchapi.concourse.Timestamp; +import com.cinchapi.concourse.data.sort.Sorter; +import com.cinchapi.concourse.lang.sort.Direction; +import com.cinchapi.concourse.lang.sort.Order; +import com.cinchapi.concourse.lang.sort.OrderComponent; +import com.cinchapi.concourse.server.storage.Store; + +/** + * A {@link StoreSorter} imposes an {@link Order} by value on a result set. The + * values on which the sorting is based don't have to be part of the result set. + * In this case, the {@link StoreSorter} uses a {@link Store} to lookup the + * values. + * + * @author Jeff Nelson + */ +abstract class StoreSorter implements Sorter { + + /** + * The {@link Order} to impose. + */ + private final Order order; + + /** + * The {@link Store} from which to retrieve values if those values are not + * in the result set being sorted. + */ + protected final Store store; + + /** + * Construct a new instance. + * + * @param order + * @param store + */ + protected StoreSorter(Order order, Store store) { + this.order = order; + this.store = store; + } + + @Override + public final Map> sort( + Map> data) { + return sort(data, null); + } + + @Override + public final Map> sort(Map> data, + @Nullable Long at) { + ArrayBuilder>>> comparators = ArrayBuilder + .builder(); + List spec = order.spec(); + spec.forEach(component -> { + String key = component.key(); + Timestamp timestamp = component.timestamp(); + Direction direction = component.direction(); + Comparator>> $comparator = (e1, e2) -> { + long r1 = e1.getKey(); + long r2 = e2.getKey(); + Map d1 = e1.getValue(); + Map d2 = e2.getValue(); + V v1; + V v2; + if(timestamp == null) { + v1 = d1.get(key); + if(v1 == null) { + v1 = at != null ? lookup(key, r1, at) : lookup(key, r1); + } + v2 = d2.get(key); + if(v1 == null) { + v2 = at != null ? lookup(key, r2, at) : lookup(key, r2); + } + } + else { + v1 = lookup(key, r1, timestamp.getMicros()); + v2 = lookup(key, r2, timestamp.getMicros()); + } + if(!Empty.ness().describes(v1) && !Empty.ness().describes(v2)) { + // The coefficient is only applied when both values are + // non-empty. Otherwise, the empty value should float to the + // end of the sort, regardless of the specified direction + return direction.coefficient() * compare(v1, v2); + } + else if(!Empty.ness().describes(v1)) { + return -1; + } + else if(!Empty.ness().describes(v2)) { + return 1; + } + else { + return 0; + } + + }; + comparators.add($comparator); + }); + comparators.add((e1, e2) -> e1.getKey().compareTo(e2.getKey())); + Comparator>> comparator = CompoundComparator + .of(comparators.build()); + return data.entrySet().stream().sorted(comparator) + .collect(Collectors.toMap(Entry::getKey, Entry::getValue, + (e1, e2) -> e2, LinkedHashMap::new)); + } + + /** + * Compare {@code v1} and {@code v2} in the same manner that a + * {@link Comparator} would. + * + * @param v1 + * @param v2 + * @return + */ + protected abstract int compare(V v1, V v2); + + /** + * Lookup the value stored for {@code key} in {@code record} within the + * {@link #store}. + * + * @param key + * @param record + * @param timestamp + * @return the stored value + */ + protected abstract V lookup(String key, long record); + + /** + * Lookup the value stored for {@code key} in {@code record} at + * {@code timestamp} within the {@link #store}. + * + * @param key + * @param record + * @param timestamp + * @return the stored value + */ + protected abstract V lookup(String key, long record, long timestamp); + +} diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/cache/BloomFilter.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/cache/BloomFilter.java index c95ac1d440..d3ac98c529 100644 --- a/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/cache/BloomFilter.java +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/cache/BloomFilter.java @@ -22,6 +22,7 @@ import java.io.ObjectInputStream; import java.io.ObjectStreamClass; import java.nio.channels.FileChannel; +import java.nio.file.Path; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.locks.StampedLock; @@ -63,6 +64,24 @@ public static BloomFilter create(int expectedInsertions) { return new BloomFilter(null, expectedInsertions); } + /** + * Create a new BloomFilter with enough capacity for + * {@code expectedInsertions}. + *

+ * Note that overflowing a BloomFilter with significantly more elements than + * specified, will result in its saturation, and a sharp deterioration of + * its false positive probability (source: + * {@link BloomFilter#create(com.google.common.hash.Funnel, int)}) + *

+ * + * @param file + * @param expectedInsertions + * @return the BloomFilter + */ + public static BloomFilter create(Path file, int expectedInsertions) { + return create(file.toString(), expectedInsertions); + } + /** * Create a new BloomFilter with enough capacity for * {@code expectedInsertions}. @@ -81,6 +100,16 @@ public static BloomFilter create(String file, int expectedInsertions) { return new BloomFilter(file, expectedInsertions); } + /** + * Return the BloomFilter that is stored on disk in {@code file}. + * + * @param file + * @return the BloomFilter + */ + public static BloomFilter open(Path file) { + return open(file.toString()); + } + /** * Return the BloomFilter that is stored on disk in {@code file}. * diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/Block.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/Block.java index 1bb6475568..695f3030fa 100644 --- a/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/Block.java +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/Block.java @@ -24,6 +24,7 @@ import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.nio.channels.FileChannel.MapMode; +import java.nio.file.Path; import java.nio.file.Paths; import java.util.Comparator; import java.util.Iterator; @@ -31,12 +32,14 @@ import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock; import java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock; +import java.util.stream.Collectors; import javax.annotation.Nullable; import javax.annotation.concurrent.GuardedBy; import javax.annotation.concurrent.ThreadSafe; import com.cinchapi.common.base.AdHocIterator; +import com.cinchapi.common.base.Array; import com.cinchapi.common.base.CheckedExceptions; import com.cinchapi.common.base.validate.BiCheck; import com.cinchapi.concourse.annotate.PackagePrivate; @@ -53,6 +56,7 @@ import com.cinchapi.concourse.util.Logger; import com.google.common.base.Preconditions; import com.google.common.collect.ComparisonChain; +import com.google.common.collect.ImmutableList; import com.google.common.collect.SortedMultiset; import com.google.common.collect.TreeMultiset; @@ -303,38 +307,44 @@ public static String getId(String filename) { * @param directory * @param diskLoad - set to {@code true} to deserialize the block {@code id} * from {@code directory} on disk + * @throws MalformedBlockException if a loaded Block does not have all of + * the required components */ - protected Block(String id, String directory, boolean diskLoad) { + protected Block(String id, String directory, boolean diskLoad) + throws MalformedBlockException { FileSystem.mkdirs(directory); this.id = id; this.file = directory + File.separator + id + BLOCK_NAME_EXTENSION; - this.stats = new BlockStats( - Paths.get(directory, id + STATS_NAME_EXTENSION)); + Path $stats = Paths.get(directory, id + STATS_NAME_EXTENSION); + Path $filter = Paths.get(directory, id + FILTER_NAME_EXTENSION); + Path $index = Paths.get(directory, id + INDEX_NAME_EXTENSION); + this.stats = new BlockStats($stats); if(diskLoad) { + String[] missing = ImmutableList.of($stats, $filter, $index) + .stream().filter(path -> !path.toFile().exists()) + .map(path -> path.getFileName().toString()) + .collect(Collectors.toList()).toArray(Array.containing()); + if(missing.length > 0) { + throw new MalformedBlockException(id, directory, missing); + } this.mutable = false; this.size = (int) FileSystem.getFileSize(this.file); try { - this.filter = BloomFilter.open(directory + File.separator + id - + FILTER_NAME_EXTENSION); + this.filter = BloomFilter.open($filter); filter.disableThreadSafety(); } catch (RuntimeException e) { repair(e); } - this.index = BlockIndex.open( - directory + File.separator + id + INDEX_NAME_EXTENSION); + this.index = BlockIndex.open($index); this.revisions = null; } else { this.mutable = true; this.size = 0; this.revisions = createBackingStore(Sorter.INSTANCE); - this.filter = BloomFilter.create( - (directory + File.separator + id + FILTER_NAME_EXTENSION), - EXPECTED_INSERTIONS); - this.index = BlockIndex.create( - directory + File.separator + id + INDEX_NAME_EXTENSION, - EXPECTED_INSERTIONS); + this.filter = BloomFilter.create($filter, EXPECTED_INSERTIONS); + this.index = BlockIndex.create($index, EXPECTED_INSERTIONS); stats.put(Attribute.SCHEMA_VERSION, SCHEMA_VERSION); } this.softRevisions = new SoftReference>>( diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/BlockIndex.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/BlockIndex.java index bc612d72c8..0742997c56 100644 --- a/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/BlockIndex.java +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/BlockIndex.java @@ -20,6 +20,7 @@ import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.nio.channels.FileChannel.MapMode; +import java.nio.file.Path; import java.util.Iterator; import java.util.Map; @@ -61,6 +62,17 @@ public static BlockIndex create(String file, int expectedInsertions) { return new BlockIndex(file, expectedInsertions); } + /** + * Return a newly created BlockIndex. + * + * @param file + * @param expectedInsertions + * @return the BlockIndex + */ + public static BlockIndex create(Path file, int expectedInsertions) { + return create(file.toString(), expectedInsertions); + } + /** * Return the BlockIndex that is stored in {@code file}. * @@ -71,6 +83,16 @@ public static BlockIndex open(String file) { return new BlockIndex(file); } + /** + * Return the BlockIndex that is stored in {@code file}. + * + * @param file + * @return the BlockIndex + */ + public static BlockIndex open(Path file) { + return open(file.toString()); + } + /** * Represents an entry that has not been recorded. */ diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/Database.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/Database.java index 7cdd2935e2..5e9776914d 100644 --- a/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/Database.java +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/Database.java @@ -18,23 +18,29 @@ import static com.cinchapi.concourse.server.GlobalState.*; import java.io.File; -import java.io.FilenameFilter; import java.io.IOException; -import java.lang.reflect.Constructor; +import java.nio.file.Path; +import java.nio.file.Paths; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.SortedMap; +import java.util.concurrent.Callable; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; import java.util.concurrent.locks.ReentrantReadWriteLock; +import java.util.stream.Collectors; +import java.util.stream.Stream; import javax.annotation.Nullable; import javax.annotation.concurrent.GuardedBy; import javax.annotation.concurrent.ThreadSafe; +import com.cinchapi.common.collect.concurrent.ThreadFactories; +import com.cinchapi.common.reflect.Reflection; import com.cinchapi.concourse.annotate.Restricted; import com.cinchapi.concourse.server.GlobalState; -import com.cinchapi.concourse.server.concurrent.ConcourseExecutors; import com.cinchapi.concourse.server.io.Composite; import com.cinchapi.concourse.server.io.FileSystem; import com.cinchapi.concourse.server.jmx.ManagedOperation; @@ -60,6 +66,7 @@ import com.google.common.base.Preconditions; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; +import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Sets; @@ -188,10 +195,8 @@ private static Cache buildCache() { * another is by the directory in which they are stored. */ private static final String PRIMARY_BLOCK_DIRECTORY = "cpb"; - private static final String SEARCH_BLOCK_DIRECTORY = "ctb"; private static final String SECONDARY_BLOCK_DIRECTORY = "csb"; - private static final String threadNamePrefix = "database-write-thread"; /** * A flag to indicate if the Database has verified the data it is seeing is @@ -253,6 +258,18 @@ private static Cache buildCache() { */ private transient boolean running = false; + /** + * An {@link ExecutorService} that handles asynchronous writing tasks in the + * background. + */ + private transient ExecutorService writer; + + /** + * An {@link ExecutorService} that handles asynchronous reading tasks in the + * background. + */ + private transient ExecutorService reader; + /** * Construct a Database that is backed by the default location which is in * {@link GlobalState#DATABASE_DIRECTORY}. @@ -291,9 +308,33 @@ && verify(write.getKey().toString(), // NOTE: Write locking happens in each individual Block, and // furthermore this method is only called from the Buffer, which // transports data serially. - ConcourseExecutors.executeAndAwaitTermination(threadNamePrefix, + List tasks = ImmutableList.of( new BlockWriter(cpb0, write), new BlockWriter(csb0, write), new BlockWriter(ctb0, write)); + if(running) { + try { + List> writes = tasks.stream() + .map(Executors::callable) + .collect(Collectors.toList()); + writer.invokeAll(writes); + } + catch (InterruptedException e) { + Logger.warn( + "The database was interrupted while trying to accept {}. " + + "If the write could not be fully accepted, it will " + + "remain in the buffer and re-tried when the Database is able to accept writes.", + write); + Thread.currentThread().interrupt(); + return; + } + } + else { + // The #accept method may be called when the database is stopped + // during test cases + Logger.warn( + "The database is being asked to accept a Write, even though it is not running."); + tasks.forEach(task -> task.run()); + } } else { Logger.warn( @@ -472,14 +513,27 @@ public void start() { running = true; Logger.info("Database configured to store data in {}", backingStore); - ConcourseExecutors.executeAndAwaitTerminationAndShutdown( - "Storage Block Loader", - new BlockLoader(PrimaryBlock.class, - PRIMARY_BLOCK_DIRECTORY, cpb), - new BlockLoader(SecondaryBlock.class, - SECONDARY_BLOCK_DIRECTORY, csb), - new BlockLoader(SearchBlock.class, - SEARCH_BLOCK_DIRECTORY, ctb)); + this.writer = Executors.newCachedThreadPool(ThreadFactories + .namingThreadFactory("database-write-thread")); + this.reader = Executors.newCachedThreadPool(ThreadFactories + .namingThreadFactory("Storage Block Loader")); + List> tasks = ImmutableList.of( + Executors.callable(new BlockLoader( + PrimaryBlock.class, PRIMARY_BLOCK_DIRECTORY, cpb)), + Executors.callable(new BlockLoader( + SecondaryBlock.class, SECONDARY_BLOCK_DIRECTORY, + csb)), + Executors.callable(new BlockLoader( + SearchBlock.class, SEARCH_BLOCK_DIRECTORY, ctb))); + try { + reader.invokeAll(tasks); + } + catch (InterruptedException e) { + Logger.error("The Database was interrupted while starting...", + e); + Thread.currentThread().interrupt(); + return; + } // CON-83: Get rid of any blocks that aren't "balanced" (e.g. has // primary and secondary) under the assumption that the server @@ -502,6 +556,8 @@ public void start() { public void stop() { if(running) { running = false; + reader.shutdown(); + writer.shutdown(); } } @@ -655,9 +711,34 @@ private void triggerSync(boolean doSync) { if(doSync) { // TODO we need a transactional file system to ensure that these // blocks are written atomically (all or nothing) - ConcourseExecutors.executeAndAwaitTermination(threadNamePrefix, - new BlockSyncer(cpb0), new BlockSyncer(csb0), - new BlockSyncer(ctb0)); + List tasks = ImmutableList.of(new BlockSyncer(cpb0), + new BlockSyncer(csb0), new BlockSyncer(ctb0)); + if(running) { + try { + List> syncs = tasks.stream() + .map(Executors::callable) + .collect(Collectors.toList()); + writer.invokeAll(syncs); + } + catch (InterruptedException e) { + Logger.warn( + "The database was interrupted while trying to " + + "sync storage blocks for {}. Since the blocks " + + "were not fully synced, the contained writes are " + + "still in the Buffer. Any partially synced blocks " + + "will be safely removed when the Database restarts.", + cpb0.getId()); + Thread.currentThread().interrupt(); + return; + } + } + else { + // The #triggerSync method may be called when the database + // is stopped during test cases + Logger.warn( + "The database is being asked to sync blocks, even though it is not running."); + tasks.forEach(task -> task.run()); + } } String id = Long.toString(Time.now()); cpb.add((cpb0 = Block.createPrimaryBlock(id, @@ -699,39 +780,35 @@ public BlockLoader(Class clazz, String directory, List blocks) { this.blocks = blocks; } - @SuppressWarnings("deprecation") @Override public void run() { - File _file = null; - try { - final String path = backingStore + File.separator + directory; - FileSystem.mkdirs(path); - SortedMap blockSorter = Maps - .newTreeMap(NaturalSorter.INSTANCE); - Set checksums = Sets.newHashSet(); - for (File file : new File(path).listFiles(new FilenameFilter() { - - @Override - public boolean accept(File dir, String name) { - return dir.getAbsolutePath() - .equals(new File(path).getAbsolutePath()) - && name.endsWith(Block.BLOCK_NAME_EXTENSION); - } - - })) { - _file = file; + Path path = Paths.get(backingStore, directory); + path.toFile().mkdirs(); + SortedMap sorted = Maps.newTreeMap(NaturalSorter.INSTANCE); + Set checksums = Sets.newHashSet(); + Stream files = FileSystem.ls(path) + .filter(file -> file.toString() + .endsWith(Block.BLOCK_NAME_EXTENSION)) + .map(Path::toFile); + files.forEach(file -> { + try { String id = Block.getId(file.getName()); - Constructor constructor = clazz.getDeclaredConstructor( - String.class, String.class, Boolean.TYPE); - constructor.setAccessible(true); String checksum = Files.asByteSource(file) - .hash(Hashing.md5()).toString(); + .hash(Hashing.murmur3_128()).toString(); if(!checksums.contains(checksum)) { - blockSorter.put(file, constructor.newInstance(id, - path.toString(), true)); - Logger.info("Loaded {} metadata for {}", - clazz.getSimpleName(), file.getName()); - checksums.add(checksum); + try { + T block = Reflection.newInstance(clazz, id, + path.toString(), true); + sorted.put(file, block); + checksums.add(checksum); + Logger.info("Loaded {} metadata for {}", + clazz.getSimpleName(), file.getName()); + } + catch (MalformedBlockException e) { + Logger.warn( + "{}. As a result the Block was NOT loaded. A malformed block is usually an indication that the Block was only partially synced to disk before Concourse Server shutdown. In this case, it is safe to delete any Block files that were written for id {}", + e.getMessage(), id); + } } else { Logger.warn( @@ -740,19 +817,16 @@ public boolean accept(File dir, String name) { + "delete this file.", clazz.getSimpleName(), id); } - } - blocks.addAll(blockSorter.values()); - } - catch (ReflectiveOperationException | IOException e) { - Logger.error( - "An error occured while loading {} metadata for {}", - clazz.getSimpleName(), _file.getName()); - Logger.error("", e); - } - + catch (IOException e) { + Logger.error( + "An error occured while loading {} metadata for {}", + clazz.getSimpleName(), file.getName()); + Logger.error("", e); + } + }); + blocks.addAll(sorted.values()); } - } /** diff --git a/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/MalformedBlockException.java b/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/MalformedBlockException.java new file mode 100644 index 0000000000..6ab2aa30e1 --- /dev/null +++ b/concourse-server/src/main/java/com/cinchapi/concourse/server/storage/db/MalformedBlockException.java @@ -0,0 +1,49 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.server.storage.db; + +import com.cinchapi.common.base.AnyStrings; + +/** + * A {@link MalformedBlockException} is thrown when a Block does not contain all + * of the components (e.g. stats, index, filter, etc) necessary to function + * properly. + *

+ * A "malformed" block is usually an indicator that the Database exited in the + * middle of a syncing operation. Malformed blocks can usually be safely + * discared. + *

+ * + * @author Jeff Nelson + */ +public class MalformedBlockException extends RuntimeException { + + private static final long serialVersionUID = -1721757690680045080L; + + /** + * Construct a new instance. + * + * @param id + * @param directory + * @param missing + */ + public MalformedBlockException(String id, String directory, + String... missing) { + super(AnyStrings.format("Block {} in {} is missing {}", id, directory, + String.join(", ", missing))); + } + +} diff --git a/concourse-server/src/test/java/com/cinchapi/concourse/lang/ParserTest.java b/concourse-server/src/test/java/com/cinchapi/concourse/lang/ParserTest.java index 759d3295f4..ae763f60f2 100644 --- a/concourse-server/src/test/java/com/cinchapi/concourse/lang/ParserTest.java +++ b/concourse-server/src/test/java/com/cinchapi/concourse/lang/ParserTest.java @@ -56,7 +56,7 @@ public void testGroupSingle() { Object value = TestData.getObject(); Criteria criteria = Criteria.where().key(key).operator(operator) .value(value).build(); - List symbols = Parsing.groupExpressions(criteria.getSymbols()); + List symbols = Parsing.groupExpressions(criteria.symbols()); Expression exp = (Expression) symbols.get(0); Assert.assertEquals(1, symbols.size()); Assert.assertEquals(exp.raw().key(), key); @@ -75,7 +75,7 @@ public void testGroupAnd() { Criteria criteria = Criteria.where().key(key0).operator(operator0) .value(value0).and().key(key1).operator(operator1).value(value1) .build(); - List symbols = Parsing.groupExpressions(criteria.getSymbols()); + List symbols = Parsing.groupExpressions(criteria.symbols()); Expression exp0 = (Expression) symbols.get(0); ConjunctionSymbol sym = (ConjunctionSymbol) symbols.get(1); Expression exp1 = (Expression) symbols.get(2); @@ -100,7 +100,7 @@ public void testGroupOr() { Criteria criteria = Criteria.where().key(key0).operator(operator0) .value(value0).or().key(key1).operator(operator1).value(value1) .build(); - List symbols = Parsing.groupExpressions(criteria.getSymbols()); + List symbols = Parsing.groupExpressions(criteria.symbols()); Expression exp0 = (Expression) symbols.get(0); ConjunctionSymbol sym = (ConjunctionSymbol) symbols.get(1); Expression exp1 = (Expression) symbols.get(2); @@ -138,7 +138,7 @@ public void testGroupSub() { .value(value1).or().key(key2).operator(operator2) .value(value2).build()) .build(); - List symbols = Parsing.groupExpressions(criteria.getSymbols()); + List symbols = Parsing.groupExpressions(criteria.symbols()); Expression exp0 = (Expression) symbols.get(0); ConjunctionSymbol sym1 = (ConjunctionSymbol) symbols.get(1); ParenthesisSymbol sym2 = (ParenthesisSymbol) symbols.get(2); @@ -170,7 +170,7 @@ public void testGroupSingleBetween() { Object value1 = TestData.getObject(); Criteria criteria = Criteria.where().key(key).operator(operator) .value(value).value(value1).build(); - List symbols = Parsing.groupExpressions(criteria.getSymbols()); + List symbols = Parsing.groupExpressions(criteria.symbols()); Expression exp = (Expression) symbols.get(0); Assert.assertEquals(1, symbols.size()); Assert.assertEquals(exp.raw().key(), key); @@ -184,7 +184,7 @@ public void testToPostfixNotationSimple() { Criteria criteria = Criteria.where().key("foo") .operator(Operator.EQUALS).value("bar").build(); Queue pfn = Parsing - .toPostfixNotation(criteria.getSymbols()); + .toPostfixNotation(criteria.symbols()); Assert.assertEquals(pfn.size(), 1); Assert.assertEquals(((Expression) Iterables.getOnlyElement(pfn)).key(), new KeySymbol("foo")); @@ -202,7 +202,7 @@ public void testParseCclSimple() { .operator(Operator.EQUALS).value("bar").build(); String ccl = "where foo = bar"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -212,7 +212,7 @@ public void testToPostfixNotationSimpleBetween() { Criteria criteria = Criteria.where().key("foo") .operator(Operator.BETWEEN).value("bar").value("baz").build(); Queue pfn = Parsing - .toPostfixNotation(criteria.getSymbols()); + .toPostfixNotation(criteria.symbols()); Assert.assertEquals(pfn.size(), 1); Assert.assertEquals(((Expression) Iterables.getOnlyElement(pfn)).key(), new KeySymbol("foo")); @@ -234,10 +234,10 @@ public void testParseCclBetween() { String ccl = "where foo bw bar baz"; String ccl2 = "where foo >< bar baz"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); Parser parser2 = Parsers.create(ccl2); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser2.order()); } @@ -247,7 +247,7 @@ public void testToPostfixNotationSimpleAnd() { .value(1).and().key("b").operator(Operator.EQUALS).value(2) .build(); Queue pfn = Parsing - .toPostfixNotation(criteria.getSymbols()); + .toPostfixNotation(criteria.symbols()); Assert.assertEquals(pfn.size(), 3); Assert.assertEquals(((Expression) Iterables.get(pfn, 0)), new Expression(new KeySymbol("a"), @@ -267,7 +267,7 @@ public void testParseCclSimpleAnd() { .build(); String ccl = "a = 1 and b = 2"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -277,7 +277,7 @@ public void testToPostfixNotationSimpleOr() { .value(1).or().key("b").operator(Operator.EQUALS).value(2) .build(); Queue pfn = Parsing - .toPostfixNotation(criteria.getSymbols()); + .toPostfixNotation(criteria.symbols()); Assert.assertEquals(pfn.size(), 3); Assert.assertEquals(((Expression) Iterables.get(pfn, 0)), new Expression(new KeySymbol("a"), @@ -297,7 +297,7 @@ public void testParseCclSimpleOr() { .build(); String ccl = "a = 1 or b = 2"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -307,7 +307,7 @@ public void testToPostfixNotationAndOr() { .value(1).and().key("b").operator(Operator.EQUALS).value(2).or() .key("c").operator(Operator.EQUALS).value(3).build(); Queue pfn = Parsing - .toPostfixNotation(criteria.getSymbols()); + .toPostfixNotation(criteria.symbols()); Assert.assertEquals(pfn.size(), 5); Assert.assertEquals(((Expression) Iterables.get(pfn, 0)), new Expression(new KeySymbol("a"), @@ -332,7 +332,7 @@ public void testParseCclAndOr() { .or().key("c").operator(Operator.EQUALS).value(3).build(); String ccl = "a = '1' and b = 2 or c = 3"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -345,7 +345,7 @@ public void testToPostfixNotationAndGroupOr() { .value(3).build()) .build(); Queue pfn = Parsing - .toPostfixNotation(criteria.getSymbols()); + .toPostfixNotation(criteria.symbols()); Assert.assertEquals(((Expression) Iterables.get(pfn, 0)), new Expression(new KeySymbol("a"), new OperatorSymbol(Operator.EQUALS), @@ -373,7 +373,7 @@ public void testPostfixNotationAndGroupOr() { .build(); String ccl = "a = 1 and (b = 2 or c = 3)"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -389,7 +389,7 @@ public void testToPostfixNotationGroupOrAndGroupOr() { .value(4).build()) .build(); Queue pfn = Parsing - .toPostfixNotation(criteria.getSymbols()); + .toPostfixNotation(criteria.symbols()); Assert.assertEquals(((Expression) Iterables.get(pfn, 0)), new Expression(new KeySymbol("a"), new OperatorSymbol(Operator.EQUALS), @@ -425,7 +425,7 @@ public void testParseCclGroupOrAndGroupOr() { .build(); String ccl = "(a = 1 or b = 2) AND (c = 3 or d = 4)"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -442,7 +442,7 @@ public void testParseCclGroupOrAndGroupOrConjuctions() { .build(); String ccl = "(a = 1 || b = 2) && (c = 3 || d = 4)"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -460,7 +460,7 @@ public void testParseCclGroupOrAndGroupOrConjuctionsWithSingleAmpersand() { .build(); String ccl = "(a = 1 || b = 2) & (c = 3 || d = 4)"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -476,7 +476,7 @@ public void testToPostfixNotationGroupOrOrGroupOr() { .value(4).build()) .build(); Queue pfn = Parsing - .toPostfixNotation(criteria.getSymbols()); + .toPostfixNotation(criteria.symbols()); Assert.assertEquals(((Expression) Iterables.get(pfn, 0)), new Expression(new KeySymbol("a"), new OperatorSymbol(Operator.EQUALS), @@ -512,7 +512,7 @@ public void testParseCclGroupOrOrGroupOr() { .build(); String ccl = "(a = 1 or b = 2) or (c = 3 or d = 4)"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -529,7 +529,7 @@ public void testParseCclGroupOrOrConjuction() { .build(); String ccl = "(a = 1 || b = 2) || (c = 3 || d = 4)"; Parser parser = Parsers.create(ccl); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -651,7 +651,7 @@ public void testParseCclLocalReferences() { data.put("age", 30); data.put("team", "Cleveland Cavaliers"); Parser parser = Parsers.create(ccl, data); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -688,7 +688,7 @@ public void testParseCclBetweenWithBothReferences() { data.put("retireAge", 35); data.put("team", "Cleveland Cavaliers"); Parser parser = Parsers.create(ccl, data); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -702,7 +702,7 @@ public void testParseCclBetweenWithFirstReference() { data.put("age", 30); data.put("team", "Cleveland Cavaliers"); Parser parser = Parsers.create(ccl, data); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } @@ -716,7 +716,7 @@ public void testParseCclBetweenWithSecondReference() { data.put("age", 30); data.put("team", "Cleveland Cavaliers"); Parser parser = Parsers.create(ccl, data); - Assert.assertEquals(Parsing.toPostfixNotation(criteria.getSymbols()), + Assert.assertEquals(Parsing.toPostfixNotation(criteria.symbols()), parser.order()); } diff --git a/concourse-server/src/test/java/com/cinchapi/concourse/server/query/sort/SortingTest.java b/concourse-server/src/test/java/com/cinchapi/concourse/server/query/sort/SortingTest.java new file mode 100644 index 0000000000..3e9a42c3f7 --- /dev/null +++ b/concourse-server/src/test/java/com/cinchapi/concourse/server/query/sort/SortingTest.java @@ -0,0 +1,600 @@ +/* + * Copyright (c) 2013-2019 Cinchapi Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.cinchapi.concourse.server.query.sort; + +import java.util.List; +import java.util.Map; +import java.util.Set; + +import org.junit.Assert; +import org.junit.Test; + +import com.cinchapi.concourse.lang.sort.Order; +import com.cinchapi.concourse.server.storage.Store; +import com.cinchapi.concourse.server.storage.temp.Queue; +import com.cinchapi.concourse.thrift.TObject; +import com.cinchapi.concourse.util.Convert; +import com.cinchapi.concourse.util.TMaps; +import com.google.common.collect.Lists; +import com.google.common.collect.Maps; +import com.google.common.collect.Sets; + +/** + * Unit tests for the {@link StoreSorter} framework. + * + * @author Jeff Nelson + */ +public class SortingTest { + + @Test + public void testIntAscendingSort() { + Map>> records = Maps.newLinkedHashMap(); + + List keys = Lists.newArrayList("name", "company", "age"); + + Map> entry = TMaps + .newLinkedHashMapWithCapacity(keys.size()); + Set values = Sets.newHashSet(Convert.javaToThrift("jeff")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(50)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(1), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("jeffB")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Blavity")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(2), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("ashleah")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("ARMN Inc.")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(3), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("mark")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(25)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(4), + entry); + + Order order = Order.by("age").ascending().build(); + Store store = new Queue(1); + + Map>> result = Sorting + .byValues(order, store).sort(records); + + List expectedSort = Lists.newArrayList(); + expectedSort.add(Integer.toUnsignedLong(4)); + expectedSort.add(Integer.toUnsignedLong(1)); + expectedSort.add(Integer.toUnsignedLong(2)); + expectedSort.add(Integer.toUnsignedLong(3)); + + List sort = Lists.newArrayList(result.keySet()); + + Assert.assertEquals(expectedSort, sort); + } + + @Test + public void testIntDescendingSort() { + Map>> records = Maps.newLinkedHashMap(); + + List keys = Lists.newArrayList("name", "company", "age"); + + Map> entry = TMaps + .newLinkedHashMapWithCapacity(keys.size()); + Set values = Sets.newHashSet(Convert.javaToThrift("jeff")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(50)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(1), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("jeffB")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Blavity")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(2), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("ashleah")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("ARMN Inc.")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(3), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("mark")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(25)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(4), + entry); + + Order order = Order.by("age").descending().build(); + Store store = new Queue(1); + + Map>> result = Sorting + .byValues(order, store).sort(records); + + List expectedSort = Lists.newArrayList(); + expectedSort.add(Integer.toUnsignedLong(2)); + expectedSort.add(Integer.toUnsignedLong(3)); + expectedSort.add(Integer.toUnsignedLong(1)); + expectedSort.add(Integer.toUnsignedLong(4)); + + List sort = Lists.newArrayList(result.keySet()); + + Assert.assertEquals(expectedSort, sort); + } + + @Test + public void testStringAscendingSort() { + Map>> records = Maps.newLinkedHashMap(); + + List keys = Lists.newArrayList("name", "company", "age"); + + Map> entry = TMaps + .newLinkedHashMapWithCapacity(keys.size()); + Set values = Sets.newHashSet(Convert.javaToThrift("jeff")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(50)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(1), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("jeffB")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Blavity")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(2), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("ashleah")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("ARMN Inc.")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(3), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("mark")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(25)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(4), + entry); + + Order order = Order.by("name").ascending().build(); + Store store = new Queue(1); + + Map>> result = Sorting + .byValues(order, store).sort(records); + + List expectedSort = Lists.newArrayList(); + expectedSort.add(Integer.toUnsignedLong(3)); + expectedSort.add(Integer.toUnsignedLong(1)); + expectedSort.add(Integer.toUnsignedLong(2)); + expectedSort.add(Integer.toUnsignedLong(4)); + + List sort = Lists.newArrayList(result.keySet()); + + Assert.assertEquals(expectedSort, sort); + } + + @Test + public void testMissingKeyAscendingSort() { + Map>> records = Maps.newLinkedHashMap(); + + List keys = Lists.newArrayList("name", "company", "age"); + + Map> entry = TMaps + .newLinkedHashMapWithCapacity(keys.size()); + Set values = Sets.newHashSet(Convert.javaToThrift("jeff")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(50)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(1), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("jeffB")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Blavity")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(2), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("ashleah")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("ARMN Inc.")); + entry.put("company", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(3), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("mark")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(4), + entry); + + Order order = Order.by("age").ascending().build(); + Store store = new Queue(1); + + Map>> result = Sorting + .byValues(order, store).sort(records); + + List expectedSort = Lists.newArrayList(); + expectedSort.add(Integer.toUnsignedLong(1)); + expectedSort.add(Integer.toUnsignedLong(2)); + expectedSort.add(Integer.toUnsignedLong(4)); + expectedSort.add(Integer.toUnsignedLong(3)); + + List sort = Lists.newArrayList(result.keySet()); + + Assert.assertEquals(expectedSort, sort); + } + + @Test + public void testMissingKeyDescendingSort() { + Map>> records = Maps.newLinkedHashMap(); + + List keys = Lists.newArrayList("name", "company", "age"); + + Map> entry = TMaps + .newLinkedHashMapWithCapacity(keys.size()); + Set values = Sets.newHashSet(Convert.javaToThrift("jeff")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(50)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(1), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("jeffB")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Blavity")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(2), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("ashleah")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("ARMN Inc.")); + entry.put("company", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(3), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("mark")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(4), + entry); + + Order order = Order.by("age").descending(); + Store store = new Queue(1); + + Map>> result = Sorting + .byValues(order, store).sort(records); + + List expectedSort = Lists.newArrayList(); + expectedSort.add(Integer.toUnsignedLong(2)); + expectedSort.add(Integer.toUnsignedLong(4)); + expectedSort.add(Integer.toUnsignedLong(1)); + expectedSort.add(Integer.toUnsignedLong(3)); + + List sort = Lists.newArrayList(result.keySet()); + Assert.assertEquals(expectedSort, sort); + } + + @Test + public void testUnequalValueQuantityAscendingSort() { + Map>> records = Maps.newLinkedHashMap(); + + List keys = Lists.newArrayList("name", "company", "age"); + + Map> entry = TMaps + .newLinkedHashMapWithCapacity(keys.size()); + Set values = Sets.newHashSet(Convert.javaToThrift("jeff")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi"), + Convert.javaToThrift("Blavity")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(50)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(1), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("ashleah")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("ARMN Inc.")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(25)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(2), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("mark")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(3), + entry); + + Order order = Order.by("company").ascending().build(); + Store store = new Queue(1); + + Map>> result = Sorting + .byValues(order, store).sort(records); + + List expectedSort = Lists.newArrayList(); + expectedSort.add(Integer.toUnsignedLong(2)); + expectedSort.add(Integer.toUnsignedLong(1)); + expectedSort.add(Integer.toUnsignedLong(3)); + + List sort = Lists.newArrayList(result.keySet()); + + Assert.assertEquals(expectedSort, sort); + } + + @Test + public void testEqualValueQuantityAscendingSort() { + Map>> records = Maps.newLinkedHashMap(); + + List keys = Lists.newArrayList("name", "company", "age"); + + Map> entry = TMaps + .newLinkedHashMapWithCapacity(keys.size()); + Set values = Sets.newHashSet(Convert.javaToThrift("jeff")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(50)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(1), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("ashleah")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("ARMN Inc.")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100), + Convert.javaToThrift(20)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(2), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("mark")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100), + Convert.javaToThrift(25)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(3), + entry); + + Order order = Order.by("age").ascending().build(); + Store store = new Queue(1); + + Map>> result = Sorting + .byValues(order, store).sort(records); + + List expectedSort = Lists.newArrayList(); + expectedSort.add(Integer.toUnsignedLong(1)); + expectedSort.add(Integer.toUnsignedLong(2)); + expectedSort.add(Integer.toUnsignedLong(3)); + + List sort = Lists.newArrayList(result.keySet()); + + Assert.assertEquals(expectedSort, sort); + } + + @Test + public void testSortMultipleKeysSort() { + Map>> records = Maps.newLinkedHashMap(); + + List keys = Lists.newArrayList("name", "company", "age"); + + Map> entry = TMaps + .newLinkedHashMapWithCapacity(keys.size()); + Set values = Sets.newHashSet(Convert.javaToThrift("jeff")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(1), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("ashleah")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("ARMN Inc.")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(2), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("mark")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(50)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(3), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("jeffB")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Blavity")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(1)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(4), + entry); + + Order order = Order.by("age").ascending().then("company").ascending() + .build(); + Store store = new Queue(1); + + Map>> result = Sorting + .byValues(order, store).sort(records); + + List expectedSort = Lists.newArrayList(); + expectedSort.add(Integer.toUnsignedLong(4)); + expectedSort.add(Integer.toUnsignedLong(3)); + expectedSort.add(Integer.toUnsignedLong(2)); + expectedSort.add(Integer.toUnsignedLong(1)); + + List sort = Lists.newArrayList(result.keySet()); + + Assert.assertEquals(expectedSort, sort); + } + + @Test + public void testLargeSortPerformance() { + Map>> records = Maps.newLinkedHashMap(); + + List keys = Lists.newArrayList("name", "company", "age"); + + Map> entry = TMaps + .newLinkedHashMapWithCapacity(keys.size()); + Set values = Sets.newHashSet(Convert.javaToThrift("jeff")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(1), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("ashleah")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("ARMN Inc.")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(100)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(2), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("mark")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Cinchapi")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(50)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(3), + entry); + + entry = TMaps.newLinkedHashMapWithCapacity(keys.size()); + values = Sets.newHashSet(Convert.javaToThrift("jeffB")); + entry.put("name", values); + values = Sets.newHashSet(Convert.javaToThrift("Blavity")); + entry.put("company", values); + values = Sets.newHashSet(Convert.javaToThrift(1)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(4), + entry); + + for (int i = 5; i < 1000000; i++) { + values = Sets.newHashSet(Convert.javaToThrift(i)); + entry.put("age", values); + TMaps.putResultDatasetOptimized(records, Integer.toUnsignedLong(i), + entry); + } + + Order order = Order.by("age").ascending().then("company").ascending() + .build(); + Store store = new Queue(1); + + Map>> result = Sorting + .byValues(order, store).sort(records); + + long startTime = System.nanoTime(); + Lists.newArrayList(result.keySet()); + long endTime = System.nanoTime(); + + long duration = (endTime - startTime) / 1000000; + + Assert.assertTrue(duration < 30); + } +} diff --git a/concourse-shell/gradlew b/concourse-shell/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-shell/gradlew +++ b/concourse-shell/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/concourse-unit-test-core/gradlew b/concourse-unit-test-core/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-unit-test-core/gradlew +++ b/concourse-unit-test-core/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/concourse-upgrade-tests/gradlew b/concourse-upgrade-tests/gradlew index 4c7bfdd6a1..b80c85f619 100755 --- a/concourse-upgrade-tests/gradlew +++ b/concourse-upgrade-tests/gradlew @@ -38,7 +38,9 @@ args=$@ newargs="" for i in ${args[@]} do - i=:$PROJECT:$i + if [[ $i != -* ]]; then + i=:$PROJECT:$i + fi newargs+="$i " done diff --git a/interface/concourse.thrift b/interface/concourse.thrift index a727822b89..2aa69b9c0f 100644 --- a/interface/concourse.thrift +++ b/interface/concourse.thrift @@ -48,7 +48,7 @@ namespace rb concourse.thrift # # As much as possible, try to preserve backward compatibility so that # Concourse Server can always talk to older drivers. -const string VERSION = "1.0.0" +const string VERSION = "0.10.0" # This value is passed over the wire to represent a null value, usually # for get/select methods where a key/record has no data. @@ -2353,6 +2353,19 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map>> selectRecordsOrder( + 1: list records, + 2: data.TOrder order + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map> selectRecordTime( 1: i64 record, 2: i64 timestamp, @@ -2393,6 +2406,20 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map>> selectRecordsTimeOrder( + 1: list records, + 2: i64 timestamp, + 3: data.TOrder order + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map>> selectRecordsTimestr( 1: list records, 2: string timestamp, @@ -2407,6 +2434,21 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map>> selectRecordsTimestrOrder( + 1: list records, + 2: string timestamp, + 3: data.TOrder order + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + set selectKeyRecord( 1: string key, 2: i64 record, @@ -2504,6 +2546,20 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map>> selectKeysRecordsOrder( + 1: list keys, + 2: list records, + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map> selectKeyRecords( 1: string key, 2: list records, @@ -2517,6 +2573,20 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map> selectKeyRecordsOrder( + 1: string key, + 2: list records, + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map> selectKeyRecordsTime( 1: string key, 2: list records, @@ -2531,6 +2601,21 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map> selectKeyRecordsTimeOrder( + 1: string key, + 2: list records, + 3: i64 timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map> selectKeyRecordsTimestr( 1: string key, 2: list records, @@ -2546,6 +2631,22 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map> selectKeyRecordsTimestrOrder( + 1: string key, + 2: list records, + 3: string timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + map>> selectKeysRecordsTime( 1: list keys, 2: list records, @@ -2560,6 +2661,21 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map>> selectKeysRecordsTimeOrder( + 1: list keys, + 2: list records, + 3: i64 timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map>> selectKeysRecordsTimestr( 1: list keys, 2: list records, @@ -2575,20 +2691,24 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map>> selectCriteria( - 1: data.TCriteria criteria, - 2: shared.AccessToken creds, - 3: shared.TransactionToken transaction, - 4: string environment + map>> selectKeysRecordsTimestrOrder( + 1: list keys, + 2: list records, + 3: string timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment ) throws ( 1: exceptions.SecurityException ex, 2: exceptions.TransactionException ex2, - 3: exceptions.PermissionException ex3 + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 ); - map>> selectCcl( - 1: string ccl, + map>> selectCriteria( + 1: data.TCriteria criteria, 2: shared.AccessToken creds, 3: shared.TransactionToken transaction, 4: string environment @@ -2596,13 +2716,12 @@ service ConcourseService { throws ( 1: exceptions.SecurityException ex, 2: exceptions.TransactionException ex2, - 3: exceptions.ParseException ex3, - 4: exceptions.PermissionException ex4 + 3: exceptions.PermissionException ex3 ); - map>> selectCriteriaTime( + map>> selectCriteriaOrder( 1: data.TCriteria criteria, - 2: i64 timestamp + 2: data.TOrder order, 3: shared.AccessToken creds, 4: shared.TransactionToken transaction, 5: string environment @@ -2613,12 +2732,11 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); - map>> selectCriteriaTimestr( - 1: data.TCriteria criteria, - 2: string timestamp - 3: shared.AccessToken creds, - 4: shared.TransactionToken transaction, - 5: string environment + map>> selectCcl( + 1: string ccl, + 2: shared.AccessToken creds, + 3: shared.TransactionToken transaction, + 4: string environment ) throws ( 1: exceptions.SecurityException ex, @@ -2627,9 +2745,9 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map>> selectCclTime( + map>> selectCclOrder( 1: string ccl, - 2: i64 timestamp + 2: data.TOrder order, 3: shared.AccessToken creds, 4: shared.TransactionToken transaction, 5: string environment @@ -2641,9 +2759,9 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map>> selectCclTimestr( - 1: string ccl, - 2: string timestamp + map>> selectCriteriaTime( + 1: data.TCriteria criteria, + 2: i64 timestamp 3: shared.AccessToken creds, 4: shared.TransactionToken transaction, 5: string environment @@ -2651,16 +2769,16 @@ service ConcourseService { throws ( 1: exceptions.SecurityException ex, 2: exceptions.TransactionException ex2, - 3: exceptions.ParseException ex3, - 4: exceptions.PermissionException ex4 + 3: exceptions.PermissionException ex3 ); - map> selectKeyCriteria( - 1: string key, - 2: data.TCriteria criteria, - 3: shared.AccessToken creds, - 4: shared.TransactionToken transaction, - 5: string environment + map>> selectCriteriaTimeOrder( + 1: data.TCriteria criteria, + 2: i64 timestamp + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment ) throws ( 1: exceptions.SecurityException ex, @@ -2668,9 +2786,9 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); - map> selectKeyCcl( - 1: string key, - 2: string ccl, + map>> selectCriteriaTimestr( + 1: data.TCriteria criteria, + 2: string timestamp 3: shared.AccessToken creds, 4: shared.TransactionToken transaction, 5: string environment @@ -2682,10 +2800,10 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map> selectKeyCriteriaTime( - 1: string key, - 2: data.TCriteria criteria, - 3: i64 timestamp + map>> selectCriteriaTimestrOrder( + 1: data.TCriteria criteria, + 2: string timestamp, + 3: data.TOrder order, 4: shared.AccessToken creds, 5: shared.TransactionToken transaction, 6: string environment @@ -2693,16 +2811,16 @@ service ConcourseService { throws ( 1: exceptions.SecurityException ex, 2: exceptions.TransactionException ex2, - 3: exceptions.PermissionException ex3 + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 ); - map> selectKeyCriteriaTimestr( - 1: string key, - 2: data.TCriteria criteria, - 3: string timestamp - 4: shared.AccessToken creds, - 5: shared.TransactionToken transaction, - 6: string environment + map>> selectCclTime( + 1: string ccl, + 2: i64 timestamp + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment ) throws ( 1: exceptions.SecurityException ex, @@ -2711,10 +2829,10 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map> selectKeyCclTime( - 1: string key, - 2: string ccl, - 3: i64 timestamp + map>> selectCclTimeOrder( + 1: string ccl, + 2: i64 timestamp + 3: data.TOrder order, 4: shared.AccessToken creds, 5: shared.TransactionToken transaction, 6: string environment @@ -2726,13 +2844,12 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map> selectKeyCclTimestr( - 1: string key, - 2: string ccl, - 3: string timestamp - 4: shared.AccessToken creds, - 5: shared.TransactionToken transaction, - 6: string environment + map>> selectCclTimestr( + 1: string ccl, + 2: string timestamp + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment ) throws ( 1: exceptions.SecurityException ex, @@ -2741,22 +2858,24 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map>> selectKeysCriteria( - 1: list keys, - 2: data.TCriteria criteria, - 3: shared.AccessToken creds, - 4: shared.TransactionToken transaction, - 5: string environment + map>> selectCclTimestrOrder( + 1: string ccl, + 2: string timestamp + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment ) throws ( 1: exceptions.SecurityException ex, 2: exceptions.TransactionException ex2, - 3: exceptions.PermissionException ex3 + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 ); - map>> selectKeysCcl( - 1: list keys, - 2: string ccl, + map> selectKeyCriteria( + 1: string key, + 2: data.TCriteria criteria, 3: shared.AccessToken creds, 4: shared.TransactionToken transaction, 5: string environment @@ -2764,14 +2883,13 @@ service ConcourseService { throws ( 1: exceptions.SecurityException ex, 2: exceptions.TransactionException ex2, - 3: exceptions.ParseException ex3, - 4: exceptions.PermissionException ex4 + 3: exceptions.PermissionException ex3 ); - map>> selectKeysCriteriaTime( - 1: list keys, + map> selectKeyCriteriaOrder( + 1: string key, 2: data.TCriteria criteria, - 3: i64 timestamp, + 3: data.TOrder order, 4: shared.AccessToken creds, 5: shared.TransactionToken transaction, 6: string environment @@ -2782,13 +2900,12 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); - map>> selectKeysCriteriaTimestr( - 1: list keys, - 2: data.TCriteria criteria, - 3: string timestamp, - 4: shared.AccessToken creds, - 5: shared.TransactionToken transaction, - 6: string environment + map> selectKeyCcl( + 1: string key, + 2: string ccl, + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment ) throws ( 1: exceptions.SecurityException ex, @@ -2797,10 +2914,10 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map>> selectKeysCclTime( - 1: list keys, + map> selectKeyCclOrder( + 1: string key, 2: string ccl, - 3: i64 timestamp, + 3: data.TOrder order, 4: shared.AccessToken creds, 5: shared.TransactionToken transaction, 6: string environment @@ -2812,10 +2929,10 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map>> selectKeysCclTimestr( - 1: list keys, - 2: string ccl, - 3: string timestamp, + map> selectKeyCriteriaTime( + 1: string key, + 2: data.TCriteria criteria, + 3: i64 timestamp 4: shared.AccessToken creds, 5: shared.TransactionToken transaction, 6: string environment @@ -2823,13 +2940,298 @@ service ConcourseService { throws ( 1: exceptions.SecurityException ex, 2: exceptions.TransactionException ex2, - 3: exceptions.ParseException ex3, - 4: exceptions.PermissionException ex4 + 3: exceptions.PermissionException ex3 ); - data.TObject getKeyRecord( + map> selectKeyCriteriaTimeOrder( 1: string key, - 2: i64 record, + 2: data.TCriteria criteria, + 3: i64 timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + + map> selectKeyCriteriaTimestr( + 1: string key, + 2: data.TCriteria criteria, + 3: string timestamp + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map> selectKeyCriteriaTimestrOrder( + 1: string key, + 2: data.TCriteria criteria, + 3: string timestamp + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map> selectKeyCclTime( + 1: string key, + 2: string ccl, + 3: i64 timestamp + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map> selectKeyCclTimeOrder( + 1: string key, + 2: string ccl, + 3: i64 timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map> selectKeyCclTimestr( + 1: string key, + 2: string ccl, + 3: string timestamp + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map> selectKeyCclTimestrOrder( + 1: string key, + 2: string ccl, + 3: string timestamp + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map>> selectKeysCriteria( + 1: list keys, + 2: data.TCriteria criteria, + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + + map>> selectKeysCriteriaOrder( + 1: list keys, + 2: data.TCriteria criteria, + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + + map>> selectKeysCcl( + 1: list keys, + 2: string ccl, + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map>> selectKeysCclOrder( + 1: list keys, + 2: string ccl, + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map>> selectKeysCriteriaTime( + 1: list keys, + 2: data.TCriteria criteria, + 3: i64 timestamp, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + + map>> selectKeysCriteriaTimeOrder( + 1: list keys, + 2: data.TCriteria criteria, + 3: i64 timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + + map>> selectKeysCriteriaTimestr( + 1: list keys, + 2: data.TCriteria criteria, + 3: string timestamp, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map>> selectKeysCriteriaTimestrOrder( + 1: list keys, + 2: data.TCriteria criteria, + 3: string timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map>> selectKeysCclTime( + 1: list keys, + 2: string ccl, + 3: i64 timestamp, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map>> selectKeysCclTimeOrder( + 1: list keys, + 2: string ccl, + 3: i64 timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map>> selectKeysCclTimestr( + 1: list keys, + 2: string ccl, + 3: string timestamp, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map>> selectKeysCclTimestrOrder( + 1: list keys, + 2: string ccl, + 3: string timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + data.TObject getKeyRecord( + 1: string key, + 2: i64 record, 3: shared.AccessToken creds, 4: shared.TransactionToken transaction, 5: string environment @@ -2924,6 +3326,20 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map> getKeysRecordsOrder( + 1: list keys, + 2: list records, + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map getKeyRecords( 1: string key, 2: list records, @@ -2937,6 +3353,20 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map getKeyRecordsOrder( + 1: string key, + 2: list records, + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map getKeyRecordsTime( 1: string key, 2: list records, @@ -2951,6 +3381,21 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map getKeyRecordsTimeOrder( + 1: string key, + 2: list records, + 3: i64 timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map getKeyRecordsTimestr( 1: string key, 2: list records, @@ -2966,6 +3411,22 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map getKeyRecordsTimestrOrder( + 1: string key, + 2: list records, + 3: string timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + map> getKeysRecordsTime( 1: list keys, 2: list records, @@ -2980,6 +3441,21 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map> getKeysRecordsTimeOrder( + 1: list keys, + 2: list records, + 3: i64 timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map> getKeysRecordsTimestr( 1: list keys, 2: list records, @@ -2995,6 +3471,22 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map> getKeysRecordsTimestrOrder( + 1: list keys, + 2: list records, + 3: string timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + map getKeyCriteria( 1: string key, 2: data.TCriteria criteria, @@ -3008,6 +3500,20 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map getKeyCriteriaOrder( + 1: string key, + 2: data.TCriteria criteria, + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map> getCriteria( 1: data.TCriteria criteria, 2: shared.AccessToken creds, @@ -3020,6 +3526,19 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map> getCriteriaOrder( + 1: data.TCriteria criteria, + 2: data.TOrder order, + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map> getCcl( 1: string ccl, 2: shared.AccessToken creds, @@ -3033,6 +3552,20 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map> getCclOrder( + 1: string ccl, + 2: data.TOrder order, + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + map> getCriteriaTime( 1: data.TCriteria criteria, 2: i64 timestamp @@ -3046,6 +3579,20 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map> getCriteriaTimeOrder( + 1: data.TCriteria criteria, + 2: i64 timestamp + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map> getCriteriaTimestr( 1: data.TCriteria criteria, 2: string timestamp @@ -3060,12 +3607,71 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map> getCclTime( + map> getCriteriaTimestrOrder( + 1: data.TCriteria criteria, + 2: string timestamp + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map> getCclTime( + 1: string ccl, + 2: i64 timestamp + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map> getCclTimeOrder( + 1: string ccl, + 2: i64 timestamp + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map> getCclTimestr( + 1: string ccl, + 2: string timestamp + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + + map> getCclTimestrOrder( 1: string ccl, - 2: i64 timestamp - 3: shared.AccessToken creds, - 4: shared.TransactionToken transaction, - 5: string environment + 2: string timestamp, + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment ) throws ( 1: exceptions.SecurityException ex, @@ -3074,9 +3680,9 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map> getCclTimestr( - 1: string ccl, - 2: string timestamp + map getKeyCcl( + 1: string key, + 2: string ccl, 3: shared.AccessToken creds, 4: shared.TransactionToken transaction, 5: string environment @@ -3088,12 +3694,13 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); - map getKeyCcl( + map getKeyCclOrder( 1: string key, 2: string ccl, - 3: shared.AccessToken creds, - 4: shared.TransactionToken transaction, - 5: string environment + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment ) throws ( 1: exceptions.SecurityException ex, @@ -3116,6 +3723,21 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map getKeyCriteriaTimeOrder( + 1: string key, + 2: data.TCriteria criteria, + 3: i64 timestamp + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map getKeyCriteriaTimestr( 1: string key, 2: data.TCriteria criteria, @@ -3131,6 +3753,22 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map getKeyCriteriaTimestrOrder( + 1: string key, + 2: data.TCriteria criteria, + 3: string timestamp + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + map getKeyCclTime( 1: string key, 2: string ccl, @@ -3146,6 +3784,22 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map getKeyCclTimeOrder( + 1: string key, + 2: string ccl, + 3: i64 timestamp + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + map getKeyCclTimestr( 1: string key, 2: string ccl, @@ -3161,6 +3815,22 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map getKeyCclTimestrOrder( + 1: string key, + 2: string ccl, + 3: string timestamp + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + map> getKeysCriteria( 1: list keys, 2: data.TCriteria criteria, @@ -3174,6 +3844,20 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map> getKeysCriteriaOrder( + 1: list keys, + 2: data.TCriteria criteria, + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map> getKeysCcl( 1: list keys, 2: string ccl, @@ -3188,6 +3872,21 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map> getKeysCclOrder( + 1: list keys, + 2: string ccl, + 3: data.TOrder order, + 4: shared.AccessToken creds, + 5: shared.TransactionToken transaction, + 6: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + map> getKeysCriteriaTime( 1: list keys, 2: data.TCriteria criteria, @@ -3202,6 +3901,21 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + map> getKeysCriteriaTimeOrder( + 1: list keys, + 2: data.TCriteria criteria, + 3: i64 timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + map> getKeysCriteriaTimestr( 1: list keys, 2: data.TCriteria criteria, @@ -3217,6 +3931,22 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map> getKeysCriteriaTimestrOrder( + 1: list keys, + 2: data.TCriteria criteria, + 3: string timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + map> getKeysCclTime( 1: list keys, 2: string ccl, @@ -3232,6 +3962,22 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map> getKeysCclTimeOrder( + 1: list keys, + 2: string ccl, + 3: i64 timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + map> getKeysCclTimestr( 1: list keys, 2: string ccl, @@ -3247,6 +3993,22 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + map> getKeysCclTimestrOrder( + 1: list keys, + 2: string ccl, + 3: string timestamp, + 4: data.TOrder order, + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + bool verifyKeyValueRecord( 1: string key, 2: data.TObject value, @@ -3350,6 +4112,20 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + set findCriteriaOrder( + 1: data.TCriteria criteria, + 2: data.TOrder order + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + + set findCcl( 1: string ccl, 2: shared.AccessToken creds, @@ -3363,6 +4139,20 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + set findCclOrder( + 1: string ccl, + 2: data.TOrder order + 3: shared.AccessToken creds, + 4: shared.TransactionToken transaction, + 5: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + set findKeyOperatorValues( 1: string key, 2: shared.Operator operator, @@ -3377,6 +4167,21 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + set findKeyOperatorValuesOrder( + 1: string key, + 2: shared.Operator operator, + 3: list values + 4: data.TOrder order + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + set findKeyOperatorValuesTime( 1: string key, 2: shared.Operator operator, @@ -3392,6 +4197,22 @@ service ConcourseService { 3: exceptions.PermissionException ex3 ); + set findKeyOperatorValuesTimeOrder( + 1: string key, + 2: shared.Operator operator, + 3: list values + 4: i64 timestamp, + 5: data.TOrder order + 6: shared.AccessToken creds, + 7: shared.TransactionToken transaction, + 8: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.PermissionException ex3 + ); + set findKeyOperatorValuesTimestr( 1: string key, 2: shared.Operator operator, @@ -3408,6 +4229,23 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + set findKeyOperatorValuesTimestrOrder( + 1: string key, + 2: shared.Operator operator, + 3: list values + 4: string timestamp, + 5: data.TOrder order + 6: shared.AccessToken creds, + 7: shared.TransactionToken transaction, + 8: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + set findKeyOperatorstrValues( 1: string key, 2: string operator, @@ -3423,6 +4261,22 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + set findKeyOperatorstrValuesOrder( + 1: string key, + 2: string operator, + 3: list values + 4: data.TOrder order + 5: shared.AccessToken creds, + 6: shared.TransactionToken transaction, + 7: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + set findKeyOperatorstrValuesTime( 1: string key, 2: string operator, @@ -3439,6 +4293,23 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + set findKeyOperatorstrValuesTimeOrder( + 1: string key, + 2: string operator, + 3: list values + 4: i64 timestamp, + 5: data.TOrder order + 6: shared.AccessToken creds, + 7: shared.TransactionToken transaction, + 8: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + set findKeyOperatorstrValuesTimestr( 1: string key, 2: string operator, @@ -3455,6 +4326,23 @@ service ConcourseService { 4: exceptions.PermissionException ex4 ); + set findKeyOperatorstrValuesTimestrOrder( + 1: string key, + 2: string operator, + 3: list values + 4: string timestamp, + 5: data.TOrder order + 6: shared.AccessToken creds, + 7: shared.TransactionToken transaction, + 8: string environment + ) + throws ( + 1: exceptions.SecurityException ex, + 2: exceptions.TransactionException ex2, + 3: exceptions.ParseException ex3, + 4: exceptions.PermissionException ex4 + ); + set search( 1: string key, 2: string query, diff --git a/interface/data.thrift b/interface/data.thrift index 3ff7269035..d70c3d1567 100644 --- a/interface/data.thrift +++ b/interface/data.thrift @@ -78,3 +78,21 @@ struct TSymbol { struct TCriteria { 1:required list symbols } + +/** + * Encapsulation for a single order component (key, direction and optional + * selection timestamp for the key). + */ +struct TOrderComponent { + 1:required string key, + 2:optional TObject timestamp, + 3:required i32 direction +} + +/** + * Encapsulation for a group of {@link TOrderComponent order components} + * that describe how a result set should be sorted. + */ +struct TOrder { + 1:required list spec +} diff --git a/settings.gradle b/settings.gradle index 0891c80aa1..3dba3a79dc 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,2 @@ rootProject.name = "concourse" -include "concourse-plugin-core", "concourse-driver-java", "concourse-server", "concourse-shell", "concourse-integration-tests", "concourse-cli", "concourse-import", "concourse-upgrade-tests", "concourse-unit-test-core", "concourse-ete-test-core", "concourse-plugin-core-tests" +include "concourse-plugin-core", "concourse-driver-java", "concourse-server", "concourse-shell", "concourse-integration-tests", "concourse-cli", "concourse-import", "concourse-upgrade-tests", "concourse-unit-test-core", "concourse-ete-test-core", "concourse-plugin-core-tests", "concourse-ete-tests" diff --git a/utils/codegen/StatefulConcourseServiceGenerator.groovy b/utils/codegen/StatefulConcourseServiceGenerator.groovy index ca8a480c84..2a7330fd68 100644 --- a/utils/codegen/StatefulConcourseServiceGenerator.groovy +++ b/utils/codegen/StatefulConcourseServiceGenerator.groovy @@ -80,6 +80,15 @@ public class StatefulConcourseServiceGenerator { */ protected static Multimap CRITERIA_TRANSFORM = HashMultimap.create(); + /** + * A mapping from Thrift method names to a collection of parameter + * posions that take TOrder objects. For convenience, a + * StatefulConcourseService accepts generic objects for those parameters + * and we must keep track here so it is known what must be translated into + * a TOrder for proper routing in ConcourseServer. + */ + protected static Multimap ORDER_TRANSFORM = HashMultimap.create(); + /** * A collection of Thrift methods that have a return value that contains * a TObject. For convenience, a StatefulConcourseService will return @@ -120,6 +129,7 @@ import com.cinchapi.concourse.thrift.*; import com.cinchapi.concourse.lang.Criteria; import com.google.common.collect.HashMultimap; import com.google.common.collect.Multimap; +import com.cinchapi.concourse.lang.sort.Order; /** * A modified version of {@link ConcourseService} that maintains client state @@ -193,6 +203,12 @@ abstract class StatefulConcourseService { """ type = "Criteria" } + else if(type.equals("TOrder")){ + TOBJECT_TRANSFORM_CODE="""${TOBJECT_TRANSFORM_CODE} + ORDER_TRANSFORM.put("${name}", ${pos}); +""" + type = "Order" + } sb.append(type); sb.append(" "); sb.append(field.getName());